diff --git a/chunk-LKNVFVEK.js b/chunk-LKNVFVEK.js deleted file mode 100644 index 846fd5f..0000000 --- a/chunk-LKNVFVEK.js +++ /dev/null @@ -1,7 +0,0 @@ -var cd=Object.defineProperty,ld=Object.defineProperties;var dd=Object.getOwnPropertyDescriptors;var Dn=Object.getOwnPropertySymbols;var Xs=Object.prototype.hasOwnProperty,ea=Object.prototype.propertyIsEnumerable;var Js=(e,t,n)=>t in e?cd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,It=(e,t)=>{for(var n in t||={})Xs.call(t,n)&&Js(e,n,t[n]);if(Dn)for(var n of Dn(t))ea.call(t,n)&&Js(e,n,t[n]);return e},Et=(e,t)=>ld(e,dd(t));var WD=(e,t)=>{var n={};for(var r in e)Xs.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Dn)for(var r of Dn(e))t.indexOf(r)<0&&ea.call(e,r)&&(n[r]=e[r]);return n};var ta=null,vn=!1,ho=1,In=Symbol("SIGNAL");function C(e){let t=ta;return ta=e,t}function fd(){return vn}var mo={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 pd(e){if(!(Io(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ho)){if(!e.producerMustRecompute(e)&&!En(e)){e.dirty=!1,e.lastCleanEpoch=ho;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=ho}}function hd(e){if(e.liveConsumerNode===void 0)return;let t=vn;vn=!0;try{for(let n of e.liveConsumerNode)n.dirty||na(n)}finally{vn=t}}function na(e){e.dirty=!0,hd(e),e.consumerMarkedDirty?.(e)}function yo(e){return e&&(e.nextProducerIndex=0),C(e)}function Do(e,t){if(C(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Io(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function En(e){wn(e);for(let t=0;t0}function wn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function gd(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function md(){throw new Error}var yd=md;function ra(e){yd=e}function oa(e,t,n){let r=Object.create(Dd);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=u=>{r.cleanupFn=u};function i(u){return u.fn===null&&u.schedule===null}function s(u){i(u)||(vo(u),u.cleanupFn(),u.fn=null,u.schedule=null,u.cleanupFn=go)}let a=()=>{if(r.fn===null)return;if(fd())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!En(r))return;r.hasRun=!0;let u=yo(r);try{r.cleanupFn(),r.cleanupFn=go,r.fn(o)}finally{Do(r,u)}};return r.ref={notify:()=>na(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[In]:r},r.ref}var go=()=>{},Dd=Et(It({},mo),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:go});function g(e){return typeof e=="function"}function Ct(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 Cn=Ct(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 Ye(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var H=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(g(r))try{r()}catch(i){t=i instanceof Cn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{ia(i)}catch(s){t=t??[],s instanceof Cn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Cn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)ia(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)&&Ye(n,t)}remove(t){let{_finalizers:n}=this;n&&Ye(n,t),t instanceof e&&t._removeParent(this)}};H.EMPTY=(()=>{let e=new H;return e.closed=!0,e})();var Eo=H.EMPTY;function bn(e){return e instanceof H||e&&"closed"in e&&g(e.remove)&&g(e.add)&&g(e.unsubscribe)}function ia(e){g(e)?e():e.unsubscribe()}var he={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var bt={setTimeout(e,t,...n){let{delegate:r}=bt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=bt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function _n(e){bt.setTimeout(()=>{let{onUnhandledError:t}=he;if(t)t(e);else throw e})}function Yt(){}var sa=Co("C",void 0,void 0);function aa(e){return Co("E",void 0,e)}function ua(e){return Co("N",e,void 0)}function Co(e,t,n){return{kind:e,value:t,error:n}}var Qe=null;function _t(e){if(he.useDeprecatedSynchronousErrorHandling){let t=!Qe;if(t&&(Qe={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Qe;if(Qe=null,n)throw r}}else e()}function ca(e){he.useDeprecatedSynchronousErrorHandling&&Qe&&(Qe.errorThrown=!0,Qe.error=e)}var Ze=class extends H{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,bn(t)&&t.add(this)):this.destination=Id}static create(t,n,r){return new Te(t,n,r)}next(t){this.isStopped?_o(ua(t),this):this._next(t)}error(t){this.isStopped?_o(aa(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?_o(sa,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()}}},vd=Function.prototype.bind;function bo(e,t){return vd.call(e,t)}var Mo=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Mn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Mn(r)}else Mn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Mn(n)}}},Te=class extends Ze{constructor(t,n,r){super();let o;if(g(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&he.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&bo(t.next,i),error:t.error&&bo(t.error,i),complete:t.complete&&bo(t.complete,i)}):o=t}this.destination=new Mo(o)}};function Mn(e){he.useDeprecatedSynchronousErrorHandling?ca(e):_n(e)}function wd(e){throw e}function _o(e,t){let{onStoppedNotification:n}=he;n&&bt.setTimeout(()=>n(e,t))}var Id={closed:!0,next:Yt,error:wd,complete:Yt};var Mt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function q(e){return e}function Ed(...e){return xo(e)}function xo(e){return e.length===0?q:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var b=(()=>{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=bd(n)?n:new Te(n,r,o);return _t(()=>{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=la(r),new r((o,i)=>{let s=new Te({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)}[Mt](){return this}pipe(...n){return xo(n)(this)}toPromise(n){return n=la(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 la(e){var t;return(t=e??he.Promise)!==null&&t!==void 0?t:Promise}function Cd(e){return e&&g(e.next)&&g(e.error)&&g(e.complete)}function bd(e){return e&&e instanceof Ze||Cd(e)&&bn(e)}function So(e){return g(e?.lift)}function v(e){return t=>{if(So(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 To(e,t,n,r,o)}var To=class extends Ze{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 No(){return v((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 Ao=class extends b{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,So(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 H;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=H.EMPTY)}return t}refCount(){return No()(this)}};var da=Ct(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ae=(()=>{class e extends b{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new xn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new da}next(n){_t(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){_t(()=>{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(){_t(()=>{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?Eo:(this.currentObservers=null,i.push(n),new H(()=>{this.currentObservers=null,Ye(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new b;return n.source=this,n}}return e.create=(t,n)=>new xn(t,n),e})(),xn=class extends ae{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:Eo}};var Qt=class extends ae{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 Zt={now(){return(Zt.delegate||Date).now()},delegate:void 0};var Sn=class extends ae{constructor(t=1/0,n=1/0,r=Zt){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 On(e){return e&&g(e.schedule)}function Oo(e){return e[e.length-1]}function Fn(e){return g(Oo(e))?e.pop():void 0}function Ie(e){return On(Oo(e))?e.pop():void 0}function pa(e,t){return typeof Oo(e)=="number"?e.pop():t}function ga(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 ha(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 Xe(e){return this instanceof Xe?(this.v=e,this):new Xe(e)}function ma(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(p){return new Promise(function(h,m){i.push([f,p,h,m])>1||a(f,p)})})}function a(f,p){try{u(r[f](p))}catch(h){d(i[0][3],h)}}function u(f){f.value instanceof Xe?Promise.resolve(f.value.v).then(c,l):d(i[0][2],f)}function c(f){a("next",f)}function l(f){a("throw",f)}function d(f,p){f(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}function ya(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 ha=="function"?ha(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 St=e=>e&&typeof e.length=="number"&&typeof e!="function";function Rn(e){return g(e?.then)}function Pn(e){return g(e[Mt])}function kn(e){return Symbol.asyncIterator&&g(e?.[Symbol.asyncIterator])}function Ln(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 _d(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var jn=_d();function Vn(e){return g(e?.[jn])}function Bn(e){return ma(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Xe(n.read());if(o)return yield Xe(void 0);yield yield Xe(r)}}finally{n.releaseLock()}})}function $n(e){return g(e?.getReader)}function A(e){if(e instanceof b)return e;if(e!=null){if(Pn(e))return Md(e);if(St(e))return xd(e);if(Rn(e))return Sd(e);if(kn(e))return Da(e);if(Vn(e))return Td(e);if($n(e))return Nd(e)}throw Ln(e)}function Md(e){return new b(t=>{let n=e[Mt]();if(g(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function xd(e){return new b(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,_n)})}function Td(e){return new b(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Da(e){return new b(t=>{Ad(e,t).catch(n=>t.error(n))})}function Nd(e){return Da(Bn(e))}function Ad(e,t){var n,r,o,i;return ga(this,void 0,void 0,function*(){try{for(n=ya(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 X(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 Hn(e,t=0){return v((n,r)=>{n.subscribe(D(r,o=>X(r,e,()=>r.next(o),t),()=>X(r,e,()=>r.complete(),t),o=>X(r,e,()=>r.error(o),t)))})}function Un(e,t=0){return v((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function va(e,t){return A(e).pipe(Un(t),Hn(t))}function wa(e,t){return A(e).pipe(Un(t),Hn(t))}function Ia(e,t){return new b(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Ea(e,t){return new b(n=>{let r;return X(n,t,()=>{r=e[jn](),X(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>g(r?.return)&&r.return()})}function Gn(e,t){if(!e)throw new Error("Iterable cannot be null");return new b(n=>{X(n,t,()=>{let r=e[Symbol.asyncIterator]();X(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ca(e,t){return Gn(Bn(e),t)}function ba(e,t){if(e!=null){if(Pn(e))return va(e,t);if(St(e))return Ia(e,t);if(Rn(e))return wa(e,t);if(kn(e))return Gn(e,t);if(Vn(e))return Ea(e,t);if($n(e))return Ca(e,t)}throw Ln(e)}function Ee(e,t){return t?ba(e,t):A(e)}function Od(...e){let t=Ie(e);return Ee(e,t)}function Fd(e,t){let n=g(e)?e:()=>e,r=o=>o.error(n());return new b(t?o=>t.schedule(r,0,o):r)}function Rd(e){return!!e&&(e instanceof b||g(e.lift)&&g(e.subscribe))}var et=Ct(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function _a(e){return e instanceof Date&&!isNaN(e)}function Ce(e,t){return v((n,r)=>{let o=0;n.subscribe(D(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Pd}=Array;function kd(e,t){return Pd(t)?e(...t):e(t)}function Tt(e){return Ce(t=>kd(e,t))}var{isArray:Ld}=Array,{getPrototypeOf:jd,prototype:Vd,keys:Bd}=Object;function zn(e){if(e.length===1){let t=e[0];if(Ld(t))return{args:t,keys:null};if($d(t)){let n=Bd(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function $d(e){return e&&typeof e=="object"&&jd(e)===Vd}function Wn(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Hd(...e){let t=Ie(e),n=Fn(e),{args:r,keys:o}=zn(e);if(r.length===0)return Ee([],t);let i=new b(Ud(r,t,o?s=>Wn(o,s):q));return n?i.pipe(Tt(n)):i}function Ud(e,t,n=q){return r=>{Ma(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u{let c=Ee(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 Ma(e,t,n){e?X(n,e,t):t()}function xa(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&t.complete()},p=m=>c{i&&t.next(m),c++;let N=!1;A(n(m,l++)).subscribe(D(t,x=>{o?.(x),i?p(x):t.next(x)},()=>{N=!0},void 0,()=>{if(N)try{for(c--;u.length&&ch(x)):h(x)}f()}catch(x){t.error(x)}}))};return e.subscribe(D(t,p,()=>{d=!0,f()})),()=>{a?.()}}function Ne(e,t,n=1/0){return g(t)?Ne((r,o)=>Ce((i,s)=>t(r,i,o,s))(A(e(r,o))),n):(typeof t=="number"&&(n=t),v((r,o)=>xa(r,o,e,n)))}function qn(e=1/0){return Ne(q,e)}function Sa(){return qn(1)}function Yn(...e){return Sa()(Ee(e,Ie(e)))}function Gd(e){return new b(t=>{A(e()).subscribe(t)})}function zd(...e){let t=Fn(e),{args:n,keys:r}=zn(e),o=new b(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]=f},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?Wn(r,a):a),i.complete())}))}});return t?o.pipe(Tt(t)):o}var Wd=["addListener","removeListener"],qd=["addEventListener","removeEventListener"],Yd=["on","off"];function Fo(e,t,n,r){if(g(n)&&(r=n,n=void 0),r)return Fo(e,t,n).pipe(Tt(r));let[o,i]=Kd(e)?qd.map(s=>a=>e[s](t,a,n)):Qd(e)?Wd.map(Ta(e,t)):Zd(e)?Yd.map(Ta(e,t)):[];if(!o&&St(e))return Ne(s=>Fo(s,t,n))(A(e));if(!o)throw new TypeError("Invalid event target");return new b(s=>{let a=(...u)=>s.next(1i(a)})}function Ta(e,t){return n=>r=>e[n](t,r)}function Qd(e){return g(e.addListener)&&g(e.removeListener)}function Zd(e){return g(e.on)&&g(e.off)}function Kd(e){return g(e.addEventListener)&&g(e.removeEventListener)}function Qn(e=0,t,n=fa){let r=-1;return t!=null&&(On(t)?n=t:r=t),new b(o=>{let i=_a(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 Jd(e=0,t=Ke){return e<0&&(e=0),Qn(e,e,t)}function Xd(...e){let t=Ie(e),n=pa(e,1/0),r=e;return r.length?r.length===1?A(r[0]):qn(n)(Ee(r,t)):Je}function tt(e,t){return v((n,r)=>{let o=0;n.subscribe(D(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Na(e){return v((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||A(e(c)).subscribe(i=D(n,a,u))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function ef(e,t=Ke){return Na(()=>Qn(e,t))}function Aa(e){return v((t,n)=>{let r=null,o=!1,i;r=t.subscribe(D(n,void 0,void 0,s=>{i=A(e(s,Aa(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Oa(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 Fa(e,t){return g(t)?Ne(e,t,1):Ne(e,1)}function tf(e,t=Ke){return v((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 Jt(e){return v((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Ro(e){return e<=0?()=>Je:v((t,n)=>{let r=0;t.subscribe(D(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function nf(e){return Ce(()=>e)}function rf(e,t=q){return e=e??of,v((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 of(e,t){return e===t}function Zn(e=sf){return v((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function sf(){return new et}function af(e){return v((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Ra(e,t){let n=arguments.length>=2;return r=>r.pipe(e?tt((o,i)=>e(o,i,r)):q,Ro(1),n?Jt(t):Zn(()=>new et))}function Po(e){return e<=0?()=>Je:v((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 uf(e,t){let n=arguments.length>=2;return r=>r.pipe(e?tt((o,i)=>e(o,i,r)):q,Po(1),n?Jt(t):Zn(()=>new et))}function cf(e,t){return v(Oa(e,t,arguments.length>=2,!0))}function Pa(e={}){let{connector:t=()=>new ae,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},p=()=>{f(),s=u=void 0,l=d=!1},h=()=>{let m=s;p(),m?.unsubscribe()};return v((m,N)=>{c++,!d&&!l&&f();let x=u=u??t();N.add(()=>{c--,c===0&&!d&&!l&&(a=ko(h,o))}),x.subscribe(N),!s&&c>0&&(s=new Te({next:se=>x.next(se),error:se=>{d=!0,f(),a=ko(p,n,se),x.error(se)},complete:()=>{l=!0,f(),a=ko(p,r),x.complete()}}),A(m).subscribe(s))})(i)}}function ko(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Te({next:()=>{r.unsubscribe(),e()}});return A(t(...n)).subscribe(r)}function lf(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,Pa({connector:()=>new Sn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function df(e){return tt((t,n)=>e<=n)}function ff(...e){let t=Ie(e);return v((n,r)=>{(t?Yn(e,n,t):Yn(e,n)).subscribe(r)})}function pf(e,t){return v((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++;A(e(u,l)).subscribe(o=D(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function ka(e){return v((t,n)=>{A(e).subscribe(D(n,()=>n.complete(),Yt)),!n.closed&&t.subscribe(n)})}function hf(e,t=!1){return v((n,r)=>{let o=0;n.subscribe(D(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function La(e,t,n){let r=g(e)||t||n?{next:e,error:t,complete:n}:e;return r?v((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)}))}):q}var vu="https://g.co/ng/security#xss",M=class extends Error{constructor(t,n){super(wu(t,n)),this.code=t}};function wu(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function hn(e){return{toString:e}.toString()}var Kn="__parameters__";function gf(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Iu(e,t,n){return hn(()=>{let r=gf(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(Kn)?u[Kn]:Object.defineProperty(u,Kn,{value:[]})[Kn];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 je=globalThis;function O(e){for(let t in e)if(e[t]===O)return t;throw Error("Could not find renamed property on target object.")}function mf(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Q(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(Q).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` -`);return n===-1?t:t.substring(0,n)}function Xo(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var yf=O({__forward_ref__:O});function Eu(e){return e.__forward_ref__=Eu,e.toString=function(){return Q(this())},e}function Y(e){return Cu(e)?e():e}function Cu(e){return typeof e=="function"&&e.hasOwnProperty(yf)&&e.__forward_ref__===Eu}function j(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function bu(e){return{providers:e.providers||[],imports:e.imports||[]}}function Nr(e){return ja(e,_u)||ja(e,Mu)}function m_(e){return Nr(e)!==null}function ja(e,t){return e.hasOwnProperty(t)?e[t]:null}function Df(e){let t=e&&(e[_u]||e[Mu]);return t||null}function Va(e){return e&&(e.hasOwnProperty(Ba)||e.hasOwnProperty(vf))?e[Ba]:null}var _u=O({\u0275prov:O}),Ba=O({\u0275inj:O}),Mu=O({ngInjectableDef:O}),vf=O({ngInjectorDef:O}),R=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=j({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function xu(e){return e&&!!e.\u0275providers}var wf=O({\u0275cmp:O}),If=O({\u0275dir:O}),Ef=O({\u0275pipe:O}),Cf=O({\u0275mod:O}),ar=O({\u0275fac:O}),Xt=O({__NG_ELEMENT_ID__:O}),$a=O({__NG_ENV_ID__:O});function Ar(e){return typeof e=="string"?e:e==null?"":String(e)}function bf(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Ar(e)}function _f(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new M(-200,e)}function rs(e,t){throw new M(-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}(_||{}),ei;function Su(){return ei}function ee(e){let t=ei;return ei=e,t}function Tu(e,t,n){let r=Nr(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;rs(e,"Injector")}var Mf={},en=Mf,ti="__NG_DI_FLAG__",ur="ngTempTokenPath",xf="ngTokenPath",Sf=/\n/gm,Tf="\u0275",Ha="__source",Ft;function Nf(){return Ft}function Le(e){let t=Ft;return Ft=e,t}function Af(e,t=_.Default){if(Ft===void 0)throw new M(-203,!1);return Ft===null?Tu(e,void 0,t):Ft.get(e,t&_.Optional?null:void 0,t)}function ne(e,t=_.Default){return(Su()||Af)(Y(e),t)}function k(e,t=_.Default){return ne(e,Or(t))}function Or(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ni(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):Q(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Sf,` - `)}`}var Pf=Nu(Iu("Optional"),8);var kf=Nu(Iu("SkipSelf"),4);function st(e,t){let n=e.hasOwnProperty(ar);return n?e[ar]:null}function Lf(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rArray.isArray(n)?os(n,t):t(n))}function Au(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function cr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Vf(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 Fr(e,t,n){let r=gn(e,t);return r>=0?e[r|1]=n:(r=~r,Bf(e,r,t,n)),r}function Lo(e,t){let n=gn(e,t);if(n>=0)return e[n|1]}function gn(e,t){return $f(e,t,1)}function $f(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(ge(r))return!1;s=!0}}}}return ge(r)||s}function ge(e){return(e&1)===0}function qf(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!==""&&!ge(s)&&(t+=Ga(i,o),o=""),r=s,i=i||!ge(r);n++}return o!==""&&(t+=Ga(i,o)),t}function Xf(e){return e.map(Jf).join(",")}function ep(e){let t=[],n=[],r=1,o=2;for(;r{let t=Hu(e),n=Et(It({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ru.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||tn.Emulated,styles:e.styles||te,_:null,schemas:e.schemas||null,tView:null,id:""});Uu(n);let r=e.dependencies;return n.directiveDefs=Wa(r,!1),n.pipeDefs=Wa(r,!0),n.id=op(n),n})}function tp(e){return at(e)||Vu(e)}function np(e){return e!==null}function ju(e){return hn(()=>({type:e.type,bootstrap:e.bootstrap||te,declarations:e.declarations||te,imports:e.imports||te,exports:e.exports||te,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function za(e,t){if(e==null)return Pt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Be.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Be.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Rr(e){return hn(()=>{let t=Hu(e);return Uu(t),t})}function ss(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 at(e){return e[wf]||null}function Vu(e){return e[If]||null}function Bu(e){return e[Ef]||null}function rp(e){let t=at(e)||Vu(e)||Bu(e);return t!==null?t.standalone:!1}function $u(e,t){let n=e[Cf]||null;if(!n&&t===!0)throw new Error(`Type ${Q(e)} does not have '\u0275mod' property.`);return n}function Hu(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||Pt,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||te,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:za(e.inputs,t),outputs:za(e.outputs),debugInfo:null}}function Uu(e){e.features?.forEach(t=>t(e))}function Wa(e,t){if(!e)return null;let n=t?Bu:tp;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(np)}function op(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 ip(e){return{\u0275providers:e}}function sp(...e){return{\u0275providers:Gu(!0,e),\u0275fromNgModule:!0}}function Gu(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return os(t,s=>{let a=s;oi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&zu(o,i),n}function zu(e,t){for(let n=0;n{t(i,r)})}}function oi(e,t,n,r){if(e=Y(e),!e)return!1;let o=null,i=Va(e),s=!i&&at(e);if(!i&&!s){let u=e.ngModule;if(i=Va(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)oi(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{os(i.imports,l=>{oi(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&zu(c,t)}if(!a){let c=st(o)||(()=>new o);t({provide:o,useFactory:c,deps:te},o),t({provide:Fu,useValue:o,multi:!0},o),t({provide:lr,useValue:()=>ne(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;as(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function as(e,t){for(let n of e)xu(n)&&(n=n.\u0275providers),Array.isArray(n)?as(n,t):t(n)}var ap=O({provide:String,useValue:O});function Wu(e){return e!==null&&typeof e=="object"&&ap in e}function up(e){return!!(e&&e.useExisting)}function cp(e){return!!(e&&e.useFactory)}function kt(e){return typeof e=="function"}function lp(e){return!!e.useClass}var qu=new R(""),er={},dp={},jo;function us(){return jo===void 0&&(jo=new dr),jo}var $e=class{},rn=class extends $e{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,si(t,s=>this.processProvider(s)),this.records.set(Ou,Nt(void 0,this)),o.has("environment")&&this.records.set($e,Nt(void 0,this));let i=this.records.get(qu);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Fu,te,_.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=C(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),C(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=Le(this),r=ee(void 0),o;try{return t()}finally{Le(n),ee(r)}}get(t,n=en,r=_.Default){if(this.assertNotDestroyed(),t.hasOwnProperty($a))return t[$a](this);r=Or(r);let o,i=Le(this),s=ee(void 0);try{if(!(r&_.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=mp(t)&&Nr(t);c&&this.injectableDefInScope(c)?u=Nt(ii(t),er):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&_.Self?us():this.parent;return n=r&_.Optional&&n===en?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[ur]=a[ur]||[]).unshift(Q(t)),i)throw a;return Ff(a,t,"R3InjectorError",this.source)}else throw a}finally{ee(s),Le(i)}}resolveInjectorInitializers(){let t=C(null),n=Le(this),r=ee(void 0),o;try{let i=this.get(lr,te,_.Self);for(let s of i)s()}finally{Le(n),ee(r),C(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(Q(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new M(205,!1)}processProvider(t){t=Y(t);let n=kt(t)?t:Y(t&&t.provide),r=pp(t);if(!kt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Nt(void 0,er,!0),o.factory=()=>ni(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=C(null);try{return n.value===er&&(n.value=dp,n.value=n.factory()),typeof n.value=="object"&&n.value&&gp(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{C(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Y(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 ii(e){let t=Nr(e),n=t!==null?t.factory:st(e);if(n!==null)return n;if(e instanceof R)throw new M(204,!1);if(e instanceof Function)return fp(e);throw new M(204,!1)}function fp(e){if(e.length>0)throw new M(204,!1);let n=Df(e);return n!==null?()=>n.factory(e):()=>new e}function pp(e){if(Wu(e))return Nt(void 0,e.useValue);{let t=Yu(e);return Nt(t,er)}}function Yu(e,t,n){let r;if(kt(e)){let o=Y(e);return st(o)||ii(o)}else if(Wu(e))r=()=>Y(e.useValue);else if(cp(e))r=()=>e.useFactory(...ni(e.deps||[]));else if(up(e))r=()=>ne(Y(e.useExisting));else{let o=Y(e&&(e.useClass||e.provide));if(hp(e))r=()=>new o(...ni(e.deps));else return st(o)||ii(o)}return r}function Nt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function hp(e){return!!e.deps}function gp(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function mp(e){return typeof e=="function"||typeof e=="object"&&e instanceof R}function si(e,t){for(let n of e)Array.isArray(n)?si(n,t):n&&xu(n)?si(n.\u0275providers,t):t(n)}function D_(e,t){e instanceof rn&&e.assertNotDestroyed();let n,r=Le(e),o=ee(void 0);try{return t()}finally{Le(r),ee(o)}}function Qu(){return Su()!==void 0||Nf()!=null}function yp(e){if(!Qu())throw new M(-203,!1)}function Dp(e){return typeof e=="function"}var Oe=0,w=1,y=2,U=3,ye=4,oe=5,Lt=6,on=7,z=8,jt=9,ve=10,L=11,sn=12,qa=13,Ut=14,ue=15,mn=16,At=17,Ae=18,Pr=19,Zu=20,Ve=21,tr=22,ut=23,G=25,Ku=1;var ct=7,fr=8,Vt=9,W=10,cs=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(cs||{});function ot(e){return Array.isArray(e)&&typeof e[Ku]=="object"}function Fe(e){return Array.isArray(e)&&e[Ku]===!0}function ls(e){return(e.flags&4)!==0}function kr(e){return e.componentOffset>-1}function Lr(e){return(e.flags&1)===1}function He(e){return!!e.template}function vp(e){return(e[y]&512)!==0}var ai=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Ju(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function ds(){return Xu}function Xu(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ip),wp}ds.ngInherit=!0;function wp(){let e=tc(this),t=e?.current;if(t){let n=e.previous;if(n===Pt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Ip(e,t,n,r,o){let i=this.declaredInputs[r],s=tc(e)||Ep(e,{previous:Pt,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new ai(c&&c.currentValue,n,u===Pt),Ju(e,t,o,n)}var ec="__ngSimpleChanges__";function tc(e){return e[ec]||null}function Ep(e,t){return e[ec]=t}var Ya=null;var be=function(e,t,n){Ya?.(e,t,n)},nc="svg",Cp="math",bp=!1;function _p(){return bp}function Me(e){for(;Array.isArray(e);)e=e[Oe];return e}function rc(e,t){return Me(t[e])}function le(e,t){return Me(t[e.index])}function fs(e,t){return e.data[t]}function ps(e,t){return e[t]}function ze(e,t){let n=t[e];return ot(n)?n:n[Oe]}function Mp(e){return(e[y]&4)===4}function hs(e){return(e[y]&128)===128}function xp(e){return Fe(e[U])}function Bt(e,t){return t==null?null:e[t]}function oc(e){e[At]=0}function Sp(e){e[y]&1024||(e[y]|=1024,hs(e)&&an(e))}function Tp(e,t){for(;e>0;)t=t[Ut],e--;return t}function gs(e){return!!(e[y]&9216||e[ut]?.dirty)}function ui(e){e[ve].changeDetectionScheduler?.notify(1),gs(e)?an(e):e[y]&64&&(_p()?(e[y]|=1024,an(e)):e[ve].changeDetectionScheduler?.notify())}function an(e){e[ve].changeDetectionScheduler?.notify();let t=un(e);for(;t!==null&&!(t[y]&8192||(t[y]|=8192,!hs(t)));)t=un(t)}function ic(e,t){if((e[y]&256)===256)throw new M(911,!1);e[Ve]===null&&(e[Ve]=[]),e[Ve].push(t)}function Np(e,t){if(e[Ve]===null)return;let n=e[Ve].indexOf(t);n!==-1&&e[Ve].splice(n,1)}function un(e){let t=e[U];return Fe(t)?t[U]:t}var I={lFrame:hc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Ap(){return I.lFrame.elementDepthCount}function Op(){I.lFrame.elementDepthCount++}function Fp(){I.lFrame.elementDepthCount--}function sc(){return I.bindingsEnabled}function ac(){return I.skipHydrationRootTNode!==null}function Rp(e){return I.skipHydrationRootTNode===e}function Pp(){I.skipHydrationRootTNode=null}function E(){return I.lFrame.lView}function V(){return I.lFrame.tView}function v_(e){return I.lFrame.contextLView=e,e[z]}function w_(e){return I.lFrame.contextLView=null,e}function Z(){let e=uc();for(;e!==null&&e.type===64;)e=e.parent;return e}function uc(){return I.lFrame.currentTNode}function kp(){let e=I.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function mt(e,t){let n=I.lFrame;n.currentTNode=e,n.isParent=t}function ms(){return I.lFrame.isParent}function ys(){I.lFrame.isParent=!1}function Lp(){return I.lFrame.contextLView}function cc(){let e=I.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function jp(e){return I.lFrame.bindingIndex=e}function Gt(){return I.lFrame.bindingIndex++}function lc(e){let t=I.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Vp(){return I.lFrame.inI18n}function Bp(e,t){let n=I.lFrame;n.bindingIndex=n.bindingRootIndex=e,ci(t)}function $p(){return I.lFrame.currentDirectiveIndex}function ci(e){I.lFrame.currentDirectiveIndex=e}function Hp(e){let t=I.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function dc(){return I.lFrame.currentQueryIndex}function Ds(e){I.lFrame.currentQueryIndex=e}function Up(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[oe]:null}function fc(e,t,n){if(n&_.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&_.Host);)if(o=Up(i),o===null||(i=i[Ut],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=I.lFrame=pc();return r.currentTNode=t,r.lView=e,!0}function vs(e){let t=pc(),n=e[w];I.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function pc(){let e=I.lFrame,t=e===null?null:e.child;return t===null?hc(e):t}function hc(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 gc(){let e=I.lFrame;return I.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var mc=gc;function ws(){let e=gc();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 Gp(e){return(I.lFrame.contextLView=Tp(e,I.lFrame.contextLView))[z]}function We(){return I.lFrame.selectedIndex}function lt(e){I.lFrame.selectedIndex=e}function jr(){let e=I.lFrame;return fs(e.tView,e.selectedIndex)}function I_(){I.lFrame.currentNamespace=nc}function E_(){zp()}function zp(){I.lFrame.currentNamespace=null}function Wp(){return I.lFrame.currentNamespace}var yc=!0;function Vr(){return yc}function Br(e){yc=e}function qp(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Xu(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 $r(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[At]+=65536),(a>14>16&&(e[y]&3)===t&&(e[y]+=16384,Qa(a,i)):Qa(a,i)}var Rt=-1,dt=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Qp(e){return e instanceof dt}function Zp(e){return(e.flags&8)!==0}function Kp(e){return(e.flags&16)!==0}function vc(e){return e!==Rt}function pr(e){return e&32767}function Jp(e){return e>>16}function hr(e,t){let n=Jp(e),r=t;for(;n>0;)r=r[Ut],n--;return r}var li=!0;function gr(e){let t=li;return li=e,t}var Xp=256,wc=Xp-1,Ic=5,eh=0,_e={};function th(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Xt)&&(r=n[Xt]),r==null&&(r=n[Xt]=eh++);let o=r&wc,i=1<>Ic)]|=i}function mr(e,t){let n=Ec(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,Bo(r.data,e),Bo(t,null),Bo(r.blueprint,null));let o=Is(e,t),i=e.injectorIndex;if(vc(o)){let s=pr(o),a=hr(o,t),u=a[w].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function Bo(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ec(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Is(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=xc(o),r===null)return Rt;if(n++,o=o[Ut],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Rt}function di(e,t,n){th(e,t,n)}function nh(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,f=o?a+l:c;for(let p=d;p=u&&h.type===n)return p}if(o){let p=s[u];if(p&&He(p)&&p.type===n)return u}return null}function ft(e,t,n,r){let o=e[n],i=t.data;if(Qp(o)){let s=o;s.resolving&&_f(bf(i[n]));let a=gr(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?ee(s.injectImpl):null,l=fc(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&&ee(c),gr(a),s.resolving=!1,mc()}}return o}function oh(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Xt)?e[Xt]:void 0;return typeof t=="number"?t>=0?t&wc:ih:t}function Za(e,t,n){let r=1<>Ic)]&r)}function Ka(e,t){return!(e&_.Self)&&!(e&_.Host&&t)}var it=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return _c(this._tNode,this._lView,t,Or(r),n)}};function ih(){return new it(Z(),E())}function C_(e){return hn(()=>{let t=e.prototype.constructor,n=t[ar]||fi(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[ar]||fi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function fi(e){return Cu(e)?()=>{let t=fi(Y(e));return t&&t()}:st(e)}function sh(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[y]&2048&&!(s[y]&512);){let a=Mc(i,s,n,r|_.Self,_e);if(a!==_e)return a;let u=i.parent;if(!u){let c=s[Zu];if(c){let l=c.get(n,_e,r);if(l!==_e)return l}u=xc(s),s=s[Ut]}i=u}return o}function xc(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[oe]:null}function ah(e){return nh(Z(),e)}function Ja(e,t=null,n=null,r){let o=Sc(e,t,n,r);return o.resolveInjectorInitializers(),o}function Sc(e,t=null,n=null,r,o=new Set){let i=[n||te,sp(e)];return r=r||(typeof e=="object"?void 0:Q(e)),new rn(i,t||us(),r||null,o)}var Hr=(()=>{let t=class t{static create(r,o){if(Array.isArray(r))return Ja({name:""},o,r,"");{let i=r.name??"";return Ja({name:i},r.parent,r.providers,i)}}};t.THROW_IF_NOT_FOUND=en,t.NULL=new dr,t.\u0275prov=j({token:t,providedIn:"any",factory:()=>ne(Ou)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var uh="ngOriginalError";function $o(e){return e[uh]}var pt=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&&$o(t);for(;n&&$o(n);)n=$o(n);return n||null}},Tc=new R("",{providedIn:"root",factory:()=>k(pt).handleError.bind(void 0)}),Es=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=ch,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),pi=class extends Es{constructor(t){super(),this._lView=t}onDestroy(t){return ic(this._lView,t),()=>Np(this._lView,t)}};function ch(){return new pi(E())}function lh(){return zt(Z(),E())}function zt(e,t){return new yt(le(e,t))}var yt=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=lh;let e=t;return e})();function dh(e){return e instanceof yt?e.nativeElement:e}var hi=class extends ae{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,Qu()&&(this.destroyRef=k(Es,{optional:!0})??void 0)}emit(t){let n=C(null);try{super.next(t)}finally{C(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=Ho(i),o&&(o=Ho(o)),s&&(s=Ho(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof H&&t.add(a),a}};function Ho(e){return t=>{setTimeout(e,void 0,t)}}var rt=hi;function fh(){return this._results[Symbol.iterator]()}var gi=class e{get changes(){return this._changes??=new rt}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]=fh)}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=jf(t);(this._changesDetected=!Lf(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 Nc(e){return(e.flags&128)===128}var Ac=new Map,ph=0;function hh(){return ph++}function gh(e){Ac.set(e[Pr],e)}function mh(e){Ac.delete(e[Pr])}var Xa="__ngContext__";function Ue(e,t){ot(t)?(e[Xa]=t[Pr],gh(t)):e[Xa]=t}function Oc(e){return Rc(e[sn])}function Fc(e){return Rc(e[ye])}function Rc(e){for(;e!==null&&!Fe(e);)e=e[ye];return e}var mi;function b_(e){mi=e}function yh(){if(mi!==void 0)return mi;if(typeof document<"u")return document;throw new M(210,!1)}var __=new R("",{providedIn:"root",factory:()=>Dh}),Dh="ng",vh=new R(""),wh=new R("",{providedIn:"platform",factory:()=>"unknown"});var M_=new R(""),x_=new R("",{providedIn:"root",factory:()=>yh().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Ih="h",Eh="b";var Ch=()=>null;function Cs(e,t,n=!1){return Ch(e,t,n)}var Pc=!1,bh=new R("",{providedIn:"root",factory:()=>Pc});var yr=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${vu})`}};function Ur(e){return e instanceof yr?e.changingThisBreaksApplicationSecurity:e}function _h(e,t){let n=Mh(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${vu})`)}return n===t}function Mh(e){return e instanceof yr&&e.getTypeName()||null}var xh=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Sh(e){return e=String(e),e.match(xh)?e:"unsafe:"+e}var kc=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}(kc||{});function S_(e){let t=Th();return t?t.sanitize(kc.URL,e)||"":_h(e,"URL")?Ur(e):Sh(Ar(e))}function Th(){let e=E();return e&&e[ve].sanitizer}var Nh=/^>|^->||--!>|)/g,Oh="\u200B$1\u200B";function Fh(e){return e.replace(Nh,t=>t.replace(Ah,Oh))}function Lc(e){return e instanceof Function?e():e}var Dr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Dr||{}),Rh;function bs(e,t){return Rh(e,t)}function Ot(e,t,n,r,o){if(r!=null){let i,s=!1;Fe(r)?i=r:ot(r)&&(s=!0,r=r[Oe]);let a=Me(r);e===0&&n!==null?o==null?Hc(t,n,a):vr(t,n,a,o||null,!0):e===1&&n!==null?vr(t,n,a,o||null,!0):e===2?Zh(t,a,s):e===3&&t.destroyNode(a),i!=null&&Jh(t,e,i,n,o)}}function Ph(e,t){return e.createText(t)}function kh(e,t,n){e.setValue(t,n)}function Lh(e,t){return e.createComment(Fh(t))}function jc(e,t,n){return e.createElement(t,n)}function jh(e,t){Vc(e,t),t[Oe]=null,t[oe]=null}function Vh(e,t,n,r,o,i){r[Oe]=o,r[oe]=t,Wr(e,r,n,1,o,i)}function Vc(e,t){t[ve].changeDetectionScheduler?.notify(1),Wr(e,t,t[L],2,null,null)}function Bh(e){let t=e[sn];if(!t)return Uo(e[w],e);for(;t;){let n=null;if(ot(t))n=t[sn];else{let r=t[W];r&&(n=r)}if(!n){for(;t&&!t[ye]&&t!==e;)ot(t)&&Uo(t[w],t),t=t[U];t===null&&(t=e),ot(t)&&Uo(t[w],t),n=t&&t[ye]}t=n}}function $h(e,t,n,r){let o=W+r,i=n.length;r>0&&(n[o-1][ye]=t),r0&&(e[n-1][ye]=r[ye]);let i=cr(e,W+t);jh(r[w],r);let s=i[Ae];s!==null&&s.detachView(i[w]),r[U]=null,r[ye]=null,r[y]&=-129}return r}function Gr(e,t){if(!(t[y]&256)){let n=t[L];n.destroyNode&&Wr(e,t,n,3,null,null),Bh(t)}}function Uo(e,t){if(t[y]&256)return;let n=C(null);try{t[y]&=-129,t[y]|=256,t[ut]&&vo(t[ut]),Gh(e,t),Uh(e,t),t[w].type===1&&t[L].destroy();let r=t[mn];if(r!==null&&Fe(t[U])){r!==t[U]&&Bc(r,t);let o=t[Ae];o!==null&&o.detachView(e)}mh(t)}finally{C(n)}}function Uh(e,t){let n=e.cleanup,r=t[on];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[on]=null);let o=t[Ve];if(o!==null){t[Ve]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===tn.None||i===tn.Emulated)return null}return le(r,n)}}function vr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Hc(e,t,n){e.appendChild(t,n)}function eu(e,t,n,r,o){r!==null?vr(e,t,n,r,o):Hc(e,t,n)}function Wh(e,t,n,r){e.removeChild(t,n,r)}function _s(e,t){return e.parentNode(t)}function qh(e,t){return e.nextSibling(t)}function Uc(e,t,n){return Qh(e,t,n)}function Yh(e,t,n){return e.type&40?le(e,n):null}var Qh=Yh,tu;function zr(e,t,n,r){let o=$c(e,r,t),i=t[L],s=r.parent||t[oe],a=Uc(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;uG&&Yc(e,t,G,!1),be(s?2:0,o),n(r,o)}finally{lt(i),be(s?3:1,o)}}function xs(e,t,n){if(ls(t)){let r=C(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function ag(e,t,n,r){let o=rl(t);o.push(n),e.firstCreatePass&&ol(e).push(r,o.length-1)}function ug(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return ac()&&(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 nu(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=Be.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?ru(r,n,c,a,u):ru(r,n,c,a)}return r}function ru(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 cg(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 hg(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;kr(n)&&Ig(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||mr(n,t),Ue(r,t);let s=n.initialInputs;for(let a=o;a{an(e.lView)},consumerOnSignalRead(){this.lView[ut]=this}}),cl=100;function ll(e,t=!0,n=0){let r=e[ve],o=r.rendererFactory,i=!1;i||o.begin?.();try{Pg(e,n)}catch(s){throw t&&il(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function Pg(e,t){wi(e,t);let n=0;for(;gs(e);){if(n===cl)throw new M(103,!1);n++,wi(e,1)}}function kg(e,t,n,r){let o=t[y];if((o&256)===256)return;let i=!1;!i&&t[ve].inlineEffectRunner?.flush(),vs(t);let s=null,a=null;!i&&Lg(e)&&(a=Ag(t),s=yo(a));try{oc(t),jp(e.bindingStartIndex),n!==null&&Kc(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let d=e.preOrderCheckHooks;d!==null&&nr(t,d,null)}else{let d=e.preOrderHooks;d!==null&&rr(t,d,0,null),Vo(t,0)}if(jg(t),dl(t,0),e.contentQueries!==null&&nl(e,t),!i)if(u){let d=e.contentCheckHooks;d!==null&&nr(t,d)}else{let d=e.contentHooks;d!==null&&rr(t,d,1),Vo(t,1)}tg(e,t);let c=e.components;c!==null&&pl(t,c,0);let l=e.viewQuery;if(l!==null&&vi(2,l,r),!i)if(u){let d=e.viewCheckHooks;d!==null&&nr(t,d)}else{let d=e.viewHooks;d!==null&&rr(t,d,2),Vo(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[tr]){for(let d of t[tr])d();t[tr]=null}i||(t[y]&=-73)}catch(u){throw an(t),u}finally{a!==null&&(Do(a,s),Fg(a)),ws()}}function Lg(e){return e.type!==2}function dl(e,t){for(let n=Oc(e);n!==null;n=Fc(n))for(let r=W;r-1&&(cn(t,r),cr(n,r))}this._attachedToViewContainer=!1}Gr(this._lView[w],this._lView)}onDestroy(t){ic(this._lView,t)}markForCheck(){Ps(this._cdRefInjectingView||this._lView)}detach(){this._lView[y]&=-129}reattach(){ui(this._lView),this._lView[y]|=128}detectChanges(){this._lView[y]|=1024,ll(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Vc(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=t,ui(this._lView)}},$t=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Hg;let e=t;return e})(),Bg=$t,$g=class extends Bg{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=Qr(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new ht(o)}};function Hg(){return Kr(Z(),E())}function Kr(e,t){return e.type&4?new $g(t,e,zt(e,t)):null}var O_=new RegExp(`^(\\d+)*(${Eh}|${Ih})*(.*)`);var Ug=()=>null;function dn(e,t){return Ug(e,t)}var Ii=class{},Ei=class{},Ir=class{};function Gg(e){let t=Error(`No component factory found for ${Q(e)}.`);return t[zg]=e,t}var zg="ngComponent";var Ci=class{resolveComponentFactory(t){throw Gg(t)}},Jr=(()=>{let t=class t{};t.NULL=new Ci;let e=t;return e})(),bi=class{},ks=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>Wg();let e=t;return e})();function Wg(){let e=E(),t=Z(),n=ze(t.index,e);return(ot(n)?n:e)[L]}var qg=(()=>{let t=class t{};t.\u0275prov=j({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),Go={};var ou=new Set;function yn(e){ou.has(e)||(ou.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function iu(...e){}function Yg(){let e=typeof je.requestAnimationFrame=="function",t=je[e?"requestAnimationFrame":"setTimeout"],n=je[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}var De=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 rt(!1),this.onMicrotaskEmpty=new rt(!1),this.onStable=new rt(!1),this.onError=new rt(!1),typeof Zone>"u")throw new M(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=Yg().nativeRequestAnimationFrame,Kg(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new M(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new M(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Qg,iu,iu);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Qg={};function Ls(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 Zg(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(je,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,_i(e),e.isCheckStableRunning=!0,Ls(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),_i(e))}function Kg(e){let t=()=>{Zg(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(Jg(a))return n.invokeTask(o,i,s,a);try{return su(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),au(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return su(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),au(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,_i(e),Ls(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function _i(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function su(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function au(e){e._nesting--,Ls(e)}function Jg(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}var hl=(()=>{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=j({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function Er(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&Wc(e,n,i.join(" "))}}function im(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=am;let e=t;return e})();function am(){let e=Z();return ml(e,E())}var um=qt,gl=class extends um{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return zt(this._hostTNode,this._hostLView)}get injector(){return new it(this._hostTNode,this._hostLView)}get parentInjector(){let t=Is(this._hostTNode,this._hostLView);if(vc(t)){let n=hr(t,this._hostLView),r=pr(t),o=n[w].data[r+8];return new it(o,n)}else return new it(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=cu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-W}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=dn(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,ln(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Dp(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let u=s?t:new fn(at(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let m=(s?c:this.parentInjector).get($e,null);m&&(i=m)}let l=at(u.componentType??{}),d=dn(this._lContainer,l?.id??null),f=d?.firstChild??null,p=u.create(c,o,f,i);return this.insertImpl(p.hostView,a,ln(this._hostTNode,d)),p}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(xp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[U],c=new gl(u,u[oe],u[U]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Zr(s,o,i,r),t.attachToViewContainerRef(),Au(zo(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=cu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=cn(this._lContainer,n);r&&(cr(zo(this._lContainer),n),Gr(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=cn(this._lContainer,n);return r&&cr(zo(this._lContainer),n)!=null?new ht(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function cu(e){return e[fr]}function zo(e){return e[fr]||(e[fr]=[])}function ml(e,t){let n,r=t[e.index];return Fe(r)?n=r:(n=tl(r,t,null,e),t[e.index]=n,Yr(t,n)),lm(n,t,e,r),new gl(n,e,t)}function cm(e,t){let n=e[L],r=n.createComment(""),o=le(t,e),i=_s(n,o);return vr(n,i,r,qh(n,o),!1),r}var lm=pm,dm=()=>!1;function fm(e,t,n){return dm(e,t,n)}function pm(e,t,n,r){if(e[ct])return;let o;n.type&8?o=Me(r):o=cm(t,n),e[ct]=o}var Si=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Ti=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=W;dt.trim())}function vl(e,t,n){e.queries===null&&(e.queries=new Ni),e.queries.track(new Ai(t,n))}function Em(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 js(e,t){return e.queries.getByIndex(t)}function Cm(e,t){let n=e[w],r=js(n,t);return r.crossesNgTemplate?Oi(n,e,t,[]):yl(n,e,r,t)}function R_(e){return typeof e=="function"&&e[In]!==void 0}function bm(e){return Object.getPrototypeOf(e.prototype).constructor}function _m(e){let t=bm(e.type),n=!0,r=[e];for(;t;){let o;if(He(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new M(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Jn(e.inputs),s.inputTransforms=Jn(e.inputTransforms),s.declaredInputs=Jn(e.declaredInputs),s.outputs=Jn(e.outputs);let a=o.hostBindings;a&&Nm(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&Sm(e,u),c&&Tm(e,c),Mm(e,o),mf(e.outputs,o.outputs),He(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=nn(o.hostAttrs,n=nn(n,o.hostAttrs))}}function Jn(e){return e===Pt?{}:e===te?[]:e}function Sm(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Tm(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Nm(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Am(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}var Ge=class{},Fi=class{};var Ri=class extends Ge{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Cr(this);let o=$u(t);this._bootstrapComponents=Lc(o.bootstrap),this._r3Injector=Sc(t,n,[{provide:Ge,useValue:this},{provide:Jr,useValue:this.componentFactoryResolver},...r],Q(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Pi=class extends Fi{constructor(t){super(),this.moduleType=t}create(t){return new Ri(this.moduleType,t,[])}};var _r=class extends Ge{constructor(t){super(),this.componentFactoryResolver=new Cr(this),this.instance=null;let n=new rn([...t.providers,{provide:Ge,useValue:this},{provide:Jr,useValue:this.componentFactoryResolver}],t.parent||us(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Om(e,t,n=null){return new _r({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Vs=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Qt(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function wl(e){return Rm(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Fm(e,t){if(Array.isArray(e))for(let n=0;n>17&32767}function Hm(e){return(e&2)==2}function Um(e,t){return e&131071|t<<17}function Li(e){return e|2}function Ht(e){return(e&131068)>>2}function Wo(e,t){return e&-131069|t<<2}function Gm(e){return(e&1)===1}function ji(e){return e|1}function zm(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=gt(s),u=Ht(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||gn(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let f=gt(e[a+1]);e[r+1]=Xn(f,a),f!==0&&(e[f+1]=Wo(e[f+1],r)),e[a+1]=Um(e[a+1],r)}else e[r+1]=Xn(a,0),a!==0&&(e[a+1]=Wo(e[a+1],r)),a=r;else e[r+1]=Xn(u,0),a===0?a=r:e[u+1]=Wo(e[u+1],r),u=r;c&&(e[r+1]=Li(e[r+1])),lu(e,l,r,!0),lu(e,l,r,!1),Wm(t,l,e,r,i),s=Xn(a,u),i?t.classBindings=s:t.styleBindings=s}function Wm(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&gn(i,t)>=0&&(n[r+1]=ji(n[r+1]))}function lu(e,t,n,r){let o=e[n+1],i=t===null,s=r?gt(o):Ht(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];qm(u,t)&&(a=!0,e[s+1]=r?ji(c):Li(c)),s=r?gt(c):Ht(c)}a&&(e[n+1]=r?Li(o):ji(o))}function qm(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?gn(e,t)>=0:!1}var me={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ym(e){return e.substring(me.key,me.keyEnd)}function Qm(e){return Zm(e),El(e,Cl(e,0,me.textEnd))}function El(e,t){let n=me.textEnd;return n===t?-1:(t=me.keyEnd=Km(e,me.key=t,n),Cl(e,t,n))}function Zm(e){me.key=0,me.keyEnd=0,me.value=0,me.valueEnd=0,me.textEnd=e.length}function Cl(e,t,n){for(;t32;)t++;return t}function Jm(e,t,n){let r=E(),o=Gt();if(ce(r,o,t)){let i=V(),s=jr();As(i,s,r,e,t,r[L],n,!1)}return Jm}function Vi(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Fs(e,n,i[s],s,r)}function bl(e,t,n){return Ml(e,t,n,!1),bl}function Xm(e,t){return Ml(e,t,null,!0),Xm}function P_(e){xl(iy,_l,e,!0)}function _l(e,t){for(let n=Qm(t);n>=0;n=El(t,n))Fr(e,Ym(t),!0)}function Ml(e,t,n,r){let o=E(),i=V(),s=lc(2);if(i.firstUpdatePass&&Tl(i,e,s,r),t!==xe&&ce(o,s,t)){let a=i.data[We()];Nl(i,a,o,o[L],e,o[s+1]=ay(t,n),r,s)}}function xl(e,t,n,r){let o=V(),i=lc(2);o.firstUpdatePass&&Tl(o,null,i,r);let s=E();if(n!==xe&&ce(s,i,n)){let a=o.data[We()];if(Al(a,r)&&!Sl(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=Xo(u,n||"")),Vi(o,a,s,n,r)}else sy(o,a,s,s[L],s[i+1],s[i+1]=oy(e,t,n),r,i)}}function Sl(e,t){return t>=e.expandoStartIndex}function Tl(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[We()],s=Sl(e,n);Al(i,r)&&t===null&&!s&&(t=!1),t=ey(o,i,t,r),zm(o,i,t,n,s,r)}}function ey(e,t,n,r){let o=Hp(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=qo(null,e,t,n,r),n=pn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=qo(o,e,t,n,r),i===null){let u=ty(e,t,r);u!==void 0&&Array.isArray(u)&&(u=qo(null,e,t,u[1],r),u=pn(u,t.attrs,r),ny(e,t,r,u))}else i=ry(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function ty(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Ht(r)!==0)return e[gt(r)]}function ny(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[gt(o)]=r}function ry(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,f=n[o+1];f===xe&&(f=d?te:void 0);let p=d?Lo(f,r):l===r?f:void 0;if(c&&!Mr(p)&&(p=Lo(u,r)),Mr(p)&&(a=p,s))return a;let h=e[o+1];o=s?gt(h):Ht(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=Lo(u,r))}return a}function Mr(e){return e!==void 0}function ay(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Q(Ur(e)))),e}function Al(e,t){return(e.flags&(t?8:16))!==0}function k_(e,t,n){let r=E(),o=Bs(r,e,t,n);xl(Fr,_l,o,!0)}var Bi=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 Yo(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function uy(e,t,n){let r,o,i=0,s=e.length-1;if(Array.isArray(t)){let a=t.length-1;for(;i<=s&&i<=a;){let u=e.at(i),c=t[i],l=Yo(i,u,i,c,n);if(l!==0){l<0&&e.updateValue(i,c),i++;continue}let d=e.at(s),f=t[a],p=Yo(s,d,a,f,n);if(p!==0){p<0&&e.updateValue(s,f),s--,a--;continue}let h=n(i,u),m=n(s,d),N=n(i,c);if(Object.is(N,m)){let x=n(a,f);Object.is(x,h)?(e.swap(i,s),e.updateValue(s,f),a--,s--):e.move(s,i),e.updateValue(i,c),i++;continue}if(r??=new xr,o??=pu(e,i,s,n),$i(e,r,i,N))e.updateValue(i,c),i++,s++;else if(o.has(N))r.set(h,e.detach(i)),s--;else{let x=e.create(i,t[i]);e.attach(i,x),i++,s++}}for(;i<=a;)fu(e,r,n,i,t[i]),i++}else if(t!=null){let a=t[Symbol.iterator](),u=a.next();for(;!u.done&&i<=s;){let c=e.at(i),l=u.value,d=Yo(i,c,i,l,n);if(d!==0)d<0&&e.updateValue(i,l),i++,u=a.next();else{r??=new xr,o??=pu(e,i,s,n);let f=n(i,l);if($i(e,r,i,f))e.updateValue(i,l),i++,s++,u=a.next();else if(!o.has(f))e.attach(i,e.create(i,l)),i++,s++,u=a.next();else{let p=n(i,c);r.set(p,e.detach(i)),s--}}}for(;!u.done;)fu(e,r,n,e.length,u.value),u=a.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(a=>{e.destroy(a)})}function $i(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function fu(e,t,n,r,o){if($i(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function pu(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 xr=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 L_(e,t,n){yn("NgControlFlow");let r=E(),o=Gt(),i=zi(r,G+e),s=0;if(ce(r,o,t)){let a=C(null);try{if(al(i,s),t!==-1){let u=Wi(r[w],G+t),c=dn(i,u.tView.ssrId),l=Qr(r,u,n,{dehydratedView:c});Zr(i,l,s,ln(u,c))}}finally{C(a)}}else{let a=sl(i,s);a!==void 0&&(a[z]=n)}}var Hi=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-W}};function j_(e,t){return t}var Ui=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function V_(e,t,n,r,o,i,s,a,u,c,l,d,f){yn("NgControlFlow");let p=u!==void 0,h=E(),m=a?s.bind(h[ue][z]):s,N=new Ui(p,m);h[G+e]=N,ki(e+1,t,n,r,o,i),p&&ki(e+2,u,c,l,d,f)}var Gi=class extends Bi{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-W}at(t){return this.getLView(t)[z].$implicit}attach(t,n){let r=n[Lt];this.needsIndexUpdate||=t!==this.length,Zr(this.lContainer,n,t,ln(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,cy(this.lContainer,t)}create(t,n){let r=dn(this.lContainer,this.templateTNode.tView.ssrId);return Qr(this.hostLView,this.templateTNode,new Hi(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Gr(t[w],t)}updateValue(t,n){this.getLView(t)[z].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(Br(!0),jc(r,o,Wp()));function hy(e,t,n,r,o){let i=t.consts,s=Bt(i,r),a=Wt(t,e,8,"ng-container",s);s!==null&&Er(a,s,!0);let u=Bt(i,o);return Os(t,n,a,u),t.queries!==null&&t.queries.elementStart(t,a),a}function Rl(e,t,n){let r=E(),o=V(),i=e+G,s=o.firstCreatePass?hy(i,o,r,t,n):o.data[i];mt(s,!0);let a=my(o,r,s,e);return r[i]=a,Vr()&&zr(o,r,a,s),Ue(a,r),Lr(s)&&(Ss(o,r,s),xs(o,s,r)),n!=null&&Ts(r,s),Rl}function Pl(){let e=Z(),t=V();return ms()?ys():(e=e.parent,mt(e,!1)),t.firstCreatePass&&($r(t,e),ls(e)&&t.queries.elementEnd(e)),Pl}function gy(e,t,n){return Rl(e,t,n),Pl(),gy}var my=(e,t,n,r)=>(Br(!0),Lh(t[L],""));function $_(){return E()}function yy(e,t,n){let r=E(),o=Gt();if(ce(r,o,t)){let i=V(),s=jr();As(i,s,r,e,t,r[L],n,!0)}return yy}var nt=void 0;function Dy(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var vy=["en",[["a","p"],["AM","PM"],nt],[["AM","PM"],nt,nt],[["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"]],nt,[["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"]],nt,[["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}",nt,"{1} 'at' {0}",nt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",Dy],Qo={};function de(e){let t=wy(e),n=hu(t);if(n)return n;let r=t.split("-")[0];if(n=hu(r),n)return n;if(r==="en")return vy;throw new M(701,!1)}function hu(e){return e in Qo||(Qo[e]=je.ng&&je.ng.common&&je.ng.common.locales&&je.ng.common.locales[e]),Qo[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 wy(e){return e.toLowerCase().replace(/_/g,"-")}var Sr="en-US";var Iy=Sr;function Ey(e){typeof e=="string"&&(Iy=e.toLowerCase().replace(/_/g,"-"))}function Cy(e,t,n,r){let o=E(),i=V(),s=Z();return _y(i,o,o[L],s,e,t,r),Cy}function by(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 _y(e,t,n,r,o,i,s){let a=Lr(r),c=e.firstCreatePass&&ol(e),l=t[z],d=rl(t),f=!0;if(r.type&3||s){let m=le(r,t),N=s?s(m):m,x=d.length,se=s?Se=>s(Me(Se[r.index])):r.index,J=null;if(!s&&a&&(J=by(e,t,o,r.index)),J!==null){let Se=J.__ngLastListenerFn__||J;Se.__ngNextListenerFn__=i,J.__ngLastListenerFn__=i,f=!1}else{i=mu(r,t,l,i,!1);let Se=n.listen(N,o,i);d.push(i,Se),c&&c.push(o,se,x,x+1)}}else i=mu(r,t,l,i,!1);let p=r.outputs,h;if(f&&p!==null&&(h=p[o])){let m=h.length;if(m)for(let N=0;N-1?ze(e.index,t):t;Ps(a);let u=gu(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=gu(t,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function H_(e=1){return Gp(e)}function My(e,t){let n=null,r=Yf(e);for(let o=0;o=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Q_(e){let t=Lp();return ps(t,G+e)}function Z_(e,t=""){let n=E(),r=V(),o=e+G,i=r.firstCreatePass?Wt(r,o,1,t,null):r.data[o],s=Ty(r,n,i,t,e);n[o]=s,Vr()&&zr(r,n,s,i),mt(i,!1)}var Ty=(e,t,n,r,o)=>(Br(!0),Ph(t[L],r));function Ny(e){return kl("",e,""),Ny}function kl(e,t,n){let r=E(),o=Bs(r,e,t,n);return o!==xe&&Mg(r,We(),o),kl}function Ay(e,t,n){let r=V();if(r.firstCreatePass){let o=He(e);qi(n,r.data,r.blueprint,o,!0),qi(t,r.data,r.blueprint,o,!1)}}function qi(e,t,n,r,o){if(e=Y(e),Array.isArray(e))for(let i=0;i>20;if(kt(e)||!e.multi){let p=new dt(c,o,re),h=Ko(u,t,o?l:l+f,d);h===-1?(di(mr(a,s),i,u),Zo(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(p),s.push(p)):(n[h]=p,s[h]=p)}else{let p=Ko(u,t,l+f,d),h=Ko(u,t,l,l+f),m=p>=0&&n[p],N=h>=0&&n[h];if(o&&!N||!o&&!m){di(mr(a,s),i,u);let x=Ry(o?Fy:Oy,n.length,o,r,c);!o&&N&&(n[h].providerFactory=x),Zo(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(x),s.push(x)}else{let x=Ll(n[o?h:p],c,!o&&r);Zo(i,e,p>-1?p:h,x)}!o&&r&&N&&n[h].componentProviders++}}}function Zo(e,t,n,r){let o=kt(t),i=lp(t);if(o||i){let u=(i?Y(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 Ll(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ko(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>Ay(r,o?o(e):e,t)}}var Py=(()=>{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=Gu(!1,r.type),i=o.length>0?Om([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=j({token:t,providedIn:"environment",factory:()=>new t(ne($e))});let e=t;return e})();function J_(e){yn("NgStandalone"),e.getStandaloneInjector=t=>t.get(Py).getOrCreateStandaloneInjector(e)}function jl(e,t){let n=e[t];return n===xe?void 0:n}function ky(e,t,n,r,o,i){let s=t+n;return ce(e,s,o)?Il(e,s+1,i?r.call(i,o):r(o)):jl(e,s+1)}function Ly(e,t,n,r,o,i,s,a){let u=t+n;return km(e,u,o,i,s)?Il(e,u+3,a?r.call(a,o,i,s):r(o,i,s)):jl(e,u+3)}function X_(e,t){let n=V(),r,o=e+G;n.firstCreatePass?(r=jy(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=st(r.type,!0)),s,a=ee(re);try{let u=gr(!1),c=i();return gr(u),Sy(n,E(),o,c),c}finally{ee(a)}}function jy(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function eM(e,t,n){let r=e+G,o=E(),i=ps(o,r);return Vl(o,r)?ky(o,cc(),t,i.transform,n,i):i.transform(n)}function tM(e,t,n,r,o){let i=e+G,s=E(),a=ps(s,i);return Vl(s,i)?Ly(s,cc(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function Vl(e,t){return e[w].data[t].pure}function nM(e,t){return Kr(e,t)}var rM=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var Vy=new R("");function Xr(e){return!!e&&typeof e.then=="function"}function $s(e){return!!e&&typeof e.subscribe=="function"}var By=new R(""),Bl=(()=>{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=k(By,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(Xr(s))r.push(s);else if($s(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=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),$y=new R("");function Hy(){ra(()=>{throw new M(600,!1)})}function Uy(e){return e.isBoundToModule}function Gy(e,t,n){try{let r=n();return Xr(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var $l=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=k(Tc),this.afterRenderEffectManager=k(hl),this.externalTestViews=new Set,this.beforeRender=new ae,this.afterTick=new ae,this.componentTypes=[],this.components=[],this.isStable=k(Vs).hasPendingTasks.pipe(Ce(r=>!r)),this._injector=k($e)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof Ir;if(!this._injector.get(Bl).done){let p=!i&&rp(r),h=!1;throw new M(405,h)}let a;i?a=r:a=this._injector.get(Jr).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=Uy(a)?void 0:this._injector.get(Ge),c=o||a.selector,l=a.create(Hr.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(Vy,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Jo(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new M(101,!1);let o=C(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this.afterTick.next(),this._runningTick=!1,C(o)}}detectChangesInAttachedViews(r){let o=0,i=this.afterRenderEffectManager;for(;;){if(o===cl)throw new M(103,!1);if(r){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:u}of this._views)zy(a,s,u)}if(o++,i.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Qi(s))&&(i.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Qi(s))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;Jo(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get($y,[]);[...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),()=>Jo(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new M(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Jo(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function zy(e,t,n){!t&&!Qi(e)||Wy(e,n,t)}function Qi(e){return gs(e)}function Wy(e,t,n){let r;n?(r=0,e[y]|=1024):e[y]&64?r=0:r=1,ll(e,t,r)}var Zi=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},oM=(()=>{let t=class t{compileModuleSync(r){return new Pi(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=$u(r),s=Lc(i.declarations).reduce((a,u)=>{let c=at(u);return c&&a.push(new fn(c)),a},[]);return new Zi(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=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var qy=(()=>{let t=class t{constructor(){this.zone=k(De),this.applicationRef=k($l)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Yy(e){return[{provide:De,useFactory:e},{provide:lr,multi:!0,useFactory:()=>{let t=k(qy,{optional:!0});return()=>t.initialize()}},{provide:lr,multi:!0,useFactory:()=>{let t=k(Jy);return()=>{t.initialize()}}},{provide:Tc,useFactory:Qy}]}function Qy(){let e=k(De),t=k(pt);return n=>e.runOutsideAngular(()=>t.handleError(n))}function Zy(e){let t=Yy(()=>new De(Ky(e)));return ip([[],t])}function Ky(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Jy=(()=>{let t=class t{constructor(){this.subscription=new H,this.initialized=!1,this.zone=k(De),this.pendingTasks=k(Vs)}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(()=>{De.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{De.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Xy(){return typeof $localize<"u"&&$localize.locale||Sr}var eo=new R("",{providedIn:"root",factory:()=>k(eo,_.Optional|_.SkipSelf)||Xy()});var Hl=new R("");var sr=null;function eD(e=[],t){return Hr.create({name:t,providers:[{provide:qu,useValue:"platform"},{provide:Hl,useValue:new Set([()=>sr=null])},...e]})}function tD(e=[]){if(sr)return sr;let t=eD(e);return sr=t,Hy(),nD(t),t}function nD(e){e.get(vh,null)?.forEach(n=>n())}var to=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=rD;let e=t;return e})();function rD(e){return oD(Z(),E(),(e&16)===16)}function oD(e,t,n){if(kr(e)&&!n){let r=ze(e.index,t);return new ht(r,r)}else if(e.type&47){let r=t[ue];return new ht(r,t)}return null}var Ki=class{constructor(){}supports(t){return wl(t)}create(t){return new Ji(t)}},iD=(e,t)=>t,Ji=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||iD}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 Xi(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 Tr),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 Tr),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}},Xi=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}},es=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}},Tr=class{constructor(){this.map=new Map}put(t){let n=t.trackById,r=this.map.get(n);r||(r=new es,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 yu(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||Du()),deps:[[t,new kf,new Pf]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o!=null)return o;throw new M(901,!1)}};t.\u0275prov=j({token:t,providedIn:"root",factory:Du});let e=t;return e})();function iM(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=tD(r),i=[Zy(),...n||[]],a=new _r({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(De);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(pt,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:p=>{c.handleError(p)}})});let d=()=>a.destroy(),f=o.get(Hl);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),Gy(c,u,()=>{let p=a.get(Bl);return p.runInitializers(),p.donePromise.then(()=>{let h=a.get(eo,Sr);Ey(h||Sr);let m=a.get($l);return t!==void 0&&m.bootstrap(t),m})})})}catch(t){return Promise.reject(t)}}function sD(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function aD(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Hs(e){let t=C(null);try{return e()}finally{C(t)}}var uD=new R("",{providedIn:"root",factory:()=>k(cD)}),cD=(()=>{let t=class t{};t.\u0275prov=j({token:t,providedIn:"root",factory:()=>new ts});let e=t;return e})(),ts=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=k(Vs),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),this.taskId===null){let n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){let n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},ns=class{constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=i,this.watcher=oa(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(pt,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function lD(e,t){yn("NgSignals"),!t?.injector&&yp(lD);let n=t?.injector??k(Hr),r=t?.manualCleanup!==!0?n.get(Es):null,o=new ns(n.get(uD),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(to,null,{optional:!0});return!i||!(i._lView[y]&8)?o.watcher.notify():(i._lView[tr]??=[]).push(o.watcher.notify),o}var Kl=null;function Us(){return Kl}function MM(e){Kl??=e}var Gl=class{};var Jl=new R(""),Xl=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:()=>k(fD),providedIn:"platform"});let e=t;return e})();var fD=(()=>{let t=class t extends Xl{constructor(){super(),this._doc=k(Jl),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Us().getBaseHref(this._doc)}onPopState(r){let o=Us().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=Us().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=j({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function ed(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 zl(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function Dt(e){return e&&e[0]!=="?"?"?"+e:e}var Ks=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=j({token:t,factory:()=>k(hD),providedIn:"root"});let e=t;return e})(),pD=new R(""),hD=(()=>{let t=class t extends Ks{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??k(Jl).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 ed(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+Dt(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+Dt(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+Dt(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)(ne(Xl),ne(pD,8))},t.\u0275prov=j({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var gD=(()=>{let t=class t{constructor(r){this._subject=new rt,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=DD(zl(Wl(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+Dt(o))}normalize(r){return t.stripTrailingSlash(yD(this._basePath,Wl(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+Dt(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Dt(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=Dt,t.joinWithSlash=ed,t.stripTrailingSlash=zl,t.\u0275fac=function(o){return new(o||t)(ne(Ks))},t.\u0275prov=j({token:t,factory:()=>mD(),providedIn:"root"});let e=t;return e})();function mD(){return new gD(ne(Ks))}function yD(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Wl(e){return e.replace(/\/index.html$/,"")}function DD(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var K=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(K||{}),F=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(F||{}),ie=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(ie||{}),qe={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 vD(e){return de(e)[B.LocaleId]}function wD(e,t,n){let r=de(e),o=[r[B.DayPeriodsFormat],r[B.DayPeriodsStandalone]],i=fe(o,t);return fe(i,n)}function ID(e,t,n){let r=de(e),o=[r[B.DaysFormat],r[B.DaysStandalone]],i=fe(o,t);return fe(i,n)}function ED(e,t,n){let r=de(e),o=[r[B.MonthsFormat],r[B.MonthsStandalone]],i=fe(o,t);return fe(i,n)}function CD(e,t){let r=de(e)[B.Eras];return fe(r,t)}function no(e,t){let n=de(e);return fe(n[B.DateFormat],t)}function ro(e,t){let n=de(e);return fe(n[B.TimeFormat],t)}function oo(e,t){let r=de(e)[B.DateTimeFormat];return fe(r,t)}function fo(e,t){let n=de(e),r=n[B.NumberSymbols][t];if(typeof r>"u"){if(t===qe.CurrencyDecimal)return n[B.NumberSymbols][qe.Decimal];if(t===qe.CurrencyGroup)return n[B.NumberSymbols][qe.Group]}return r}function td(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 bD(e){let t=de(e);return td(t),(t[B.ExtraData][2]||[]).map(r=>typeof r=="string"?Gs(r):[Gs(r[0]),Gs(r[1])])}function _D(e,t,n){let r=de(e);td(r);let o=[r[B.ExtraData][0],r[B.ExtraData][1]],i=fe(o,t)||[];return fe(i,n)||[]}function fe(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 Gs(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var MD=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,io={},xD=/((?:[^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]*)/,Pe=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(Pe||{}),T=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}(T||{}),S=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(S||{});function SD(e,t,n,r){let o=LD(e);t=Re(n,t)||t;let s=[],a;for(;t;)if(a=xD.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=rd(r,u),o=kD(o,r,!0));let c="";return s.forEach(l=>{let d=RD(l);c+=d?d(o,n,u):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function lo(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function Re(e,t){let n=vD(e);if(io[n]??={},io[n][t])return io[n][t];let r="";switch(t){case"shortDate":r=no(e,ie.Short);break;case"mediumDate":r=no(e,ie.Medium);break;case"longDate":r=no(e,ie.Long);break;case"fullDate":r=no(e,ie.Full);break;case"shortTime":r=ro(e,ie.Short);break;case"mediumTime":r=ro(e,ie.Medium);break;case"longTime":r=ro(e,ie.Long);break;case"fullTime":r=ro(e,ie.Full);break;case"short":let o=Re(e,"shortTime"),i=Re(e,"shortDate");r=so(oo(e,ie.Short),[o,i]);break;case"medium":let s=Re(e,"mediumTime"),a=Re(e,"mediumDate");r=so(oo(e,ie.Medium),[s,a]);break;case"long":let u=Re(e,"longTime"),c=Re(e,"longDate");r=so(oo(e,ie.Long),[u,c]);break;case"full":let l=Re(e,"fullTime"),d=Re(e,"fullDate");r=so(oo(e,ie.Full),[l,d]);break}return r&&(io[n][t]=r),r}function so(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function we(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===T.Hours)a===0&&n===-12&&(a=12);else if(e===T.FractionalSeconds)return TD(a,t);let u=fo(s,qe.MinusSign);return we(a,t,u,r,o)}}function ND(e,t){switch(e){case T.FullYear:return t.getFullYear();case T.Month:return t.getMonth();case T.Date:return t.getDate();case T.Hours:return t.getHours();case T.Minutes:return t.getMinutes();case T.Seconds:return t.getSeconds();case T.FractionalSeconds:return t.getMilliseconds();case T.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function P(e,t,n=K.Format,r=!1){return function(o,i){return AD(o,i,e,t,n,r)}}function AD(e,t,n,r,o,i){switch(n){case S.Months:return ED(t,o,r)[e.getMonth()];case S.Days:return ID(t,o,r)[e.getDay()];case S.DayPeriods:let s=e.getHours(),a=e.getMinutes();if(i){let c=bD(t),l=_D(t,o,r),d=c.findIndex(f=>{if(Array.isArray(f)){let[p,h]=f,m=s>=p.hours&&a>=p.minutes,N=s0?Math.floor(o/60):Math.ceil(o/60);switch(e){case Pe.Short:return(o>=0?"+":"")+we(s,2,i)+we(Math.abs(o%60),2,i);case Pe.ShortGMT:return"GMT"+(o>=0?"+":"")+we(s,1,i);case Pe.Long:return"GMT"+(o>=0?"+":"")+we(s,2,i)+":"+we(Math.abs(o%60),2,i);case Pe.Extended:return r===0?"Z":(o>=0?"+":"")+we(s,2,i)+":"+we(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var OD=0,co=4;function FD(e){let t=lo(e,OD,1).getDay();return lo(e,0,1+(t<=co?co:co+7)-t)}function nd(e){let t=e.getDay(),n=t===0?-3:co-t;return lo(e.getFullYear(),e.getMonth(),e.getDate()+n)}function zs(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=nd(n),s=FD(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return we(o,e,fo(r,qe.MinusSign))}}function uo(e,t=!1){return function(n,r){let i=nd(n).getFullYear();return we(i,e,fo(r,qe.MinusSign),t)}}var Ws={};function RD(e){if(Ws[e])return Ws[e];let t;switch(e){case"G":case"GG":case"GGG":t=P(S.Eras,F.Abbreviated);break;case"GGGG":t=P(S.Eras,F.Wide);break;case"GGGGG":t=P(S.Eras,F.Narrow);break;case"y":t=$(T.FullYear,1,0,!1,!0);break;case"yy":t=$(T.FullYear,2,0,!0,!0);break;case"yyy":t=$(T.FullYear,3,0,!1,!0);break;case"yyyy":t=$(T.FullYear,4,0,!1,!0);break;case"Y":t=uo(1);break;case"YY":t=uo(2,!0);break;case"YYY":t=uo(3);break;case"YYYY":t=uo(4);break;case"M":case"L":t=$(T.Month,1,1);break;case"MM":case"LL":t=$(T.Month,2,1);break;case"MMM":t=P(S.Months,F.Abbreviated);break;case"MMMM":t=P(S.Months,F.Wide);break;case"MMMMM":t=P(S.Months,F.Narrow);break;case"LLL":t=P(S.Months,F.Abbreviated,K.Standalone);break;case"LLLL":t=P(S.Months,F.Wide,K.Standalone);break;case"LLLLL":t=P(S.Months,F.Narrow,K.Standalone);break;case"w":t=zs(1);break;case"ww":t=zs(2);break;case"W":t=zs(1,!0);break;case"d":t=$(T.Date,1);break;case"dd":t=$(T.Date,2);break;case"c":case"cc":t=$(T.Day,1);break;case"ccc":t=P(S.Days,F.Abbreviated,K.Standalone);break;case"cccc":t=P(S.Days,F.Wide,K.Standalone);break;case"ccccc":t=P(S.Days,F.Narrow,K.Standalone);break;case"cccccc":t=P(S.Days,F.Short,K.Standalone);break;case"E":case"EE":case"EEE":t=P(S.Days,F.Abbreviated);break;case"EEEE":t=P(S.Days,F.Wide);break;case"EEEEE":t=P(S.Days,F.Narrow);break;case"EEEEEE":t=P(S.Days,F.Short);break;case"a":case"aa":case"aaa":t=P(S.DayPeriods,F.Abbreviated);break;case"aaaa":t=P(S.DayPeriods,F.Wide);break;case"aaaaa":t=P(S.DayPeriods,F.Narrow);break;case"b":case"bb":case"bbb":t=P(S.DayPeriods,F.Abbreviated,K.Standalone,!0);break;case"bbbb":t=P(S.DayPeriods,F.Wide,K.Standalone,!0);break;case"bbbbb":t=P(S.DayPeriods,F.Narrow,K.Standalone,!0);break;case"B":case"BB":case"BBB":t=P(S.DayPeriods,F.Abbreviated,K.Format,!0);break;case"BBBB":t=P(S.DayPeriods,F.Wide,K.Format,!0);break;case"BBBBB":t=P(S.DayPeriods,F.Narrow,K.Format,!0);break;case"h":t=$(T.Hours,1,-12);break;case"hh":t=$(T.Hours,2,-12);break;case"H":t=$(T.Hours,1);break;case"HH":t=$(T.Hours,2);break;case"m":t=$(T.Minutes,1);break;case"mm":t=$(T.Minutes,2);break;case"s":t=$(T.Seconds,1);break;case"ss":t=$(T.Seconds,2);break;case"S":t=$(T.FractionalSeconds,1);break;case"SS":t=$(T.FractionalSeconds,2);break;case"SSS":t=$(T.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=ao(Pe.Short);break;case"ZZZZZ":t=ao(Pe.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=ao(Pe.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=ao(Pe.Long);break;default:return null}return Ws[e]=t,t}function rd(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function PD(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function kD(e,t,n){let r=n?-1:1,o=e.getTimezoneOffset(),i=rd(t,o);return PD(e,r*(i-o))}function LD(e){if(ql(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 lo(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(MD))return jD(r)}let t=new Date(e);if(!ql(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function jD(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 ql(e){return e instanceof Date&&!isNaN(e.valueOf())}function xM(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 qs=/\s+/,Yl=[],SM=(()=>{let t=class t{constructor(r,o){this._ngEl=r,this._renderer=o,this.initialClasses=Yl,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split(qs):Yl}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split(qs):r}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(let o of r)this._updateState(o,!0);else if(r!=null)for(let o of Object.keys(r))this._updateState(o,!!r[o]);this._applyStateDiff()}_updateState(r,o){let i=this.stateMap.get(r);i!==void 0?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(r,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let r of this.stateMap){let o=r[0],i=r[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(r,o){r=r.trim(),r.length>0&&r.split(qs).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};t.\u0275fac=function(o){return new(o||t)(re(yt),re(ks))},t.\u0275dir=Rr({type:t,selectors:[["","ngClass",""]],inputs:{klass:[Be.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let e=t;return e})();var TM=(()=>{let t=class t{constructor(r,o){this._viewContainer=r,this._context=new Ys,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){Ql("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){Ql("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)(re(qt),re($t))},t.\u0275dir=Rr({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let e=t;return e})(),Ys=class{constructor(){this.$implicit=null,this.ngIf=null}};function Ql(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${Q(t)}'.`)}var NM=(()=>{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)(re(qt))},t.\u0275dir=Rr({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[ds]});let e=t;return e})();function od(e,t){return new M(2100,!1)}var Qs=class{createSubscription(t,n){return Hs(()=>t.subscribe({next:n,error:r=>{throw r}}))}dispose(t){Hs(()=>t.unsubscribe())}},Zs=class{createSubscription(t,n){return t.then(n,r=>{throw r})}dispose(t){}},VD=new Zs,BD=new Qs,AM=(()=>{let t=class t{constructor(r){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=r}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(r){if(!this._obj){if(r)try{this.markForCheckOnValueUpdate=!1,this._subscribe(r)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return r!==this._obj?(this._dispose(),this.transform(r)):this._latestValue}_subscribe(r){this._obj=r,this._strategy=this._selectStrategy(r),this._subscription=this._strategy.createSubscription(r,o=>this._updateLatestValue(r,o))}_selectStrategy(r){if(Xr(r))return VD;if($s(r))return BD;throw od(t,r)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(r,o){r===this._obj&&(this._latestValue=o,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}};t.\u0275fac=function(o){return new(o||t)(re(to,16))},t.\u0275pipe=ss({name:"async",type:t,pure:!1,standalone:!0});let e=t;return e})();var $D="mediumDate",HD=new R(""),UD=new R(""),OM=(()=>{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??$D,u=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return SD(r,a,s||this.locale,u)}catch(a){throw od(t,a.message)}}};t.\u0275fac=function(o){return new(o||t)(re(eo,16),re(HD,24),re(UD,24))},t.\u0275pipe=ss({name:"date",type:t,pure:!0,standalone:!0});let e=t;return e})();var FM=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=ju({type:t}),t.\u0275inj=bu({});let e=t;return e})(),GD="browser",zD="server";function RM(e){return e===GD}function PM(e){return e===zD}var Zl=class{};var ke=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}(ke||{}),jM="*";function VM(e,t){return{type:ke.Trigger,name:e,definitions:t,options:{}}}function BM(e,t=null){return{type:ke.Animate,styles:t,timings:e}}function $M(e,t=null){return{type:ke.Sequence,steps:e,options:t}}function HM(e){return{type:ke.Style,styles:e,offset:null}}function UM(e,t,n){return{type:ke.State,name:e,styles:t,options:n}}function GM(e,t,n=null){return{type:ke.Transition,expr:e,animation:t,options:n}}function zM(e=null){return{type:ke.AnimateChild,options:e}}function WM(e,t,n=null){return{type:ke.Query,selector:e,animation:t,options:n}}var id=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}},sd=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}},qM="!";export{It as a,Et as b,WD as c,H as d,Ed as e,b as f,No as g,Ao as h,ae as i,Qt as j,Je as k,Ee as l,Od as m,Fd as n,Rd as o,et as p,Ce as q,Hd as r,Ne as s,Yn as t,Gd as u,zd as v,Fo as w,Jd as x,Xd as y,tt as z,ef as A,Aa as B,Fa as C,tf as D,Jt as E,Ro as F,nf as G,rf as H,af as I,Ra as J,Po as K,uf as L,cf as M,lf as N,df as O,ff as P,pf as Q,ka as R,hf as S,La as T,M as U,Eu as V,j as W,bu as X,m_ as Y,R as Z,_,ne as $,k as aa,tn as ba,Be as ca,y_ as da,ju as ea,Rr as fa,ss as ga,ip as ha,qu as ia,$e as ja,D_ as ka,ds as la,v_ as ma,w_ as na,I_ as oa,E_ as pa,C_ as qa,ah as ra,Hr as sa,pt as ta,yt as ua,rt as va,gi as wa,b_ as xa,__ as ya,vh as za,wh as Aa,M_ as Ba,x_ as Ca,S_ as Da,Dr as Ea,T_ as Fa,re as Ga,N_ as Ha,$t as Ia,Ii as Ja,Jr as Ka,bi as La,yn as Ma,De as Na,qt as Oa,R_ as Pa,_m as Qa,Am as Ra,Fi as Sa,Om as Ta,Vs as Ua,ki as Va,$m as Wa,Jm as Xa,bl as Ya,Xm as Za,P_ as _a,k_ as $a,L_ as ab,j_ as bb,V_ as cb,B_ as db,Ol as eb,Fl as fb,fy as gb,Rl as hb,Pl as ib,gy as jb,$_ as kb,yy as lb,Cy as mb,H_ as nb,U_ as ob,G_ as pb,xy as qb,z_ as rb,W_ as sb,q_ as tb,Y_ as ub,Q_ as vb,Z_ as wb,Ny as xb,kl as yb,K_ as zb,J_ as Ab,X_ as Bb,eM as Cb,tM as Db,nM as Eb,rM as Fb,Xr as Gb,$y as Hb,$l as Ib,oM as Jb,to as Kb,Ul as Lb,iM as Mb,sD as Nb,aD as Ob,lD as Pb,Us as Qb,MM as Rb,Gl as Sb,Jl as Tb,gD as Ub,xM as Vb,SM as Wb,TM as Xb,NM as Yb,AM as Zb,OM as _b,FM as $b,GD as ac,RM as bc,PM as cc,Zl as dc,ke as ec,jM as fc,VM as gc,BM as hc,$M as ic,HM as jc,UM as kc,GM as lc,zM as mc,WM as nc,id as oc,sd as pc,qM as qc}; diff --git a/chunk-R7W3RWW5.js b/chunk-R7W3RWW5.js new file mode 100644 index 0000000..2d9ba1c --- /dev/null +++ b/chunk-R7W3RWW5.js @@ -0,0 +1,7 @@ +var wd=Object.defineProperty,Id=Object.defineProperties;var Ed=Object.getOwnPropertyDescriptors;var En=Object.getOwnPropertySymbols;var oa=Object.prototype.hasOwnProperty,ia=Object.prototype.propertyIsEnumerable;var ra=(e,t,n)=>t in e?wd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ct=(e,t)=>{for(var n in t||={})oa.call(t,n)&&ra(e,n,t[n]);if(En)for(var n of En(t))ia.call(t,n)&&ra(e,n,t[n]);return e},bt=(e,t)=>Id(e,Ed(t));var Ev=(e,t)=>{var n={};for(var r in e)oa.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&En)for(var r of En(e))t.indexOf(r)<0&&ia.call(e,r)&&(n[r]=e[r]);return n};var sa=null,Cn=!1,Do=1,_n=Symbol("SIGNAL");function C(e){let t=sa;return sa=e,t}function Cd(){return Cn}var wo={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 bd(e){if(!(_o(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Do)){if(!e.producerMustRecompute(e)&&!Mn(e)){e.dirty=!1,e.lastCleanEpoch=Do;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Do}}function _d(e){if(e.liveConsumerNode===void 0)return;let t=Cn;Cn=!0;try{for(let n of e.liveConsumerNode)n.dirty||aa(n)}finally{Cn=t}}function aa(e){e.dirty=!0,_d(e),e.consumerMarkedDirty?.(e)}function Io(e){return e&&(e.nextProducerIndex=0),C(e)}function Eo(e,t){if(C(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(_o(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Mn(e){bn(e);for(let t=0;t0}function bn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Md(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function xd(){throw new Error}var Sd=xd;function ua(e){Sd=e}function ca(e,t,n){let r=Object.create(Td);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=u=>{r.cleanupFn=u};function i(u){return u.fn===null&&u.schedule===null}function s(u){i(u)||(Co(u),u.cleanupFn(),u.fn=null,u.schedule=null,u.cleanupFn=vo)}let a=()=>{if(r.fn===null)return;if(Cd())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!Mn(r))return;r.hasRun=!0;let u=Io(r);try{r.cleanupFn(),r.cleanupFn=vo,r.fn(o)}finally{Eo(r,u)}};return r.ref={notify:()=>aa(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[_n]:r},r.ref}var vo=()=>{},Td=bt(Ct({},wo),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:vo});function m(e){return typeof e=="function"}function _t(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 xn=_t(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 Ze(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var U=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 xn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{la(i)}catch(s){t=t??[],s instanceof xn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new xn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)la(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)&&Ze(n,t)}remove(t){let{_finalizers:n}=this;n&&Ze(n,t),t instanceof e&&t._removeParent(this)}};U.EMPTY=(()=>{let e=new U;return e.closed=!0,e})();var Mo=U.EMPTY;function Sn(e){return e instanceof U||e&&"closed"in e&&m(e.remove)&&m(e.add)&&m(e.unsubscribe)}function la(e){m(e)?e():e.unsubscribe()}var me={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Mt={setTimeout(e,t,...n){let{delegate:r}=Mt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Mt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Tn(e){Mt.setTimeout(()=>{let{onUnhandledError:t}=me;if(t)t(e);else throw e})}function Qt(){}var da=xo("C",void 0,void 0);function fa(e){return xo("E",void 0,e)}function pa(e){return xo("N",e,void 0)}function xo(e,t,n){return{kind:e,value:t,error:n}}var Ke=null;function xt(e){if(me.useDeprecatedSynchronousErrorHandling){let t=!Ke;if(t&&(Ke={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Ke;if(Ke=null,n)throw r}}else e()}function ha(e){me.useDeprecatedSynchronousErrorHandling&&Ke&&(Ke.errorThrown=!0,Ke.error=e)}var Je=class extends U{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Sn(t)&&t.add(this)):this.destination=Od}static create(t,n,r){return new Ae(t,n,r)}next(t){this.isStopped?To(pa(t),this):this._next(t)}error(t){this.isStopped?To(fa(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?To(da,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()}}},Nd=Function.prototype.bind;function So(e,t){return Nd.call(e,t)}var No=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Nn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Nn(r)}else Nn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Nn(n)}}},Ae=class extends Je{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&&me.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&So(t.next,i),error:t.error&&So(t.error,i),complete:t.complete&&So(t.complete,i)}):o=t}this.destination=new No(o)}};function Nn(e){me.useDeprecatedSynchronousErrorHandling?ha(e):Tn(e)}function Ad(e){throw e}function To(e,t){let{onStoppedNotification:n}=me;n&&Mt.setTimeout(()=>n(e,t))}var Od={closed:!0,next:Qt,error:Ad,complete:Qt};var St=typeof Symbol=="function"&&Symbol.observable||"@@observable";function K(e){return e}function Fd(...e){return Ao(e)}function Ao(e){return e.length===0?K:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var M=(()=>{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=Pd(n)?n:new Ae(n,r,o);return xt(()=>{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=ga(r),new r((o,i)=>{let s=new Ae({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)}[St](){return this}pipe(...n){return Ao(n)(this)}toPromise(n){return n=ga(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 ga(e){var t;return(t=e??me.Promise)!==null&&t!==void 0?t:Promise}function Rd(e){return e&&m(e.next)&&m(e.error)&&m(e.complete)}function Pd(e){return e&&e instanceof Je||Rd(e)&&Sn(e)}function Oo(e){return m(e?.lift)}function v(e){return t=>{if(Oo(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 Fo(e,t,n,r,o)}var Fo=class extends Je{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 Ro(){return v((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 Po=class extends M{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Oo(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 U;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=U.EMPTY)}return t}refCount(){return Ro()(this)}};var ma=_t(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var de=(()=>{class e extends M{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new An(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new ma}next(n){xt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){xt(()=>{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(){xt(()=>{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?Mo:(this.currentObservers=null,i.push(n),new U(()=>{this.currentObservers=null,Ze(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new M;return n.source=this,n}}return e.create=(t,n)=>new An(t,n),e})(),An=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:Mo}};var Zt=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 Kt={now(){return(Kt.delegate||Date).now()},delegate:void 0};var On=class extends de{constructor(t=1/0,n=1/0,r=Kt){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 ko(e){return e[e.length-1]}function Ln(e){return m(ko(e))?e.pop():void 0}function Ce(e){return kn(ko(e))?e.pop():void 0}function Da(e,t){return typeof ko(e)=="number"?e.pop():t}function wa(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 va(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 tt(e){return this instanceof tt?(this.v=e,this):new tt(e)}function Ia(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(p){return new Promise(function(h,g){i.push([f,p,h,g])>1||a(f,p)})})}function a(f,p){try{u(r[f](p))}catch(h){d(i[0][3],h)}}function u(f){f.value instanceof tt?Promise.resolve(f.value.v).then(c,l):d(i[0][2],f)}function c(f){a("next",f)}function l(f){a("throw",f)}function d(f,p){f(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}function Ea(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 va=="function"?va(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 Nt=e=>e&&typeof e.length=="number"&&typeof e!="function";function jn(e){return m(e?.then)}function Vn(e){return m(e[St])}function Bn(e){return Symbol.asyncIterator&&m(e?.[Symbol.asyncIterator])}function $n(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function kd(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Hn=kd();function Un(e){return m(e?.[Hn])}function Gn(e){return Ia(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield tt(n.read());if(o)return yield tt(void 0);yield yield tt(r)}}finally{n.releaseLock()}})}function zn(e){return m(e?.getReader)}function A(e){if(e instanceof M)return e;if(e!=null){if(Vn(e))return Ld(e);if(Nt(e))return jd(e);if(jn(e))return Vd(e);if(Bn(e))return Ca(e);if(Un(e))return Bd(e);if(zn(e))return $d(e)}throw $n(e)}function Ld(e){return new M(t=>{let n=e[St]();if(m(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function jd(e){return new M(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Tn)})}function Bd(e){return new M(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Ca(e){return new M(t=>{Hd(e,t).catch(n=>t.error(n))})}function $d(e){return Ca(Gn(e))}function Hd(e,t){var n,r,o,i;return wa(this,void 0,void 0,function*(){try{for(n=Ea(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 te(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 Wn(e,t=0){return v((n,r)=>{n.subscribe(D(r,o=>te(r,e,()=>r.next(o),t),()=>te(r,e,()=>r.complete(),t),o=>te(r,e,()=>r.error(o),t)))})}function qn(e,t=0){return v((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function ba(e,t){return A(e).pipe(qn(t),Wn(t))}function _a(e,t){return A(e).pipe(qn(t),Wn(t))}function Ma(e,t){return new M(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function xa(e,t){return new M(n=>{let r;return te(n,t,()=>{r=e[Hn](),te(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 Yn(e,t){if(!e)throw new Error("Iterable cannot be null");return new M(n=>{te(n,t,()=>{let r=e[Symbol.asyncIterator]();te(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Sa(e,t){return Yn(Gn(e),t)}function Ta(e,t){if(e!=null){if(Vn(e))return ba(e,t);if(Nt(e))return Ma(e,t);if(jn(e))return _a(e,t);if(Bn(e))return Yn(e,t);if(Un(e))return xa(e,t);if(zn(e))return Sa(e,t)}throw $n(e)}function be(e,t){return t?Ta(e,t):A(e)}function Ud(...e){let t=Ce(e);return be(e,t)}function Gd(e,t){let n=m(e)?e:()=>e,r=o=>o.error(n());return new M(t?o=>t.schedule(r,0,o):r)}function zd(e){return!!e&&(e instanceof M||m(e.lift)&&m(e.subscribe))}var nt=_t(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Na(e){return e instanceof Date&&!isNaN(e)}function _e(e,t){return v((n,r)=>{let o=0;n.subscribe(D(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Wd}=Array;function qd(e,t){return Wd(t)?e(...t):e(t)}function At(e){return _e(t=>qd(e,t))}var{isArray:Yd}=Array,{getPrototypeOf:Qd,prototype:Zd,keys:Kd}=Object;function Qn(e){if(e.length===1){let t=e[0];if(Yd(t))return{args:t,keys:null};if(Jd(t)){let n=Kd(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Jd(e){return e&&typeof e=="object"&&Qd(e)===Zd}function Zn(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Xd(...e){let t=Ce(e),n=Ln(e),{args:r,keys:o}=Qn(e);if(r.length===0)return be([],t);let i=new M(ef(r,t,o?s=>Zn(o,s):K));return n?i.pipe(At(n)):i}function ef(e,t,n=K){return r=>{Aa(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u{let c=be(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 Aa(e,t,n){e?te(n,e,t):t()}function Oa(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&t.complete()},p=g=>c{i&&t.next(g),c++;let _=!1;A(n(g,l++)).subscribe(D(t,b=>{o?.(b),i?p(b):t.next(b)},()=>{_=!0},void 0,()=>{if(_)try{for(c--;u.length&&ch(b)):h(b)}f()}catch(b){t.error(b)}}))};return e.subscribe(D(t,p,()=>{d=!0,f()})),()=>{a?.()}}function Oe(e,t,n=1/0){return m(t)?Oe((r,o)=>_e((i,s)=>t(r,i,o,s))(A(e(r,o))),n):(typeof t=="number"&&(n=t),v((r,o)=>Oa(r,o,e,n)))}function Kn(e=1/0){return Oe(K,e)}function Fa(){return Kn(1)}function Jn(...e){return Fa()(be(e,Ce(e)))}function tf(e){return new M(t=>{A(e()).subscribe(t)})}function nf(...e){let t=Ln(e),{args:n,keys:r}=Qn(e),o=new M(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]=f},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?Zn(r,a):a),i.complete())}))}});return t?o.pipe(At(t)):o}var rf=["addListener","removeListener"],of=["addEventListener","removeEventListener"],sf=["on","off"];function Lo(e,t,n,r){if(m(n)&&(r=n,n=void 0),r)return Lo(e,t,n).pipe(At(r));let[o,i]=cf(e)?of.map(s=>a=>e[s](t,a,n)):af(e)?rf.map(Ra(e,t)):uf(e)?sf.map(Ra(e,t)):[];if(!o&&Nt(e))return Oe(s=>Lo(s,t,n))(A(e));if(!o)throw new TypeError("Invalid event target");return new M(s=>{let a=(...u)=>s.next(1i(a)})}function Ra(e,t){return n=>r=>e[n](t,r)}function af(e){return m(e.addListener)&&m(e.removeListener)}function uf(e){return m(e.on)&&m(e.off)}function cf(e){return m(e.addEventListener)&&m(e.removeEventListener)}function Xn(e=0,t,n=ya){let r=-1;return t!=null&&(kn(t)?n=t:r=t),new M(o=>{let i=Na(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 lf(e=0,t=Xe){return e<0&&(e=0),Xn(e,e,t)}function df(...e){let t=Ce(e),n=Da(e,1/0),r=e;return r.length?r.length===1?A(r[0]):Kn(n)(be(r,t)):et}function rt(e,t){return v((n,r)=>{let o=0;n.subscribe(D(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Pa(e){return v((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||A(e(c)).subscribe(i=D(n,a,u))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function ff(e,t=Xe){return Pa(()=>Xn(e,t))}function ka(e){return v((t,n)=>{let r=null,o=!1,i;r=t.subscribe(D(n,void 0,void 0,s=>{i=A(e(s,ka(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function La(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 ja(e,t){return m(t)?Oe(e,t,1):Oe(e,1)}function pf(e,t=Xe){return v((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 Xt(e){return v((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function jo(e){return e<=0?()=>et:v((t,n)=>{let r=0;t.subscribe(D(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function hf(e){return _e(()=>e)}function gf(e,t=K){return e=e??mf,v((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 mf(e,t){return e===t}function er(e=yf){return v((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function yf(){return new nt}function Df(e){return v((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Va(e,t){let n=arguments.length>=2;return r=>r.pipe(e?rt((o,i)=>e(o,i,r)):K,jo(1),n?Xt(t):er(()=>new nt))}function Vo(e){return e<=0?()=>et:v((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 vf(e,t){let n=arguments.length>=2;return r=>r.pipe(e?rt((o,i)=>e(o,i,r)):K,Vo(1),n?Xt(t):er(()=>new nt))}function wf(e,t){return v(La(e,t,arguments.length>=2,!0))}function Ba(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,f=()=>{a?.unsubscribe(),a=void 0},p=()=>{f(),s=u=void 0,l=d=!1},h=()=>{let g=s;p(),g?.unsubscribe()};return v((g,_)=>{c++,!d&&!l&&f();let b=u=u??t();_.add(()=>{c--,c===0&&!d&&!l&&(a=Bo(h,o))}),b.subscribe(_),!s&&c>0&&(s=new Ae({next:H=>b.next(H),error:H=>{d=!0,f(),a=Bo(p,n,H),b.error(H)},complete:()=>{l=!0,f(),a=Bo(p,r),b.complete()}}),A(g).subscribe(s))})(i)}}function Bo(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Ae({next:()=>{r.unsubscribe(),e()}});return A(t(...n)).subscribe(r)}function If(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,Ba({connector:()=>new On(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Ef(e){return rt((t,n)=>e<=n)}function Cf(...e){let t=Ce(e);return v((n,r)=>{(t?Jn(e,n,t):Jn(e,n)).subscribe(r)})}function bf(e,t){return v((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++;A(e(u,l)).subscribe(o=D(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function $a(e){return v((t,n)=>{A(e).subscribe(D(n,()=>n.complete(),Qt)),!n.closed&&t.subscribe(n)})}function _f(e,t=!1){return v((n,r)=>{let o=0;n.subscribe(D(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function Ha(e,t,n){let r=m(e)||t||n?{next:e,error:t,complete:n}:e;return r?v((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)}))}):K}var bu="https://g.co/ng/security#xss",S=class extends Error{constructor(t,n){super(_u(t,n)),this.code=t}};function _u(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function gn(e){return{toString:e}.toString()}var tr="__parameters__";function Mf(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Mu(e,t,n){return gn(()=>{let r=Mf(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(tr)?u[tr]:Object.defineProperty(u,tr,{value:[]})[tr];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 $e=globalThis;function O(e){for(let t in e)if(e[t]===O)return t;throw Error("Could not find renamed property on target object.")}function xf(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function X(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(X).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 ri(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Sf=O({__forward_ref__:O});function xu(e){return e.__forward_ref__=xu,e.toString=function(){return X(this())},e}function J(e){return Su(e)?e():e}function Su(e){return typeof e=="function"&&e.hasOwnProperty(Sf)&&e.__forward_ref__===xu}function B(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Tu(e){return{providers:e.providers||[],imports:e.imports||[]}}function Rr(e){return Ua(e,Nu)||Ua(e,Au)}function W_(e){return Rr(e)!==null}function Ua(e,t){return e.hasOwnProperty(t)?e[t]:null}function Tf(e){let t=e&&(e[Nu]||e[Au]);return t||null}function Ga(e){return e&&(e.hasOwnProperty(za)||e.hasOwnProperty(Nf))?e[za]:null}var Nu=O({\u0275prov:O}),za=O({\u0275inj:O}),Au=O({ngInjectableDef:O}),Nf=O({ngInjectorDef:O}),F=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=B({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Ou(e){return e&&!!e.\u0275providers}var Af=O({\u0275cmp:O}),Of=O({\u0275dir:O}),Ff=O({\u0275pipe:O}),Rf=O({\u0275mod:O}),dr=O({\u0275fac:O}),en=O({__NG_ELEMENT_ID__:O}),Wa=O({__NG_ENV_ID__:O});function Pr(e){return typeof e=="string"?e:e==null?"":String(e)}function Pf(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Pr(e)}function kf(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new S(-200,e)}function as(e,t){throw new S(-201,!1)}var x=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}(x||{}),oi;function Fu(){return oi}function ne(e){let t=oi;return oi=e,t}function Ru(e,t,n){let r=Rr(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&x.Optional)return null;if(t!==void 0)return t;as(e,"Injector")}var Lf={},tn=Lf,ii="__NG_DI_FLAG__",fr="ngTempTokenPath",jf="ngTokenPath",Vf=/\n/gm,Bf="\u0275",qa="__source",Pt;function $f(){return Pt}function Be(e){let t=Pt;return Pt=e,t}function Hf(e,t=x.Default){if(Pt===void 0)throw new S(-203,!1);return Pt===null?Ru(e,void 0,t):Pt.get(e,t&x.Optional?null:void 0,t)}function oe(e,t=x.Default){return(Fu()||Hf)(J(e),t)}function k(e,t=x.Default){return oe(e,kr(t))}function kr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function si(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):X(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Vf,` + `)}`}var Wf=Pu(Mu("Optional"),8);var qf=Pu(Mu("SkipSelf"),4);function ut(e,t){let n=e.hasOwnProperty(dr);return n?e[dr]:null}function Yf(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rArray.isArray(n)?us(n,t):t(n))}function ku(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function pr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Zf(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 Lr(e,t,n){let r=mn(e,t);return r>=0?e[r|1]=n:(r=~r,Kf(e,r,t,n)),r}function $o(e,t){let n=mn(e,t);if(n>=0)return e[n|1]}function mn(e,t){return Jf(e,t,1)}function Jf(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(ye(r))return!1;s=!0}}}}return ye(r)||s}function ye(e){return(e&1)===0}function op(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!==""&&!ye(s)&&(t+=Qa(i,o),o=""),r=s,i=i||!ye(r);n++}return o!==""&&(t+=Qa(i,o)),t}function lp(e){return e.map(cp).join(",")}function dp(e){let t=[],n=[],r=1,o=2;for(;r{let t=qu(e),n=bt(Ct({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Vu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||nn.Emulated,styles:e.styles||re,_:null,schemas:e.schemas||null,tView:null,id:""});Yu(n);let r=e.dependencies;return n.directiveDefs=Ka(r,!1),n.pipeDefs=Ka(r,!0),n.id=gp(n),n})}function fp(e){return ct(e)||Gu(e)}function pp(e){return e!==null}function Uu(e){return gn(()=>({type:e.type,bootstrap:e.bootstrap||re,declarations:e.declarations||re,imports:e.imports||re,exports:e.exports||re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Za(e,t){if(e==null)return Lt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Ue.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Ue.None?[r,a]:r,t[i]=s):n[i]=r}return n}function jr(e){return gn(()=>{let t=qu(e);return Yu(t),t})}function Vr(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 ct(e){return e[Af]||null}function Gu(e){return e[Of]||null}function zu(e){return e[Ff]||null}function hp(e){let t=ct(e)||Gu(e)||zu(e);return t!==null?t.standalone:!1}function Wu(e,t){let n=e[Rf]||null;if(!n&&t===!0)throw new Error(`Type ${X(e)} does not have '\u0275mod' property.`);return n}function qu(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||Lt,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||re,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Za(e.inputs,t),outputs:Za(e.outputs),debugInfo:null}}function Yu(e){e.features?.forEach(t=>t(e))}function Ka(e,t){if(!e)return null;let n=t?zu:fp;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(pp)}function gp(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 mp(e){return{\u0275providers:e}}function yp(...e){return{\u0275providers:Qu(!0,e),\u0275fromNgModule:!0}}function Qu(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return us(t,s=>{let a=s;ui(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Zu(o,i),n}function Zu(e,t){for(let n=0;n{t(i,r)})}}function ui(e,t,n,r){if(e=J(e),!e)return!1;let o=null,i=Ga(e),s=!i&&ct(e);if(!i&&!s){let u=e.ngModule;if(i=Ga(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)ui(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{us(i.imports,l=>{ui(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&Zu(c,t)}if(!a){let c=ut(o)||(()=>new o);t({provide:o,useFactory:c,deps:re},o),t({provide:ju,useValue:o,multi:!0},o),t({provide:hr,useValue:()=>oe(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;ls(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function ls(e,t){for(let n of e)Ou(n)&&(n=n.\u0275providers),Array.isArray(n)?ls(n,t):t(n)}var Dp=O({provide:String,useValue:O});function Ku(e){return e!==null&&typeof e=="object"&&Dp in e}function vp(e){return!!(e&&e.useExisting)}function wp(e){return!!(e&&e.useFactory)}function jt(e){return typeof e=="function"}function Ip(e){return!!e.useClass}var Ju=new F(""),or={},Ep={},Ho;function ds(){return Ho===void 0&&(Ho=new gr),Ho}var Ge=class{},on=class extends Ge{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,li(t,s=>this.processProvider(s)),this.records.set(Lu,Ot(void 0,this)),o.has("environment")&&this.records.set(Ge,Ot(void 0,this));let i=this.records.get(Ju);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ju,re,x.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=C(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),C(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=Be(this),r=ne(void 0),o;try{return t()}finally{Be(n),ne(r)}}get(t,n=tn,r=x.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Wa))return t[Wa](this);r=kr(r);let o,i=Be(this),s=ne(void 0);try{if(!(r&x.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=xp(t)&&Rr(t);c&&this.injectableDefInScope(c)?u=Ot(ci(t),or):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&x.Self?ds():this.parent;return n=r&x.Optional&&n===tn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[fr]=a[fr]||[]).unshift(X(t)),i)throw a;return Gf(a,t,"R3InjectorError",this.source)}else throw a}finally{ne(s),Be(i)}}resolveInjectorInitializers(){let t=C(null),n=Be(this),r=ne(void 0),o;try{let i=this.get(hr,re,x.Self);for(let s of i)s()}finally{Be(n),ne(r),C(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(X(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(t){t=J(t);let n=jt(t)?t:J(t&&t.provide),r=bp(t);if(!jt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Ot(void 0,or,!0),o.factory=()=>si(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=C(null);try{return n.value===or&&(n.value=Ep,n.value=n.factory()),typeof n.value=="object"&&n.value&&Mp(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{C(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=J(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 ci(e){let t=Rr(e),n=t!==null?t.factory:ut(e);if(n!==null)return n;if(e instanceof F)throw new S(204,!1);if(e instanceof Function)return Cp(e);throw new S(204,!1)}function Cp(e){if(e.length>0)throw new S(204,!1);let n=Tf(e);return n!==null?()=>n.factory(e):()=>new e}function bp(e){if(Ku(e))return Ot(void 0,e.useValue);{let t=Xu(e);return Ot(t,or)}}function Xu(e,t,n){let r;if(jt(e)){let o=J(e);return ut(o)||ci(o)}else if(Ku(e))r=()=>J(e.useValue);else if(wp(e))r=()=>e.useFactory(...si(e.deps||[]));else if(vp(e))r=()=>oe(J(e.useExisting));else{let o=J(e&&(e.useClass||e.provide));if(_p(e))r=()=>new o(...si(e.deps));else return ut(o)||ci(o)}return r}function Ot(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function _p(e){return!!e.deps}function Mp(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function xp(e){return typeof e=="function"||typeof e=="object"&&e instanceof F}function li(e,t){for(let n of e)Array.isArray(n)?li(n,t):n&&Ou(n)?li(n.\u0275providers,t):t(n)}function Y_(e,t){e instanceof on&&e.assertNotDestroyed();let n,r=Be(e),o=ne(void 0);try{return t()}finally{Be(r),ne(o)}}function ec(){return Fu()!==void 0||$f()!=null}function Sp(e){if(!ec())throw new S(-203,!1)}function Tp(e){return typeof e=="function"}var Re=0,w=1,y=2,z=3,ve=4,ue=5,Vt=6,sn=7,q=8,Bt=9,Ie=10,L=11,an=12,Ja=13,zt=14,fe=15,yn=16,Ft=17,Fe=18,Br=19,tc=20,He=21,ir=22,lt=23,W=25,nc=1;var dt=7,mr=8,$t=9,Y=10,fs=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(fs||{});function st(e){return Array.isArray(e)&&typeof e[nc]=="object"}function Pe(e){return Array.isArray(e)&&e[nc]===!0}function ps(e){return(e.flags&4)!==0}function $r(e){return e.componentOffset>-1}function Hr(e){return(e.flags&1)===1}function ze(e){return!!e.template}function Np(e){return(e[y]&512)!==0}var di=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function rc(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function hs(){return oc}function oc(e){return e.type.prototype.ngOnChanges&&(e.setInput=Op),Ap}hs.ngInherit=!0;function Ap(){let e=sc(this),t=e?.current;if(t){let n=e.previous;if(n===Lt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Op(e,t,n,r,o){let i=this.declaredInputs[r],s=sc(e)||Fp(e,{previous:Lt,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new di(c&&c.currentValue,n,u===Lt),rc(e,t,o,n)}var ic="__ngSimpleChanges__";function sc(e){return e[ic]||null}function Fp(e,t){return e[ic]=t}var Xa=null;var Me=function(e,t,n){Xa?.(e,t,n)},ac="svg",Rp="math",Pp=!1;function kp(){return Pp}function Se(e){for(;Array.isArray(e);)e=e[Re];return e}function uc(e,t){return Se(t[e])}function pe(e,t){return Se(t[e.index])}function gs(e,t){return e.data[t]}function ms(e,t){return e[t]}function Ye(e,t){let n=t[e];return st(n)?n:n[Re]}function Lp(e){return(e[y]&4)===4}function ys(e){return(e[y]&128)===128}function jp(e){return Pe(e[z])}function Ht(e,t){return t==null?null:e[t]}function cc(e){e[Ft]=0}function Vp(e){e[y]&1024||(e[y]|=1024,ys(e)&&un(e))}function Bp(e,t){for(;e>0;)t=t[zt],e--;return t}function Ds(e){return!!(e[y]&9216||e[lt]?.dirty)}function fi(e){e[Ie].changeDetectionScheduler?.notify(1),Ds(e)?un(e):e[y]&64&&(kp()?(e[y]|=1024,un(e)):e[Ie].changeDetectionScheduler?.notify())}function un(e){e[Ie].changeDetectionScheduler?.notify();let t=cn(e);for(;t!==null&&!(t[y]&8192||(t[y]|=8192,!ys(t)));)t=cn(t)}function lc(e,t){if((e[y]&256)===256)throw new S(911,!1);e[He]===null&&(e[He]=[]),e[He].push(t)}function $p(e,t){if(e[He]===null)return;let n=e[He].indexOf(t);n!==-1&&e[He].splice(n,1)}function cn(e){let t=e[z];return Pe(t)?t[z]:t}var E={lFrame:vc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Hp(){return E.lFrame.elementDepthCount}function Up(){E.lFrame.elementDepthCount++}function Gp(){E.lFrame.elementDepthCount--}function dc(){return E.bindingsEnabled}function fc(){return E.skipHydrationRootTNode!==null}function zp(e){return E.skipHydrationRootTNode===e}function Wp(){E.skipHydrationRootTNode=null}function I(){return E.lFrame.lView}function j(){return E.lFrame.tView}function Q_(e){return E.lFrame.contextLView=e,e[q]}function Z_(e){return E.lFrame.contextLView=null,e}function Q(){let e=pc();for(;e!==null&&e.type===64;)e=e.parent;return e}function pc(){return E.lFrame.currentTNode}function qp(){let e=E.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Dt(e,t){let n=E.lFrame;n.currentTNode=e,n.isParent=t}function vs(){return E.lFrame.isParent}function ws(){E.lFrame.isParent=!1}function Yp(){return E.lFrame.contextLView}function hc(){let e=E.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Qp(e){return E.lFrame.bindingIndex=e}function vt(){return E.lFrame.bindingIndex++}function gc(e){let t=E.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Zp(){return E.lFrame.inI18n}function Kp(e,t){let n=E.lFrame;n.bindingIndex=n.bindingRootIndex=e,pi(t)}function Jp(){return E.lFrame.currentDirectiveIndex}function pi(e){E.lFrame.currentDirectiveIndex=e}function Xp(e){let t=E.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function mc(){return E.lFrame.currentQueryIndex}function Is(e){E.lFrame.currentQueryIndex=e}function eh(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[ue]:null}function yc(e,t,n){if(n&x.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&x.Host);)if(o=eh(i),o===null||(i=i[zt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=E.lFrame=Dc();return r.currentTNode=t,r.lView=e,!0}function Es(e){let t=Dc(),n=e[w];E.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Dc(){let e=E.lFrame,t=e===null?null:e.child;return t===null?vc(e):t}function vc(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 wc(){let e=E.lFrame;return E.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ic=wc;function Cs(){let e=wc();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 th(e){return(E.lFrame.contextLView=Bp(e,E.lFrame.contextLView))[q]}function Qe(){return E.lFrame.selectedIndex}function ft(e){E.lFrame.selectedIndex=e}function Dn(){let e=E.lFrame;return gs(e.tView,e.selectedIndex)}function K_(){E.lFrame.currentNamespace=ac}function J_(){nh()}function nh(){E.lFrame.currentNamespace=null}function rh(){return E.lFrame.currentNamespace}var Ec=!0;function Ur(){return Ec}function Gr(e){Ec=e}function oh(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=oc(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 zr(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[Ft]+=65536),(a>14>16&&(e[y]&3)===t&&(e[y]+=16384,eu(a,i)):eu(a,i)}var kt=-1,pt=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function sh(e){return e instanceof pt}function ah(e){return(e.flags&8)!==0}function uh(e){return(e.flags&16)!==0}function bc(e){return e!==kt}function yr(e){return e&32767}function ch(e){return e>>16}function Dr(e,t){let n=ch(e),r=t;for(;n>0;)r=r[zt],n--;return r}var hi=!0;function vr(e){let t=hi;return hi=e,t}var lh=256,_c=lh-1,Mc=5,dh=0,xe={};function fh(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(en)&&(r=n[en]),r==null&&(r=n[en]=dh++);let o=r&_c,i=1<>Mc)]|=i}function wr(e,t){let n=xc(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,Go(r.data,e),Go(t,null),Go(r.blueprint,null));let o=bs(e,t),i=e.injectorIndex;if(bc(o)){let s=yr(o),a=Dr(o,t),u=a[w].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function Go(e,t){e.push(0,0,0,0,0,0,0,0,t)}function xc(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function bs(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=Oc(o),r===null)return kt;if(n++,o=o[zt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return kt}function gi(e,t,n){fh(e,t,n)}function ph(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,f=o?a+l:c;for(let p=d;p=u&&h.type===n)return p}if(o){let p=s[u];if(p&&ze(p)&&p.type===n)return u}return null}function ht(e,t,n,r){let o=e[n],i=t.data;if(sh(o)){let s=o;s.resolving&&kf(Pf(i[n]));let a=vr(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?ne(s.injectImpl):null,l=yc(e,r,x.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&oh(n,i[n],t)}finally{c!==null&&ne(c),vr(a),s.resolving=!1,Ic()}}return o}function gh(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(en)?e[en]:void 0;return typeof t=="number"?t>=0?t&_c:mh:t}function tu(e,t,n){let r=1<>Mc)]&r)}function nu(e,t){return!(e&x.Self)&&!(e&x.Host&&t)}var at=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Nc(this._tNode,this._lView,t,kr(r),n)}};function mh(){return new at(Q(),I())}function X_(e){return gn(()=>{let t=e.prototype.constructor,n=t[dr]||mi(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[dr]||mi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function mi(e){return Su(e)?()=>{let t=mi(J(e));return t&&t()}:ut(e)}function yh(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[y]&2048&&!(s[y]&512);){let a=Ac(i,s,n,r|x.Self,xe);if(a!==xe)return a;let u=i.parent;if(!u){let c=s[tc];if(c){let l=c.get(n,xe,r);if(l!==xe)return l}u=Oc(s),s=s[zt]}i=u}return o}function Oc(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[ue]:null}function Dh(e){return ph(Q(),e)}function ru(e,t=null,n=null,r){let o=Fc(e,t,n,r);return o.resolveInjectorInitializers(),o}function Fc(e,t=null,n=null,r,o=new Set){let i=[n||re,yp(e)];return r=r||(typeof e=="object"?void 0:X(e)),new on(i,t||ds(),r||null,o)}var Wr=(()=>{let t=class t{static create(r,o){if(Array.isArray(r))return ru({name:""},o,r,"");{let i=r.name??"";return ru({name:i},r.parent,r.providers,i)}}};t.THROW_IF_NOT_FOUND=tn,t.NULL=new gr,t.\u0275prov=B({token:t,providedIn:"any",factory:()=>oe(Lu)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var vh="ngOriginalError";function zo(e){return e[vh]}var gt=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&&zo(t);for(;n&&zo(n);)n=zo(n);return n||null}},Rc=new F("",{providedIn:"root",factory:()=>k(gt).handleError.bind(void 0)}),_s=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=wh,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),yi=class extends _s{constructor(t){super(),this._lView=t}onDestroy(t){return lc(this._lView,t),()=>$p(this._lView,t)}};function wh(){return new yi(I())}function Ih(){return Wt(Q(),I())}function Wt(e,t){return new wt(pe(e,t))}var wt=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=Ih;let e=t;return e})();function Eh(e){return e instanceof wt?e.nativeElement:e}var Di=class extends de{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,ec()&&(this.destroyRef=k(_s,{optional:!0})??void 0)}emit(t){let n=C(null);try{super.next(t)}finally{C(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=Wo(i),o&&(o=Wo(o)),s&&(s=Wo(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof U&&t.add(a),a}};function Wo(e){return t=>{setTimeout(e,void 0,t)}}var it=Di;function Ch(){return this._results[Symbol.iterator]()}var vi=class e{get changes(){return this._changes??=new it}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]=Ch)}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=Qf(t);(this._changesDetected=!Yf(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 Pc(e){return(e.flags&128)===128}var kc=new Map,bh=0;function _h(){return bh++}function Mh(e){kc.set(e[Br],e)}function xh(e){kc.delete(e[Br])}var ou="__ngContext__";function We(e,t){st(t)?(e[ou]=t[Br],Mh(t)):e[ou]=t}function Lc(e){return Vc(e[an])}function jc(e){return Vc(e[ve])}function Vc(e){for(;e!==null&&!Pe(e);)e=e[ve];return e}var wi;function eM(e){wi=e}function Sh(){if(wi!==void 0)return wi;if(typeof document<"u")return document;throw new S(210,!1)}var tM=new F("",{providedIn:"root",factory:()=>Th}),Th="ng",Nh=new F(""),Ah=new F("",{providedIn:"platform",factory:()=>"unknown"});var nM=new F(""),rM=new F("",{providedIn:"root",factory:()=>Sh().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Oh="h",Fh="b";var Rh=()=>null;function Ms(e,t,n=!1){return Rh(e,t,n)}var Bc=!1,Ph=new F("",{providedIn:"root",factory:()=>Bc});var Ir=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${bu})`}};function qr(e){return e instanceof Ir?e.changingThisBreaksApplicationSecurity:e}function kh(e,t){let n=Lh(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${bu})`)}return n===t}function Lh(e){return e instanceof Ir&&e.getTypeName()||null}var jh=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Vh(e){return e=String(e),e.match(jh)?e:"unsafe:"+e}var $c=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}($c||{});function oM(e){let t=Bh();return t?t.sanitize($c.URL,e)||"":kh(e,"URL")?qr(e):Vh(Pr(e))}function Bh(){let e=I();return e&&e[Ie].sanitizer}var $h=/^>|^->||--!>|)/g,Uh="\u200B$1\u200B";function Gh(e){return e.replace($h,t=>t.replace(Hh,Uh))}function Hc(e){return e instanceof Function?e():e}var Er=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Er||{}),zh;function xs(e,t){return zh(e,t)}function Rt(e,t,n,r,o){if(r!=null){let i,s=!1;Pe(r)?i=r:st(r)&&(s=!0,r=r[Re]);let a=Se(r);e===0&&n!==null?o==null?qc(t,n,a):Cr(t,n,a,o||null,!0):e===1&&n!==null?Cr(t,n,a,o||null,!0):e===2?ag(t,a,s):e===3&&t.destroyNode(a),i!=null&&cg(t,e,i,n,o)}}function Wh(e,t){return e.createText(t)}function qh(e,t,n){e.setValue(t,n)}function Yh(e,t){return e.createComment(Gh(t))}function Uc(e,t,n){return e.createElement(t,n)}function Qh(e,t){Gc(e,t),t[Re]=null,t[ue]=null}function Zh(e,t,n,r,o,i){r[Re]=o,r[ue]=t,Zr(e,r,n,1,o,i)}function Gc(e,t){t[Ie].changeDetectionScheduler?.notify(1),Zr(e,t,t[L],2,null,null)}function Kh(e){let t=e[an];if(!t)return qo(e[w],e);for(;t;){let n=null;if(st(t))n=t[an];else{let r=t[Y];r&&(n=r)}if(!n){for(;t&&!t[ve]&&t!==e;)st(t)&&qo(t[w],t),t=t[z];t===null&&(t=e),st(t)&&qo(t[w],t),n=t&&t[ve]}t=n}}function Jh(e,t,n,r){let o=Y+r,i=n.length;r>0&&(n[o-1][ve]=t),r0&&(e[n-1][ve]=r[ve]);let i=pr(e,Y+t);Qh(r[w],r);let s=i[Fe];s!==null&&s.detachView(i[w]),r[z]=null,r[ve]=null,r[y]&=-129}return r}function Yr(e,t){if(!(t[y]&256)){let n=t[L];n.destroyNode&&Zr(e,t,n,3,null,null),Kh(t)}}function qo(e,t){if(t[y]&256)return;let n=C(null);try{t[y]&=-129,t[y]|=256,t[lt]&&Co(t[lt]),tg(e,t),eg(e,t),t[w].type===1&&t[L].destroy();let r=t[yn];if(r!==null&&Pe(t[z])){r!==t[z]&&zc(r,t);let o=t[Fe];o!==null&&o.detachView(e)}xh(t)}finally{C(n)}}function eg(e,t){let n=e.cleanup,r=t[sn];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[sn]=null);let o=t[He];if(o!==null){t[He]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===nn.None||i===nn.Emulated)return null}return pe(r,n)}}function Cr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function qc(e,t,n){e.appendChild(t,n)}function iu(e,t,n,r,o){r!==null?Cr(e,t,n,r,o):qc(e,t,n)}function rg(e,t,n,r){e.removeChild(t,n,r)}function Ss(e,t){return e.parentNode(t)}function og(e,t){return e.nextSibling(t)}function Yc(e,t,n){return sg(e,t,n)}function ig(e,t,n){return e.type&40?pe(e,n):null}var sg=ig,su;function Qr(e,t,n,r){let o=Wc(e,r,t),i=t[L],s=r.parent||t[ue],a=Yc(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;uW&&Xc(e,t,W,!1),Me(s?2:0,o),n(r,o)}finally{ft(i),Me(s?3:1,o)}}function Ns(e,t,n){if(ps(t)){let r=C(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function Dg(e,t,n,r){let o=ul(t);o.push(n),e.firstCreatePass&&cl(e).push(r,o.length-1)}function vg(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return fc()&&(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 au(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=Ue.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?uu(r,n,c,a,u):uu(r,n,c,a)}return r}function uu(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 wg(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 _g(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;$r(n)&&Og(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||wr(n,t),We(r,t);let s=n.initialInputs;for(let a=o;a{un(e.lView)},consumerOnSignalRead(){this.lView[lt]=this}}),hl=100;function gl(e,t=!0,n=0){let r=e[Ie],o=r.rendererFactory,i=!1;i||o.begin?.();try{Wg(e,n)}catch(s){throw t&&ll(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function Wg(e,t){bi(e,t);let n=0;for(;Ds(e);){if(n===hl)throw new S(103,!1);n++,bi(e,1)}}function qg(e,t,n,r){let o=t[y];if((o&256)===256)return;let i=!1;!i&&t[Ie].inlineEffectRunner?.flush(),Es(t);let s=null,a=null;!i&&Yg(e)&&(a=Hg(t),s=Io(a));try{cc(t),Qp(e.bindingStartIndex),n!==null&&nl(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let d=e.preOrderCheckHooks;d!==null&&sr(t,d,null)}else{let d=e.preOrderHooks;d!==null&&ar(t,d,0,null),Uo(t,0)}if(Qg(t),ml(t,0),e.contentQueries!==null&&al(e,t),!i)if(u){let d=e.contentCheckHooks;d!==null&&sr(t,d)}else{let d=e.contentHooks;d!==null&&ar(t,d,1),Uo(t,1)}fg(e,t);let c=e.components;c!==null&&Dl(t,c,0);let l=e.viewQuery;if(l!==null&&Ci(2,l,r),!i)if(u){let d=e.viewCheckHooks;d!==null&&sr(t,d)}else{let d=e.viewHooks;d!==null&&ar(t,d,2),Uo(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[ir]){for(let d of t[ir])d();t[ir]=null}i||(t[y]&=-73)}catch(u){throw un(t),u}finally{a!==null&&(Eo(a,s),Gg(a)),Cs()}}function Yg(e){return e.type!==2}function ml(e,t){for(let n=Lc(e);n!==null;n=jc(n))for(let r=Y;r-1&&(ln(t,r),pr(n,r))}this._attachedToViewContainer=!1}Yr(this._lView[w],this._lView)}onDestroy(t){lc(this._lView,t)}markForCheck(){Ls(this._cdRefInjectingView||this._lView)}detach(){this._lView[y]&=-129}reattach(){fi(this._lView),this._lView[y]|=128}detectChanges(){this._lView[y]|=1024,gl(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Gc(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=t,fi(this._lView)}},Ut=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Xg;let e=t;return e})(),Kg=Ut,Jg=class extends Kg{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=eo(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new mt(o)}};function Xg(){return no(Q(),I())}function no(e,t){return e.type&4?new Jg(t,e,Wt(e,t)):null}var uM=new RegExp(`^(\\d+)*(${Fh}|${Oh})*(.*)`);var em=()=>null;function fn(e,t){return em(e,t)}var _i=class{},Mi=class{},_r=class{};function tm(e){let t=Error(`No component factory found for ${X(e)}.`);return t[nm]=e,t}var nm="ngComponent";var xi=class{resolveComponentFactory(t){throw tm(t)}},ro=(()=>{let t=class t{};t.NULL=new xi;let e=t;return e})(),Si=class{},js=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>rm();let e=t;return e})();function rm(){let e=I(),t=Q(),n=Ye(t.index,e);return(st(n)?n:e)[L]}var om=(()=>{let t=class t{};t.\u0275prov=B({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),Yo={};var cu=new Set;function vn(e){cu.has(e)||(cu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function lu(...e){}function im(){let e=typeof $e.requestAnimationFrame=="function",t=$e[e?"requestAnimationFrame":"setTimeout"],n=$e[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}var we=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 it(!1),this.onMicrotaskEmpty=new it(!1),this.onStable=new it(!1),this.onError=new it(!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.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=im().nativeRequestAnimationFrame,um(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!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,sm,lu,lu);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)}},sm={};function Vs(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 am(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call($e,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Ti(e),e.isCheckStableRunning=!0,Vs(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Ti(e))}function um(e){let t=()=>{am(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(cm(a))return n.invokeTask(o,i,s,a);try{return du(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),fu(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return du(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),fu(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,Ti(e),Vs(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function Ti(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function du(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function fu(e){e._nesting--,Vs(e)}function cm(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}var vl=(()=>{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=B({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function Mr(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&Kc(e,n,i.join(" "))}}function mm(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=Dm;let e=t;return e})();function Dm(){let e=Q();return Il(e,I())}var vm=Yt,wl=class extends vm{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Wt(this._hostTNode,this._hostLView)}get injector(){return new at(this._hostTNode,this._hostLView)}get parentInjector(){let t=bs(this._hostTNode,this._hostLView);if(bc(t)){let n=Dr(t,this._hostLView),r=yr(t),o=n[w].data[r+8];return new at(o,n)}else return new at(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=hu(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=fn(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,dn(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Tp(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let u=s?t:new pn(ct(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let g=(s?c:this.parentInjector).get(Ge,null);g&&(i=g)}let l=ct(u.componentType??{}),d=fn(this._lContainer,l?.id??null),f=d?.firstChild??null,p=u.create(c,o,f,i);return this.insertImpl(p.hostView,a,dn(this._hostTNode,d)),p}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(jp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[z],c=new wl(u,u[ue],u[z]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return to(s,o,i,r),t.attachToViewContainerRef(),ku(Qo(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=hu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=ln(this._lContainer,n);r&&(pr(Qo(this._lContainer),n),Yr(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=ln(this._lContainer,n);return r&&pr(Qo(this._lContainer),n)!=null?new mt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function hu(e){return e[mr]}function Qo(e){return e[mr]||(e[mr]=[])}function Il(e,t){let n,r=t[e.index];return Pe(r)?n=r:(n=sl(r,t,null,e),t[e.index]=n,Xr(t,n)),Im(n,t,e,r),new wl(n,e,t)}function wm(e,t){let n=e[L],r=n.createComment(""),o=pe(t,e),i=Ss(n,o);return Cr(n,i,r,og(n,o),!1),r}var Im=bm,Em=()=>!1;function Cm(e,t,n){return Em(e,t,n)}function bm(e,t,n,r){if(e[dt])return;let o;n.type&8?o=Se(r):o=wm(t,n),e[dt]=o}var Oi=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Fi=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 bl(e,t,n){e.queries===null&&(e.queries=new Ri),e.queries.track(new Pi(t,n))}function Fm(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 Bs(e,t){return e.queries.getByIndex(t)}function Rm(e,t){let n=e[w],r=Bs(n,t);return r.crossesNgTemplate?ki(n,e,t,[]):El(n,e,r,t)}function Pm(e){return typeof e=="function"&&e[_n]!==void 0}function _l(e){return Pm(e)&&typeof e.set=="function"}function km(e){return Object.getPrototypeOf(e.prototype).constructor}function Lm(e){let t=km(e.type),n=!0,r=[e];for(;t;){let o;if(ze(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=nr(e.inputs),s.inputTransforms=nr(e.inputTransforms),s.declaredInputs=nr(e.declaredInputs),s.outputs=nr(e.outputs);let a=o.hostBindings;a&&Hm(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&Bm(e,u),c&&$m(e,c),jm(e,o),xf(e.outputs,o.outputs),ze(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=rn(o.hostAttrs,n=rn(n,o.hostAttrs))}}function nr(e){return e===Lt?{}:e===re?[]:e}function Bm(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function $m(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Hm(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Um(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}var qe=class{},Li=class{};var ji=class extends qe{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new xr(this);let o=Wu(t);this._bootstrapComponents=Hc(o.bootstrap),this._r3Injector=Fc(t,n,[{provide:qe,useValue:this},{provide:ro,useValue:this.componentFactoryResolver},...r],X(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Vi=class extends Li{constructor(t){super(),this.moduleType=t}create(t){return new ji(this.moduleType,t,[])}};var Tr=class extends qe{constructor(t){super(),this.componentFactoryResolver=new xr(this),this.instance=null;let n=new on([...t.providers,{provide:qe,useValue:this},{provide:ro,useValue:this.componentFactoryResolver}],t.parent||ds(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Gm(e,t,n=null){return new Tr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var $s=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Zt(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Ml(e){return Wm(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function zm(e,t){if(Array.isArray(e))for(let n=0;n>17&32767}function ey(e){return(e&2)==2}function ty(e,t){return e&131071|t<<17}function $i(e){return e|2}function Gt(e){return(e&131068)>>2}function Zo(e,t){return e&-131069|t<<2}function ny(e){return(e&1)===1}function Hi(e){return e|1}function ry(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=yt(s),u=Gt(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||mn(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let f=yt(e[a+1]);e[r+1]=rr(f,a),f!==0&&(e[f+1]=Zo(e[f+1],r)),e[a+1]=ty(e[a+1],r)}else e[r+1]=rr(a,0),a!==0&&(e[a+1]=Zo(e[a+1],r)),a=r;else e[r+1]=rr(u,0),a===0?a=r:e[u+1]=Zo(e[u+1],r),u=r;c&&(e[r+1]=$i(e[r+1])),gu(e,l,r,!0),gu(e,l,r,!1),oy(t,l,e,r,i),s=rr(a,u),i?t.classBindings=s:t.styleBindings=s}function oy(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&mn(i,t)>=0&&(n[r+1]=Hi(n[r+1]))}function gu(e,t,n,r){let o=e[n+1],i=t===null,s=r?yt(o):Gt(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];iy(u,t)&&(a=!0,e[s+1]=r?Hi(c):$i(c)),s=r?yt(c):Gt(c)}a&&(e[n+1]=r?$i(o):Hi(o))}function iy(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?mn(e,t)>=0:!1}var De={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function sy(e){return e.substring(De.key,De.keyEnd)}function ay(e){return uy(e),Sl(e,Tl(e,0,De.textEnd))}function Sl(e,t){let n=De.textEnd;return n===t?-1:(t=De.keyEnd=cy(e,De.key=t,n),Tl(e,t,n))}function uy(e){De.key=0,De.keyEnd=0,De.value=0,De.valueEnd=0,De.textEnd=e.length}function Tl(e,t,n){for(;t32;)t++;return t}function ly(e,t,n){let r=I(),o=vt();if(ae(r,o,t)){let i=j(),s=Dn();Jr(i,s,r,e,t,r[L],n,!1)}return ly}function Ui(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Ps(e,n,i[s],s,r)}function Nl(e,t,n){return Ol(e,t,n,!1),Nl}function dy(e,t){return Ol(e,t,null,!0),dy}function lM(e){Fl(yy,Al,e,!0)}function Al(e,t){for(let n=ay(t);n>=0;n=Sl(t,n))Lr(e,sy(t),!0)}function Ol(e,t,n,r){let o=I(),i=j(),s=gc(2);if(i.firstUpdatePass&&Pl(i,e,s,r),t!==Te&&ae(o,s,t)){let a=i.data[Qe()];kl(i,a,o,o[L],e,o[s+1]=vy(t,n),r,s)}}function Fl(e,t,n,r){let o=j(),i=gc(2);o.firstUpdatePass&&Pl(o,null,i,r);let s=I();if(n!==Te&&ae(s,i,n)){let a=o.data[Qe()];if(Ll(a,r)&&!Rl(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=ri(u,n||"")),Ui(o,a,s,n,r)}else Dy(o,a,s,s[L],s[i+1],s[i+1]=my(e,t,n),r,i)}}function Rl(e,t){return t>=e.expandoStartIndex}function Pl(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Qe()],s=Rl(e,n);Ll(i,r)&&t===null&&!s&&(t=!1),t=fy(o,i,t,r),ry(o,i,t,n,s,r)}}function fy(e,t,n,r){let o=Xp(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Ko(null,e,t,n,r),n=hn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Ko(o,e,t,n,r),i===null){let u=py(e,t,r);u!==void 0&&Array.isArray(u)&&(u=Ko(null,e,t,u[1],r),u=hn(u,t.attrs,r),hy(e,t,r,u))}else i=gy(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function py(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Gt(r)!==0)return e[yt(r)]}function hy(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[yt(o)]=r}function gy(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,f=n[o+1];f===Te&&(f=d?re:void 0);let p=d?$o(f,r):l===r?f:void 0;if(c&&!Nr(p)&&(p=$o(u,r)),Nr(p)&&(a=p,s))return a;let h=e[o+1];o=s?yt(h):Gt(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=$o(u,r))}return a}function Nr(e){return e!==void 0}function vy(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=X(qr(e)))),e}function Ll(e,t){return(e.flags&(t?8:16))!==0}function dM(e,t,n){let r=I(),o=Hs(r,e,t,n);Fl(Lr,Al,o,!0)}var Gi=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 Jo(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function wy(e,t,n){let r,o,i=0,s=e.length-1;if(Array.isArray(t)){let a=t.length-1;for(;i<=s&&i<=a;){let u=e.at(i),c=t[i],l=Jo(i,u,i,c,n);if(l!==0){l<0&&e.updateValue(i,c),i++;continue}let d=e.at(s),f=t[a],p=Jo(s,d,a,f,n);if(p!==0){p<0&&e.updateValue(s,f),s--,a--;continue}let h=n(i,u),g=n(s,d),_=n(i,c);if(Object.is(_,g)){let b=n(a,f);Object.is(b,h)?(e.swap(i,s),e.updateValue(s,f),a--,s--):e.move(s,i),e.updateValue(i,c),i++;continue}if(r??=new Ar,o??=Du(e,i,s,n),zi(e,r,i,_))e.updateValue(i,c),i++,s++;else if(o.has(_))r.set(h,e.detach(i)),s--;else{let b=e.create(i,t[i]);e.attach(i,b),i++,s++}}for(;i<=a;)yu(e,r,n,i,t[i]),i++}else if(t!=null){let a=t[Symbol.iterator](),u=a.next();for(;!u.done&&i<=s;){let c=e.at(i),l=u.value,d=Jo(i,c,i,l,n);if(d!==0)d<0&&e.updateValue(i,l),i++,u=a.next();else{r??=new Ar,o??=Du(e,i,s,n);let f=n(i,l);if(zi(e,r,i,f))e.updateValue(i,l),i++,s++,u=a.next();else if(!o.has(f))e.attach(i,e.create(i,l)),i++,s++,u=a.next();else{let p=n(i,c);r.set(p,e.detach(i)),s--}}}for(;!u.done;)yu(e,r,n,e.length,u.value),u=a.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(a=>{e.destroy(a)})}function zi(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function yu(e,t,n,r,o){if(zi(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Du(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 Ar=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 fM(e,t,n){vn("NgControlFlow");let r=I(),o=vt(),i=Qi(r,W+e),s=0;if(ae(r,o,t)){let a=C(null);try{if(fl(i,s),t!==-1){let u=Zi(r[w],W+t),c=fn(i,u.tView.ssrId),l=eo(r,u,n,{dehydratedView:c});to(i,l,s,dn(u,c))}}finally{C(a)}}else{let a=dl(i,s);a!==void 0&&(a[q]=n)}}var Wi=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Y}};var qi=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function pM(e,t,n,r,o,i,s,a,u,c,l,d,f){vn("NgControlFlow");let p=u!==void 0,h=I(),g=a?s.bind(h[fe][q]):s,_=new qi(p,g);h[W+e]=_,Bi(e+1,t,n,r,o,i),p&&Bi(e+2,u,c,l,d,f)}var Yi=class extends Gi{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Y}at(t){return this.getLView(t)[q].$implicit}attach(t,n){let r=n[Vt];this.needsIndexUpdate||=t!==this.length,to(this.lContainer,n,t,dn(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,Iy(this.lContainer,t)}create(t,n){let r=fn(this.lContainer,this.templateTNode.tView.ssrId);return eo(this.hostLView,this.templateTNode,new Wi(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Yr(t[w],t)}updateValue(t,n){this.getLView(t)[q].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(Gr(!0),Uc(r,o,rh()));function My(e,t,n,r,o){let i=t.consts,s=Ht(i,r),a=qt(t,e,8,"ng-container",s);s!==null&&Mr(a,s,!0);let u=Ht(i,o);return Rs(t,n,a,u),t.queries!==null&&t.queries.elementStart(t,a),a}function Bl(e,t,n){let r=I(),o=j(),i=e+W,s=o.firstCreatePass?My(i,o,r,t,n):o.data[i];Dt(s,!0);let a=Sy(o,r,s,e);return r[i]=a,Ur()&&Qr(o,r,a,s),We(a,r),Hr(s)&&(As(o,r,s),Ns(o,s,r)),n!=null&&Os(r,s),Bl}function $l(){let e=Q(),t=j();return vs()?ws():(e=e.parent,Dt(e,!1)),t.firstCreatePass&&(zr(t,e),ps(e)&&t.queries.elementEnd(e)),$l}function xy(e,t,n){return Bl(e,t,n),$l(),xy}var Sy=(e,t,n,r)=>(Gr(!0),Yh(t[L],""));function gM(){return I()}function Ty(e,t,n){let r=I(),o=vt();if(ae(r,o,t)){let i=j(),s=Dn();Jr(i,s,r,e,t,r[L],n,!0)}return Ty}var ot=void 0;function Ny(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var Ay=["en",[["a","p"],["AM","PM"],ot],[["AM","PM"],ot,ot],[["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"]],ot,[["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"]],ot,[["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}",ot,"{1} 'at' {0}",ot],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",Ny],Xo={};function ie(e){let t=Oy(e),n=vu(t);if(n)return n;let r=t.split("-")[0];if(n=vu(r),n)return n;if(r==="en")return Ay;throw new S(701,!1)}function vu(e){return e in Xo||(Xo[e]=$e.ng&&$e.ng.common&&$e.ng.common.locales&&$e.ng.common.locales[e]),Xo[e]}var V=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}(V||{});function Oy(e){return e.toLowerCase().replace(/_/g,"-")}var Or="en-US",Fy="USD";var Ry=Or;function Py(e){typeof e=="string"&&(Ry=e.toLowerCase().replace(/_/g,"-"))}function ky(e,t,n,r){let o=I(),i=j(),s=Q();return Hl(i,o,o[L],s,e,t,r),ky}function Ly(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 Hl(e,t,n,r,o,i,s){let a=Hr(r),c=e.firstCreatePass&&cl(e),l=t[q],d=ul(t),f=!0;if(r.type&3||s){let g=pe(r,t),_=s?s(g):g,b=d.length,H=s?se=>s(Se(se[r.index])):r.index,G=null;if(!s&&a&&(G=Ly(e,t,o,r.index)),G!==null){let se=G.__ngLastListenerFn__||G;se.__ngNextListenerFn__=i,G.__ngLastListenerFn__=i,f=!1}else{i=Iu(r,t,l,i,!1);let se=n.listen(_,o,i);d.push(i,se),c&&c.push(o,H,b,b+1)}}else i=Iu(r,t,l,i,!1);let p=r.outputs,h;if(f&&p!==null&&(h=p[o])){let g=h.length;if(g)for(let _=0;_-1?Ye(e.index,t):t;Ls(a);let u=wu(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=wu(t,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function mM(e=1){return th(e)}function jy(e,t){let n=null,r=ip(e);for(let o=0;o=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function CM(e){let t=Yp();return ms(t,W+e)}function bM(e,t=""){let n=I(),r=j(),o=e+W,i=r.firstCreatePass?qt(r,o,1,t,null):r.data[o],s=$y(r,n,i,t,e);n[o]=s,Ur()&&Qr(r,n,s,i),Dt(i,!1)}var $y=(e,t,n,r,o)=>(Gr(!0),Wh(t[L],r));function Hy(e){return Ul("",e,""),Hy}function Ul(e,t,n){let r=I(),o=Hs(r,e,t,n);return o!==Te&&Lg(r,Qe(),o),Ul}function Uy(e,t,n){_l(t)&&(t=t());let r=I(),o=vt();if(ae(r,o,t)){let i=j(),s=Dn();Jr(i,s,r,e,t,r[L],n,!1)}return Uy}function _M(e,t){let n=_l(e);return n&&e.set(t),n}function Gy(e,t){let n=I(),r=j(),o=Q();return Hl(r,n,n[L],o,e,t),Gy}function zy(e,t,n){let r=j();if(r.firstCreatePass){let o=ze(e);Ki(n,r.data,r.blueprint,o,!0),Ki(t,r.data,r.blueprint,o,!1)}}function Ki(e,t,n,r,o){if(e=J(e),Array.isArray(e))for(let i=0;i>20;if(jt(e)||!e.multi){let p=new pt(c,o,Z),h=ti(u,t,o?l:l+f,d);h===-1?(gi(wr(a,s),i,u),ei(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(p),s.push(p)):(n[h]=p,s[h]=p)}else{let p=ti(u,t,l+f,d),h=ti(u,t,l,l+f),g=p>=0&&n[p],_=h>=0&&n[h];if(o&&!_||!o&&!g){gi(wr(a,s),i,u);let b=Yy(o?qy:Wy,n.length,o,r,c);!o&&_&&(n[h].providerFactory=b),ei(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(b),s.push(b)}else{let b=Gl(n[o?h:p],c,!o&&r);ei(i,e,p>-1?p:h,b)}!o&&r&&_&&n[h].componentProviders++}}}function ei(e,t,n,r){let o=jt(t),i=Ip(t);if(o||i){let u=(i?J(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 Gl(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ti(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>zy(r,o?o(e):e,t)}}var Qy=(()=>{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=Qu(!1,r.type),i=o.length>0?Gm([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=B({token:t,providedIn:"environment",factory:()=>new t(oe(Ge))});let e=t;return e})();function xM(e){vn("NgStandalone"),e.getStandaloneInjector=t=>t.get(Qy).getOrCreateStandaloneInjector(e)}function zl(e,t){let n=e[t];return n===Te?void 0:n}function Zy(e,t,n,r,o,i){let s=t+n;return ae(e,s,o)?xl(e,s+1,i?r.call(i,o):r(o)):zl(e,s+1)}function Ky(e,t,n,r,o,i,s,a){let u=t+n;return Ym(e,u,o,i,s)?xl(e,u+3,a?r.call(a,o,i,s):r(o,i,s)):zl(e,u+3)}function SM(e,t){let n=j(),r,o=e+W;n.firstCreatePass?(r=Jy(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=ut(r.type,!0)),s,a=ne(Z);try{let u=vr(!1),c=i();return vr(u),By(n,I(),o,c),c}finally{ne(a)}}function Jy(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function TM(e,t,n){let r=e+W,o=I(),i=ms(o,r);return Wl(o,r)?Zy(o,hc(),t,i.transform,n,i):i.transform(n)}function NM(e,t,n,r,o){let i=e+W,s=I(),a=ms(s,i);return Wl(s,i)?Ky(s,hc(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function Wl(e,t){return e[w].data[t].pure}function AM(e,t){return no(e,t)}var OM=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var Xy=new F("");function oo(e){return!!e&&typeof e.then=="function"}function Us(e){return!!e&&typeof e.subscribe=="function"}var eD=new F(""),ql=(()=>{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=k(eD,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(oo(s))r.push(s);else if(Us(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=B({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),tD=new F("");function nD(){ua(()=>{throw new S(600,!1)})}function rD(e){return e.isBoundToModule}function oD(e,t,n){try{let r=n();return oo(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Yl=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=k(Rc),this.afterRenderEffectManager=k(vl),this.externalTestViews=new Set,this.beforeRender=new de,this.afterTick=new de,this.componentTypes=[],this.components=[],this.isStable=k($s).hasPendingTasks.pipe(_e(r=>!r)),this._injector=k(Ge)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof _r;if(!this._injector.get(ql).done){let p=!i&&hp(r),h=!1;throw new S(405,h)}let a;i?a=r:a=this._injector.get(ro).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=rD(a)?void 0:this._injector.get(qe),c=o||a.selector,l=a.create(Wr.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(Xy,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),ni(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new S(101,!1);let o=C(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this.afterTick.next(),this._runningTick=!1,C(o)}}detectChangesInAttachedViews(r){let o=0,i=this.afterRenderEffectManager;for(;;){if(o===hl)throw new S(103,!1);if(r){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:u}of this._views)iD(a,s,u)}if(o++,i.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Xi(s))&&(i.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>Xi(s))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;ni(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(tD,[]);[...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),()=>ni(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=B({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function ni(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function iD(e,t,n){!t&&!Xi(e)||sD(e,n,t)}function Xi(e){return Ds(e)}function sD(e,t,n){let r;n?(r=0,e[y]|=1024):e[y]&64?r=0:r=1,gl(e,t,r)}var es=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},FM=(()=>{let t=class t{compileModuleSync(r){return new Vi(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=Wu(r),s=Hc(i.declarations).reduce((a,u)=>{let c=ct(u);return c&&a.push(new pn(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=B({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var aD=(()=>{let t=class t{constructor(){this.zone=k(we),this.applicationRef=k(Yl)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function uD(e){return[{provide:we,useFactory:e},{provide:hr,multi:!0,useFactory:()=>{let t=k(aD,{optional:!0});return()=>t.initialize()}},{provide:hr,multi:!0,useFactory:()=>{let t=k(fD);return()=>{t.initialize()}}},{provide:Rc,useFactory:cD}]}function cD(){let e=k(we),t=k(gt);return n=>e.runOutsideAngular(()=>t.handleError(n))}function lD(e){let t=uD(()=>new we(dD(e)));return mp([[],t])}function dD(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var fD=(()=>{let t=class t{constructor(){this.subscription=new U,this.initialized=!1,this.zone=k(we),this.pendingTasks=k($s)}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(()=>{we.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{we.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function pD(){return typeof $localize<"u"&&$localize.locale||Or}var wn=new F("",{providedIn:"root",factory:()=>k(wn,x.Optional|x.SkipSelf)||pD()}),Ql=new F("",{providedIn:"root",factory:()=>Fy});var Zl=new F("");var lr=null;function hD(e=[],t){return Wr.create({name:t,providers:[{provide:Ju,useValue:"platform"},{provide:Zl,useValue:new Set([()=>lr=null])},...e]})}function gD(e=[]){if(lr)return lr;let t=hD(e);return lr=t,nD(),mD(t),t}function mD(e){e.get(Nh,null)?.forEach(n=>n())}var io=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=yD;let e=t;return e})();function yD(e){return DD(Q(),I(),(e&16)===16)}function DD(e,t,n){if($r(e)&&!n){let r=Ye(e.index,t);return new mt(r,r)}else if(e.type&47){let r=t[fe];return new mt(r,t)}return null}var ts=class{constructor(){}supports(t){return Ml(t)}create(t){return new ns(t)}},vD=(e,t)=>t,ns=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||vD}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 rs(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 Fr),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 Fr),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}},rs=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}},os=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}},Fr=class{constructor(){this.map=new Map}put(t){let n=t.trackById,r=this.map.get(n);r||(r=new os,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 Eu(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||Cu()),deps:[[t,new qf,new Wf]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o!=null)return o;throw new S(901,!1)}};t.\u0275prov=B({token:t,providedIn:"root",factory:Cu});let e=t;return e})();function RM(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=gD(r),i=[lD(),...n||[]],a=new Tr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(we);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(gt,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:p=>{c.handleError(p)}})});let d=()=>a.destroy(),f=o.get(Zl);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),oD(c,u,()=>{let p=a.get(ql);return p.runInitializers(),p.donePromise.then(()=>{let h=a.get(wn,Or);Py(h||Or);let g=a.get(Yl);return t!==void 0&&g.bootstrap(t),g})})})}catch(t){return Promise.reject(t)}}function wD(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function ID(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Gs(e){let t=C(null);try{return e()}finally{C(t)}}var ED=new F("",{providedIn:"root",factory:()=>k(CD)}),CD=(()=>{let t=class t{};t.\u0275prov=B({token:t,providedIn:"root",factory:()=>new is});let e=t;return e})(),is=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=k($s),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),this.taskId===null){let n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){let n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},ss=class{constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=i,this.watcher=ca(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(gt,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function bD(e,t){vn("NgSignals"),!t?.injector&&Sp(bD);let n=t?.injector??k(Wr),r=t?.manualCleanup!==!0?n.get(_s):null,o=new ss(n.get(ED),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(io,null,{optional:!0});return!i||!(i._lView[y]&8)?o.watcher.notify():(i._lView[ir]??=[]).push(o.watcher.notify),o}var ad=null;function zs(){return ad}function ex(e){ad??=e}var Jl=class{};var ud=new F(""),cd=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=B({token:t,factory:()=>k(MD),providedIn:"platform"});let e=t;return e})();var MD=(()=>{let t=class t extends cd{constructor(){super(),this._doc=k(ud),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return zs().getBaseHref(this._doc)}onPopState(r){let o=zs().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=zs().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=B({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function ld(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 Xl(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 It(e){return e&&e[0]!=="?"?"?"+e:e}var ta=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=B({token:t,factory:()=>k(SD),providedIn:"root"});let e=t;return e})(),xD=new F(""),SD=(()=>{let t=class t extends ta{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??k(ud).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 ld(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+It(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+It(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+It(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)(oe(cd),oe(xD,8))},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var TD=(()=>{let t=class t{constructor(r){this._subject=new it,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=OD(Xl(ed(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+It(o))}normalize(r){return t.stripTrailingSlash(AD(this._basePath,ed(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+It(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+It(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=It,t.joinWithSlash=ld,t.stripTrailingSlash=Xl,t.\u0275fac=function(o){return new(o||t)(oe(ta))},t.\u0275prov=B({token:t,factory:()=>ND(),providedIn:"root"});let e=t;return e})();function ND(){return new TD(oe(ta))}function AD(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function ed(e){return e.replace(/\/index.html$/,"")}function OD(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var dd={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},fd=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(fd||{});var ee=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(ee||{}),R=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(R||{}),ce=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(ce||{}),le={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 FD(e){return ie(e)[V.LocaleId]}function RD(e,t,n){let r=ie(e),o=[r[V.DayPeriodsFormat],r[V.DayPeriodsStandalone]],i=he(o,t);return he(i,n)}function PD(e,t,n){let r=ie(e),o=[r[V.DaysFormat],r[V.DaysStandalone]],i=he(o,t);return he(i,n)}function kD(e,t,n){let r=ie(e),o=[r[V.MonthsFormat],r[V.MonthsStandalone]],i=he(o,t);return he(i,n)}function LD(e,t){let r=ie(e)[V.Eras];return he(r,t)}function so(e,t){let n=ie(e);return he(n[V.DateFormat],t)}function ao(e,t){let n=ie(e);return he(n[V.TimeFormat],t)}function uo(e,t){let r=ie(e)[V.DateTimeFormat];return he(r,t)}function Le(e,t){let n=ie(e),r=n[V.NumberSymbols][t];if(typeof r>"u"){if(t===le.CurrencyDecimal)return n[V.NumberSymbols][le.Decimal];if(t===le.CurrencyGroup)return n[V.NumberSymbols][le.Group]}return r}function jD(e,t){return ie(e)[V.NumberFormats][t]}function VD(e){return ie(e)[V.Currencies]}function pd(e){if(!e[V.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[V.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function BD(e){let t=ie(e);return pd(t),(t[V.ExtraData][2]||[]).map(r=>typeof r=="string"?Ws(r):[Ws(r[0]),Ws(r[1])])}function $D(e,t,n){let r=ie(e);pd(r);let o=[r[V.ExtraData][0],r[V.ExtraData][1]],i=he(o,t)||[];return he(i,n)||[]}function he(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 Ws(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}function HD(e,t,n="en"){let r=VD(n)[e]||dd[e]||[],o=r[1];return t==="narrow"&&typeof o=="string"?o:r[0]||e}var UD=2;function GD(e){let t,n=dd[e];return n&&(t=n[2]),typeof t=="number"?t:UD}var zD=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,co={},WD=/((?:[^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]*)/,je=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(je||{}),N=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}(N||{}),T=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(T||{});function qD(e,t,n,r){let o=nv(e);t=ke(n,t)||t;let s=[],a;for(;t;)if(a=WD.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=gd(r,u),o=tv(o,r,!0));let c="";return s.forEach(l=>{let d=XD(l);c+=d?d(o,n,u):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function go(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function ke(e,t){let n=FD(e);if(co[n]??={},co[n][t])return co[n][t];let r="";switch(t){case"shortDate":r=so(e,ce.Short);break;case"mediumDate":r=so(e,ce.Medium);break;case"longDate":r=so(e,ce.Long);break;case"fullDate":r=so(e,ce.Full);break;case"shortTime":r=ao(e,ce.Short);break;case"mediumTime":r=ao(e,ce.Medium);break;case"longTime":r=ao(e,ce.Long);break;case"fullTime":r=ao(e,ce.Full);break;case"short":let o=ke(e,"shortTime"),i=ke(e,"shortDate");r=lo(uo(e,ce.Short),[o,i]);break;case"medium":let s=ke(e,"mediumTime"),a=ke(e,"mediumDate");r=lo(uo(e,ce.Medium),[s,a]);break;case"long":let u=ke(e,"longTime"),c=ke(e,"longDate");r=lo(uo(e,ce.Long),[u,c]);break;case"full":let l=ke(e,"fullTime"),d=ke(e,"fullDate");r=lo(uo(e,ce.Full),[l,d]);break}return r&&(co[n][t]=r),r}function lo(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function Ee(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===N.Hours)a===0&&n===-12&&(a=12);else if(e===N.FractionalSeconds)return YD(a,t);let u=Le(s,le.MinusSign);return Ee(a,t,u,r,o)}}function QD(e,t){switch(e){case N.FullYear:return t.getFullYear();case N.Month:return t.getMonth();case N.Date:return t.getDate();case N.Hours:return t.getHours();case N.Minutes:return t.getMinutes();case N.Seconds:return t.getSeconds();case N.FractionalSeconds:return t.getMilliseconds();case N.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function P(e,t,n=ee.Format,r=!1){return function(o,i){return ZD(o,i,e,t,n,r)}}function ZD(e,t,n,r,o,i){switch(n){case T.Months:return kD(t,o,r)[e.getMonth()];case T.Days:return PD(t,o,r)[e.getDay()];case T.DayPeriods:let s=e.getHours(),a=e.getMinutes();if(i){let c=BD(t),l=$D(t,o,r),d=c.findIndex(f=>{if(Array.isArray(f)){let[p,h]=f,g=s>=p.hours&&a>=p.minutes,_=s0?Math.floor(o/60):Math.ceil(o/60);switch(e){case je.Short:return(o>=0?"+":"")+Ee(s,2,i)+Ee(Math.abs(o%60),2,i);case je.ShortGMT:return"GMT"+(o>=0?"+":"")+Ee(s,1,i);case je.Long:return"GMT"+(o>=0?"+":"")+Ee(s,2,i)+":"+Ee(Math.abs(o%60),2,i);case je.Extended:return r===0?"Z":(o>=0?"+":"")+Ee(s,2,i)+":"+Ee(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var KD=0,ho=4;function JD(e){let t=go(e,KD,1).getDay();return go(e,0,1+(t<=ho?ho:ho+7)-t)}function hd(e){let t=e.getDay(),n=t===0?-3:ho-t;return go(e.getFullYear(),e.getMonth(),e.getDate()+n)}function qs(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=hd(n),s=JD(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Ee(o,e,Le(r,le.MinusSign))}}function po(e,t=!1){return function(n,r){let i=hd(n).getFullYear();return Ee(i,e,Le(r,le.MinusSign),t)}}var Ys={};function XD(e){if(Ys[e])return Ys[e];let t;switch(e){case"G":case"GG":case"GGG":t=P(T.Eras,R.Abbreviated);break;case"GGGG":t=P(T.Eras,R.Wide);break;case"GGGGG":t=P(T.Eras,R.Narrow);break;case"y":t=$(N.FullYear,1,0,!1,!0);break;case"yy":t=$(N.FullYear,2,0,!0,!0);break;case"yyy":t=$(N.FullYear,3,0,!1,!0);break;case"yyyy":t=$(N.FullYear,4,0,!1,!0);break;case"Y":t=po(1);break;case"YY":t=po(2,!0);break;case"YYY":t=po(3);break;case"YYYY":t=po(4);break;case"M":case"L":t=$(N.Month,1,1);break;case"MM":case"LL":t=$(N.Month,2,1);break;case"MMM":t=P(T.Months,R.Abbreviated);break;case"MMMM":t=P(T.Months,R.Wide);break;case"MMMMM":t=P(T.Months,R.Narrow);break;case"LLL":t=P(T.Months,R.Abbreviated,ee.Standalone);break;case"LLLL":t=P(T.Months,R.Wide,ee.Standalone);break;case"LLLLL":t=P(T.Months,R.Narrow,ee.Standalone);break;case"w":t=qs(1);break;case"ww":t=qs(2);break;case"W":t=qs(1,!0);break;case"d":t=$(N.Date,1);break;case"dd":t=$(N.Date,2);break;case"c":case"cc":t=$(N.Day,1);break;case"ccc":t=P(T.Days,R.Abbreviated,ee.Standalone);break;case"cccc":t=P(T.Days,R.Wide,ee.Standalone);break;case"ccccc":t=P(T.Days,R.Narrow,ee.Standalone);break;case"cccccc":t=P(T.Days,R.Short,ee.Standalone);break;case"E":case"EE":case"EEE":t=P(T.Days,R.Abbreviated);break;case"EEEE":t=P(T.Days,R.Wide);break;case"EEEEE":t=P(T.Days,R.Narrow);break;case"EEEEEE":t=P(T.Days,R.Short);break;case"a":case"aa":case"aaa":t=P(T.DayPeriods,R.Abbreviated);break;case"aaaa":t=P(T.DayPeriods,R.Wide);break;case"aaaaa":t=P(T.DayPeriods,R.Narrow);break;case"b":case"bb":case"bbb":t=P(T.DayPeriods,R.Abbreviated,ee.Standalone,!0);break;case"bbbb":t=P(T.DayPeriods,R.Wide,ee.Standalone,!0);break;case"bbbbb":t=P(T.DayPeriods,R.Narrow,ee.Standalone,!0);break;case"B":case"BB":case"BBB":t=P(T.DayPeriods,R.Abbreviated,ee.Format,!0);break;case"BBBB":t=P(T.DayPeriods,R.Wide,ee.Format,!0);break;case"BBBBB":t=P(T.DayPeriods,R.Narrow,ee.Format,!0);break;case"h":t=$(N.Hours,1,-12);break;case"hh":t=$(N.Hours,2,-12);break;case"H":t=$(N.Hours,1);break;case"HH":t=$(N.Hours,2);break;case"m":t=$(N.Minutes,1);break;case"mm":t=$(N.Minutes,2);break;case"s":t=$(N.Seconds,1);break;case"ss":t=$(N.Seconds,2);break;case"S":t=$(N.FractionalSeconds,1);break;case"SS":t=$(N.FractionalSeconds,2);break;case"SSS":t=$(N.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=fo(je.Short);break;case"ZZZZZ":t=fo(je.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=fo(je.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=fo(je.Long);break;default:return null}return Ys[e]=t,t}function gd(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function ev(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function tv(e,t,n){let r=n?-1:1,o=e.getTimezoneOffset(),i=gd(t,o);return ev(e,r*(i-o))}function nv(e){if(td(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 go(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(zD))return rv(r)}let t=new Date(e);if(!td(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function rv(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 td(e){return e instanceof Date&&!isNaN(e.valueOf())}var ov=/^(\d+)?\.((\d+)(-(\d+))?)?$/,nd=22,mo=".",In="0",iv=";",sv=",",Qs="#",rd="\xA4";function av(e,t,n,r,o,i,s=!1){let a="",u=!1;if(!isFinite(e))a=Le(n,le.Infinity);else{let c=dv(e);s&&(c=lv(c));let l=t.minInt,d=t.minFrac,f=t.maxFrac;if(i){let H=i.match(ov);if(H===null)throw new Error(`${i} is not a valid digit info`);let G=H[1],se=H[3],Ne=H[5];G!=null&&(l=Zs(G)),se!=null&&(d=Zs(se)),Ne!=null?f=Zs(Ne):se!=null&&d>f&&(f=d)}fv(c,d,f);let p=c.digits,h=c.integerLen,g=c.exponent,_=[];for(u=p.every(H=>!H);h0?_=p.splice(h,p.length):(_=p,p=[0]);let b=[];for(p.length>=t.lgSize&&b.unshift(p.splice(-t.lgSize,p.length).join(""));p.length>t.gSize;)b.unshift(p.splice(-t.gSize,p.length).join(""));p.length&&b.unshift(p.join("")),a=b.join(Le(n,r)),_.length&&(a+=Le(n,o)+_.join("")),g&&(a+=Le(n,le.Exponential)+"+"+g)}return e<0&&!u?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function uv(e,t,n,r,o){let i=jD(t,fd.Currency),s=cv(i,Le(t,le.MinusSign));return s.minFrac=GD(r),s.maxFrac=s.minFrac,av(e,s,t,le.CurrencyGroup,le.CurrencyDecimal,o).replace(rd,n).replace(rd,"").trim()}function cv(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(iv),o=r[0],i=r[1],s=o.indexOf(mo)!==-1?o.split(mo):[o.substring(0,o.lastIndexOf(In)+1),o.substring(o.lastIndexOf(In)+1)],a=s[0],u=s[1]||"";n.posPre=a.substring(0,a.indexOf(Qs));for(let l=0;l-1&&(t=t.replace(mo,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===In;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===In;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>nd&&(r=r.splice(0,nd-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function fv(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o=c?h.pop():u=!1),f>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function Zs(e){let t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}function tx(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 Ks=/\s+/,od=[],nx=(()=>{let t=class t{constructor(r,o){this._ngEl=r,this._renderer=o,this.initialClasses=od,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split(Ks):od}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split(Ks):r}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(let o of r)this._updateState(o,!0);else if(r!=null)for(let o of Object.keys(r))this._updateState(o,!!r[o]);this._applyStateDiff()}_updateState(r,o){let i=this.stateMap.get(r);i!==void 0?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(r,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let r of this.stateMap){let o=r[0],i=r[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(r,o){r=r.trim(),r.length>0&&r.split(Ks).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};t.\u0275fac=function(o){return new(o||t)(Z(wt),Z(js))},t.\u0275dir=jr({type:t,selectors:[["","ngClass",""]],inputs:{klass:[Ue.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let e=t;return e})();var rx=(()=>{let t=class t{constructor(r,o){this._viewContainer=r,this._context=new Js,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){id("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){id("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)(Z(Yt),Z(Ut))},t.\u0275dir=jr({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let e=t;return e})(),Js=class{constructor(){this.$implicit=null,this.ngIf=null}};function id(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${X(t)}'.`)}var ox=(()=>{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)(Z(Yt))},t.\u0275dir=jr({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[hs]});let e=t;return e})();function na(e,t){return new S(2100,!1)}var Xs=class{createSubscription(t,n){return Gs(()=>t.subscribe({next:n,error:r=>{throw r}}))}dispose(t){Gs(()=>t.unsubscribe())}},ea=class{createSubscription(t,n){return t.then(n,r=>{throw r})}dispose(t){}},pv=new ea,hv=new Xs,ix=(()=>{let t=class t{constructor(r){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=r}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(r){if(!this._obj){if(r)try{this.markForCheckOnValueUpdate=!1,this._subscribe(r)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return r!==this._obj?(this._dispose(),this.transform(r)):this._latestValue}_subscribe(r){this._obj=r,this._strategy=this._selectStrategy(r),this._subscription=this._strategy.createSubscription(r,o=>this._updateLatestValue(r,o))}_selectStrategy(r){if(oo(r))return pv;if(Us(r))return hv;throw na(t,r)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(r,o){r===this._obj&&(this._latestValue=o,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}};t.\u0275fac=function(o){return new(o||t)(Z(io,16))},t.\u0275pipe=Vr({name:"async",type:t,pure:!1,standalone:!0});let e=t;return e})();var gv="mediumDate",mv=new F(""),yv=new F(""),sx=(()=>{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??gv,u=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return qD(r,a,s||this.locale,u)}catch(a){throw na(t,a.message)}}};t.\u0275fac=function(o){return new(o||t)(Z(wn,16),Z(mv,24),Z(yv,24))},t.\u0275pipe=Vr({name:"date",type:t,pure:!0,standalone:!0});let e=t;return e})();var ax=(()=>{let t=class t{constructor(r,o="USD"){this._locale=r,this._defaultCurrencyCode=o}transform(r,o=this._defaultCurrencyCode,i="symbol",s,a){if(!Dv(r))return null;a||=this._locale,typeof i=="boolean"&&(i=i?"symbol":"code");let u=o||this._defaultCurrencyCode;i!=="code"&&(i==="symbol"||i==="symbol-narrow"?u=HD(u,i==="symbol"?"wide":"narrow",a):u=i);try{let c=vv(r);return uv(c,a,u,o,s)}catch(c){throw na(t,c.message)}}};t.\u0275fac=function(o){return new(o||t)(Z(wn,16),Z(Ql,16))},t.\u0275pipe=Vr({name:"currency",type:t,pure:!0,standalone:!0});let e=t;return e})();function Dv(e){return!(e==null||e===""||e!==e)}function vv(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new Error(`${e} is not a number`);return e}var ux=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=Uu({type:t}),t.\u0275inj=Tu({});let e=t;return e})(),wv="browser",Iv="server";function cx(e){return e===wv}function lx(e){return e===Iv}var sd=class{};var Ve=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}(Ve||{}),px="*";function hx(e,t){return{type:Ve.Trigger,name:e,definitions:t,options:{}}}function gx(e,t=null){return{type:Ve.Animate,styles:t,timings:e}}function mx(e,t=null){return{type:Ve.Sequence,steps:e,options:t}}function yx(e){return{type:Ve.Style,styles:e,offset:null}}function Dx(e,t,n){return{type:Ve.State,name:e,styles:t,options:n}}function vx(e,t,n=null){return{type:Ve.Transition,expr:e,animation:t,options:n}}function wx(e=null){return{type:Ve.AnimateChild,options:e}}function Ix(e,t,n=null){return{type:Ve.Query,selector:e,animation:t,options:n}}var md=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}},yd=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}},Ex="!";export{Ct as a,bt as b,Ev as c,U as d,Fd as e,M as f,Ro as g,Po as h,de as i,Zt as j,et as k,be as l,Ud as m,Gd as n,zd as o,nt as p,_e as q,Xd as r,Oe as s,Jn as t,tf as u,nf as v,Lo as w,lf as x,df as y,rt as z,ff as A,ka as B,ja as C,pf as D,Xt as E,jo as F,hf as G,gf as H,Df as I,Va as J,Vo as K,vf as L,wf as M,If as N,Ef as O,Cf as P,bf as Q,$a as R,_f as S,Ha as T,S as U,xu as V,B as W,Tu as X,W_ as Y,F as Z,x as _,oe as $,k as aa,nn as ba,Ue as ca,q_ as da,Uu as ea,jr as fa,Vr as ga,mp as ha,Ju as ia,Ge as ja,Y_ as ka,hs as la,Q_ as ma,Z_ as na,K_ as oa,J_ as pa,X_ as qa,Dh as ra,Wr as sa,gt as ta,wt as ua,it as va,vi as wa,eM as xa,tM as ya,Nh as za,Ah as Aa,nM as Ba,rM as Ca,oM as Da,Er as Ea,iM as Fa,Z as Ga,sM as Ha,Ut as Ia,_i as Ja,ro as Ka,Si as La,js as Ma,vn as Na,we as Oa,Yt as Pa,Pm as Qa,Lm as Ra,Um as Sa,Li as Ta,Gm as Ua,$s as Va,Bi as Wa,Xm as Xa,ly as Ya,Nl as Za,dy as _a,lM as $a,dM as ab,fM as bb,pM as cb,hM as db,jl as eb,Vl as fb,by as gb,Bl as hb,$l as ib,xy as jb,gM as kb,Ty as lb,ky as mb,mM as nb,yM as ob,DM as pb,Vy as qb,vM as rb,wM as sb,IM as tb,EM as ub,CM as vb,bM as wb,Hy as xb,Ul as yb,Uy as zb,_M as Ab,Gy as Bb,MM as Cb,xM as Db,SM as Eb,TM as Fb,NM as Gb,AM as Hb,OM as Ib,oo as Jb,tD as Kb,Yl as Lb,FM as Mb,io as Nb,Kl as Ob,RM as Pb,wD as Qb,ID as Rb,bD as Sb,zs as Tb,ex as Ub,Jl as Vb,ud as Wb,TD as Xb,tx as Yb,nx as Zb,rx as _b,ox as $b,ix as ac,sx as bc,ax as cc,ux as dc,wv as ec,cx as fc,lx as gc,sd as hc,Ve as ic,px as jc,hx as kc,gx as lc,mx as mc,yx as nc,Dx as oc,vx as pc,wx as qc,Ix as rc,md as sc,yd as tc,Ex as uc}; diff --git a/chunk-WDO34ETR.js b/chunk-U45WZUSF.js similarity index 99% rename from chunk-WDO34ETR.js rename to chunk-U45WZUSF.js index 5176c86..e743575 100644 --- a/chunk-WDO34ETR.js +++ b/chunk-U45WZUSF.js @@ -1 +1 @@ -import{U as E,W as gt,a as he,c as pt,ec as S,fc as B,ic as yt,jc as Me,oc as x,pc as Ce,qc as ue}from"./chunk-LKNVFVEK.js";function _t(n){return new E(3e3,!1)}function Ht(){return new E(3100,!1)}function Yt(){return new E(3101,!1)}function Xt(n){return new E(3001,!1)}function Zt(n){return new E(3003,!1)}function Jt(n){return new E(3004,!1)}function xt(n,e){return new E(3005,!1)}function es(){return new E(3006,!1)}function ts(){return new E(3007,!1)}function ss(n,e){return new E(3008,!1)}function is(n){return new E(3002,!1)}function ns(n,e,t,s,i){return new E(3010,!1)}function rs(){return new E(3011,!1)}function as(){return new E(3012,!1)}function os(){return new E(3200,!1)}function ls(){return new E(3202,!1)}function hs(){return new E(3013,!1)}function us(n){return new E(3014,!1)}function cs(n){return new E(3015,!1)}function fs(n){return new E(3016,!1)}function ds(n){return new E(3500,!1)}function ms(n){return new E(3501,!1)}function ps(n,e){return new E(3404,!1)}function gs(n){return new E(3502,!1)}function ys(n){return new E(3503,!1)}function _s(){return new E(3300,!1)}function Es(n){return new E(3504,!1)}function Ss(n){return new E(3301,!1)}function Ts(n,e){return new E(3302,!1)}function vs(n){return new E(3303,!1)}function ws(n,e){return new E(3400,!1)}function bs(n){return new E(3401,!1)}function As(n){return new E(3402,!1)}function Ps(n,e){return new E(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 Et(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,St=!1;function ks(n){H||(H=Ds()||{},St=H.style?"WebkitAppearance"in H.style:!1);let e=!0;return H.style&&!Cs(n)&&(e=n in H.style,!e&&St&&(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)}matchesElement(s,i){return!1}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 S.Trigger:return n.visitTrigger(e,t);case S.State:return n.visitState(e,t);case S.Transition:return n.visitTransition(e,t);case S.Sequence:return n.visitSequence(e,t);case S.Group:return n.visitGroup(e,t);case S.Animate:return n.visitAnimate(e,t);case S.Keyframes:return n.visitKeyframes(e,t);case S.Style:return n.visitStyle(e,t);case S.Reference:return n.visitReference(e,t);case S.AnimateChild:return n.visitAnimateChild(e,t);case S.AnimateRef:return n.visitAnimateRef(e,t);case S.Query:return n.visitQuery(e,t);case S.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 Ee="*";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==Ee&&a==Ee;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==Ee||n==i,o=e==Ee||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==S.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==S.Transition){let l=this.visitTransition(o,t);s+=l.queryCount,i+=l.depCount,a.push(l)}else t.errors.push(ts())}),{type:S.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:S.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:S.Transition,matchers:i,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:Y(e.options)}}visitSequence(e,t){return{type:S.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:S.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==S.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:S.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:S.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:S.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:S.Reference,animation:O(this,ie(e.animation),t),options:Y(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:S.AnimateChild,options:Y(e.options)}}visitAnimateRef(e,t){return{type:S.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:S.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:S.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==S.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Se);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==S.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===S.Style||s==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Se);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)}},Se={},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=Se,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=Se,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:S.Sequence,steps:[],options:null},r={type:S.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 Es(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 Ss(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,i){this.bodyNode=e,this.driver=t,this._normalizer=s,this.scheduler=i,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=(r,a)=>{}}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)){this.scheduler?.notify();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,i){this._driver=t,this._normalizer=s,this._triggerCache={},this.onRemovalComplete=(r,a)=>{},this._transitionEngine=new Ze(e.body,t,s,i),this._timelineEngine=new Ye(e.body,t,s),this._transitionEngine.onRemovalComplete=(r,a)=>this.onRemovalComplete(r,a)}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]=Et(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]=Et(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}matchesElement(e,t){return!1}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,t){return n==="noop"?new we(e,new qt,new ze,t):new we(e,new xe,new Qe,t)}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.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=Ei(e),r=t.slice(1),a="";return r.charAt(0)!=pe&&([r,a]=Si(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 Ei(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function Si(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)=>{let a=r?.parentNode(i);a&&r.removeChild(a,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}; +import{U as E,W as gt,a as he,c as pt,ic as S,jc as B,mc as yt,nc as Me,sc as x,tc as Ce,uc as ue}from"./chunk-R7W3RWW5.js";function _t(n){return new E(3e3,!1)}function Ht(){return new E(3100,!1)}function Yt(){return new E(3101,!1)}function Xt(n){return new E(3001,!1)}function Zt(n){return new E(3003,!1)}function Jt(n){return new E(3004,!1)}function xt(n,e){return new E(3005,!1)}function es(){return new E(3006,!1)}function ts(){return new E(3007,!1)}function ss(n,e){return new E(3008,!1)}function is(n){return new E(3002,!1)}function ns(n,e,t,s,i){return new E(3010,!1)}function rs(){return new E(3011,!1)}function as(){return new E(3012,!1)}function os(){return new E(3200,!1)}function ls(){return new E(3202,!1)}function hs(){return new E(3013,!1)}function us(n){return new E(3014,!1)}function cs(n){return new E(3015,!1)}function fs(n){return new E(3016,!1)}function ds(n){return new E(3500,!1)}function ms(n){return new E(3501,!1)}function ps(n,e){return new E(3404,!1)}function gs(n){return new E(3502,!1)}function ys(n){return new E(3503,!1)}function _s(){return new E(3300,!1)}function Es(n){return new E(3504,!1)}function Ss(n){return new E(3301,!1)}function Ts(n,e){return new E(3302,!1)}function vs(n){return new E(3303,!1)}function ws(n,e){return new E(3400,!1)}function bs(n){return new E(3401,!1)}function As(n){return new E(3402,!1)}function Ps(n,e){return new E(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 Et(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,St=!1;function ks(n){H||(H=Ds()||{},St=H.style?"WebkitAppearance"in H.style:!1);let e=!0;return H.style&&!Cs(n)&&(e=n in H.style,!e&&St&&(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)}matchesElement(s,i){return!1}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 S.Trigger:return n.visitTrigger(e,t);case S.State:return n.visitState(e,t);case S.Transition:return n.visitTransition(e,t);case S.Sequence:return n.visitSequence(e,t);case S.Group:return n.visitGroup(e,t);case S.Animate:return n.visitAnimate(e,t);case S.Keyframes:return n.visitKeyframes(e,t);case S.Style:return n.visitStyle(e,t);case S.Reference:return n.visitReference(e,t);case S.AnimateChild:return n.visitAnimateChild(e,t);case S.AnimateRef:return n.visitAnimateRef(e,t);case S.Query:return n.visitQuery(e,t);case S.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 Ee="*";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==Ee&&a==Ee;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==Ee||n==i,o=e==Ee||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==S.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==S.Transition){let l=this.visitTransition(o,t);s+=l.queryCount,i+=l.depCount,a.push(l)}else t.errors.push(ts())}),{type:S.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:S.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:S.Transition,matchers:i,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:Y(e.options)}}visitSequence(e,t){return{type:S.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:S.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==S.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:S.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:S.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:S.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:S.Reference,animation:O(this,ie(e.animation),t),options:Y(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:S.AnimateChild,options:Y(e.options)}}visitAnimateRef(e,t){return{type:S.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:S.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:S.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==S.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Se);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==S.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===S.Style||s==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Se);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)}},Se={},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=Se,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=Se,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:S.Sequence,steps:[],options:null},r={type:S.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 Es(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 Ss(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,i){this.bodyNode=e,this.driver=t,this._normalizer=s,this.scheduler=i,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=(r,a)=>{}}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)){this.scheduler?.notify();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,i){this._driver=t,this._normalizer=s,this._triggerCache={},this.onRemovalComplete=(r,a)=>{},this._transitionEngine=new Ze(e.body,t,s,i),this._timelineEngine=new Ye(e.body,t,s),this._transitionEngine.onRemovalComplete=(r,a)=>this.onRemovalComplete(r,a)}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]=Et(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]=Et(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}matchesElement(e,t){return!1}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,t){return n==="noop"?new we(e,new qt,new ze,t):new we(e,new xe,new Qe,t)}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.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=Ei(e),r=t.slice(1),a="";return r.charAt(0)!=pe&&([r,a]=Si(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 Ei(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function Si(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)=>{let a=r?.parentNode(i);a&&r.removeChild(a,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 3ed3837..1bbdef4 100644 --- a/index.html +++ b/index.html @@ -9,8 +9,8 @@ + - + diff --git a/main-JARC56VW.js b/main-JARC56VW.js deleted file mode 100644 index e3543f0..0000000 --- a/main-JARC56VW.js +++ /dev/null @@ -1,5 +0,0 @@ -import{$ as f,$a as ia,$b as Ge,A as br,Aa as $e,Ab as J,B as Mt,Ba as Ne,Bb as ci,C as Be,Ca as oi,Cb as nn,D as Xi,Da as Ks,Db as aa,E as xr,Ea as si,Eb as rn,F as ye,Fa as C,Fb as on,G as zs,Ga as h,Gb as sn,H as Ki,Ha as kr,Hb as Or,I as Tt,Ia as Se,Ib as Nt,J as Ke,Ja as Qs,Jb as Fr,K as wr,Ka as Ar,Kb as Ie,L as Hs,La as en,Lb as ft,M as $s,Ma as Mr,Mb as la,N as Cr,Na as R,Nb as G,O as Dr,Oa as Me,Ob as mt,P as Qe,Pa as Tr,Pb as ca,Q as be,Qa as te,Qb as Nr,R as U,Ra as ae,Rb as da,S as Ws,Sa as Js,Sb as ha,T as ne,Ta as ea,Tb as L,U as Y,Ua as tn,Ub as Pt,V as Er,Va as j,Vb as an,W as v,Wa as de,Wb as ua,X as T,Xa as Z,Xb as fa,Y as Gs,Ya as lt,Yb as ln,Z as w,Za as re,Zb as ma,_ as Sr,_a as ta,_b as pa,a as g,aa as _,ab as $,ac as ga,b as ee,ba as ni,bb as na,bc as _a,ca as p,cb as ra,cc as Pr,d as Ee,da as Q,db as oa,dc as cn,e as Ls,ea as O,eb as y,f as je,fa as E,fb as x,g as yr,ga as Qi,gb as X,gc as di,h as ei,ha as st,hb as ct,hc as hi,i as k,ia as qs,ib as dt,j as he,ja as Ot,jb as fe,jc as pt,k as Ze,ka as Ue,kb as ai,kc as dn,l as _e,la as we,lb as li,lc as Lt,m as D,ma as ze,mb as Ce,mc as va,n as ti,na as He,nb as W,nc as ya,o as At,oa as ri,ob as Te,p as Vs,pa as Ys,pb as K,q as A,qa as ue,qb as sa,r as ot,ra as Ft,rb as oe,s as Ae,sa as at,sb as me,t as Zi,ta as Ir,tb as F,u as ii,ua as P,ub as N,v as js,va as H,vb as ht,w as Bs,wa as Rr,wb as le,x as Us,xa as Zs,xb as We,y as Xe,ya as Ji,yb as ut,z as ce,za as Xs,zb as ie}from"./chunk-LKNVFVEK.js";var fi=class{},un=class{},gt=class i{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` -`).forEach(r=>{let t=r.indexOf(":");if(t>0){let n=r.slice(0,t),o=n.toLowerCase(),s=r.slice(t+1).trim();this.maybeSetNormalizedName(n,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,t)=>{this.setHeaderEntries(t,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,t])=>{this.setHeaderEntries(r,t)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof i?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new i;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof i?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let t=e.value;if(typeof t=="string"&&(t=[t]),t.length===0)return;this.maybeSetNormalizedName(e.name,r);let n=(e.op==="a"?this.headers.get(r):void 0)||[];n.push(...t),this.headers.set(r,n);break;case"d":let o=e.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let t=(Array.isArray(r)?r:[r]).map(o=>o.toString()),n=e.toLowerCase();this.headers.set(n,t),this.maybeSetNormalizedName(e,n)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var Vr=class{encodeKey(e){return ba(e)}encodeValue(e){return ba(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function Ed(i,e){let r=new Map;return i.length>0&&i.replace(/^\?/,"").split("&").forEach(n=>{let o=n.indexOf("="),[s,a]=o==-1?[e.decodeKey(n),""]:[e.decodeKey(n.slice(0,o)),e.decodeValue(n.slice(o+1))],c=r.get(s)||[];c.push(a),r.set(s,c)}),r}var Sd=/%(\d[a-f0-9])/gi,Id={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ba(i){return encodeURIComponent(i).replace(Sd,(e,r)=>Id[r]??e)}function hn(i){return`${i}`}var Je=class i{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Vr,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=Ed(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let t=e.fromObject[r],n=Array.isArray(t)?t.map(hn):[hn(t)];this.map.set(r,n)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(t=>{let n=e[t];Array.isArray(n)?n.forEach(o=>{r.push({param:t,value:o,op:"a"})}):r.push({param:t,value:n,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(t=>r+"="+this.encoder.encodeValue(t)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new i({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(hn(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let t=this.map.get(e.param)||[],n=t.indexOf(hn(e.value));n!==-1&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var jr=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function Rd(i){switch(i){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function xa(i){return typeof ArrayBuffer<"u"&&i instanceof ArrayBuffer}function wa(i){return typeof Blob<"u"&&i instanceof Blob}function Ca(i){return typeof FormData<"u"&&i instanceof FormData}function kd(i){return typeof URLSearchParams<"u"&&i instanceof URLSearchParams}var ui=class i{constructor(e,r,t,n){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(Rd(this.method)||n?(this.body=t!==void 0?t:null,o=n):o=t,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new gt,this.context??=new jr,!this.params)this.params=new Je,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),c=a===-1?"?":am.set(b,e.setHeaders[b]),l)),e.setParams&&(d=Object.keys(e.setParams).reduce((m,b)=>m.set(b,e.setParams[b]),d)),new i(r,t,s,{params:d,headers:l,context:u,reportProgress:c,responseType:n,withCredentials:a,transferCache:o})}},Vt=function(i){return i[i.Sent=0]="Sent",i[i.UploadProgress=1]="UploadProgress",i[i.ResponseHeader=2]="ResponseHeader",i[i.DownloadProgress=3]="DownloadProgress",i[i.Response=4]="Response",i[i.User=5]="User",i}(Vt||{}),mi=class{constructor(e,r=pn.Ok,t="OK"){this.headers=e.headers||new gt,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||t,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},Br=class i extends mi{constructor(e={}){super(e),this.type=Vt.ResponseHeader}clone(e={}){return new i({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},fn=class i extends mi{constructor(e={}){super(e),this.type=Vt.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new i({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},mn=class extends mi{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},pn=function(i){return i[i.Continue=100]="Continue",i[i.SwitchingProtocols=101]="SwitchingProtocols",i[i.Processing=102]="Processing",i[i.EarlyHints=103]="EarlyHints",i[i.Ok=200]="Ok",i[i.Created=201]="Created",i[i.Accepted=202]="Accepted",i[i.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",i[i.NoContent=204]="NoContent",i[i.ResetContent=205]="ResetContent",i[i.PartialContent=206]="PartialContent",i[i.MultiStatus=207]="MultiStatus",i[i.AlreadyReported=208]="AlreadyReported",i[i.ImUsed=226]="ImUsed",i[i.MultipleChoices=300]="MultipleChoices",i[i.MovedPermanently=301]="MovedPermanently",i[i.Found=302]="Found",i[i.SeeOther=303]="SeeOther",i[i.NotModified=304]="NotModified",i[i.UseProxy=305]="UseProxy",i[i.Unused=306]="Unused",i[i.TemporaryRedirect=307]="TemporaryRedirect",i[i.PermanentRedirect=308]="PermanentRedirect",i[i.BadRequest=400]="BadRequest",i[i.Unauthorized=401]="Unauthorized",i[i.PaymentRequired=402]="PaymentRequired",i[i.Forbidden=403]="Forbidden",i[i.NotFound=404]="NotFound",i[i.MethodNotAllowed=405]="MethodNotAllowed",i[i.NotAcceptable=406]="NotAcceptable",i[i.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",i[i.RequestTimeout=408]="RequestTimeout",i[i.Conflict=409]="Conflict",i[i.Gone=410]="Gone",i[i.LengthRequired=411]="LengthRequired",i[i.PreconditionFailed=412]="PreconditionFailed",i[i.PayloadTooLarge=413]="PayloadTooLarge",i[i.UriTooLong=414]="UriTooLong",i[i.UnsupportedMediaType=415]="UnsupportedMediaType",i[i.RangeNotSatisfiable=416]="RangeNotSatisfiable",i[i.ExpectationFailed=417]="ExpectationFailed",i[i.ImATeapot=418]="ImATeapot",i[i.MisdirectedRequest=421]="MisdirectedRequest",i[i.UnprocessableEntity=422]="UnprocessableEntity",i[i.Locked=423]="Locked",i[i.FailedDependency=424]="FailedDependency",i[i.TooEarly=425]="TooEarly",i[i.UpgradeRequired=426]="UpgradeRequired",i[i.PreconditionRequired=428]="PreconditionRequired",i[i.TooManyRequests=429]="TooManyRequests",i[i.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",i[i.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",i[i.InternalServerError=500]="InternalServerError",i[i.NotImplemented=501]="NotImplemented",i[i.BadGateway=502]="BadGateway",i[i.ServiceUnavailable=503]="ServiceUnavailable",i[i.GatewayTimeout=504]="GatewayTimeout",i[i.HttpVersionNotSupported=505]="HttpVersionNotSupported",i[i.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",i[i.InsufficientStorage=507]="InsufficientStorage",i[i.LoopDetected=508]="LoopDetected",i[i.NotExtended=510]="NotExtended",i[i.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",i}(pn||{});function Lr(i,e){return{body:e,headers:i.headers,context:i.context,observe:i.observe,params:i.params,reportProgress:i.reportProgress,responseType:i.responseType,withCredentials:i.withCredentials,transferCache:i.transferCache}}var Ur=(()=>{let e=class e{constructor(t){this.handler=t}request(t,n,o={}){let s;if(t instanceof ui)s=t;else{let l;o.headers instanceof gt?l=o.headers:l=new gt(o.headers);let d;o.params&&(o.params instanceof Je?d=o.params:d=new Je({fromObject:o.params})),s=new ui(t,n,o.body!==void 0?o.body:null,{headers:l,context:o.context,params:d,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=D(s).pipe(Be(l=>this.handler.handle(l)));if(t instanceof ui||o.observe==="events")return a;let c=a.pipe(ce(l=>l instanceof fn));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(A(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(A(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(A(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(A(l=>l.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(t,n={}){return this.request("DELETE",t,n)}get(t,n={}){return this.request("GET",t,n)}head(t,n={}){return this.request("HEAD",t,n)}jsonp(t,n){return this.request("JSONP",t,{params:new Je().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,n={}){return this.request("OPTIONS",t,n)}patch(t,n,o={}){return this.request("PATCH",t,Lr(o,n))}post(t,n,o={}){return this.request("POST",t,Lr(o,n))}put(t,n,o={}){return this.request("PUT",t,Lr(o,n))}};e.\u0275fac=function(n){return new(n||e)(f(fi))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})();function Ad(i,e){return e(i)}function Md(i,e,r){return(t,n)=>Ue(r,()=>e(t,o=>i(o,n)))}var Ia=new w(""),Td=new w(""),Od=new w("");var Da=(()=>{let e=class e extends fi{constructor(t,n){super(),this.backend=t,this.injector=n,this.chain=null,this.pendingTasks=_(tn);let o=_(Od,{optional:!0});this.backend=o??t}handle(t){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(Ia),...this.injector.get(Td,[])]));this.chain=o.reduceRight((s,a)=>Md(s,a,this.injector),Ad)}let n=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(Tt(()=>this.pendingTasks.remove(n)))}};e.\u0275fac=function(n){return new(n||e)(f(un),f(Ot))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})();var Fd=/^\)\]\}',?\n/;function Nd(i){return"responseURL"in i&&i.responseURL?i.responseURL:/^X-Request-URL:/m.test(i.getAllResponseHeaders())?i.getResponseHeader("X-Request-URL"):null}var Ea=(()=>{let e=class e{constructor(t){this.xhrFactory=t}handle(t){if(t.method==="JSONP")throw new Y(-2800,!1);let n=this.xhrFactory;return(n.\u0275loadImpl?_e(n.\u0275loadImpl()):D(null)).pipe(be(()=>new je(s=>{let a=n.build();if(a.open(t.method,t.urlWithParams),t.withCredentials&&(a.withCredentials=!0),t.headers.forEach((S,I)=>a.setRequestHeader(S,I.join(","))),t.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){let S=t.detectContentTypeHeader();S!==null&&a.setRequestHeader("Content-Type",S)}if(t.responseType){let S=t.responseType.toLowerCase();a.responseType=S!=="json"?S:"text"}let c=t.serializeBody(),l=null,d=()=>{if(l!==null)return l;let S=a.statusText||"OK",I=new gt(a.getAllResponseHeaders()),xe=Nd(a)||t.url;return l=new Br({headers:I,status:a.status,statusText:S,url:xe}),l},u=()=>{let{headers:S,status:I,statusText:xe,url:Ps}=d(),De=null;I!==pn.NoContent&&(De=typeof a.response>"u"?a.responseText:a.response),I===0&&(I=De?pn.Ok:0);let vr=I>=200&&I<300;if(t.responseType==="json"&&typeof De=="string"){let bd=De;De=De.replace(Fd,"");try{De=De!==""?JSON.parse(De):null}catch(xd){De=bd,vr&&(vr=!1,De={error:xd,text:De})}}vr?(s.next(new fn({body:De,headers:S,status:I,statusText:xe,url:Ps||void 0})),s.complete()):s.error(new mn({error:De,headers:S,status:I,statusText:xe,url:Ps||void 0}))},m=S=>{let{url:I}=d(),xe=new mn({error:S,status:a.status||0,statusText:a.statusText||"Unknown Error",url:I||void 0});s.error(xe)},b=!1,B=S=>{b||(s.next(d()),b=!0);let I={type:Vt.DownloadProgress,loaded:S.loaded};S.lengthComputable&&(I.total=S.total),t.responseType==="text"&&a.responseText&&(I.partialText=a.responseText),s.next(I)},V=S=>{let I={type:Vt.UploadProgress,loaded:S.loaded};S.lengthComputable&&(I.total=S.total),s.next(I)};return a.addEventListener("load",u),a.addEventListener("error",m),a.addEventListener("timeout",m),a.addEventListener("abort",m),t.reportProgress&&(a.addEventListener("progress",B),c!==null&&a.upload&&a.upload.addEventListener("progress",V)),a.send(c),s.next({type:Vt.Sent}),()=>{a.removeEventListener("error",m),a.removeEventListener("abort",m),a.removeEventListener("load",u),a.removeEventListener("timeout",m),t.reportProgress&&(a.removeEventListener("progress",B),c!==null&&a.upload&&a.upload.removeEventListener("progress",V)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(n){return new(n||e)(f(cn))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})(),Ra=new w(""),Pd="XSRF-TOKEN",Ld=new w("",{providedIn:"root",factory:()=>Pd}),Vd="X-XSRF-TOKEN",jd=new w("",{providedIn:"root",factory:()=>Vd}),gn=class{},Bd=(()=>{let e=class e{constructor(t,n,o){this.doc=t,this.platform=n,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=an(t,this.cookieName),this.lastCookieString=t),this.lastToken}};e.\u0275fac=function(n){return new(n||e)(f(L),f($e),f(Ld))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})();function Ud(i,e){let r=i.url.toLowerCase();if(!_(Ra)||i.method==="GET"||i.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(i);let t=_(gn).getToken(),n=_(jd);return t!=null&&!i.headers.has(n)&&(i=i.clone({headers:i.headers.set(n,t)})),e(i)}function ka(...i){let e=[Ur,Ea,Da,{provide:fi,useExisting:Da},{provide:un,useExisting:Ea},{provide:Ia,useValue:Ud,multi:!0},{provide:Ra,useValue:!0},{provide:gn,useClass:Bd}];for(let r of i)e.push(...r.\u0275providers);return st(e)}var $r=class extends ha{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Wr=class i extends $r{static makeCurrent(){da(new i)}onAndCancel(e,r,t){return e.addEventListener(r,t),()=>{e.removeEventListener(r,t)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=$d();return r==null?null:Wd(r)}resetBaseElement(){pi=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return an(document.cookie,e)}},pi=null;function $d(){return pi=pi||document.querySelector("base"),pi?pi.getAttribute("href"):null}function Wd(i){return new URL(i,document.baseURI).pathname}var Gd=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})(),Gr=new w(""),Ta=(()=>{let e=class e{constructor(t,n){this._zone=n,this._eventNameToPlugin=new Map,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,n,o){return this._findPluginFor(n).addEventListener(t,n,o)}getZone(){return this._zone}_findPluginFor(t){let n=this._eventNameToPlugin.get(t);if(n)return n;if(n=this._plugins.find(s=>s.supports(t)),!n)throw new Y(5101,!1);return this._eventNameToPlugin.set(t,n),n}};e.\u0275fac=function(n){return new(n||e)(f(Gr),f(R))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})(),_n=class{constructor(e){this._doc=e}},zr="ng-app-id",Oa=(()=>{let e=class e{constructor(t,n,o,s={}){this.doc=t,this.appId=n,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Pr(s),this.resetHostNodes()}addStyles(t){for(let n of t)this.changeUsageCount(n,1)===1&&this.onStyleAdded(n)}removeStyles(t){for(let n of t)this.changeUsageCount(n,-1)<=0&&this.onStyleRemoved(n)}ngOnDestroy(){let t=this.styleNodesInDOM;t&&(t.forEach(n=>n.remove()),t.clear());for(let n of this.getAllStyles())this.onStyleRemoved(n);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(let n of this.getAllStyles())this.addStyleToHost(t,n)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(let n of this.hostNodes)this.addStyleToHost(n,t)}onStyleRemoved(t){let n=this.styleRef;n.get(t)?.elements?.forEach(o=>o.remove()),n.delete(t)}collectServerRenderedStyles(){let t=this.doc.head?.querySelectorAll(`style[${zr}="${this.appId}"]`);if(t?.length){let n=new Map;return t.forEach(o=>{o.textContent!=null&&n.set(o.textContent,o)}),n}return null}changeUsageCount(t,n){let o=this.styleRef;if(o.has(t)){let s=o.get(t);return s.usage+=n,s.usage}return o.set(t,{usage:n,elements:[]}),n}getStyleElement(t,n){let o=this.styleNodesInDOM,s=o?.get(n);if(s?.parentNode===t)return o.delete(n),s.removeAttribute(zr),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=n,this.platformIsServer&&a.setAttribute(zr,this.appId),t.appendChild(a),a}}addStyleToHost(t,n){let o=this.getStyleElement(t,n),s=this.styleRef,a=s.get(n)?.elements;a?a.push(o):s.set(n,{elements:[o],usage:1})}resetHostNodes(){let t=this.hostNodes;t.clear(),t.add(this.doc.head)}};e.\u0275fac=function(n){return new(n||e)(f(L),f(Ji),f(oi,8),f($e))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})(),Hr={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/MathML/"},Zr=/%COMP%/g,Fa="%COMP%",qd=`_nghost-${Fa}`,Yd=`_ngcontent-${Fa}`,Zd=!0,Xd=new w("",{providedIn:"root",factory:()=>Zd});function Kd(i){return Yd.replace(Zr,i)}function Qd(i){return qd.replace(Zr,i)}function Na(i,e){return e.map(r=>r.replace(Zr,i))}var vn=(()=>{let e=class e{constructor(t,n,o,s,a,c,l,d=null){this.eventManager=t,this.sharedStylesHost=n,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=l,this.nonce=d,this.rendererByCompId=new Map,this.platformIsServer=Pr(c),this.defaultRenderer=new gi(t,a,l,this.platformIsServer)}createRenderer(t,n){if(!t||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===ni.ShadowDom&&(n=ee(g({},n),{encapsulation:ni.Emulated}));let o=this.getOrCreateRenderer(t,n);return o instanceof yn?o.applyToHost(t):o instanceof _i&&o.applyStyles(),o}getOrCreateRenderer(t,n){let o=this.rendererByCompId,s=o.get(n.id);if(!s){let a=this.doc,c=this.ngZone,l=this.eventManager,d=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,m=this.platformIsServer;switch(n.encapsulation){case ni.Emulated:s=new yn(l,d,n,this.appId,u,a,c,m);break;case ni.ShadowDom:return new qr(l,d,t,n,a,c,this.nonce,m);default:s=new _i(l,d,n,u,a,c,m);break}o.set(n.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(n){return new(n||e)(f(Ta),f(Oa),f(Ji),f(Xd),f(L),f($e),f(R),f(oi))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})(),gi=class{constructor(e,r,t,n){this.eventManager=e,this.doc=r,this.ngZone=t,this.platformIsServer=n,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(Hr[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(Aa(e)?e.content:e).appendChild(r)}insertBefore(e,r,t){e&&(Aa(e)?e.content:e).insertBefore(r,t)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let t=typeof e=="string"?this.doc.querySelector(e):e;if(!t)throw new Y(-5104,!1);return r||(t.textContent=""),t}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,t,n){if(n){r=n+":"+r;let o=Hr[n];o?e.setAttributeNS(o,r,t):e.setAttribute(r,t)}else e.setAttribute(r,t)}removeAttribute(e,r,t){if(t){let n=Hr[t];n?e.removeAttributeNS(n,r):e.removeAttribute(`${t}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,t,n){n&(si.DashCase|si.Important)?e.style.setProperty(r,t,n&si.Important?"important":""):e.style[r]=t}removeStyle(e,r,t){t&si.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,t){e!=null&&(e[r]=t)}setValue(e,r){e.nodeValue=r}listen(e,r,t){if(typeof e=="string"&&(e=Nr().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(t))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function Aa(i){return i.tagName==="TEMPLATE"&&i.content!==void 0}var qr=class extends gi{constructor(e,r,t,n,o,s,a,c){super(e,o,s,c),this.sharedStylesHost=r,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=Na(n.id,n.styles);for(let d of l){let u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,t){return super.insertBefore(this.nodeOrShadowRoot(e),r,t)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},_i=class extends gi{constructor(e,r,t,n,o,s,a,c){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=n,this.styles=c?Na(c,t.styles):t.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},yn=class extends _i{constructor(e,r,t,n,o,s,a,c){let l=n+"-"+t.id;super(e,r,t,o,s,a,c,l),this.contentAttr=Kd(l),this.hostAttr=Qd(l)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let t=super.createElement(e,r);return super.setAttribute(t,this.contentAttr,""),t}},Jd=(()=>{let e=class e extends _n{constructor(t){super(t)}supports(t){return!0}addEventListener(t,n,o){return t.addEventListener(n,o,!1),()=>this.removeEventListener(t,n,o)}removeEventListener(t,n,o){return t.removeEventListener(n,o)}};e.\u0275fac=function(n){return new(n||e)(f(L))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})(),Ma=["alt","control","meta","shift"],eh={"\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"},th={alt:i=>i.altKey,control:i=>i.ctrlKey,meta:i=>i.metaKey,shift:i=>i.shiftKey},ih=(()=>{let e=class e extends _n{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,n,o){let s=e.parseEventName(n),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Nr().onAndCancel(t,s.domEventName,a))}static parseEventName(t){let n=t.toLowerCase().split("."),o=n.shift();if(n.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(n.pop()),a="",c=n.indexOf("code");if(c>-1&&(n.splice(c,1),a="code."),Ma.forEach(d=>{let u=n.indexOf(d);u>-1&&(n.splice(u,1),a+=d+".")}),a+=s,n.length!=0||s.length===0)return null;let l={};return l.domEventName=o,l.fullKey=a,l}static matchEventFullKeyCode(t,n){let o=eh[t.key]||t.key,s="";return n.indexOf("code.")>-1&&(o=t.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Ma.forEach(a=>{if(a!==o){let c=th[a];c(t)&&(s+=a+".")}}),s+=o,s===n)}static eventCallback(t,n,o){return s=>{e.matchEventFullKeyCode(s,t)&&o.runGuarded(()=>n(s))}}static _normalizeKey(t){return t==="esc"?"escape":t}};e.\u0275fac=function(n){return new(n||e)(f(L))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})();function Pa(i,e){return la(g({rootComponent:i},nh(e)))}function nh(i){return{appProviders:[...lh,...i?.providers??[]],platformProviders:ah}}function rh(){Wr.makeCurrent()}function oh(){return new Ir}function sh(){return Zs(document),document}var ah=[{provide:$e,useValue:ga},{provide:Xs,useValue:rh,multi:!0},{provide:L,useFactory:sh,deps:[]}];var lh=[{provide:qs,useValue:"root"},{provide:Ir,useFactory:oh,deps:[]},{provide:Gr,useClass:Jd,multi:!0,deps:[L,R,$e]},{provide:Gr,useClass:ih,multi:!0,deps:[L]},vn,Oa,Ta,{provide:en,useExisting:vn},{provide:cn,useClass:Gd,deps:[]},[]];var La=(()=>{let e=class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}};e.\u0275fac=function(n){return new(n||e)(f(L))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var M="primary",Ti=Symbol("RouteTitle"),eo=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function Ht(i){return new eo(i)}function hh(i,e,r){let t=r.path.split("/");if(t.length>i.length||r.pathMatch==="full"&&(e.hasChildren()||t.lengtht[o]===n)}else return i===e}function $a(i){return i.length>0?i[i.length-1]:null}function it(i){return At(i)?i:sn(i)?_e(Promise.resolve(i)):D(i)}var fh={exact:Ga,subset:qa},Wa={exact:mh,subset:ph,ignored:()=>!0};function Va(i,e,r){return fh[r.paths](i.root,e.root,r.matrixParams)&&Wa[r.queryParams](i.queryParams,e.queryParams)&&!(r.fragment==="exact"&&i.fragment!==e.fragment)}function mh(i,e){return Le(i,e)}function Ga(i,e,r){if(!vt(i.segments,e.segments)||!wn(i.segments,e.segments,r)||i.numberOfChildren!==e.numberOfChildren)return!1;for(let t in e.children)if(!i.children[t]||!Ga(i.children[t],e.children[t],r))return!1;return!0}function ph(i,e){return Object.keys(e).length<=Object.keys(i).length&&Object.keys(e).every(r=>Ha(i[r],e[r]))}function qa(i,e,r){return Ya(i,e,e.segments,r)}function Ya(i,e,r,t){if(i.segments.length>r.length){let n=i.segments.slice(0,r.length);return!(!vt(n,r)||e.hasChildren()||!wn(n,r,t))}else if(i.segments.length===r.length){if(!vt(i.segments,r)||!wn(i.segments,r,t))return!1;for(let n in e.children)if(!i.children[n]||!qa(i.children[n],e.children[n],t))return!1;return!0}else{let n=r.slice(0,i.segments.length),o=r.slice(i.segments.length);return!vt(i.segments,n)||!wn(i.segments,n,t)||!i.children[M]?!1:Ya(i.children[M],e,o,t)}}function wn(i,e,r){return e.every((t,n)=>Wa[r](i[n].parameters,t.parameters))}var et=class{constructor(e=new z([],{}),r={},t=null){this.root=e,this.queryParams=r,this.fragment=t}get queryParamMap(){return this._queryParamMap??=Ht(this.queryParams),this._queryParamMap}toString(){return vh.serialize(this)}},z=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Cn(this)}},_t=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=Ht(this.parameters),this._parameterMap}toString(){return Xa(this)}};function gh(i,e){return vt(i,e)&&i.every((r,t)=>Le(r.parameters,e[t].parameters))}function vt(i,e){return i.length!==e.length?!1:i.every((r,t)=>r.path===e[t].path)}function _h(i,e){let r=[];return Object.entries(i.children).forEach(([t,n])=>{t===M&&(r=r.concat(e(n,t)))}),Object.entries(i.children).forEach(([t,n])=>{t!==M&&(r=r.concat(e(n,t)))}),r}var Ro=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:()=>new En,providedIn:"root"});let i=e;return i})(),En=class{parse(e){let r=new no(e);return new et(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${vi(e.root,!0)}`,t=xh(e.queryParams),n=typeof e.fragment=="string"?`#${yh(e.fragment)}`:"";return`${r}${t}${n}`}},vh=new En;function Cn(i){return i.segments.map(e=>Xa(e)).join("/")}function vi(i,e){if(!i.hasChildren())return Cn(i);if(e){let r=i.children[M]?vi(i.children[M],!1):"",t=[];return Object.entries(i.children).forEach(([n,o])=>{n!==M&&t.push(`${n}:${vi(o,!1)}`)}),t.length>0?`${r}(${t.join("//")})`:r}else{let r=_h(i,(t,n)=>n===M?[vi(i.children[M],!1)]:[`${n}:${vi(t,!1)}`]);return Object.keys(i.children).length===1&&i.children[M]!=null?`${Cn(i)}/${r[0]}`:`${Cn(i)}/(${r.join("//")})`}}function Za(i){return encodeURIComponent(i).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function bn(i){return Za(i).replace(/%3B/gi,";")}function yh(i){return encodeURI(i)}function io(i){return Za(i).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Dn(i){return decodeURIComponent(i)}function ja(i){return Dn(i.replace(/\+/g,"%20"))}function Xa(i){return`${io(i.path)}${bh(i.parameters)}`}function bh(i){return Object.entries(i).map(([e,r])=>`;${io(e)}=${io(r)}`).join("")}function xh(i){let e=Object.entries(i).map(([r,t])=>Array.isArray(t)?t.map(n=>`${bn(r)}=${bn(n)}`).join("&"):`${bn(r)}=${bn(t)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var wh=/^[^\/()?;#]+/;function Xr(i){let e=i.match(wh);return e?e[0]:""}var Ch=/^[^\/()?;=#]+/;function Dh(i){let e=i.match(Ch);return e?e[0]:""}var Eh=/^[^=?&#]+/;function Sh(i){let e=i.match(Eh);return e?e[0]:""}var Ih=/^[^&#]+/;function Rh(i){let e=i.match(Ih);return e?e[0]:""}var no=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new z([],{}):new z([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(t[M]=new z(e,r)),t}parseSegment(){let e=Xr(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new Y(4009,!1);return this.capture(e),new _t(Dn(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=Dh(this.remaining);if(!r)return;this.capture(r);let t="";if(this.consumeOptional("=")){let n=Xr(this.remaining);n&&(t=n,this.capture(t))}e[Dn(r)]=Dn(t)}parseQueryParam(e){let r=Sh(this.remaining);if(!r)return;this.capture(r);let t="";if(this.consumeOptional("=")){let s=Rh(this.remaining);s&&(t=s,this.capture(t))}let n=ja(r),o=ja(t);if(e.hasOwnProperty(n)){let s=e[n];Array.isArray(s)||(s=[s],e[n]=s),s.push(o)}else e[n]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=Xr(this.remaining),n=this.remaining[t.length];if(n!=="/"&&n!==")"&&n!==";")throw new Y(4010,!1);let o;t.indexOf(":")>-1?(o=t.slice(0,t.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=M);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[M]:new z([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new Y(4011,!1)}};function Ka(i){return i.segments.length>0?new z([],{[M]:i}):i}function Qa(i){let e={};for(let[t,n]of Object.entries(i.children)){let o=Qa(n);if(t===M&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[t]=o)}let r=new z(i.segments,e);return kh(r)}function kh(i){if(i.numberOfChildren===1&&i.children[M]){let e=i.children[M];return new z(i.segments.concat(e.segments),e.children)}return i}function $t(i){return i instanceof et}function Ah(i,e,r=null,t=null){let n=Ja(i);return el(n,e,r,t)}function Ja(i){let e;function r(o){let s={};for(let c of o.children){let l=r(c);s[c.outlet]=l}let a=new z(o.url,s);return o===i&&(e=a),a}let t=r(i.root),n=Ka(t);return e??n}function el(i,e,r,t){let n=i;for(;n.parent;)n=n.parent;if(e.length===0)return Kr(n,n,n,r,t);let o=Mh(e);if(o.toRoot())return Kr(n,n,new z([],{}),r,t);let s=Th(o,n,i),a=s.processChildren?xi(s.segmentGroup,s.index,o.commands):il(s.segmentGroup,s.index,o.commands);return Kr(n,s.segmentGroup,a,r,t)}function Sn(i){return typeof i=="object"&&i!=null&&!i.outlets&&!i.segmentPath}function Di(i){return typeof i=="object"&&i!=null&&i.outlets}function Kr(i,e,r,t,n){let o={};t&&Object.entries(t).forEach(([c,l])=>{o[c]=Array.isArray(l)?l.map(d=>`${d}`):`${l}`});let s;i===e?s=r:s=tl(i,e,r);let a=Ka(Qa(s));return new et(a,o,n)}function tl(i,e,r){let t={};return Object.entries(i.children).forEach(([n,o])=>{o===e?t[n]=r:t[n]=tl(o,e,r)}),new z(i.segments,t)}var In=class{constructor(e,r,t){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=t,e&&t.length>0&&Sn(t[0]))throw new Y(4003,!1);let n=t.find(Di);if(n&&n!==$a(t))throw new Y(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Mh(i){if(typeof i[0]=="string"&&i.length===1&&i[0]==="/")return new In(!0,0,i);let e=0,r=!1,t=i.reduce((n,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...n,{outlets:a}]}if(o.segmentPath)return[...n,o.segmentPath]}return typeof o!="string"?[...n,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?r=!0:a===".."?e++:a!=""&&n.push(a))}),n):[...n,o]},[]);return new In(r,e,t)}var Ut=class{constructor(e,r,t){this.segmentGroup=e,this.processChildren=r,this.index=t}};function Th(i,e,r){if(i.isAbsolute)return new Ut(e,!0,0);if(!r)return new Ut(e,!1,NaN);if(r.parent===null)return new Ut(r,!0,0);let t=Sn(i.commands[0])?0:1,n=r.segments.length-1+t;return Oh(r,n,i.numberOfDoubleDots)}function Oh(i,e,r){let t=i,n=e,o=r;for(;o>n;){if(o-=n,t=t.parent,!t)throw new Y(4005,!1);n=t.segments.length}return new Ut(t,!1,n-o)}function Fh(i){return Di(i[0])?i[0].outlets:{[M]:i}}function il(i,e,r){if(i??=new z([],{}),i.segments.length===0&&i.hasChildren())return xi(i,e,r);let t=Nh(i,e,r),n=r.slice(t.commandIndex);if(t.match&&t.pathIndexo!==M)&&i.children[M]&&i.numberOfChildren===1&&i.children[M].segments.length===0){let o=xi(i.children[M],e,r);return new z(i.segments,o.children)}return Object.entries(t).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(n[o]=il(i.children[o],e,s))}),Object.entries(i.children).forEach(([o,s])=>{t[o]===void 0&&(n[o]=s)}),new z(i.segments,n)}}function Nh(i,e,r){let t=0,n=e,o={match:!1,pathIndex:0,commandIndex:0};for(;n=r.length)return o;let s=i.segments[n],a=r[t];if(Di(a))break;let c=`${a}`,l=t0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!Ua(c,l,s))return o;t+=2}else{if(!Ua(c,{},s))return o;t++}n++}return{match:!0,pathIndex:n,commandIndex:t}}function ro(i,e,r){let t=i.segments.slice(0,e),n=0;for(;n{typeof t=="string"&&(t=[t]),t!==null&&(e[r]=ro(new z([],{}),0,t))}),e}function Ba(i){let e={};return Object.entries(i).forEach(([r,t])=>e[r]=`${t}`),e}function Ua(i,e,r){return i==r.path&&Le(e,r.parameters)}var wi="imperative",ve=function(i){return i[i.NavigationStart=0]="NavigationStart",i[i.NavigationEnd=1]="NavigationEnd",i[i.NavigationCancel=2]="NavigationCancel",i[i.NavigationError=3]="NavigationError",i[i.RoutesRecognized=4]="RoutesRecognized",i[i.ResolveStart=5]="ResolveStart",i[i.ResolveEnd=6]="ResolveEnd",i[i.GuardsCheckStart=7]="GuardsCheckStart",i[i.GuardsCheckEnd=8]="GuardsCheckEnd",i[i.RouteConfigLoadStart=9]="RouteConfigLoadStart",i[i.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",i[i.ChildActivationStart=11]="ChildActivationStart",i[i.ChildActivationEnd=12]="ChildActivationEnd",i[i.ActivationStart=13]="ActivationStart",i[i.ActivationEnd=14]="ActivationEnd",i[i.Scroll=15]="Scroll",i[i.NavigationSkipped=16]="NavigationSkipped",i}(ve||{}),Oe=class{constructor(e,r){this.id=e,this.url=r}},Ei=class extends Oe{constructor(e,r,t="imperative",n=null){super(e,r),this.type=ve.NavigationStart,this.navigationTrigger=t,this.restoredState=n}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},yt=class extends Oe{constructor(e,r,t){super(e,r),this.urlAfterRedirects=t,this.type=ve.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},ke=function(i){return i[i.Redirect=0]="Redirect",i[i.SupersededByNewNavigation=1]="SupersededByNewNavigation",i[i.NoDataFromResolver=2]="NoDataFromResolver",i[i.GuardRejected=3]="GuardRejected",i}(ke||{}),oo=function(i){return i[i.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",i[i.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",i}(oo||{}),tt=class extends Oe{constructor(e,r,t,n){super(e,r),this.reason=t,this.code=n,this.type=ve.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},bt=class extends Oe{constructor(e,r,t,n){super(e,r),this.reason=t,this.code=n,this.type=ve.NavigationSkipped}},Si=class extends Oe{constructor(e,r,t,n){super(e,r),this.error=t,this.target=n,this.type=ve.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Rn=class extends Oe{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=ve.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},so=class extends Oe{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=ve.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ao=class extends Oe{constructor(e,r,t,n,o){super(e,r),this.urlAfterRedirects=t,this.state=n,this.shouldActivate=o,this.type=ve.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},lo=class extends Oe{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=ve.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},co=class extends Oe{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=ve.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ho=class{constructor(e){this.route=e,this.type=ve.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},uo=class{constructor(e){this.route=e,this.type=ve.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},fo=class{constructor(e){this.snapshot=e,this.type=ve.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},mo=class{constructor(e){this.snapshot=e,this.type=ve.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},po=class{constructor(e){this.snapshot=e,this.type=ve.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},go=class{constructor(e){this.snapshot=e,this.type=ve.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Ii=class{},Ri=class{constructor(e){this.url=e}};var _o=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Fn,this.attachRef=null}},Fn=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,n){let o=this.getOrCreateContext(t);o.outlet=n,this.contexts.set(t,o)}onChildOutletDestroyed(t){let n=this.getContext(t);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let n=this.getContext(t);return n||(n=new _o,this.contexts.set(t,n)),n}getContext(t){return this.contexts.get(t)||null}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),kn=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=vo(e,this._root);return r?r.children.map(t=>t.value):[]}firstChild(e){let r=vo(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=yo(e,this._root);return r.length<2?[]:r[r.length-2].children.map(n=>n.value).filter(n=>n!==e)}pathFromRoot(e){return yo(e,this._root).map(r=>r.value)}};function vo(i,e){if(i===e.value)return e;for(let r of e.children){let t=vo(i,r);if(t)return t}return null}function yo(i,e){if(i===e.value)return[e];for(let r of e.children){let t=yo(i,r);if(t.length)return t.unshift(e),t}return[]}var Re=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function Bt(i){let e={};return i&&i.children.forEach(r=>e[r.value.outlet]=r),e}var An=class extends kn{constructor(e,r){super(e),this.snapshot=r,Ao(this,e)}toString(){return this.snapshot.toString()}};function nl(i){let e=Lh(i),r=new he([new _t("",{})]),t=new he({}),n=new he({}),o=new he({}),s=new he(""),a=new Wt(r,t,o,s,n,M,i,e.root);return a.snapshot=e.root,new An(new Re(a,[]),e)}function Lh(i){let e={},r={},t={},n="",o=new ki([],e,t,n,r,M,i,null,{});return new Mn("",new Re(o,[]))}var Wt=class{constructor(e,r,t,n,o,s,a,c){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=t,this.fragmentSubject=n,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(A(l=>l[Ti]))??D(void 0),this.url=e,this.params=r,this.queryParams=t,this.fragment=n,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(A(e=>Ht(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(A(e=>Ht(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function ko(i,e,r="emptyOnly"){let t,{routeConfig:n}=i;return e!==null&&(r==="always"||n?.path===""||!e.component&&!e.routeConfig?.loadComponent)?t={params:g(g({},e.params),i.params),data:g(g({},e.data),i.data),resolve:g(g(g(g({},i.data),e.data),n?.data),i._resolvedData)}:t={params:g({},i.params),data:g({},i.data),resolve:g(g({},i.data),i._resolvedData??{})},n&&ol(n)&&(t.resolve[Ti]=n.title),t}var ki=class{get title(){return this.data?.[Ti]}constructor(e,r,t,n,o,s,a,c,l){this.url=e,this.params=r,this.queryParams=t,this.fragment=n,this.data=o,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??=Ht(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ht(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(t=>t.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},Mn=class extends kn{constructor(e,r){super(r),this.url=e,Ao(this,r)}toString(){return rl(this._root)}};function Ao(i,e){e.value._routerState=i,e.children.forEach(r=>Ao(i,r))}function rl(i){let e=i.children.length>0?` { ${i.children.map(rl).join(", ")} } `:"";return`${i.value}${e}`}function Qr(i){if(i.snapshot){let e=i.snapshot,r=i._futureSnapshot;i.snapshot=r,Le(e.queryParams,r.queryParams)||i.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&i.fragmentSubject.next(r.fragment),Le(e.params,r.params)||i.paramsSubject.next(r.params),uh(e.url,r.url)||i.urlSubject.next(r.url),Le(e.data,r.data)||i.dataSubject.next(r.data)}else i.snapshot=i._futureSnapshot,i.dataSubject.next(i._futureSnapshot.data)}function bo(i,e){let r=Le(i.params,e.params)&&gh(i.url,e.url),t=!i.parent!=!e.parent;return r&&!t&&(!i.parent||bo(i.parent,e.parent))}function ol(i){return typeof i.title=="string"||i.title===null}var Mo=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=M,this.activateEvents=new H,this.deactivateEvents=new H,this.attachEvents=new H,this.detachEvents=new H,this.parentContexts=_(Fn),this.location=_(Me),this.changeDetector=_(Ie),this.environmentInjector=_(Ot),this.inputBinder=_(To,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){let{firstChange:n,previousValue:o}=t.name;if(n)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Y(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Y(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Y(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,n){this.activated=t,this._activatedRoute=n,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,n){if(this.isActivated)throw new Y(4013,!1);this._activatedRoute=t;let o=this.location,a=t.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,l=new xo(t,c,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:l,environmentInjector:n??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=E({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[we]});let i=e;return i})(),xo=class{constructor(e,r,t){this.route=e,this.childContexts=r,this.parent=t,this.__ngOutletInjector=!0}get(e,r){return e===Wt?this.route:e===Fn?this.childContexts:this.parent.get(e,r)}},To=new w("");function Vh(i,e,r){let t=Ai(i,e._root,r?r._root:void 0);return new An(t,e)}function Ai(i,e,r){if(r&&i.shouldReuseRoute(e.value,r.value.snapshot)){let t=r.value;t._futureSnapshot=e.value;let n=jh(i,e,r);return new Re(t,n)}else{if(i.shouldAttach(e.value)){let o=i.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Ai(i,a)),s}}let t=Bh(e.value),n=e.children.map(o=>Ai(i,o));return new Re(t,n)}}function jh(i,e,r){return e.children.map(t=>{for(let n of r.children)if(i.shouldReuseRoute(t.value,n.value.snapshot))return Ai(i,t,n);return Ai(i,t)})}function Bh(i){return new Wt(new he(i.url),new he(i.params),new he(i.queryParams),new he(i.fragment),new he(i.data),i.outlet,i.component,i)}var sl="ngNavigationCancelingError";function al(i,e){let{redirectTo:r,navigationBehaviorOptions:t}=$t(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,n=ll(!1,ke.Redirect);return n.url=r,n.navigationBehaviorOptions=t,n}function ll(i,e){let r=new Error(`NavigationCancelingError: ${i||""}`);return r[sl]=!0,r.cancellationCode=e,r}function Uh(i){return cl(i)&&$t(i.url)}function cl(i){return!!i&&i[sl]}var zh=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Q({type:e,selectors:[["ng-component"]],standalone:!0,features:[J],decls:1,vars:0,template:function(n,o){n&1&&X(0,"router-outlet")},dependencies:[Mo],encapsulation:2});let i=e;return i})();function Hh(i,e){return i.providers&&!i._injector&&(i._injector=ea(i.providers,e,`Route: ${i.path}`)),i._injector??e}function Oo(i){let e=i.children&&i.children.map(Oo),r=e?ee(g({},i),{children:e}):g({},i);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==M&&(r.component=zh),r}function Ve(i){return i.outlet||M}function $h(i,e){let r=i.filter(t=>Ve(t)===e);return r.push(...i.filter(t=>Ve(t)!==e)),r}function Oi(i){if(!i)return null;if(i.routeConfig?._injector)return i.routeConfig._injector;for(let e=i.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var Wh=(i,e,r,t)=>A(n=>(new wo(e,n.targetRouterState,n.currentRouterState,r,t).activate(i),n)),wo=class{constructor(e,r,t,n,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=t,this.forwardEvent=n,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,t,e),Qr(this.futureState.root),this.activateChildRoutes(r,t,e)}deactivateChildRoutes(e,r,t){let n=Bt(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,n[s],t),delete n[s]}),Object.values(n).forEach(o=>{this.deactivateRouteAndItsChildren(o,t)})}deactivateRoutes(e,r,t){let n=e.value,o=r?r.value:null;if(n===o)if(n.component){let s=t.getContext(n.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,t);else o&&this.deactivateRouteAndItsChildren(r,t)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let t=r.getContext(e.value.outlet),n=t&&e.value.component?t.children:r,o=Bt(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,n);if(t&&t.outlet){let s=t.outlet.detach(),a=t.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let t=r.getContext(e.value.outlet),n=t&&e.value.component?t.children:r,o=Bt(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,n);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(e,r,t){let n=Bt(r);e.children.forEach(o=>{this.activateRoutes(o,n[o.value.outlet],t),this.forwardEvent(new go(o.value.snapshot))}),e.children.length&&this.forwardEvent(new mo(e.value.snapshot))}activateRoutes(e,r,t){let n=e.value,o=r?r.value:null;if(Qr(n),n===o)if(n.component){let s=t.getOrCreateContext(n.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,t);else if(n.component){let s=t.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){let a=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.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),Qr(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Oi(n.snapshot);s.attachRef=null,s.route=n,s.injector=a,s.outlet&&s.outlet.activateWith(n,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,t)}},Tn=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},zt=class{constructor(e,r){this.component=e,this.route=r}};function Gh(i,e,r){let t=i._root,n=e?e._root:null;return yi(t,n,r,[t.value])}function qh(i){let e=i.routeConfig?i.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:i,guards:e}}function qt(i,e){let r=Symbol(),t=e.get(i,r);return t===r?typeof i=="function"&&!Gs(i)?i:e.get(i):t}function yi(i,e,r,t,n={canDeactivateChecks:[],canActivateChecks:[]}){let o=Bt(e);return i.children.forEach(s=>{Yh(s,o[s.value.outlet],r,t.concat([s.value]),n),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Ci(a,r.getContext(s),n)),n}function Yh(i,e,r,t,n={canDeactivateChecks:[],canActivateChecks:[]}){let o=i.value,s=e?e.value:null,a=r?r.getContext(i.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=Zh(s,o,o.routeConfig.runGuardsAndResolvers);c?n.canActivateChecks.push(new Tn(t)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?yi(i,e,a?a.children:null,t,n):yi(i,e,r,t,n),c&&a&&a.outlet&&a.outlet.isActivated&&n.canDeactivateChecks.push(new zt(a.outlet.component,s))}else s&&Ci(e,a,n),n.canActivateChecks.push(new Tn(t)),o.component?yi(i,null,a?a.children:null,t,n):yi(i,null,r,t,n);return n}function Zh(i,e,r){if(typeof r=="function")return r(i,e);switch(r){case"pathParamsChange":return!vt(i.url,e.url);case"pathParamsOrQueryParamsChange":return!vt(i.url,e.url)||!Le(i.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!bo(i,e)||!Le(i.queryParams,e.queryParams);case"paramsChange":default:return!bo(i,e)}}function Ci(i,e,r){let t=Bt(i),n=i.value;Object.entries(t).forEach(([o,s])=>{n.component?e?Ci(s,e.children.getContext(o),r):Ci(s,null,r):Ci(s,e,r)}),n.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new zt(e.outlet.component,n)):r.canDeactivateChecks.push(new zt(null,n)):r.canDeactivateChecks.push(new zt(null,n))}function Fi(i){return typeof i=="function"}function Xh(i){return typeof i=="boolean"}function Kh(i){return i&&Fi(i.canLoad)}function Qh(i){return i&&Fi(i.canActivate)}function Jh(i){return i&&Fi(i.canActivateChild)}function eu(i){return i&&Fi(i.canDeactivate)}function tu(i){return i&&Fi(i.canMatch)}function dl(i){return i instanceof Vs||i?.name==="EmptyError"}var xn=Symbol("INITIAL_VALUE");function Gt(){return be(i=>ot(i.map(e=>e.pipe(ye(1),Qe(xn)))).pipe(A(e=>{for(let r of e)if(r!==!0){if(r===xn)return xn;if(r===!1||r instanceof et)return r}return!0}),ce(e=>e!==xn),ye(1)))}function iu(i,e){return Ae(r=>{let{targetSnapshot:t,currentSnapshot:n,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?D(ee(g({},r),{guardsResult:!0})):nu(s,t,n,i).pipe(Ae(a=>a&&Xh(a)?ru(t,o,i,e):D(a)),A(a=>ee(g({},r),{guardsResult:a})))})}function nu(i,e,r,t){return _e(i).pipe(Ae(n=>cu(n.component,n.route,r,e,t)),Ke(n=>n!==!0,!0))}function ru(i,e,r,t){return _e(e).pipe(Be(n=>Zi(su(n.route.parent,t),ou(n.route,t),lu(i,n.path,r),au(i,n.route,r))),Ke(n=>n!==!0,!0))}function ou(i,e){return i!==null&&e&&e(new po(i)),D(!0)}function su(i,e){return i!==null&&e&&e(new fo(i)),D(!0)}function au(i,e,r){let t=e.routeConfig?e.routeConfig.canActivate:null;if(!t||t.length===0)return D(!0);let n=t.map(o=>ii(()=>{let s=Oi(e)??r,a=qt(o,s),c=Qh(a)?a.canActivate(e,i):Ue(s,()=>a(e,i));return it(c).pipe(Ke())}));return D(n).pipe(Gt())}function lu(i,e,r){let t=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>qh(s)).filter(s=>s!==null).map(s=>ii(()=>{let a=s.guards.map(c=>{let l=Oi(s.node)??r,d=qt(c,l),u=Jh(d)?d.canActivateChild(t,i):Ue(l,()=>d(t,i));return it(u).pipe(Ke())});return D(a).pipe(Gt())}));return D(o).pipe(Gt())}function cu(i,e,r,t,n){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return D(!0);let s=o.map(a=>{let c=Oi(e)??n,l=qt(a,c),d=eu(l)?l.canDeactivate(i,e,r,t):Ue(c,()=>l(i,e,r,t));return it(d).pipe(Ke())});return D(s).pipe(Gt())}function du(i,e,r,t){let n=e.canLoad;if(n===void 0||n.length===0)return D(!0);let o=n.map(s=>{let a=qt(s,i),c=Kh(a)?a.canLoad(e,r):Ue(i,()=>a(e,r));return it(c)});return D(o).pipe(Gt(),hl(t))}function hl(i){return Ls(ne(e=>{if($t(e))throw al(i,e)}),A(e=>e===!0))}function hu(i,e,r,t){let n=e.canMatch;if(!n||n.length===0)return D(!0);let o=n.map(s=>{let a=qt(s,i),c=tu(a)?a.canMatch(e,r):Ue(i,()=>a(e,r));return it(c)});return D(o).pipe(Gt(),hl(t))}var Mi=class{constructor(e){this.segmentGroup=e||null}},On=class extends Error{constructor(e){super(),this.urlTree=e}};function jt(i){return ti(new Mi(i))}function uu(i){return ti(new Y(4e3,!1))}function fu(i){return ti(ll(!1,ke.GuardRejected))}var Co=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let t=[],n=r.root;for(;;){if(t=t.concat(n.segments),n.numberOfChildren===0)return D(t);if(n.numberOfChildren>1||!n.children[M])return uu(e.redirectTo);n=n.children[M]}}applyRedirectCommands(e,r,t){let n=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,t);if(r.startsWith("/"))throw new On(n);return n}applyRedirectCreateUrlTree(e,r,t,n){let o=this.createSegmentGroup(e,r.root,t,n);return new et(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let t={};return Object.entries(e).forEach(([n,o])=>{if(typeof o=="string"&&o.startsWith(":")){let a=o.substring(1);t[n]=r[a]}else t[n]=o}),t}createSegmentGroup(e,r,t,n){let o=this.createSegments(e,r.segments,t,n),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,t,n)}),new z(o,s)}createSegments(e,r,t,n){return r.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,n):this.findOrReturn(o,t))}findPosParam(e,r,t){let n=t[r.path.substring(1)];if(!n)throw new Y(4001,!1);return n}findOrReturn(e,r){let t=0;for(let n of r){if(n.path===e.path)return r.splice(t),n;t++}return e}},Do={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function mu(i,e,r,t,n){let o=Fo(i,e,r);return o.matched?(t=Hh(e,t),hu(t,e,r,n).pipe(A(s=>s===!0?o:g({},Do)))):D(o)}function Fo(i,e,r){if(e.path==="**")return pu(r);if(e.path==="")return e.pathMatch==="full"&&(i.hasChildren()||r.length>0)?g({},Do):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let n=(e.matcher||hh)(r,i,e);if(!n)return g({},Do);let o={};Object.entries(n.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=n.consumed.length>0?g(g({},o),n.consumed[n.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:n.consumed,remainingSegments:r.slice(n.consumed.length),parameters:s,positionalParamSegments:n.posParams??{}}}function pu(i){return{matched:!0,parameters:i.length>0?$a(i).parameters:{},consumedSegments:i,remainingSegments:[],positionalParamSegments:{}}}function za(i,e,r,t){return r.length>0&&vu(i,r,t)?{segmentGroup:new z(e,_u(t,new z(r,i.children))),slicedSegments:[]}:r.length===0&&yu(i,r,t)?{segmentGroup:new z(i.segments,gu(i,r,t,i.children)),slicedSegments:r}:{segmentGroup:new z(i.segments,i.children),slicedSegments:r}}function gu(i,e,r,t){let n={};for(let o of r)if(Nn(i,e,o)&&!t[Ve(o)]){let s=new z([],{});n[Ve(o)]=s}return g(g({},t),n)}function _u(i,e){let r={};r[M]=e;for(let t of i)if(t.path===""&&Ve(t)!==M){let n=new z([],{});r[Ve(t)]=n}return r}function vu(i,e,r){return r.some(t=>Nn(i,e,t)&&Ve(t)!==M)}function yu(i,e,r){return r.some(t=>Nn(i,e,t))}function Nn(i,e,r){return(i.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function bu(i,e,r,t){return Ve(i)!==t&&(t===M||!Nn(e,r,i))?!1:Fo(e,i,r).matched}function xu(i,e,r){return e.length===0&&!i.children[r]}var Eo=class{};function wu(i,e,r,t,n,o,s="emptyOnly"){return new So(i,e,r,t,n,s,o).recognize()}var Cu=31,So=class{constructor(e,r,t,n,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=t,this.config=n,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Co(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new Y(4002,`'${e.segmentGroup}'`)}recognize(){let e=za(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(A(r=>{let t=new ki([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,{},M,this.rootComponentType,null,{}),n=new Re(t,r),o=new Mn("",n),s=Ah(t,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,M).pipe(Mt(t=>{if(t instanceof On)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof Mi?this.noMatchError(t):t}))}inheritParamsAndData(e,r){let t=e.value,n=ko(t,r,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(o=>this.inheritParamsAndData(o,t))}processSegmentGroup(e,r,t,n){return t.segments.length===0&&t.hasChildren()?this.processChildren(e,r,t):this.processSegment(e,r,t,t.segments,n,!0).pipe(A(o=>o instanceof Re?[o]:[]))}processChildren(e,r,t){let n=[];for(let o of Object.keys(t.children))o==="primary"?n.unshift(o):n.push(o);return _e(n).pipe(Be(o=>{let s=t.children[o],a=$h(r,o);return this.processSegmentGroup(e,a,s,o)}),$s((o,s)=>(o.push(...s),o)),xr(null),Hs(),Ae(o=>{if(o===null)return jt(t);let s=ul(o);return Du(s),D(s)}))}processSegment(e,r,t,n,o,s){return _e(r).pipe(Be(a=>this.processSegmentAgainstRoute(a._injector??e,r,a,t,n,o,s).pipe(Mt(c=>{if(c instanceof Mi)return D(null);throw c}))),Ke(a=>!!a),Mt(a=>{if(dl(a))return xu(t,n,o)?D(new Eo):jt(t);throw a}))}processSegmentAgainstRoute(e,r,t,n,o,s,a){return bu(t,n,o,s)?t.redirectTo===void 0?this.matchSegmentAgainstRoute(e,n,t,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,n,r,t,o,s):jt(n):jt(n)}expandSegmentAgainstRouteUsingRedirect(e,r,t,n,o,s){let{matched:a,consumedSegments:c,positionalParamSegments:l,remainingSegments:d}=Fo(r,n,o);if(!a)return jt(r);n.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Cu&&(this.allowRedirects=!1));let u=this.applyRedirects.applyRedirectCommands(c,n.redirectTo,l);return this.applyRedirects.lineralizeSegments(n,u).pipe(Ae(m=>this.processSegment(e,t,r,m.concat(d),s,!1)))}matchSegmentAgainstRoute(e,r,t,n,o){let s=mu(r,t,n,e,this.urlSerializer);return t.path==="**"&&(r.children={}),s.pipe(be(a=>a.matched?(e=t._injector??e,this.getChildConfig(e,t,n).pipe(be(({routes:c})=>{let l=t._loadedInjector??e,{consumedSegments:d,remainingSegments:u,parameters:m}=a,b=new ki(d,m,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Su(t),Ve(t),t.component??t._loadedComponent??null,t,Iu(t)),{segmentGroup:B,slicedSegments:V}=za(r,d,u,c);if(V.length===0&&B.hasChildren())return this.processChildren(l,c,B).pipe(A(I=>I===null?null:new Re(b,I)));if(c.length===0&&V.length===0)return D(new Re(b,[]));let S=Ve(t)===o;return this.processSegment(l,c,B,V,S?M:o,!0).pipe(A(I=>new Re(b,I instanceof Re?[I]:[])))}))):jt(r)))}getChildConfig(e,r,t){return r.children?D({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?D({routes:r._loadedRoutes,injector:r._loadedInjector}):du(e,r,t,this.urlSerializer).pipe(Ae(n=>n?this.configLoader.loadChildren(e,r).pipe(ne(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):fu(r))):D({routes:[],injector:e})}};function Du(i){i.sort((e,r)=>e.value.outlet===M?-1:r.value.outlet===M?1:e.value.outlet.localeCompare(r.value.outlet))}function Eu(i){let e=i.value.routeConfig;return e&&e.path===""}function ul(i){let e=[],r=new Set;for(let t of i){if(!Eu(t)){e.push(t);continue}let n=e.find(o=>t.value.routeConfig===o.value.routeConfig);n!==void 0?(n.children.push(...t.children),r.add(n)):e.push(t)}for(let t of r){let n=ul(t.children);e.push(new Re(t.value,n))}return e.filter(t=>!r.has(t))}function Su(i){return i.data||{}}function Iu(i){return i.resolve||{}}function Ru(i,e,r,t,n,o){return Ae(s=>wu(i,e,r,t,s.extractedUrl,n,o).pipe(A(({state:a,tree:c})=>ee(g({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function ku(i,e){return Ae(r=>{let{targetSnapshot:t,guards:{canActivateChecks:n}}=r;if(!n.length)return D(r);let o=new Set(n.map(c=>c.route)),s=new Set;for(let c of o)if(!s.has(c))for(let l of fl(c))s.add(l);let a=0;return _e(s).pipe(Be(c=>o.has(c)?Au(c,t,i,e):(c.data=ko(c,c.parent,i).resolve,D(void 0))),ne(()=>a++),wr(1),Ae(c=>a===s.size?D(r):Ze))})}function fl(i){let e=i.children.map(r=>fl(r)).flat();return[i,...e]}function Au(i,e,r,t){let n=i.routeConfig,o=i._resolve;return n?.title!==void 0&&!ol(n)&&(o[Ti]=n.title),Mu(o,i,e,t).pipe(A(s=>(i._resolvedData=s,i.data=ko(i,i.parent,r).resolve,null)))}function Mu(i,e,r,t){let n=to(i);if(n.length===0)return D({});let o={};return _e(n).pipe(Ae(s=>Tu(i[s],e,r,t).pipe(Ke(),ne(a=>{o[s]=a}))),wr(1),zs(o),Mt(s=>dl(s)?Ze:ti(s)))}function Tu(i,e,r,t){let n=Oi(e)??t,o=qt(i,n),s=o.resolve?o.resolve(e,r):Ue(n,()=>o(e,r));return it(s)}function Jr(i){return be(e=>{let r=i(e);return r?_e(r).pipe(A(()=>e)):D(e)})}var ml=(()=>{let e=class e{buildTitle(t){let n,o=t.root;for(;o!==void 0;)n=this.getResolvedTitleForRoute(o)??n,o=o.children.find(s=>s.outlet===M);return n}getResolvedTitleForRoute(t){return t.data[Ti]}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:()=>_(Ou),providedIn:"root"});let i=e;return i})(),Ou=(()=>{let e=class e extends ml{constructor(t){super(),this.title=t}updateTitle(t){let n=this.buildTitle(t);n!==void 0&&this.title.setTitle(n)}};e.\u0275fac=function(n){return new(n||e)(f(La))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),No=new w("",{providedIn:"root",factory:()=>({})}),Po=new w(""),Fu=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=_(Fr)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return D(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let n=it(t.loadComponent()).pipe(A(pl),ne(s=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=s}),Tt(()=>{this.componentLoaders.delete(t)})),o=new ei(n,()=>new k).pipe(yr());return this.componentLoaders.set(t,o),o}loadChildren(t,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return D({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let s=Nu(n,this.compiler,t,this.onLoadEndListener).pipe(Tt(()=>{this.childrenLoaders.delete(n)})),a=new ei(s,()=>new k).pipe(yr());return this.childrenLoaders.set(n,a),a}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Nu(i,e,r,t){return it(i.loadChildren()).pipe(A(pl),Ae(n=>n instanceof Js||Array.isArray(n)?D(n):_e(e.compileModuleAsync(n))),A(n=>{t&&t(i);let o,s,a=!1;return Array.isArray(n)?(s=n,a=!0):(o=n.create(r).injector,s=o.get(Po,[],{optional:!0,self:!0}).flat()),{routes:s.map(Oo),injector:o}}))}function Pu(i){return i&&typeof i=="object"&&"default"in i}function pl(i){return Pu(i)?i.default:i}var Lo=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:()=>_(Lu),providedIn:"root"});let i=e;return i})(),Lu=(()=>{let e=class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,n){return t}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Vu=new w("");var ju=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new k,this.transitionAbortSubject=new k,this.configLoader=_(Fu),this.environmentInjector=_(Ot),this.urlSerializer=_(Ro),this.rootContexts=_(Fn),this.location=_(Pt),this.inputBindingEnabled=_(To,{optional:!0})!==null,this.titleStrategy=_(ml),this.options=_(No,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=_(Lo),this.createViewTransition=_(Vu,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>D(void 0),this.rootComponentType=null;let t=o=>this.events.next(new ho(o)),n=o=>this.events.next(new uo(o));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=t}complete(){this.transitions?.complete()}handleNavigationRequest(t){let n=++this.navigationId;this.transitions?.next(ee(g(g({},this.transitions.value),t),{id:n}))}setupNavigations(t,n,o){return this.transitions=new he({id:0,currentUrlTree:n,currentRawUrl:n,extractedUrl:this.urlHandlingStrategy.extract(n),urlAfterRedirects:this.urlHandlingStrategy.extract(n),rawUrl:n,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:wi,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ce(s=>s.id!==0),A(s=>ee(g({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),be(s=>{let a=!1,c=!1;return D(s).pipe(be(l=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",ke.SupersededByNewNavigation),Ze;this.currentTransition=s,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?ee(g({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let d=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=l.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!d&&u!=="reload"){let m="";return this.events.next(new bt(l.id,this.urlSerializer.serialize(l.rawUrl),m,oo.IgnoredSameUrlNavigation)),l.resolve(null),Ze}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return D(l).pipe(be(m=>{let b=this.transitions?.getValue();return this.events.next(new Ei(m.id,this.urlSerializer.serialize(m.extractedUrl),m.source,m.restoredState)),b!==this.transitions?.getValue()?Ze:Promise.resolve(m)}),Ru(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),ne(m=>{s.targetSnapshot=m.targetSnapshot,s.urlAfterRedirects=m.urlAfterRedirects,this.currentNavigation=ee(g({},this.currentNavigation),{finalUrl:m.urlAfterRedirects});let b=new Rn(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects),m.targetSnapshot);this.events.next(b)}));if(d&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:m,extractedUrl:b,source:B,restoredState:V,extras:S}=l,I=new Ei(m,this.urlSerializer.serialize(b),B,V);this.events.next(I);let xe=nl(this.rootComponentType).snapshot;return this.currentTransition=s=ee(g({},l),{targetSnapshot:xe,urlAfterRedirects:b,extras:ee(g({},S),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=b,D(s)}else{let m="";return this.events.next(new bt(l.id,this.urlSerializer.serialize(l.extractedUrl),m,oo.IgnoredByUrlHandlingStrategy)),l.resolve(null),Ze}}),ne(l=>{let d=new so(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),A(l=>(this.currentTransition=s=ee(g({},l),{guards:Gh(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),s)),iu(this.environmentInjector,l=>this.events.next(l)),ne(l=>{if(s.guardsResult=l.guardsResult,$t(l.guardsResult))throw al(this.urlSerializer,l.guardsResult);let d=new ao(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(d)}),ce(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",ke.GuardRejected),!1)),Jr(l=>{if(l.guards.canActivateChecks.length)return D(l).pipe(ne(d=>{let u=new lo(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}),be(d=>{let u=!1;return D(d).pipe(ku(this.paramsInheritanceStrategy,this.environmentInjector),ne({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(d,"",ke.NoDataFromResolver)}}))}),ne(d=>{let u=new co(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}))}),Jr(l=>{let d=u=>{let m=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&m.push(this.configLoader.loadComponent(u.routeConfig).pipe(ne(b=>{u.component=b}),A(()=>{})));for(let b of u.children)m.push(...d(b));return m};return ot(d(l.targetSnapshot.root)).pipe(xr(null),ye(1))}),Jr(()=>this.afterPreactivation()),be(()=>{let{currentSnapshot:l,targetSnapshot:d}=s,u=this.createViewTransition?.(this.environmentInjector,l.root,d.root);return u?_e(u).pipe(A(()=>s)):D(s)}),A(l=>{let d=Vh(t.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=s=ee(g({},l),{targetRouterState:d}),this.currentNavigation.targetRouterState=d,s}),ne(()=>{this.events.next(new Ii)}),Wh(this.rootContexts,t.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),ye(1),ne({next:l=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new yt(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{a=!0}}),U(this.transitionAbortSubject.pipe(ne(l=>{throw l}))),Tt(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",ke.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Mt(l=>{if(c=!0,cl(l))this.events.next(new tt(s.id,this.urlSerializer.serialize(s.extractedUrl),l.message,l.cancellationCode)),Uh(l)?this.events.next(new Ri(l.url)):s.resolve(!1);else{this.events.next(new Si(s.id,this.urlSerializer.serialize(s.extractedUrl),l,s.targetSnapshot??void 0));try{s.resolve(t.errorHandler(l))}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return Ze}))}))}cancelNavigationTransition(t,n,o){let s=new tt(t.id,this.urlSerializer.serialize(t.extractedUrl),n,o);this.events.next(s),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Bu(i){return i!==wi}var Uu=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:()=>_(zu),providedIn:"root"});let i=e;return i})(),Io=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},zu=(()=>{let e=class e extends Io{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=ue(e)))(o||e)}})(),e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),gl=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:()=>_(Hu),providedIn:"root"});let i=e;return i})(),Hu=(()=>{let e=class e extends gl{constructor(){super(...arguments),this.location=_(Pt),this.urlSerializer=_(Ro),this.options=_(No,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=_(Lo),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new et,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=nl(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(t){return this.location.subscribe(n=>{n.type==="popstate"&&t(n.url,n.state)})}handleRouterEvent(t,n){if(t instanceof Ei)this.stateMemento=this.createStateMemento();else if(t instanceof bt)this.rawUrlTree=n.initialUrl;else if(t instanceof Rn){if(this.urlUpdateStrategy==="eager"&&!n.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl);this.setBrowserUrl(o,n)}}else t instanceof Ii?(this.currentUrlTree=n.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl),this.routerState=n.targetRouterState,this.urlUpdateStrategy==="deferred"&&(n.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,n))):t instanceof tt&&(t.code===ke.GuardRejected||t.code===ke.NoDataFromResolver)?this.restoreHistory(n):t instanceof Si?this.restoreHistory(n,!0):t instanceof yt&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,n){let o=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(o)||n.extras.replaceUrl){let s=this.browserPageId,a=g(g({},n.extras.state),this.generateNgRouterState(n.id,s));this.location.replaceState(o,"",a)}else{let s=g(g({},n.extras.state),this.generateNgRouterState(n.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(t,n=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===t.finalUrl&&s===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,n){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:n}:{navigationId:t}}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=ue(e)))(o||e)}})(),e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),bi=function(i){return i[i.COMPLETE=0]="COMPLETE",i[i.FAILED=1]="FAILED",i[i.REDIRECTING=2]="REDIRECTING",i}(bi||{});function $u(i,e){i.events.pipe(ce(r=>r instanceof yt||r instanceof tt||r instanceof Si||r instanceof bt),A(r=>r instanceof yt||r instanceof bt?bi.COMPLETE:(r instanceof tt?r.code===ke.Redirect||r.code===ke.SupersededByNewNavigation:!1)?bi.REDIRECTING:bi.FAILED),ce(r=>r!==bi.REDIRECTING),ye(1)).subscribe(()=>{e()})}function Wu(i){throw i}var Gu={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},qu={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},_l=(()=>{let e=class e{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.isNgZoneEnabled=!1,this.console=_(on),this.stateManager=_(gl),this.options=_(No,{optional:!0})||{},this.pendingTasks=_(tn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=_(ju),this.urlSerializer=_(Ro),this.location=_(Pt),this.urlHandlingStrategy=_(Lo),this._events=new k,this.errorHandler=this.options.errorHandler||Wu,this.navigated=!1,this.routeReuseStrategy=_(Uu),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=_(Po,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!_(To,{optional:!0}),this.eventsSubscription=new Ee,this.isNgZoneEnabled=_(R)instanceof R&&R.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(n=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(n,s),n instanceof tt&&n.code!==ke.Redirect&&n.code!==ke.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof yt)this.navigated=!0;else if(n instanceof Ri){let a=this.urlHandlingStrategy.merge(n.url,o.currentRawUrl),c={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||Bu(o.source)};this.scheduleNavigation(a,wi,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Zu(n)&&this._events.next(n)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),wi,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,n)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",n)},0)})}navigateToSyncWithBrowser(t,n,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let l=g({},o);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(s.state=l)}let c=this.parseUrl(t);this.scheduleNavigation(c,n,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Oo),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(t,n={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:l}=n,d=l?this.currentUrlTree.fragment:a,u=null;switch(c){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 b=o?o.snapshot:this.routerState.snapshot.root;m=Ja(b)}catch{(typeof t[0]!="string"||!t[0].startsWith("/"))&&(t=[]),m=this.currentUrlTree.root}return el(m,t,u,d??null)}navigateByUrl(t,n={skipLocationChange:!1}){let o=$t(t)?t:this.parseUrl(t),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,wi,null,n)}navigate(t,n={skipLocationChange:!1}){return Yu(t),this.navigateByUrl(this.createUrlTree(t,n),n)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,n){let o;if(n===!0?o=g({},Gu):n===!1?o=g({},qu):o=n,$t(t))return Va(this.currentUrlTree,t,o);let s=this.parseUrl(t);return Va(this.currentUrlTree,s,o)}removeEmptyProps(t){return Object.entries(t).reduce((n,[o,s])=>(s!=null&&(n[o]=s),n),{})}scheduleNavigation(t,n,o,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,b)=>{c=m,l=b});let u=this.pendingTasks.add();return $u(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:s,resolve:c,reject:l,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(m=>Promise.reject(m))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Yu(i){for(let e=0;er.\u0275providers)])}function Ku(i){return i.routerState.root}function Qu(){let i=_(at);return e=>{let r=i.get(Nt);if(e!==r.components[0])return;let t=i.get(_l),n=i.get(Ju);i.get(ef)===1&&t.initialNavigation(),i.get(tf,null,Sr.Optional)?.setUpPreloading(),i.get(Xu,null,Sr.Optional)?.init(),t.resetRootComponentType(r.componentTypes[0]),n.closed||(n.next(),n.complete(),n.unsubscribe())}}var Ju=new w("",{factory:()=>new k}),ef=new w("",{providedIn:"root",factory:()=>1});var tf=new w("");var nf=new w("cdk-dir-doc",{providedIn:"root",factory:rf});function rf(){return _(L)}var of=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function sf(i){let e=i?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?of.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var qe=(()=>{let e=class e{constructor(t){if(this.value="ltr",this.change=new H,t){let n=t.body?t.body.dir:null,o=t.documentElement?t.documentElement.dir:null;this.value=sf(n||o||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(n){return new(n||e)(f(nf,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var nt=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({});let i=e;return i})();var Vo;try{Vo=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Vo=!1}var pe=(()=>{let e=class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?_a(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||Vo)&&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}};e.\u0275fac=function(n){return new(n||e)(f($e))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Ni;function af(){if(Ni==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ni=!0}))}finally{Ni=Ni||!1}return Ni}function jo(i){return af()?i:!!i.capture}var xt;function yl(){if(xt==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return xt=!1,xt;if("scrollBehavior"in document.documentElement.style)xt=!0;else{let i=Element.prototype.scrollTo;i?xt=!/\{\s*\[native code\]\s*\}/.test(i.toString()):xt=!1}}return xt}function Pi(i){return i.composedPath?i.composedPath()[0]:i.target}function Li(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Bo=class{constructor(e){this._box=e,this._destroyed=new k,this._resizeSubject=new k,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(r=>this._resizeSubject.next(r)))}observe(e){return this._elementObservables.has(e)||this._elementObservables.set(e,new je(r=>{let t=this._resizeSubject.subscribe(r);return this._resizeObserver?.observe(e,{box:this._box}),()=>{this._resizeObserver?.unobserve(e),t.unsubscribe(),this._elementObservables.delete(e)}}).pipe(ce(r=>r.some(t=>t.target===e)),Cr({bufferSize:1,refCount:!0}),U(this._destroyed))),this._elementObservables.get(e)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},bl=(()=>{let e=class e{constructor(){this._observers=new Map,this._ngZone=_(R),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,t]of this._observers)t.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(t,n){let o=n?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new Bo(o)),this._observers.get(o).observe(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Uo(i){return i!=null&&`${i}`!="false"}function Yt(i){return Array.isArray(i)?i:[i]}function se(i){return i==null?"":typeof i=="string"?i:`${i}px`}function Vi(i){return i instanceof P?i.nativeElement:i}var lf=(()=>{let e=class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var xl=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({providers:[lf]});let i=e;return i})();function Ye(i,...e){return e.length?e.some(r=>i[r]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}var wl=new Set,Ct,cf=(()=>{let e=class e{constructor(t,n){this._platform=t,this._nonce=n,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):hf}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&df(t,this._nonce),this._matchMedia(t)}};e.\u0275fac=function(n){return new(n||e)(f(pe),f(oi,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function df(i,e){if(!wl.has(i))try{Ct||(Ct=document.createElement("style"),e&&Ct.setAttribute("nonce",e),Ct.setAttribute("type","text/css"),document.head.appendChild(Ct)),Ct.sheet&&(Ct.sheet.insertRule(`@media ${i} {body{ }}`,0),wl.add(i))}catch(r){console.error(r)}}function hf(i){return{matches:i==="all"||i==="",media:i,addListener:()=>{},removeListener:()=>{}}}var Dl=(()=>{let e=class e{constructor(t,n){this._mediaMatcher=t,this._zone=n,this._queries=new Map,this._destroySubject=new k}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return Cl(Yt(t)).some(o=>this._registerQuery(o).mql.matches)}observe(t){let o=Cl(Yt(t)).map(a=>this._registerQuery(a).observable),s=ot(o);return s=Zi(s.pipe(ye(1)),s.pipe(Dr(1),Xi(0))),s.pipe(A(a=>{let c={matches:!1,breakpoints:{}};return a.forEach(({matches:l,query:d})=>{c.matches=c.matches||l,c.breakpoints[d]=l}),c}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);let n=this._mediaMatcher.matchMedia(t),s={observable:new je(a=>{let c=l=>this._zone.run(()=>a.next(l));return n.addListener(c),()=>{n.removeListener(c)}}).pipe(Qe(n),A(({matches:a})=>({query:t,matches:a})),U(this._destroySubject)),mql:n};return this._queries.set(t,s),s}};e.\u0275fac=function(n){return new(n||e)(f(cf),f(R))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Cl(i){return i.map(e=>e.split(",")).reduce((e,r)=>e.concat(r)).map(e=>e.trim())}var Il=" ";function Rl(i,e,r){let t=kl(i,e);r=r.trim(),!t.some(n=>n.trim()===r)&&(t.push(r),i.setAttribute(e,t.join(Il)))}function qo(i,e,r){let t=kl(i,e);r=r.trim();let n=t.filter(o=>o!==r);n.length?i.setAttribute(e,n.join(Il)):i.removeAttribute(e)}function kl(i,e){return i.getAttribute(e)?.match(/\S+/g)??[]}var Ho=class{constructor(e,r){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new k,this._typeaheadSubscription=Ee.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new k,this.change=new k,e instanceof Rr?this._itemChangesSubscription=e.changes.subscribe(t=>this._itemsChanged(t.toArray())):Tr(e)&&(this._effectRef=ca(()=>this._itemsChanged(e()),{injector:r}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(ne(r=>this._pressedLetters.push(r)),Xi(e),ce(()=>this._pressedLetters.length>0),A(()=>this._pressedLetters.join(""))).subscribe(r=>{let t=this._getItemsArray();for(let n=1;n!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(r){case 9:this.tabOut.next();return;case 40:if(this._vertical&&n){this.setNextItemActive();break}else return;case 38:if(this._vertical&&n){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&n){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&n){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&n){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&n){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&n){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&n){let o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r)));return}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){let r=this._getItemsArray(),t=typeof e=="number"?e:r.indexOf(e),n=r[t];this._activeItem=n??null,this._activeItemIndex=t}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let r=this._getItemsArray();for(let t=1;t<=r.length;t++){let n=(this._activeItemIndex+e*t+r.length)%r.length,o=r[n];if(!this._skipPredicateFn(o)){this.setActiveItem(n);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,r){let t=this._getItemsArray();if(t[e]){for(;this._skipPredicateFn(t[e]);)if(e+=r,!t[e])return;this.setActiveItem(e)}}_getItemsArray(){return Tr(this._items)?this._items():this._items instanceof Rr?this._items.toArray():this._items}_itemsChanged(e){if(this._activeItem){let r=e.indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}},Ln=class extends Ho{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}};function Al(i){return i.buttons===0||i.detail===0}function Ml(i){let e=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var bf=new w("liveAnnouncerElement",{providedIn:"root",factory:xf});function xf(){return null}var wf=new w("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Cf=0,Tl=(()=>{let e=class e{constructor(t,n,o,s){this._ngZone=n,this._defaultOptions=s,this._document=o,this._liveElement=t||this._createLiveElement()}announce(t,...n){let o=this._defaultOptions,s,a;return n.length===1&&typeof n[0]=="number"?a=n[0]:[s,a]=n,this.clear(),clearTimeout(this._previousTimeout),s||(s=o&&o.politeness?o.politeness:"polite"),a==null&&o&&(a=o.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=t,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 t="cdk-live-announcer-element",n=this._document.getElementsByClassName(t),o=this._document.createElement("div");for(let s=0;s .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let e=class e{constructor(t,n){this._platform=t,this._document=n,this._breakpointSubscription=_(Dl).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Dt.NONE;let t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);let n=this._document.defaultView||window,o=n&&n.getComputedStyle?n.getComputedStyle(t):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(t.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Dt.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Dt.BLACK_ON_WHITE}return Dt.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let t=this._document.body.classList;t.remove(zo,El,Sl),this._hasCheckedHighContrastMode=!0;let n=this.getHighContrastMode();n===Dt.BLACK_ON_WHITE?t.add(zo,El):n===Dt.WHITE_ON_BLACK&&t.add(zo,Sl)}}};e.\u0275fac=function(n){return new(n||e)(f(pe),f(L))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Ef=["text"],Sf=[[["mat-icon"]],"*"],If=["mat-icon","*"];function Rf(i,e){if(i&1&&X(0,"mat-pseudo-checkbox",1),i&2){let r=W();Z("disabled",r.disabled)("state",r.selected?"checked":"unchecked")}}function kf(i,e){if(i&1&&X(0,"mat-pseudo-checkbox",3),i&2){let r=W();Z("disabled",r.disabled)}}function Af(i,e){if(i&1&&(y(0,"span",4),le(1),x()),i&2){let r=W();C(),ut("(",r.group.label,")")}}function Mf(){return!0}var Tf=new w("mat-sanity-checks",{providedIn:"root",factory:Mf}),ge=(()=>{let e=class e{constructor(t,n,o){this._sanityChecks=n,this._document=o,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return Li()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[t]}};e.\u0275fac=function(n){return new(n||e)(f(Ol),f(Tf,8),f(L))},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[nt,nt]});let i=e;return i})();var Bi=class{constructor(e,r,t,n,o){this._defaultMatcher=e,this.ngControl=r,this._parentFormGroup=t,this._parentForm=n,this._stateChanges=o,this.errorState=!1}updateErrorState(){let e=this.errorState,r=this._parentFormGroup||this._parentForm,t=this.matcher||this._defaultMatcher,n=this.ngControl?this.ngControl.control:null,o=t?.isErrorState(n,r)??!1;o!==e&&(this.errorState=o,this._stateChanges.next())}};var Bl=(()=>{let e=class e{isErrorState(t,n){return!!(t&&t.invalid&&(t.touched||n&&n.submitted))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Fe=function(i){return i[i.FADING_IN=0]="FADING_IN",i[i.VISIBLE=1]="VISIBLE",i[i.FADING_OUT=2]="FADING_OUT",i[i.HIDDEN=3]="HIDDEN",i}(Fe||{}),Yo=class{constructor(e,r,t,n=!1){this._renderer=e,this.element=r,this.config=t,this._animationForciblyDisabledThroughCss=n,this.state=Fe.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},Nl=jo({passive:!0,capture:!0}),Zo=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let r=Pi(e);r&&this._events.get(e.type)?.forEach((t,n)=>{(n===r||n.contains(r))&&t.forEach(o=>o.handleEvent(e))})}}addHandler(e,r,t,n){let o=this._events.get(r);if(o){let s=o.get(t);s?s.add(n):o.set(t,new Set([n]))}else this._events.set(r,new Map([[t,new Set([n])]])),e.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,Nl)})}removeHandler(e,r,t){let n=this._events.get(e);if(!n)return;let o=n.get(r);o&&(o.delete(t),o.size===0&&n.delete(r),n.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,Nl)))}},Pl={enterDuration:225,exitDuration:150},Of=800,Ll=jo({passive:!0,capture:!0}),Vl=["mousedown","touchstart"],jl=["mouseup","mouseleave","touchend","touchcancel"],ji=class ji{constructor(e,r,t,n){this._target=e,this._ngZone=r,this._platform=n,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,n.isBrowser&&(this._containerElement=Vi(t))}fadeInRipple(e,r,t={}){let n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=g(g({},Pl),t.animation);t.centered&&(e=n.left+n.width/2,r=n.top+n.height/2);let s=t.radius||Ff(e,r,n),a=e-n.left,c=r-n.top,l=o.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`,t.color!=null&&(d.style.backgroundColor=t.color),d.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(d);let u=window.getComputedStyle(d),m=u.transitionProperty,b=u.transitionDuration,B=m==="none"||b==="0s"||b==="0s, 0s"||n.width===0&&n.height===0,V=new Yo(this,d,t,B);d.style.transform="scale3d(1, 1, 1)",V.state=Fe.FADING_IN,t.persistent||(this._mostRecentTransientRipple=V);let S=null;return!B&&(l||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let I=()=>this._finishRippleTransition(V),xe=()=>this._destroyRipple(V);d.addEventListener("transitionend",I),d.addEventListener("transitioncancel",xe),S={onTransitionEnd:I,onTransitionCancel:xe}}),this._activeRipples.set(V,S),(B||!l)&&this._finishRippleTransition(V),V}fadeOutRipple(e){if(e.state===Fe.FADING_OUT||e.state===Fe.HIDDEN)return;let r=e.element,t=g(g({},Pl),e.config.animation);r.style.transitionDuration=`${t.exitDuration}ms`,r.style.opacity="0",e.state=Fe.FADING_OUT,(e._animationForciblyDisabledThroughCss||!t.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let r=Vi(e);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,Vl.forEach(t=>{ji._eventManager.addHandler(this._ngZone,t,r,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{jl.forEach(r=>{this._triggerElement.addEventListener(r,this,Ll)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===Fe.FADING_IN?this._startFadeOutTransition(e):e.state===Fe.FADING_OUT&&this._destroyRipple(e)}_startFadeOutTransition(e){let r=e===this._mostRecentTransientRipple,{persistent:t}=e.config;e.state=Fe.VISIBLE,!t&&(!r||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let r=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=Fe.HIDDEN,r!==null&&(e.element.removeEventListener("transitionend",r.onTransitionEnd),e.element.removeEventListener("transitioncancel",r.onTransitionCancel)),e.element.remove()}_onMousedown(e){let r=Al(e),t=this._lastTouchStartEvent&&Date.now(){let r=e.state===Fe.VISIBLE||e.config.terminateOnPointerUp&&e.state===Fe.FADING_IN;!e.config.persistent&&r&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(Vl.forEach(r=>ji._eventManager.removeHandler(r,e,this)),this._pointerUpEventsRegistered&&jl.forEach(r=>e.removeEventListener(r,this,Ll)))}};ji._eventManager=new Zo;var Xo=ji;function Ff(i,e,r){let t=Math.max(Math.abs(i-r.left),Math.abs(i-r.right)),n=Math.max(Math.abs(e-r.top),Math.abs(e-r.bottom));return Math.sqrt(t*t+n*n)}var Nf=new w("mat-ripple-global-options"),Pf=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}constructor(t,n,o,s,a){this._elementRef=t,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new Xo(this,n,t,o)}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(t,n=0,o){return typeof t=="number"?this._rippleRenderer.fadeInRipple(t,n,g(g({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,g(g({},this.rippleConfig),t))}};e.\u0275fac=function(n){return new(n||e)(h(P),h(R),h(pe),h(Nf,8),h(Ne,8))},e.\u0275dir=E({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(n,o){n&2&&re("mat-ripple-unbounded",o.unbounded)},inputs:{color:[p.None,"matRippleColor","color"],unbounded:[p.None,"matRippleUnbounded","unbounded"],centered:[p.None,"matRippleCentered","centered"],radius:[p.None,"matRippleRadius","radius"],animation:[p.None,"matRippleAnimation","animation"],disabled:[p.None,"matRippleDisabled","disabled"],trigger:[p.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let i=e;return i})(),Lf=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[ge,ge]});let i=e;return i})(),Vf=(()=>{let e=class e{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1,this.appearance="full"}};e.\u0275fac=function(n){return new(n||e)(h(Ne,8))},e.\u0275cmp=Q({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(n,o){n&2&&re("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[J],decls:0,vars:0,template:function(n,o){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0});let i=e;return i})(),jf=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[ge]});let i=e;return i})(),Qo=new w("MAT_OPTION_PARENT_COMPONENT");var Jo=new w("MatOptgroup");var Bf=0,Ko=class{constructor(e,r=!1){this.source=e,this.isUserInput=r}},zn=(()=>{let e=class e{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=t}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(t,n,o,s){this._element=t,this._changeDetectorRef=n,this._parent=o,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${Bf++}`,this.onSelectionChange=new H,this._stateChanges=new k}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(t=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}deselect(t=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}focus(t,n){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(n)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){(t.keyCode===13||t.keyCode===32)&&!Ye(t)&&(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=t)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new Ko(this,t))}};e.\u0275fac=function(n){return new(n||e)(h(P),h(Ie),h(Qo,8),h(Jo,8))},e.\u0275cmp=Q({type:e,selectors:[["mat-option"]],viewQuery:function(n,o){if(n&1&&me(Ef,7),n&2){let s;F(s=N())&&(o._text=s.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(n,o){n&1&&Ce("click",function(){return o._selectViaInteraction()})("keydown",function(a){return o._handleKeydown(a)}),n&2&&(li("id",o.id),de("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),re("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},inputs:{value:"value",id:"id",disabled:[p.HasDecoratorInputTransform,"disabled","disabled",G]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[ae,J],ngContentSelectors:If,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(n,o){n&1&&(Te(Sf),j(0,Rf,1,2,"mat-pseudo-checkbox",1),K(1),y(2,"span",2,0),K(4,1),x(),j(5,kf,1,1,"mat-pseudo-checkbox",3)(6,Af,2,1,"span",4),X(7,"div",5)),n&2&&($(0,o.multiple?0:-1),C(5),$(5,!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),C(),$(6,o.group&&o.group._inert?6:-1),C(),Z("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[Vf,Pf],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let i=e;return i})();function Ul(i,e,r){if(r.length){let t=e.toArray(),n=r.toArray(),o=0;for(let s=0;sr+t?Math.max(0,i-t+e):r}var es=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[Lf,ge,jf]});let i=e;return i})();var Uf=["notch"],zf=["matFormFieldNotchedOutline",""],Hf=["*"],$f=["textField"],Wf=["iconPrefixContainer"],Gf=["textPrefixContainer"],qf=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Yf=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function Zf(i,e){i&1&&X(0,"span",17)}function Xf(i,e){if(i&1&&(y(0,"label",16),K(1,1),j(2,Zf,1,0,"span",17),x()),i&2){let r=W(2);Z("floating",r._shouldLabelFloat())("monitorResize",r._hasOutline())("id",r._labelId),de("for",r._control.id),C(2),$(2,!r.hideRequiredMarker&&r._control.required?2:-1)}}function Kf(i,e){if(i&1&&j(0,Xf,3,5,"label",16),i&2){let r=W();$(0,r._hasFloatingLabel()?0:-1)}}function Qf(i,e){i&1&&X(0,"div",5)}function Jf(i,e){}function em(i,e){if(i&1&&j(0,Jf,0,0,"ng-template",11),i&2){W(2);let r=ht(1);Z("ngTemplateOutlet",r)}}function tm(i,e){if(i&1&&(y(0,"div",7),j(1,em,1,1,null,11),x()),i&2){let r=W();Z("matFormFieldNotchedOutlineOpen",r._shouldLabelFloat()),C(),$(1,r._forceDisplayInfixLabel()?-1:1)}}function im(i,e){i&1&&(y(0,"div",8,2),K(2,2),x())}function nm(i,e){i&1&&(y(0,"div",9,3),K(2,3),x())}function rm(i,e){}function om(i,e){if(i&1&&j(0,rm,0,0,"ng-template",11),i&2){W();let r=ht(1);Z("ngTemplateOutlet",r)}}function sm(i,e){i&1&&(y(0,"div",12),K(1,4),x())}function am(i,e){i&1&&(y(0,"div",13),K(1,5),x())}function lm(i,e){i&1&&X(0,"div",14)}function cm(i,e){if(i&1&&(y(0,"div",18),K(1,6),x()),i&2){let r=W();Z("@transitionMessages",r._subscriptAnimationState)}}function dm(i,e){if(i&1&&(y(0,"mat-hint",20),le(1),x()),i&2){let r=W(2);Z("id",r._hintLabelId),C(),We(r.hintLabel)}}function hm(i,e){if(i&1&&(y(0,"div",19),j(1,dm,2,2,"mat-hint",20),K(2,7),X(3,"div",21),K(4,8),x()),i&2){let r=W();Z("@transitionMessages",r._subscriptAnimationState),C(),$(1,r.hintLabel?1:-1)}}var $n=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=E({type:e,selectors:[["mat-label"]],standalone:!0});let i=e;return i})();var um=new w("MatError");var fm=0,$l=(()=>{let e=class e{constructor(){this.align="start",this.id=`mat-mdc-hint-${fm++}`}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=E({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(n,o){n&2&&(li("id",o.id),de("align",null),re("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});let i=e;return i})(),mm=new w("MatPrefix");var pm=new w("MatSuffix");var Ql=new w("FloatingLabelParent"),Wl=(()=>{let e=class e{get floating(){return this._floating}set floating(t){this._floating=t,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(t){this._monitorResize=t,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(t){this._elementRef=t,this._floating=!1,this._monitorResize=!1,this._resizeObserver=_(bl),this._ngZone=_(R),this._parent=_(Ql),this._resizeSubscription=new Ee}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return gm(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())})}};e.\u0275fac=function(n){return new(n||e)(h(P))},e.\u0275dir=E({type:e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(n,o){n&2&&re("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});let i=e;return i})();function gm(i){let e=i;if(e.offsetParent!==null)return e.scrollWidth;let r=e.cloneNode(!0);r.style.setProperty("position","absolute"),r.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(r);let t=r.scrollWidth;return r.remove(),t}var Gl="mdc-line-ripple--active",Hn="mdc-line-ripple--deactivating",ql=(()=>{let e=class e{constructor(t,n){this._elementRef=t,this._handleTransitionEnd=o=>{let s=this._elementRef.nativeElement.classList,a=s.contains(Hn);o.propertyName==="opacity"&&a&&s.remove(Gl,Hn)},n.runOutsideAngular(()=>{t.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let t=this._elementRef.nativeElement.classList;t.remove(Hn),t.add(Gl)}deactivate(){this._elementRef.nativeElement.classList.add(Hn)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};e.\u0275fac=function(n){return new(n||e)(h(P),h(R))},e.\u0275dir=E({type:e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});let i=e;return i})(),Yl=(()=>{let e=class e{constructor(t,n){this._elementRef=t,this._ngZone=n,this.open=!1}ngAfterViewInit(){let t=this._elementRef.nativeElement.querySelector(".mdc-floating-label");t?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(t.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>t.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(t){!this.open||!t?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${t}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}};e.\u0275fac=function(n){return new(n||e)(h(P),h(R))},e.\u0275cmp=Q({type:e,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(n,o){if(n&1&&me(Uf,5),n&2){let s;F(s=N())&&(o._notch=s.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(n,o){n&2&&re("mdc-notched-outline--notched",o.open)},inputs:{open:[p.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[J],attrs:zf,ngContentSelectors:Hf,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(n,o){n&1&&(Te(),X(0,"div",1),y(1,"div",2,0),K(3),x(),X(4,"div",3))},encapsulation:2,changeDetection:0});let i=e;return i})(),_m={transitionMessages:di("transitionMessages",[dn("enter",pt({opacity:1,transform:"translateY(0%)"})),Lt("void => enter",[pt({opacity:0,transform:"translateY(-5px)"}),hi("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Wn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=E({type:e});let i=e;return i})();var Gn=new w("MatFormField"),vm=new w("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Zl=0,Xl="fill",ym="auto",Kl="fixed",bm="translateY(-50%)",Jl=(()=>{let e=class e{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=Uo(t)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||ym}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(t){let n=this._appearance,o=t||this._defaults?.appearance||Xl;this._appearance=o,this._appearance==="outline"&&this._appearance!==n&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||Kl}set subscriptSizing(t){this._subscriptSizing=t||this._defaults?.subscriptSizing||Kl}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(t){this._explicitFormFieldControl=t}constructor(t,n,o,s,a,c,l,d){this._elementRef=t,this._changeDetectorRef=n,this._ngZone=o,this._dir=s,this._platform=a,this._defaults=c,this._animationMode=l,this._hideRequiredMarker=!1,this.color="primary",this._appearance=Xl,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${Zl++}`,this._hintLabelId=`mat-mdc-hint-${Zl++}`,this._subscriptAnimationState="",this._destroyed=new k,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,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._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){let t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${t.controlType}`),t.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(U(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(t=>!t._isText),this._hasTextPrefix=!!this._prefixChildren.find(t=>t._isText),this._hasIconSuffix=!!this._suffixChildren.find(t=>!t._isText),this._hasTextSuffix=!!this._suffixChildren.find(t=>t._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Xe(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._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(U(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(U(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(t){let n=this._control?this._control.ngControl:null;return n&&n[t]}_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 t=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&t.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let n=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,o=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;n?t.push(n.id):this._hintLabel&&t.push(this._hintLabelId),o&&t.push(o.id)}else this._errorChildren&&t.push(...this._errorChildren.map(n=>n.id));this._control.setDescribedByIds(t)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;let t=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){t.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdateOnStable=!0;return}let n=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,s=n?.getBoundingClientRect().width??0,a=o?.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)))`;t.style.transform=`var( - --mat-mdc-form-field-label-transform, - ${bm} translateX(${u}) - )`}_isAttachedToDom(){let t=this._elementRef.nativeElement;if(t.getRootNode){let n=t.getRootNode();return n&&n!==t}return document.documentElement.contains(t)}};e.\u0275fac=function(n){return new(n||e)(h(P),h(Ie),h(R),h(qe),h(pe),h(vm,8),h(Ne,8),h(L))},e.\u0275cmp=Q({type:e,selectors:[["mat-form-field"]],contentQueries:function(n,o,s){if(n&1&&(oe(s,$n,5),oe(s,$n,7),oe(s,Wn,5),oe(s,mm,5),oe(s,pm,5),oe(s,um,5),oe(s,$l,5)),n&2){let a;F(a=N())&&(o._labelChildNonStatic=a.first),F(a=N())&&(o._labelChildStatic=a.first),F(a=N())&&(o._formFieldControl=a.first),F(a=N())&&(o._prefixChildren=a),F(a=N())&&(o._suffixChildren=a),F(a=N())&&(o._errorChildren=a),F(a=N())&&(o._hintChildren=a)}},viewQuery:function(n,o){if(n&1&&(me($f,5),me(Wf,5),me(Gf,5),me(Wl,5),me(Yl,5),me(ql,5)),n&2){let s;F(s=N())&&(o._textField=s.first),F(s=N())&&(o._iconPrefixContainer=s.first),F(s=N())&&(o._textPrefixContainer=s.first),F(s=N())&&(o._floatingLabel=s.first),F(s=N())&&(o._notchedOutline=s.first),F(s=N())&&(o._lineRipple=s.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(n,o){n&2&&re("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-no-animations",o._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",o.appearance=="fill")("mat-form-field-appearance-outline",o.appearance=="outline")("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary",o.color!=="accent"&&o.color!=="warn")("mat-accent",o.color==="accent")("mat-warn",o.color==="warn")("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[ie([{provide:Gn,useExisting:e},{provide:Ql,useExisting:e}]),J],ngContentSelectors:Yf,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"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(n,o){if(n&1){let s=ai();Te(qf),j(0,Kf,1,1,"ng-template",null,0,rn),y(2,"div",4,1),Ce("click",function(c){return ze(s),He(o._control.onContainerClick(c))}),j(4,Qf,1,0,"div",5),y(5,"div",6),j(6,tm,2,2,"div",7)(7,im,3,0,"div",8)(8,nm,3,0,"div",9),y(9,"div",10),j(10,om,1,1,null,11),K(11),x(),j(12,sm,2,0,"div",12)(13,am,2,0,"div",13),x(),j(14,lm,1,0,"div",14),x(),y(15,"div",15),j(16,cm,2,1)(17,hm,5,2),x()}if(n&2){let s;C(2),re("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),C(2),$(4,!o._hasOutline()&&!o._control.disabled?4:-1),C(2),$(6,o._hasOutline()?6:-1),C(),$(7,o._hasIconPrefix?7:-1),C(),$(8,o._hasTextPrefix?8:-1),C(2),$(10,!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),C(2),$(12,o._hasTextSuffix?12:-1),C(),$(13,o._hasIconSuffix?13:-1),C(),$(14,o._hasOutline()?-1:14),C(),re("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic"),C(),$(16,(s=o._getDisplayedMessages())==="error"?16:s==="hint"?17:-1)}},dependencies:[Wl,Yl,ln,ql,$l],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.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__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.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-floating-label--float-above{font-size:.75rem}.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-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;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,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::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,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.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-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,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{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}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.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:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-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--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.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)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.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)}.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)}.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.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.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)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.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:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-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--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.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)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@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))}}@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))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.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-text-field-wrapper::before{content:none}.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)}.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);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-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)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-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)}[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)}.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);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-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)}.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)}.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)}.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)}.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)}.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-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .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__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.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-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.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)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.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:[_m.transitionMessages]},changeDetection:0});let i=e;return i})(),Et=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[ge,Ge,xl,ge]});let i=e;return i})();function Yn(i){return i&&typeof i.connect=="function"&&!(i instanceof ei)}var Zt=function(i){return i[i.REPLACED=0]="REPLACED",i[i.INSERTED=1]="INSERTED",i[i.MOVED=2]="MOVED",i[i.REMOVED=3]="REMOVED",i}(Zt||{}),Ui=new w("_ViewRepeater"),Xt=class{applyChanges(e,r,t,n,o){e.forEachOperation((s,a,c)=>{let l,d;if(s.previousIndex==null){let u=t(s,a,c);l=r.createEmbeddedView(u.templateRef,u.context,u.index),d=Zt.INSERTED}else c==null?(r.remove(a),d=Zt.REMOVED):(l=r.get(a),r.move(l,c),d=Zt.MOVED);o&&o({context:l?.context,operation:d,record:s})})}detach(){}};var qn=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(e=!1,r,t=!0,n){this._multiple=e,this._emitChanges=t,this.compareWith=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new k,r&&r.length&&(e?r.forEach(o=>this._markSelected(o)):this._markSelected(r[0]),this._selectedToEmit.length=0)}select(...e){this._verifyValueAssignment(e),e.forEach(t=>this._markSelected(t));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}deselect(...e){this._verifyValueAssignment(e),e.forEach(t=>this._unmarkSelected(t));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}setSelection(...e){this._verifyValueAssignment(e);let r=this.selected,t=new Set(e);e.forEach(o=>this._markSelected(o)),r.filter(o=>!t.has(this._getConcreteValue(o,t))).forEach(o=>this._unmarkSelected(o));let n=this._hasQueuedChanges();return this._emitChangeEvent(),n}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let r=this._hasQueuedChanges();return e&&this._emitChangeEvent(),r}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e,r){if(this.compareWith){r=r??this._selection;for(let t of r)if(this.compareWith(e,t))return t;return e}else return e}};var wm=20,ec=(()=>{let e=class e{constructor(t,n,o){this._ngZone=t,this._platform=n,this._scrolled=new k,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let n=this.scrollContainers.get(t);n&&(n.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=wm){return this._platform.isBrowser?new je(n=>{this._globalSubscription||this._addGlobalListener();let o=t>0?this._scrolled.pipe(br(t)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):D()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(t,n){let o=this.getAncestorScrollContainers(t);return this.scrolled(n).pipe(ce(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(t){let n=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,t)&&n.push(s)}),n}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,n){let o=Vi(n),s=t.getElementRef().nativeElement;do if(o==s)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let t=this._getWindow();return Bs(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};e.\u0275fac=function(n){return new(n||e)(f(R),f(pe),f(L,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Cm=20,St=(()=>{let e=class e{constructor(t,n,o){this._platform=t,this._change=new k,this._changeListener=s=>{this._change.next(s)},this._document=o,n.runOutsideAngular(()=>{if(t.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 t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){let t=this.getViewportScrollPosition(),{width:n,height:o}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+o,right:t.left+n,height:o,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,n=this._getWindow(),o=t.documentElement,s=o.getBoundingClientRect(),a=-s.top||t.body.scrollTop||n.scrollY||o.scrollTop||0,c=-s.left||t.body.scrollLeft||n.scrollX||o.scrollLeft||0;return{top:a,left:c}}change(t=Cm){return t>0?this._change.pipe(br(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}};e.\u0275fac=function(n){return new(n||e)(f(pe),f(R),f(L,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Zn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({});let i=e;return i})(),zi=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[nt,Zn,nt,Zn]});let i=e;return i})();var Hi=class{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},is=class extends Hi{constructor(e,r,t,n,o){super(),this.component=e,this.viewContainerRef=r,this.injector=t,this.componentFactoryResolver=n,this.projectableNodes=o}},$i=class extends Hi{constructor(e,r,t,n){super(),this.templateRef=e,this.viewContainerRef=r,this.context=t,this.injector=n}get origin(){return this.templateRef.elementRef}attach(e,r=this.context){return this.context=r,super.attach(e)}detach(){return this.context=void 0,super.detach()}},ns=class extends Hi{constructor(e){super(),this.element=e instanceof P?e.nativeElement:e}},rs=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof is)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof $i)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof ns)return this._attachedPortal=e,this.attachDomPortal(e)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var Xn=class extends rs{constructor(e,r,t,n,o){super(),this.outletElement=e,this._componentFactoryResolver=r,this._appRef=t,this._defaultInjector=n,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=o}attachComponentPortal(e){let t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),n;return e.viewContainerRef?(n=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector,e.projectableNodes||void 0),this.setDisposeFn(()=>n.destroy())):(n=t.create(e.injector||this._defaultInjector||at.NULL),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=e,n}attachTemplatePortal(e){let r=e.viewContainerRef,t=r.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return t.rootNodes.forEach(n=>this.outletElement.appendChild(n)),t.detectChanges(),this.setDisposeFn(()=>{let n=r.indexOf(t);n!==-1&&r.remove(n)}),this._attachedPortal=e,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}};var tc=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({});let i=e;return i})();var ic=yl(),os=class{constructor(e,r){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=r}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=se(-this._previousScrollPosition.left),e.style.top=se(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,r=this._document.body,t=e.style,n=r.style,o=t.scrollBehavior||"",s=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),ic&&(t.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ic&&(t.scrollBehavior=o,n.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let r=this._document.body,t=this._viewportRuler.getViewportSize();return r.scrollHeight>t.height||r.scrollWidth>t.width}};var ss=class{constructor(e,r,t,n){this._scrollDispatcher=e,this._ngZone=r,this._viewportRuler=t,this._config=n,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(ce(r=>!r||!this._overlayRef.overlayElement.contains(r.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let r=this._viewportRuler.getViewportScrollPosition().top;Math.abs(r-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},Kn=class{enable(){}disable(){}attach(){}};function as(i,e){return e.some(r=>{let t=i.bottomr.bottom,o=i.rightr.right;return t||n||o||s})}function nc(i,e){return e.some(r=>{let t=i.topr.bottom,o=i.leftr.right;return t||n||o||s})}var ls=class{constructor(e,r,t,n){this._scrollDispatcher=e,this._viewportRuler=r,this._ngZone=t,this._config=n,this._scrollSubscription=null}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let r=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:n}=this._viewportRuler.getViewportSize();as(r,[{width:t,height:n,bottom:n,right:t,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}},Em=(()=>{let e=class e{constructor(t,n,o,s){this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=o,this.noop=()=>new Kn,this.close=a=>new ss(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new os(this._viewportRuler,this._document),this.reposition=a=>new ls(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=s}};e.\u0275fac=function(n){return new(n||e)(f(ec),f(St),f(R),f(L))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Qn=class{constructor(e){if(this.scrollStrategy=new Kn,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){let r=Object.keys(e);for(let t of r)e[t]!==void 0&&(this[t]=e[t])}}};var cs=class{constructor(e,r){this.connectionPair=e,this.scrollableViewProperties=r}};var lc=(()=>{let e=class e{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){let n=this._attachedOverlays.indexOf(t);n>-1&&this._attachedOverlays.splice(n,1),this._attachedOverlays.length===0&&this.detach()}};e.\u0275fac=function(n){return new(n||e)(f(L))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Sm=(()=>{let e=class e extends lc{constructor(t,n){super(t),this._ngZone=n,this._keydownListener=o=>{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(o)):c.next(o);break}}}add(t){super.add(t),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)}};e.\u0275fac=function(n){return new(n||e)(f(L),f(R,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Im=(()=>{let e=class e extends lc{constructor(t,n,o){super(t),this._platform=n,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=Pi(s)},this._clickListener=s=>{let a=Pi(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(u.overlayElement.contains(a)||u.overlayElement.contains(c))break;let m=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>m.next(s)):m.next(s)}}}add(t){if(super.add(t),!this._isAttached){let n=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(n)):this._addEventListeners(n),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}};e.\u0275fac=function(n){return new(n||e)(f(L),f(pe),f(R,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),cc=(()=>{let e=class e{constructor(t,n){this._platform=n,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t="cdk-overlay-container";if(this._platform.isBrowser||Li()){let o=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let s=0;sthis._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new k,this._outsidePointerEvents=new k,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let r=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(ye(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),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 r?.onDestroy=="function"&&r.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),r}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){let e=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,e&&this._detachments.next(),this._detachments.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(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=g(g({},this._config),e),this._updateElementSize()}setDirection(e){this._config=ee(g({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=se(this._config.width),e.height=se(this._config.height),e.minWidth=se(this._config.minWidth),e.minHeight=se(this._config.minHeight),e.maxWidth=se(this._config.maxWidth),e.maxHeight=se(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){let e="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(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e=this._backdropElement;if(e){if(this._animationsDisabled){this._disposeBackdrop(e);return}e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,r,t){let n=Yt(r||[]).filter(o=>!!o);n.length&&(t?e.classList.add(...n):e.classList.remove(...n))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{let e=this._ngZone.onStable.pipe(U(Xe(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()),e.unsubscribe())})})}_disposeScrollStrategy(){let e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},rc="cdk-overlay-connected-position-bounding-box",Rm=/([A-Za-z%]+)$/,hs=class{get positions(){return this._preferredPositions}constructor(e,r,t,n,o){this._viewportRuler=r,this._document=t,this._platform=n,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new k,this._resizeSubscription=Ee.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(rc),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.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 e=this._originRect,r=this._overlayRect,t=this._viewportRect,n=this._containerRect,o=[],s;for(let a of this._preferredPositions){let c=this._getOriginPoint(e,n,a),l=this._getOverlayPoint(c,r,a),d=this._getOverlayFit(l,r,t,a);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,c);return}if(this._canFitWithFlexibleDimensions(d,l,t)){o.push({position:a,origin:c,overlayRect:r,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&&It(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(rc),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let r=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,r)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,r,t){let n;if(t.originX=="center")n=e.left+e.width/2;else{let s=this._isRtl()?e.right:e.left,a=this._isRtl()?e.left:e.right;n=t.originX=="start"?s:a}r.left<0&&(n-=r.left);let o;return t.originY=="center"?o=e.top+e.height/2:o=t.originY=="top"?e.top:e.bottom,r.top<0&&(o-=r.top),{x:n,y:o}}_getOverlayPoint(e,r,t){let n;t.overlayX=="center"?n=-r.width/2:t.overlayX==="start"?n=this._isRtl()?-r.width:0:n=this._isRtl()?0:-r.width;let o;return t.overlayY=="center"?o=-r.height/2:o=t.overlayY=="top"?0:-r.height,{x:e.x+n,y:e.y+o}}_getOverlayFit(e,r,t,n){let o=sc(r),{x:s,y:a}=e,c=this._getOffset(n,"x"),l=this._getOffset(n,"y");c&&(s+=c),l&&(a+=l);let d=0-s,u=s+o.width-t.width,m=0-a,b=a+o.height-t.height,B=this._subtractOverflows(o.width,d,u),V=this._subtractOverflows(o.height,m,b),S=B*V;return{visibleArea:S,isCompletelyWithinViewport:o.width*o.height===S,fitsInViewportVertically:V===o.height,fitsInViewportHorizontally:B==o.width}}_canFitWithFlexibleDimensions(e,r,t){if(this._hasFlexibleDimensions){let n=t.bottom-r.y,o=t.right-r.x,s=oc(this._overlayRef.getConfig().minHeight),a=oc(this._overlayRef.getConfig().minWidth),c=e.fitsInViewportVertically||s!=null&&s<=n,l=e.fitsInViewportHorizontally||a!=null&&a<=o;return c&&l}return!1}_pushOverlayOnScreen(e,r,t){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let n=sc(r),o=this._viewportRect,s=Math.max(e.x+n.width-o.width,0),a=Math.max(e.y+n.height-o.height,0),c=Math.max(o.top-t.top-e.y,0),l=Math.max(o.left-t.left-e.x,0),d=0,u=0;return n.width<=o.width?d=l||-s:d=e.xB&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-B/2)}let c=r.overlayX==="start"&&!n||r.overlayX==="end"&&n,l=r.overlayX==="end"&&!n||r.overlayX==="start"&&n,d,u,m;if(l)m=t.width-e.x+this._viewportMargin*2,d=e.x-this._viewportMargin;else if(c)u=e.x,d=t.right-e.x;else{let b=Math.min(t.right-e.x+t.left,e.x),B=this._lastBoundingBoxSize.width;d=b*2,u=e.x-b,d>B&&!this._isInitialRender&&!this._growAfterOpen&&(u=e.x-B/2)}return{top:s,left:u,bottom:a,right:m,width:d,height:o}}_setBoundingBoxStyles(e,r){let t=this._calculateBoundingBoxRect(e,r);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));let n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;n.height=se(t.height),n.top=se(t.top),n.bottom=se(t.bottom),n.width=se(t.width),n.left=se(t.left),n.right=se(t.right),r.overlayX==="center"?n.alignItems="center":n.alignItems=r.overlayX==="end"?"flex-end":"flex-start",r.overlayY==="center"?n.justifyContent="center":n.justifyContent=r.overlayY==="bottom"?"flex-end":"flex-start",o&&(n.maxHeight=se(o)),s&&(n.maxWidth=se(s))}this._lastBoundingBoxSize=t,It(this._boundingBox.style,n)}_resetBoundingBoxStyles(){It(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){It(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,r){let t={},n=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(n){let d=this._viewportRuler.getViewportScrollPosition();It(t,this._getExactOverlayY(r,e,d)),It(t,this._getExactOverlayX(r,e,d))}else t.position="static";let a="",c=this._getOffset(r,"x"),l=this._getOffset(r,"y");c&&(a+=`translateX(${c}px) `),l&&(a+=`translateY(${l}px)`),t.transform=a.trim(),s.maxHeight&&(n?t.maxHeight=se(s.maxHeight):o&&(t.maxHeight="")),s.maxWidth&&(n?t.maxWidth=se(s.maxWidth):o&&(t.maxWidth="")),It(this._pane.style,t)}_getExactOverlayY(e,r,t){let n={top:"",bottom:""},o=this._getOverlayPoint(r,this._overlayRect,e);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t)),e.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;n.bottom=`${s-(o.y+this._overlayRect.height)}px`}else n.top=se(o.y);return n}_getExactOverlayX(e,r,t){let n={left:"",right:""},o=this._getOverlayPoint(r,this._overlayRect,e);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t));let s;if(this._isRtl()?s=e.overlayX==="end"?"left":"right":s=e.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;n.right=`${a-(o.x+this._overlayRect.width)}px`}else n.left=se(o.x);return n}_getScrollVisibility(){let e=this._getOriginRect(),r=this._pane.getBoundingClientRect(),t=this._scrollables.map(n=>n.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:nc(e,t),isOriginOutsideView:as(e,t),isOverlayClipped:nc(r,t),isOverlayOutsideView:as(r,t)}}_subtractOverflows(e,...r){return r.reduce((t,n)=>t-Math.max(n,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,r=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+e-this._viewportMargin,bottom:t.top+r-this._viewportMargin,width:e-2*this._viewportMargin,height:r-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,r){return r==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&Yt(e).forEach(r=>{r!==""&&this._appliedPanelClasses.indexOf(r)===-1&&(this._appliedPanelClasses.push(r),this._pane.classList.add(r))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof P)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let r=e.width||0,t=e.height||0;return{top:e.y,bottom:e.y+t,left:e.x,right:e.x+r,height:t,width:r}}};function It(i,e){for(let r in e)e.hasOwnProperty(r)&&(i[r]=e[r]);return i}function oc(i){if(typeof i!="number"&&i!=null){let[e,r]=i.split(Rm);return!r||r==="px"?parseFloat(e):null}return i||null}function sc(i){return{top:Math.floor(i.top),right:Math.floor(i.right),bottom:Math.floor(i.bottom),left:Math.floor(i.left),width:Math.floor(i.width),height:Math.floor(i.height)}}function km(i,e){return i===e?!0:i.isOriginClipped===e.isOriginClipped&&i.isOriginOutsideView===e.isOriginOutsideView&&i.isOverlayClipped===e.isOverlayClipped&&i.isOverlayOutsideView===e.isOverlayOutsideView}var ac="cdk-global-overlay-wrapper",us=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(e){let r=e.getConfig();this._overlayRef=e,this._width&&!r.width&&e.updateSize({width:this._width}),this._height&&!r.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(ac),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:n,height:o,maxWidth:s,maxHeight:a}=t,c=(n==="100%"||n==="100vw")&&(!s||s==="100%"||s==="100vw"),l=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),d=this._xPosition,u=this._xOffset,m=this._overlayRef.getConfig().direction==="rtl",b="",B="",V="";c?V="flex-start":d==="center"?(V="center",m?B=u:b=u):m?d==="left"||d==="end"?(V="flex-end",b=u):(d==="right"||d==="start")&&(V="flex-start",B=u):d==="left"||d==="start"?(V="flex-start",b=u):(d==="right"||d==="end")&&(V="flex-end",B=u),e.position=this._cssPosition,e.marginLeft=c?"0":b,e.marginTop=l?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=c?"0":B,r.justifyContent=V,r.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement,t=r.style;r.classList.remove(ac),t.justifyContent=t.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},Am=(()=>{let e=class e{constructor(t,n,o,s){this._viewportRuler=t,this._document=n,this._platform=o,this._overlayContainer=s}global(){return new us}flexibleConnectedTo(t){return new hs(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};e.\u0275fac=function(n){return new(n||e)(f(St),f(L),f(pe),f(cc))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Mm=0,Rt=(()=>{let e=class e{constructor(t,n,o,s,a,c,l,d,u,m,b,B){this.scrollStrategies=t,this._overlayContainer=n,this._componentFactoryResolver=o,this._positionBuilder=s,this._keyboardDispatcher=a,this._injector=c,this._ngZone=l,this._document=d,this._directionality=u,this._location=m,this._outsideClickDispatcher=b,this._animationsModuleType=B}create(t){let n=this._createHostElement(),o=this._createPaneElement(n),s=this._createPortalOutlet(o),a=new Qn(t);return a.direction=a.direction||this._directionality.value,new ds(s,n,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations")}position(){return this._positionBuilder}_createPaneElement(t){let n=this._document.createElement("div");return n.id=`cdk-overlay-${Mm++}`,n.classList.add("cdk-overlay-pane"),t.appendChild(n),n}_createHostElement(){let t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(Nt)),new Xn(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};e.\u0275fac=function(n){return new(n||e)(f(Em),f(cc),f(Ar),f(Am),f(Sm),f(at),f(R),f(L),f(qe),f(Pt),f(Im),f(Ne,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Tm=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],dc=new w("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let i=_(Rt);return()=>i.scrollStrategies.reposition()}}),Jn=(()=>{let e=class e{constructor(t){this.elementRef=t}};e.\u0275fac=function(n){return new(n||e)(h(P))},e.\u0275dir=E({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});let i=e;return i})(),fs=(()=>{let e=class e{get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(t){this._disposeOnNavigation=t}constructor(t,n,o,s,a){this._overlay=t,this._dir=a,this._backdropSubscription=Ee.EMPTY,this._attachSubscription=Ee.EMPTY,this._detachSubscription=Ee.EMPTY,this._positionSubscription=Ee.EMPTY,this._disposeOnNavigation=!1,this._ngZone=_(R),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new H,this.positionChange=new H,this.attach=new H,this.detach=new H,this.overlayKeydown=new H,this.overlayOutsideClick=new H,this._templatePortal=new $i(n,o),this._scrollStrategyFactory=s,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Tm);let t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(n=>{this.overlayKeydown.next(n),n.keyCode===27&&!this.disableClose&&!Ye(n)&&(n.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(n=>{this.overlayOutsideClick.next(n)})}_buildConfig(){let t=this._position=this.positionStrategy||this._createPositionStrategy(),n=new Qn({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(n.width=this.width),(this.height||this.height===0)&&(n.height=this.height),(this.minWidth||this.minWidth===0)&&(n.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(n.minHeight=this.minHeight),this.backdropClass&&(n.backdropClass=this.backdropClass),this.panelClass&&(n.panelClass=this.panelClass),n}_updatePositionStrategy(t){let n=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return t.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let t=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(t),t}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Jn?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Ws(()=>this.positionChange.observers.length>0)).subscribe(t=>{this._ngZone.run(()=>this.positionChange.emit(t)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}};e.\u0275fac=function(n){return new(n||e)(h(Rt),h(Se),h(Me),h(dc),h(qe,8))},e.\u0275dir=E({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[p.None,"cdkConnectedOverlayOrigin","origin"],positions:[p.None,"cdkConnectedOverlayPositions","positions"],positionStrategy:[p.None,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[p.None,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[p.None,"cdkConnectedOverlayOffsetY","offsetY"],width:[p.None,"cdkConnectedOverlayWidth","width"],height:[p.None,"cdkConnectedOverlayHeight","height"],minWidth:[p.None,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[p.None,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[p.None,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[p.None,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[p.None,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[p.None,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[p.None,"cdkConnectedOverlayOpen","open"],disableClose:[p.None,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[p.None,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[p.HasDecoratorInputTransform,"cdkConnectedOverlayHasBackdrop","hasBackdrop",G],lockPosition:[p.HasDecoratorInputTransform,"cdkConnectedOverlayLockPosition","lockPosition",G],flexibleDimensions:[p.HasDecoratorInputTransform,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",G],growAfterOpen:[p.HasDecoratorInputTransform,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",G],push:[p.HasDecoratorInputTransform,"cdkConnectedOverlayPush","push",G],disposeOnNavigation:[p.HasDecoratorInputTransform,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",G]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[ae,we]});let i=e;return i})();function Om(i){return()=>i.scrollStrategies.reposition()}var Fm={provide:dc,deps:[Rt],useFactory:Om},hc=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({providers:[Rt,Fm],imports:[nt,tc,zi,zi]});let i=e;return i})();function rt(i){return i==null||(typeof i=="string"||Array.isArray(i))&&i.length===0}function vc(i){return i!=null&&typeof i.length=="number"}var yc=new w(""),bc=new w(""),Nm=/^(?=.{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])?)*$/,tr=class{static min(e){return Pm(e)}static max(e){return Lm(e)}static required(e){return Vm(e)}static requiredTrue(e){return jm(e)}static email(e){return Bm(e)}static minLength(e){return Um(e)}static maxLength(e){return zm(e)}static pattern(e){return Hm(e)}static nullValidator(e){return xc(e)}static compose(e){return Ic(e)}static composeAsync(e){return Rc(e)}};function Pm(i){return e=>{if(rt(e.value)||rt(i))return null;let r=parseFloat(e.value);return!isNaN(r)&&r{if(rt(e.value)||rt(i))return null;let r=parseFloat(e.value);return!isNaN(r)&&r>i?{max:{max:i,actual:e.value}}:null}}function Vm(i){return rt(i.value)?{required:!0}:null}function jm(i){return i.value===!0?null:{required:!0}}function Bm(i){return rt(i.value)||Nm.test(i.value)?null:{email:!0}}function Um(i){return e=>rt(e.value)||!vc(e.value)?null:e.value.lengthvc(e.value)&&e.value.length>i?{maxlength:{requiredLength:i,actualLength:e.value.length}}:null}function Hm(i){if(!i)return xc;let e,r;return typeof i=="string"?(r="",i.charAt(0)!=="^"&&(r+="^"),r+=i,i.charAt(i.length-1)!=="$"&&(r+="$"),e=new RegExp(r)):(r=i.toString(),e=i),t=>{if(rt(t.value))return null;let n=t.value;return e.test(n)?null:{pattern:{requiredPattern:r,actualValue:n}}}}function xc(i){return null}function wc(i){return i!=null}function Cc(i){return sn(i)?_e(i):i}function Dc(i){let e={};return i.forEach(r=>{e=r!=null?g(g({},e),r):e}),Object.keys(e).length===0?null:e}function Ec(i,e){return e.map(r=>r(i))}function $m(i){return!i.validate}function Sc(i){return i.map(e=>$m(e)?e:r=>e.validate(r))}function Ic(i){if(!i)return null;let e=i.filter(wc);return e.length==0?null:function(r){return Dc(Ec(r,e))}}function gs(i){return i!=null?Ic(Sc(i)):null}function Rc(i){if(!i)return null;let e=i.filter(wc);return e.length==0?null:function(r){let t=Ec(r,e).map(Cc);return js(t).pipe(A(Dc))}}function _s(i){return i!=null?Rc(Sc(i)):null}function uc(i,e){return i===null?[e]:Array.isArray(i)?[...i,e]:[i,e]}function kc(i){return i._rawValidators}function Ac(i){return i._rawAsyncValidators}function ms(i){return i?Array.isArray(i)?i:[i]:[]}function ir(i,e){return Array.isArray(i)?i.includes(e):i===e}function fc(i,e){let r=ms(e);return ms(i).forEach(n=>{ir(r,n)||r.push(n)}),r}function mc(i,e){return ms(e).filter(r=>!ir(i,r))}var nr=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(e){this._rawValidators=e||[],this._composedValidatorFn=gs(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=_s(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},Qt=class extends nr{get formDirective(){return null}get path(){return null}},rr=class extends nr{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}};var Wm={"[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"},sb=ee(g({},Wm),{"[class.ng-submitted]":"isSubmitted"});var Wi="VALID",er="INVALID",Kt="PENDING",Gi="DISABLED";function Mc(i){return(cr(i)?i.validators:i)||null}function Gm(i){return Array.isArray(i)?gs(i):i||null}function Tc(i,e){return(cr(e)?e.asyncValidators:i)||null}function qm(i){return Array.isArray(i)?_s(i):i||null}function cr(i){return i!=null&&!Array.isArray(i)&&typeof i=="object"}function Ym(i,e,r){let t=i.controls;if(!(e?Object.keys(t):t).length)throw new Y(1e3,"");if(!t[r])throw new Y(1001,"")}function Zm(i,e,r){i._forEachChild((t,n)=>{if(r[n]===void 0)throw new Y(1002,"")})}var or=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===Wi}get invalid(){return this.status===er}get pending(){return this.status==Kt}get disabled(){return this.status===Gi}get enabled(){return this.status!==Gi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(fc(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(fc(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(mc(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(mc(e,this._rawAsyncValidators))}hasValidator(e){return ir(this._rawValidators,e)}hasAsyncValidator(e){return ir(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(r=>{r.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=Kt,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=Gi,this.errors=null,this._forEachChild(t=>{t.disable(ee(g({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ee(g({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(t=>t(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=Wi,this._forEachChild(t=>{t.enable(ee(g({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(ee(g({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Wi||this.status===Kt)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Gi:Wi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=Kt,this._hasOwnPendingAsyncValidator=!0;let r=Cc(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((t,n)=>t&&t._find(n),this)}getError(e,r){let t=r?this.get(r):this;return t&&t.errors?t.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new H,this.statusChanges=new H}_calculateStatus(){return this._allControlsDisabled()?Gi:this.errors?er:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Kt)?Kt:this._anyControlsHaveStatus(er)?er:Wi}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){cr(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=Gm(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=qm(this._rawAsyncValidators)}},sr=class extends or{constructor(e,r,t){super(Mc(r),Tc(t,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,r){return this.controls[e]?this.controls[e]:(this.controls[e]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(e,r,t={}){this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(e,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(e,r,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],r&&this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,r={}){Zm(this,!0,e),Object.keys(e).forEach(t=>{Ym(this,!0,t),this.controls[t].setValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(Object.keys(e).forEach(t=>{let n=this.controls[t];n&&n.patchValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((t,n)=>{t.reset(e?e[n]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(e,r,t)=>(e[t]=r.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(r,t)=>t._syncPendingControls()?!0:r);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(r=>{let t=this.controls[r];t&&e(t,r)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[r,t]of Object.entries(this.controls))if(this.contains(r)&&e(t))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(r,t,n)=>((t.enabled||this.disabled)&&(r[n]=t.value),r))}_reduceChildren(e,r){let t=e;return this._forEachChild((n,o)=>{t=r(t,n,o)}),t}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var vs=new w("CallSetDisabledState",{providedIn:"root",factory:()=>ys}),ys="always";function ps(i,e,r=ys){bs(i,e),e.valueAccessor.writeValue(i.value),(i.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(i.disabled),Km(i,e),Jm(i,e),Qm(i,e),Xm(i,e)}function pc(i,e,r=!0){let t=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(t),e.valueAccessor.registerOnTouched(t)),lr(i,e),i&&(e._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function ar(i,e){i.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function Xm(i,e){if(e.valueAccessor.setDisabledState){let r=t=>{e.valueAccessor.setDisabledState(t)};i.registerOnDisabledChange(r),e._registerOnDestroy(()=>{i._unregisterOnDisabledChange(r)})}}function bs(i,e){let r=kc(i);e.validator!==null?i.setValidators(uc(r,e.validator)):typeof r=="function"&&i.setValidators([r]);let t=Ac(i);e.asyncValidator!==null?i.setAsyncValidators(uc(t,e.asyncValidator)):typeof t=="function"&&i.setAsyncValidators([t]);let n=()=>i.updateValueAndValidity();ar(e._rawValidators,n),ar(e._rawAsyncValidators,n)}function lr(i,e){let r=!1;if(i!==null){if(e.validator!==null){let n=kc(i);if(Array.isArray(n)&&n.length>0){let o=n.filter(s=>s!==e.validator);o.length!==n.length&&(r=!0,i.setValidators(o))}}if(e.asyncValidator!==null){let n=Ac(i);if(Array.isArray(n)&&n.length>0){let o=n.filter(s=>s!==e.asyncValidator);o.length!==n.length&&(r=!0,i.setAsyncValidators(o))}}}let t=()=>{};return ar(e._rawValidators,t),ar(e._rawAsyncValidators,t),r}function Km(i,e){e.valueAccessor.registerOnChange(r=>{i._pendingValue=r,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&Oc(i,e)})}function Qm(i,e){e.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&Oc(i,e),i.updateOn!=="submit"&&i.markAsTouched()})}function Oc(i,e){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function Jm(i,e){let r=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};i.registerOnChange(r),e._registerOnDestroy(()=>{i._unregisterOnChange(r)})}function Fc(i,e){i==null,bs(i,e)}function ep(i,e){return lr(i,e)}function Nc(i,e){i._syncPendingControls(),e.forEach(r=>{let t=r.control;t.updateOn==="submit"&&t._pendingChange&&(r.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function tp(i,e){let r=i.indexOf(e);r>-1&&i.splice(r,1)}var ip={provide:Qt,useExisting:Er(()=>xs)},qi=Promise.resolve(),xs=(()=>{let e=class e extends Qt{constructor(t,n,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new H,this.form=new sr({},gs(t),_s(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){qi.then(()=>{let n=this._findContainer(t.path);t.control=n.registerControl(t.name,t.control),ps(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){qi.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){qi.then(()=>{let n=this._findContainer(t.path),o=new sr({});Fc(o,t),n.registerControl(t.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){qi.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,n){qi.then(()=>{this.form.get(t.path).setValue(n)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,Nc(this.form,this._directives),this.ngSubmit.emit(t),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}};e.\u0275fac=function(n){return new(n||e)(h(yc,10),h(bc,10),h(vs,8))},e.\u0275dir=E({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,o){n&1&&Ce("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[p.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ie([ip]),te]});let i=e;return i})();function gc(i,e){let r=i.indexOf(e);r>-1&&i.splice(r,1)}function _c(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i}var np=class extends or{constructor(e=null,r,t){super(Mc(r),Tc(t,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),cr(r)&&(r.nonNullable||r.initialValueIsDefault)&&(_c(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){gc(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){gc(this._onDisabledChange,e)}_forEachChild(e){}_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(e){_c(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var rp=i=>i instanceof np;var op={provide:Qt,useExisting:Er(()=>ws)},ws=(()=>{let e=class e extends Qt{constructor(t,n,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new H,this._setValidators(t),this._setAsyncValidators(n)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(lr(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){let n=this.form.get(t.path);return ps(n,t,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),n}getControl(t){return this.form.get(t.path)}removeControl(t){pc(t.control||null,t,!1),tp(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,n){this.form.get(t.path).setValue(n)}onSubmit(t){return this.submitted=!0,Nc(this.form,this.directives),this.ngSubmit.emit(t),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{let n=t.control,o=this.form.get(t.path);n!==o&&(pc(n||null,t),rp(o)&&(ps(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let n=this.form.get(t.path);Fc(n,t),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let n=this.form.get(t.path);n&&ep(n,t)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){bs(this.form,this),this._oldForm&&lr(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(n){return new(n||e)(h(yc,10),h(bc,10),h(vs,8))},e.\u0275dir=E({type:e,selectors:[["","formGroup",""]],hostBindings:function(n,o){n&1&&Ce("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[p.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ie([op]),te,we]});let i=e;return i})();var sp=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({});let i=e;return i})();var Pc=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:[{provide:vs,useValue:t.callSetDisabledState??ys}]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[sp]});let i=e;return i})();var lp=["trigger"],cp=["panel"],dp=[[["mat-select-trigger"]],"*"],hp=["mat-select-trigger","*"];function up(i,e){if(i&1&&(y(0,"span",4),le(1),x()),i&2){let r=W();C(),We(r.placeholder)}}function fp(i,e){i&1&&K(0)}function mp(i,e){if(i&1&&(y(0,"span",11),le(1),x()),i&2){let r=W(2);C(),We(r.triggerValue)}}function pp(i,e){if(i&1&&(y(0,"span",10),j(1,fp,1,0)(2,mp,2,1),x()),i&2){let r=W();C(),$(1,r.customTrigger?1:2)}}function gp(i,e){if(i&1){let r=ai();y(0,"div",12,1),Ce("@transformPanel.done",function(n){ze(r);let o=W();return He(o._panelDoneAnimatingStream.next(n.toState))})("keydown",function(n){ze(r);let o=W();return He(o._handleKeydown(n))}),K(2,1),x()}if(i&2){let r=W();ia("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",r._getPanelTheme(),""),Z("ngClass",r.panelClass)("@transformPanel","showing"),de("id",r.id+"-panel")("aria-multiselectable",r.multiple)("aria-label",r.ariaLabel||null)("aria-labelledby",r._getPanelAriaLabelledby())}}var _p={transformPanelWrap:di("transformPanelWrap",[Lt("* => void",ya("@transformPanel",[va()],{optional:!0}))]),transformPanel:di("transformPanel",[dn("void",pt({opacity:0,transform:"scale(1, 0.8)"})),Lt("void => showing",hi("120ms cubic-bezier(0, 0, 0.2, 1)",pt({opacity:1,transform:"scale(1, 1)"}))),Lt("* => void",hi("100ms linear",pt({opacity:0})))])};var Lc=0,Vc=new w("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let i=_(Rt);return()=>i.scrollStrategies.reposition()}});function vp(i){return()=>i.scrollStrategies.reposition()}var yp=new w("MAT_SELECT_CONFIG"),bp={provide:Vc,deps:[Rt],useFactory:vp},xp=new w("MatSelectTrigger"),Cs=class{constructor(e,r){this.source=e,this.value=r}},jc=(()=>{let e=class e{_scrollOptionIntoView(t){let n=this.options.toArray()[t];if(n){let o=this.panel.nativeElement,s=Ul(t,this.options,this.optionGroups),a=n._getHostElement();t===0&&s===1?o.scrollTop=0:o.scrollTop=zl(a.offsetTop,a.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(t){return new Cs(this,t)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(tr.required)??!1}set required(t){this._required=t,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._selectionModel,this._multiple=t}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){this._assignValue(t)&&this._onChange(t)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(t){this._errorStateTracker.matcher=t}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}constructor(t,n,o,s,a,c,l,d,u,m,b,B,V,S){this._viewportRuler=t,this._changeDetectorRef=n,this._elementRef=a,this._dir=c,this._parentFormField=u,this.ngControl=m,this._liveAnnouncer=V,this._defaultOptions=S,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(I,xe)=>I===xe,this._uid=`mat-select-${Lc++}`,this._triggerAriaLabelledBy=null,this._destroy=new k,this.stateChanges=new k,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${Lc++}`,this._panelDoneAnimatingStream=new k,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new k,this.optionSelectionChanges=ii(()=>{let I=this.options;return I?I.changes.pipe(Qe(I),be(()=>Xe(...I.map(xe=>xe.onSelectionChange)))):this._initialized.pipe(be(()=>this.optionSelectionChanges))}),this.openedChange=new H,this._openedStream=this.openedChange.pipe(ce(I=>I),A(()=>{})),this._closedStream=this.openedChange.pipe(ce(I=>!I),A(()=>{})),this.selectionChange=new H,this.valueChange=new H,this._trackedModal=null,this._skipPredicate=I=>this.panelOpen?!1:I.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),S?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=S.typeaheadDebounceInterval),this._errorStateTracker=new Bi(s,m,d,l,this.stateChanges),this._scrollStrategyFactory=B,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(b)||0,this.id=this.id}ngOnInit(){this._selectionModel=new qn(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Ki(),U(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(U(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(U(this._destroy)).subscribe(t=>{t.added.forEach(n=>n.select()),t.removed.forEach(n=>n.deselect())}),this.options.changes.pipe(Qe(null),U(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let t=this._getTriggerAriaLabelledby(),n=this.ngControl;if(t!==this._triggerAriaLabelledBy){let o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?o.setAttribute("aria-labelledby",t):o.removeAttribute("aria-labelledby")}n&&(this._previousControl!==n.control&&(this._previousControl!==void 0&&n.disabled!==null&&n.disabled!==this.disabled&&(this.disabled=n.disabled),this._previousControl=n.control),this.updateErrorState())}ngOnChanges(t){(t.disabled||t.userAriaDescribedBy)&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){let t=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!t)return;let n=`${this.id}-panel`;this._trackedModal&&qo(this._trackedModal,"aria-owns",n),Rl(t,"aria-owns",n),this._trackedModal=t}_clearFromModal(){if(!this._trackedModal)return;let t=`${this.id}-panel`;qo(this._trackedModal,"aria-owns",t),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(t){this._assignValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let t=this._selectionModel.selected.map(n=>n.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){let n=t.keyCode,o=n===40||n===38||n===37||n===39,s=n===13||n===32,a=this._keyManager;if(!a.isTyping()&&s&&!Ye(t)||(this.multiple||t.altKey)&&o)t.preventDefault(),this.open();else if(!this.multiple){let c=this.selected;a.onKeydown(t);let l=this.selected;l&&c!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(t){let n=this._keyManager,o=t.keyCode,s=o===40||o===38,a=n.isTyping();if(s&&t.altKey)t.preventDefault(),this.close();else if(!a&&(o===13||o===32)&&n.activeItem&&!Ye(t))t.preventDefault(),n.activeItem._selectViaInteraction();else if(!a&&this._multiple&&o===65&&t.ctrlKey){t.preventDefault();let c=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(c?l.select():l.deselect())})}else{let c=n.activeItemIndex;n.onKeydown(t),this._multiple&&s&&t.shiftKey&&n.activeItem&&n.activeItemIndex!==c&&n.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(ye(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this.options.forEach(n=>n.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(n=>this._selectOptionByValue(n)),this._sortValues();else{let n=this._selectOptionByValue(t);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(t){let n=this.options.find(o=>{if(this._selectionModel.isSelected(o))return!1;try{return o.value!=null&&this._compareWith(o.value,t)}catch{return!1}});return n&&this._selectionModel.select(n),n}_assignValue(t){return t!==this._value||this._multiple&&Array.isArray(t)?(this.options&&this._setSelectionByValue(t),this._value=t,!0):!1}_getOverlayWidth(t){return this.panelWidth==="auto"?(t instanceof Jn?t.elementRef:t||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let t of this.options)t._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Ln(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let t=Xe(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(U(t)).subscribe(n=>{this._onSelect(n.source,n.isUserInput),n.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Xe(...this.options.map(n=>n._stateChanges)).pipe(U(t)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(t,n){let o=this._selectionModel.isSelected(t);t.value==null&&!this._multiple?(t.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(t.value)):(o!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),n&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),n&&this.focus())),o!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let t=this.options.toArray();this._selectionModel.sort((n,o)=>this.sortComparator?this.sortComparator(n,o,t):t.indexOf(n)-t.indexOf(o)),this.stateChanges.next()}}_propagateChanges(t){let n;this.multiple?n=this.selected.map(o=>o.value):n=this.selected?this.selected.value:t,this._value=n,this.valueChange.emit(n),this._onChange(n),this.selectionChange.emit(this._getChangeEvent(n)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let t=-1;for(let n=0;n0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let t=this._parentFormField?.getLabelId(),n=t?t+" ":"";return this.ariaLabelledby?n+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let t=this._parentFormField?.getLabelId(),n=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}};e.\u0275fac=function(n){return new(n||e)(h(St),h(Ie),h(R),h(Bl),h(P),h(qe,8),h(xs,8),h(ws,8),h(Gn,8),h(rr,10),Ft("tabindex"),h(Vc),h(Tl),h(yp,8))},e.\u0275cmp=Q({type:e,selectors:[["mat-select"]],contentQueries:function(n,o,s){if(n&1&&(oe(s,xp,5),oe(s,zn,5),oe(s,Jo,5)),n&2){let a;F(a=N())&&(o.customTrigger=a.first),F(a=N())&&(o.options=a),F(a=N())&&(o.optionGroups=a)}},viewQuery:function(n,o){if(n&1&&(me(lp,5),me(cp,5),me(fs,5)),n&2){let s;F(s=N())&&(o.trigger=s.first),F(s=N())&&(o.panel=s.first),F(s=N())&&(o._overlayDir=s.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(n,o){n&1&&Ce("keydown",function(a){return o._handleKeydown(a)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),n&2&&(de("id",o.id)("tabindex",o.disabled?-1:o.tabIndex)("aria-controls",o.panelOpen?o.id+"-panel":null)("aria-expanded",o.panelOpen)("aria-label",o.ariaLabel||null)("aria-required",o.required.toString())("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState)("aria-activedescendant",o._getAriaActiveDescendant()),re("mat-mdc-select-disabled",o.disabled)("mat-mdc-select-invalid",o.errorState)("mat-mdc-select-required",o.required)("mat-mdc-select-empty",o.empty)("mat-mdc-select-multiple",o.multiple))},inputs:{userAriaDescribedBy:[p.None,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[p.HasDecoratorInputTransform,"disabled","disabled",G],disableRipple:[p.HasDecoratorInputTransform,"disableRipple","disableRipple",G],tabIndex:[p.HasDecoratorInputTransform,"tabIndex","tabIndex",t=>t==null?0:mt(t)],hideSingleSelectionIndicator:[p.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",G],placeholder:"placeholder",required:[p.HasDecoratorInputTransform,"required","required",G],multiple:[p.HasDecoratorInputTransform,"multiple","multiple",G],disableOptionCentering:[p.HasDecoratorInputTransform,"disableOptionCentering","disableOptionCentering",G],compareWith:"compareWith",value:"value",ariaLabel:[p.None,"aria-label","ariaLabel"],ariaLabelledby:[p.None,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[p.HasDecoratorInputTransform,"typeaheadDebounceInterval","typeaheadDebounceInterval",mt],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[ie([{provide:Wn,useExisting:e},{provide:Qo,useExisting:e}]),ae,we,J],ngContentSelectors:hp,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(n,o){if(n&1){let s=ai();Te(dp),y(0,"div",2,0),Ce("click",function(){return ze(s),He(o.open())}),y(3,"div",3),j(4,up,2,1,"span",4)(5,pp,3,1),x(),y(6,"div",5)(7,"div",6),ri(),y(8,"svg",7),X(9,"path",8),x()()()(),j(10,gp,3,9,"ng-template",9),Ce("backdropClick",function(){return ze(s),He(o.close())})("attach",function(){return ze(s),He(o._onAttached())})("detach",function(){return ze(s),He(o.close())})}if(n&2){let s=ht(1);C(3),de("id",o._valueId),C(),$(4,o.empty?4:5),C(6),Z("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",o._preferredOverlayOrigin||s)("cdkConnectedOverlayOpen",o.panelOpen)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayWidth",o._overlayWidth)}},dependencies:[Jn,fs,ua],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[_p.transformPanel]},changeDetection:0});let i=e;return i})();var Bc=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({providers:[bp],imports:[Ge,hc,es,ge,Zn,Et,es,ge]});let i=e;return i})();var Dp=[[["caption"]],[["colgroup"],["col"]],"*"],Ep=["caption","colgroup, col","*"];function Sp(i,e){i&1&&K(0,2)}function Ip(i,e){i&1&&(y(0,"thead",0),fe(1,1),x(),y(2,"tbody",0),fe(3,2)(4,3),x(),y(5,"tfoot",0),fe(6,4),x())}function Rp(i,e){i&1&&fe(0,1)(1,2)(2,3)(3,4)}var Pe=new w("CDK_TABLE");var pr=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(n){return new(n||e)(h(Se))},e.\u0275dir=E({type:e,selectors:[["","cdkCellDef",""]],standalone:!0});let i=e;return i})(),gr=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(n){return new(n||e)(h(Se))},e.\u0275dir=E({type:e,selectors:[["","cdkHeaderCellDef",""]],standalone:!0});let i=e;return i})(),Hc=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(n){return new(n||e)(h(Se))},e.\u0275dir=E({type:e,selectors:[["","cdkFooterCellDef",""]],standalone:!0});let i=e;return i})(),Jt=(()=>{let e=class e{get name(){return this._name}set name(t){this._setNameInput(t)}get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){t!==this._stickyEnd&&(this._stickyEnd=t,this._hasStickyChanged=!0)}constructor(t){this._table=t,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}};e.\u0275fac=function(n){return new(n||e)(h(Pe,8))},e.\u0275dir=E({type:e,selectors:[["","cdkColumnDef",""]],contentQueries:function(n,o,s){if(n&1&&(oe(s,pr,5),oe(s,gr,5),oe(s,Hc,5)),n&2){let a;F(a=N())&&(o.cell=a.first),F(a=N())&&(o.headerCell=a.first),F(a=N())&&(o.footerCell=a.first)}},inputs:{name:[p.None,"cdkColumnDef","name"],sticky:[p.HasDecoratorInputTransform,"sticky","sticky",G],stickyEnd:[p.HasDecoratorInputTransform,"stickyEnd","stickyEnd",G]},standalone:!0,features:[ie([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),ae]});let i=e;return i})(),hr=class{constructor(e,r){r.nativeElement.classList.add(...e._columnCssClassName)}},$c=(()=>{let e=class e extends hr{constructor(t,n){super(t,n)}};e.\u0275fac=function(n){return new(n||e)(h(Jt),h(P))},e.\u0275dir=E({type:e,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[te]});let i=e;return i})();var Wc=(()=>{let e=class e extends hr{constructor(t,n){super(t,n);let o=t._table?._getCellRole();o&&n.nativeElement.setAttribute("role",o)}};e.\u0275fac=function(n){return new(n||e)(h(Jt),h(P))},e.\u0275dir=E({type:e,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[te]});let i=e;return i})(),ur=class{constructor(){this.tasks=[],this.endTasks=[]}},fr=new w("_COALESCED_STYLE_SCHEDULER"),Es=(()=>{let e=class e{constructor(t){this._ngZone=t,this._currentSchedule=null,this._destroyed=new k}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new ur,this._getScheduleObservable().pipe(U(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let t=this._currentSchedule;this._currentSchedule=new ur;for(let n of t.tasks)n();for(let n of t.endTasks)n()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?_e(Promise.resolve(void 0)):this._ngZone.onStable.pipe(ye(1))}};e.\u0275fac=function(n){return new(n||e)(f(R))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})();var Ss=(()=>{let e=class e{constructor(t,n){this.template=t,this._differs=n}ngOnChanges(t){if(!this._columnsDiffer){let n=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(n).create(),this._columnsDiffer.diff(n)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof Yi?t.headerCell.template:this instanceof Is?t.footerCell.template:t.cell.template}};e.\u0275fac=function(n){return new(n||e)(h(Se),h(ft))},e.\u0275dir=E({type:e,features:[we]});let i=e;return i})(),Yi=(()=>{let e=class e extends Ss{get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}constructor(t,n,o){super(t,n),this._table=o,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(t){super.ngOnChanges(t)}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}};e.\u0275fac=function(n){return new(n||e)(h(Se),h(ft),h(Pe,8))},e.\u0275dir=E({type:e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[p.None,"cdkHeaderRowDef","columns"],sticky:[p.HasDecoratorInputTransform,"cdkHeaderRowDefSticky","sticky",G]},standalone:!0,features:[ae,te,we]});let i=e;return i})(),Is=(()=>{let e=class e extends Ss{get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}constructor(t,n,o){super(t,n),this._table=o,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(t){super.ngOnChanges(t)}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}};e.\u0275fac=function(n){return new(n||e)(h(Se),h(ft),h(Pe,8))},e.\u0275dir=E({type:e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[p.None,"cdkFooterRowDef","columns"],sticky:[p.HasDecoratorInputTransform,"cdkFooterRowDefSticky","sticky",G]},standalone:!0,features:[ae,te,we]});let i=e;return i})(),_r=(()=>{let e=class e extends Ss{constructor(t,n,o){super(t,n),this._table=o}};e.\u0275fac=function(n){return new(n||e)(h(Se),h(ft),h(Pe,8))},e.\u0275dir=E({type:e,selectors:[["","cdkRowDef",""]],inputs:{columns:[p.None,"cdkRowDefColumns","columns"],when:[p.None,"cdkRowDefWhen","when"]},standalone:!0,features:[te]});let i=e;return i})(),kt=(()=>{let e=class e{constructor(t){this._viewContainer=t,e.mostRecentCellOutlet=this}ngOnDestroy(){e.mostRecentCellOutlet===this&&(e.mostRecentCellOutlet=null)}};e.mostRecentCellOutlet=null,e.\u0275fac=function(n){return new(n||e)(h(Me))},e.\u0275dir=E({type:e,selectors:[["","cdkCellOutlet",""]],standalone:!0});let i=e;return i})(),Rs=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Q({type:e,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[J],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&fe(0,0)},dependencies:[kt],encapsulation:2});let i=e;return i})();var ks=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Q({type:e,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[J],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&fe(0,0)},dependencies:[kt],encapsulation:2});let i=e;return i})(),Gc=(()=>{let e=class e{constructor(t){this.templateRef=t,this._contentClassName="cdk-no-data-row"}};e.\u0275fac=function(n){return new(n||e)(h(Se))},e.\u0275dir=E({type:e,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0});let i=e;return i})(),Uc=["top","bottom","left","right"],Ds=class{constructor(e,r,t,n,o=!0,s=!0,a){this._isNativeHtmlTable=e,this._stickCellCss=r,this.direction=t,this._coalescedStyleScheduler=n,this._isBrowser=o,this._needsPositionStickyOnElement=s,this._positionListener=a,this._cachedCellWidths=[],this._borderCellCss={top:`${r}-border-elem-top`,bottom:`${r}-border-elem-bottom`,left:`${r}-border-elem-left`,right:`${r}-border-elem-right`}}clearStickyPositioning(e,r){let t=[];for(let n of e)if(n.nodeType===n.ELEMENT_NODE){t.push(n);for(let o=0;o{for(let n of t)this._removeStickyStyle(n,r)})}updateStickyColumns(e,r,t,n=!0){if(!e.length||!this._isBrowser||!(r.some(o=>o)||t.some(o=>o))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}this._coalescedStyleScheduler.schedule(()=>{let o=e[0],s=o.children.length,a=this._getCellWidths(o,n),c=this._getStickyStartColumnPositions(a,r),l=this._getStickyEndColumnPositions(a,t),d=r.lastIndexOf(!0),u=t.indexOf(!0),m=this.direction==="rtl",b=m?"right":"left",B=m?"left":"right";for(let V of e)for(let S=0;Sr[S]?V:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:u===-1?[]:a.slice(u).map((V,S)=>t[S+u]?V:null).reverse()}))})}stickRows(e,r,t){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{let n=t==="bottom"?e.slice().reverse():e,o=t==="bottom"?r.slice().reverse():r,s=[],a=[],c=[];for(let d=0,u=0;d{let t=e.querySelector("tfoot");t&&(r.some(n=>!n)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1))})}_removeStickyStyle(e,r){for(let n of r)e.style[n]="",e.classList.remove(this._borderCellCss[n]);Uc.some(n=>r.indexOf(n)===-1&&e.style[n])?e.style.zIndex=this._getCalculatedZIndex(e):(e.style.zIndex="",this._needsPositionStickyOnElement&&(e.style.position=""),e.classList.remove(this._stickCellCss))}_addStickyStyle(e,r,t,n){e.classList.add(this._stickCellCss),n&&e.classList.add(this._borderCellCss[r]),e.style[r]=`${t}px`,e.style.zIndex=this._getCalculatedZIndex(e),this._needsPositionStickyOnElement&&(e.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(e){let r={top:100,bottom:10,left:1,right:1},t=0;for(let n of Uc)e.style[n]&&(t+=r[n]);return t?`${t}`:""}_getCellWidths(e,r=!0){if(!r&&this._cachedCellWidths.length)return this._cachedCellWidths;let t=[],n=e.children;for(let o=0;o0;o--)r[o]&&(t[o]=n,n+=e[o]);return t}};var mr=new w("CDK_SPL");var As=(()=>{let e=class e{constructor(t,n){this.viewContainer=t,this.elementRef=n;let o=_(Pe);o._rowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(n){return new(n||e)(h(Me),h(P))},e.\u0275dir=E({type:e,selectors:[["","rowOutlet",""]],standalone:!0});let i=e;return i})(),Ms=(()=>{let e=class e{constructor(t,n){this.viewContainer=t,this.elementRef=n;let o=_(Pe);o._headerRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(n){return new(n||e)(h(Me),h(P))},e.\u0275dir=E({type:e,selectors:[["","headerRowOutlet",""]],standalone:!0});let i=e;return i})(),Ts=(()=>{let e=class e{constructor(t,n){this.viewContainer=t,this.elementRef=n;let o=_(Pe);o._footerRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(n){return new(n||e)(h(Me),h(P))},e.\u0275dir=E({type:e,selectors:[["","footerRowOutlet",""]],standalone:!0});let i=e;return i})(),Os=(()=>{let e=class e{constructor(t,n){this.viewContainer=t,this.elementRef=n;let o=_(Pe);o._noDataRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(n){return new(n||e)(h(Me),h(P))},e.\u0275dir=E({type:e,selectors:[["","noDataRowOutlet",""]],standalone:!0});let i=e;return i})();var Fs=(()=>{let e=class e{_getCellRole(){if(this._cellRoleInternal===void 0){let t=this._elementRef.nativeElement.getAttribute("role"),n=t==="grid"||t==="treegrid"?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&n==="cell"?null:n}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=t,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=t,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(t,n,o,s,a,c,l,d,u,m,b,B){this._differs=t,this._changeDetectorRef=n,this._elementRef=o,this._dir=a,this._platform=l,this._viewRepeater=d,this._coalescedStyleScheduler=u,this._viewportRuler=m,this._stickyPositioningListener=b,this._ngZone=B,this._onDestroy=new k,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._hasAllOutlets=!1,this._hasInitialized=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new H,this.viewChange=new he({start:0,end:Number.MAX_VALUE}),s||o.nativeElement.setAttribute("role","table"),this._document=c,this._isServer=!l.isBrowser,this._isNativeHtmlTable=o.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((t,n)=>this.trackBy?this.trackBy(n.dataIndex,n.data):n),this._viewportRuler.change().pipe(U(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(t=>{t?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Yn(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let t=this._dataDiffer.diff(this._renderRows);if(!t){this._updateNoDataRow(),this.contentChanged.next();return}let n=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(t,n,(o,s,a)=>this._getEmbeddedViewArgs(o.item,a),o=>o.item.data,o=>{o.operation===Zt.INSERTED&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),t.forEachIdentityChange(o=>{let s=n.get(o.currentIndex);s.context.$implicit=o.item.data}),this._updateNoDataRow(),this._ngZone&&R.isInAngularZone()?this._ngZone.onStable.pipe(ye(1),U(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){let t=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let o=zc(this._headerRowOutlet,"thead");o&&(o.style.display=t.length?"":"none")}let n=this._headerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,n,"top"),this._headerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyFooterRowStyles(){let t=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let o=zc(this._footerRowOutlet,"tfoot");o&&(o.style.display=t.length?"":"none")}let n=this._footerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyColumnStyles(){let t=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...n,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((s,a)=>{this._addStickyColumnStyles([s],this._headerRowDefs[a])}),this._rowDefs.forEach(s=>{let a=[];for(let c=0;c{this._addStickyColumnStyles([s],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(s=>s.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let n=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||n,this._forceRecalculateCellWidths=n,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let t=[],n=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=0;o{let c=o&&o.has(a)?o.get(a):[];if(c.length){let l=c.shift();return l.dataIndex=n,l}else return{data:t,rowDef:a,dataIndex:n}})}_cacheColumnDefs(){this._columnDefsByName.clear(),dr(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(n=>{this._columnDefsByName.has(n.name),this._columnDefsByName.set(n.name,n)})}_cacheRowDefs(){this._headerRowDefs=dr(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=dr(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=dr(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let t=this._rowDefs.filter(n=>!n.when);!this.multiTemplateDataRows&&t.length>1,this._defaultRowDef=t[0]}_renderUpdatedColumns(){let t=(a,c)=>a||!!c.getColumnsDiff(),n=this._rowDefs.reduce(t,!1);n&&this._forceRenderDataRows();let o=this._headerRowDefs.reduce(t,!1);o&&this._forceRenderHeaderRows();let s=this._footerRowDefs.reduce(t,!1);return s&&this._forceRenderFooterRows(),n||o||s}_switchDataSource(t){this._data=[],Yn(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;Yn(this.dataSource)?t=this.dataSource.connect(this):At(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=D(this.dataSource)),this._renderChangeSubscription=t.pipe(U(this._onDestroy)).subscribe(n=>{this._data=n||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,n)=>this._renderRow(this._headerRowOutlet,t,n)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,n)=>this._renderRow(this._footerRowOutlet,t,n)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,n){let o=Array.from(n.columns||[]).map(c=>{let l=this._columnDefsByName.get(c);return l}),s=o.map(c=>c.sticky),a=o.map(c=>c.stickyEnd);this._stickyStyler.updateStickyColumns(t,s,a,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){let n=[];for(let o=0;o!s.when||s.when(n,t));else{let s=this._rowDefs.find(a=>a.when&&a.when(n,t))||this._defaultRowDef;s&&o.push(s)}return o.length,o}_getEmbeddedViewArgs(t,n){let o=t.rowDef,s={$implicit:t.data};return{templateRef:o.template,context:s,index:n}}_renderRow(t,n,o,s={}){let a=t.viewContainer.createEmbeddedView(n.template,s,o);return this._renderCellTemplateForItem(n,s),a}_renderCellTemplateForItem(t,n){for(let o of this._getCellTemplates(t))kt.mostRecentCellOutlet&&kt.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,n);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let t=this._rowOutlet.viewContainer;for(let n=0,o=t.length;n{let o=this._columnDefsByName.get(n);return t.extractCellTemplate(o)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let t=(n,o)=>n||o.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let t=this._dir?this._dir.value:"ltr";this._stickyStyler=new Ds(this._isNativeHtmlTable,this.stickyCssClass,t,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:D()).pipe(U(this._onDestroy)).subscribe(n=>{this._stickyStyler.direction=n,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(n=>!n._table||n._table===this)}_updateNoDataRow(){let t=this._customNoDataRow||this._noDataRow;if(!t)return;let n=this._rowOutlet.viewContainer.length===0;if(n===this._isShowingNoDataRow)return;let o=this._noDataRowOutlet.viewContainer;if(n){let s=o.createEmbeddedView(t.templateRef),a=s.rootNodes[0];s.rootNodes.length===1&&a?.nodeType===this._document.ELEMENT_NODE&&(a.setAttribute("role","row"),a.classList.add(t._contentClassName))}else o.clear();this._isShowingNoDataRow=n,this._changeDetectorRef.markForCheck()}};e.\u0275fac=function(n){return new(n||e)(h(ft),h(Ie),h(P),Ft("role"),h(qe,8),h(L),h(pe),h(Ui),h(fr),h(St),h(mr,12),h(R,8))},e.\u0275cmp=Q({type:e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(n,o,s){if(n&1&&(oe(s,Gc,5),oe(s,Jt,5),oe(s,_r,5),oe(s,Yi,5),oe(s,Is,5)),n&2){let a;F(a=N())&&(o._noDataRow=a.first),F(a=N())&&(o._contentColumnDefs=a),F(a=N())&&(o._contentRowDefs=a),F(a=N())&&(o._contentHeaderRowDefs=a),F(a=N())&&(o._contentFooterRowDefs=a)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(n,o){n&2&&re("cdk-table-fixed-layout",o.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[p.HasDecoratorInputTransform,"multiTemplateDataRows","multiTemplateDataRows",G],fixedLayout:[p.HasDecoratorInputTransform,"fixedLayout","fixedLayout",G]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[ie([{provide:Pe,useExisting:e},{provide:Ui,useClass:Xt},{provide:fr,useClass:Es},{provide:mr,useValue:null}]),ae,J],ngContentSelectors:Ep,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,o){n&1&&(Te(Dp),K(0),K(1,1),j(2,Sp,1,0)(3,Ip,7,0)(4,Rp,4,0)),n&2&&(C(2),$(2,o._isServer?2:-1),C(),$(3,o._isNativeHtmlTable?3:4))},dependencies:[Ms,As,Os,Ts],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2});let i=e;return i})();function dr(i,e){return i.concat(Array.from(e))}function zc(i,e){let r=e.toUpperCase(),t=i.viewContainer.element.nativeElement;for(;t;){let n=t.nodeType===1?t.nodeName:null;if(n===r)return t;if(n==="TABLE")break;t=t.parentNode}return null}var qc=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[zi]});let i=e;return i})();var kp=[[["caption"]],[["colgroup"],["col"]],"*"],Ap=["caption","colgroup, col","*"];function Mp(i,e){i&1&&K(0,2)}function Tp(i,e){i&1&&(y(0,"thead",0),fe(1,1),x(),y(2,"tbody",2),fe(3,3)(4,4),x(),y(5,"tfoot",0),fe(6,5),x())}function Op(i,e){i&1&&fe(0,1)(1,3)(2,4)(3,5)}var Yc=(()=>{let e=class e extends Fs{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=ue(e)))(o||e)}})(),e.\u0275cmp=Q({type:e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(n,o){n&2&&re("mdc-table-fixed-layout",o.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[ie([{provide:Fs,useExisting:e},{provide:Pe,useExisting:e},{provide:fr,useClass:Es},{provide:Ui,useClass:Xt},{provide:mr,useValue:null}]),te,J],ngContentSelectors:Ap,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,o){n&1&&(Te(kp),K(0),K(1,1),j(2,Mp,1,0)(3,Tp,7,0)(4,Op,4,0)),n&2&&(C(2),$(2,o._isServer?2:-1),C(),$(3,o._isNativeHtmlTable?3:4))},dependencies:[Ms,As,Os,Ts],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2});let i=e;return i})(),Zc=(()=>{let e=class e extends pr{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=ue(e)))(o||e)}})(),e.\u0275dir=E({type:e,selectors:[["","matCellDef",""]],standalone:!0,features:[ie([{provide:pr,useExisting:e}]),te]});let i=e;return i})(),Xc=(()=>{let e=class e extends gr{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=ue(e)))(o||e)}})(),e.\u0275dir=E({type:e,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[ie([{provide:gr,useExisting:e}]),te]});let i=e;return i})();var Kc=(()=>{let e=class e extends Jt{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=ue(e)))(o||e)}})(),e.\u0275dir=E({type:e,selectors:[["","matColumnDef",""]],inputs:{name:[p.None,"matColumnDef","name"]},standalone:!0,features:[ie([{provide:Jt,useExisting:e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),te]});let i=e;return i})(),Qc=(()=>{let e=class e extends $c{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=ue(e)))(o||e)}})(),e.\u0275dir=E({type:e,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[te]});let i=e;return i})();var Jc=(()=>{let e=class e extends Wc{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=ue(e)))(o||e)}})(),e.\u0275dir=E({type:e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[te]});let i=e;return i})();var ed=(()=>{let e=class e extends Yi{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=ue(e)))(o||e)}})(),e.\u0275dir=E({type:e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[p.None,"matHeaderRowDef","columns"],sticky:[p.HasDecoratorInputTransform,"matHeaderRowDefSticky","sticky",G]},standalone:!0,features:[ie([{provide:Yi,useExisting:e}]),ae,te]});let i=e;return i})();var td=(()=>{let e=class e extends _r{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=ue(e)))(o||e)}})(),e.\u0275dir=E({type:e,selectors:[["","matRowDef",""]],inputs:{columns:[p.None,"matRowDefColumns","columns"],when:[p.None,"matRowDefWhen","when"]},standalone:!0,features:[ie([{provide:_r,useExisting:e}]),te]});let i=e;return i})(),id=(()=>{let e=class e extends Rs{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=ue(e)))(o||e)}})(),e.\u0275cmp=Q({type:e,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],standalone:!0,features:[ie([{provide:Rs,useExisting:e}]),te,J],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&fe(0,0)},dependencies:[kt],encapsulation:2});let i=e;return i})();var nd=(()=>{let e=class e extends ks{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=ue(e)))(o||e)}})(),e.\u0275cmp=Q({type:e,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[ie([{provide:ks,useExisting:e}]),te,J],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&fe(0,0)},dependencies:[kt],encapsulation:2});let i=e;return i})();var rd=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[ge,qc,ge]});let i=e;return i})();var od=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({});let i=e;return i})();var sd=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[ge,Et,Et,od,ge]});let i=e;return i})();var Np=["determinateSpinner"];function Pp(i,e){if(i&1&&(ri(),y(0,"svg",11),X(1,"circle",12),x()),i&2){let r=W();de("viewBox",r._viewBox()),C(),lt("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeCircumference()/2,"px")("stroke-width",r._circleStrokeWidth(),"%"),de("r",r._circleRadius())}}var Lp=new w("mat-progress-spinner-default-options",{providedIn:"root",factory:Vp});function Vp(){return{diameter:ad}}var ad=100,jp=10,ld=(()=>{let e=class e{get color(){return this._color||this._defaultColor}set color(t){this._color=t}constructor(t,n,o){this._elementRef=t,this._defaultColor="primary",this._value=0,this._diameter=ad,this._noopAnimations=n==="NoopAnimations"&&!!o&&!o._forceAnimations,this.mode=t.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",o&&(o.color&&(this.color=this._defaultColor=o.color),o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth))}get value(){return this.mode==="determinate"?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,t||0))}get diameter(){return this._diameter}set diameter(t){this._diameter=t||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(t){this._strokeWidth=t||0}_circleRadius(){return(this.diameter-jp)/2}_viewBox(){let t=this._circleRadius()*2+this.strokeWidth;return`0 0 ${t} ${t}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}};e.\u0275fac=function(n){return new(n||e)(h(P),h(Ne,8),h(Lp))},e.\u0275cmp=Q({type:e,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(n,o){if(n&1&&me(Np,5),n&2){let s;F(s=N())&&(o._determinateCircle=s.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(n,o){n&2&&(de("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",o.mode==="determinate"?o.value:null)("mode",o.mode),ta("mat-"+o.color),lt("width",o.diameter,"px")("height",o.diameter,"px")("--mdc-circular-progress-size",o.diameter+"px")("--mdc-circular-progress-active-indicator-width",o.diameter+"px"),re("_mat-animation-noopable",o._noopAnimations)("mdc-circular-progress--indeterminate",o.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[p.HasDecoratorInputTransform,"value","value",mt],diameter:[p.HasDecoratorInputTransform,"diameter","diameter",mt],strokeWidth:[p.HasDecoratorInputTransform,"strokeWidth","strokeWidth",mt]},exportAs:["matProgressSpinner"],standalone:!0,features:[ae,J],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(n,o){if(n&1&&(j(0,Pp,2,8,"ng-template",null,0,rn),y(2,"div",2,1),ri(),y(4,"svg",3),X(5,"circle",4),x()(),Ys(),y(6,"div",5)(7,"div",6)(8,"div",7),fe(9,8),x(),y(10,"div",9),fe(11,8),x(),y(12,"div",10),fe(13,8),x()()()),n&2){let s=ht(1);C(4),de("viewBox",o._viewBox()),C(),lt("stroke-dasharray",o._strokeCircumference(),"px")("stroke-dashoffset",o._strokeDashOffset(),"px")("stroke-width",o._circleStrokeWidth(),"%"),de("r",o._circleRadius()),C(4),Z("ngTemplateOutlet",s),C(2),Z("ngTemplateOutlet",s),C(2),Z("ngTemplateOutlet",s)}},dependencies:[ln],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0});let i=e;return i})();var cd=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[Ge,ge]});let i=e;return i})();var dd=(()=>{let e=class e{transform(t,n=0){if(isNaN(t))return"";let o=["K","M","B","T"],s=t.toString(),a=0;for(;s.length>3&&a0?o[a-1]:"")}};e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=Qi({name:"numberFormatter",type:e,pure:!0,standalone:!0});let i=e;return i})();var Up="https://block-watch.onrender.com",hd=(()=>{let e=class e{constructor(){this.http=_(Ur)}getTransactions(){return this.http.get(`${Up}/api/v1/transactions/transactions/`)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var ud=(()=>{let e=class e{constructor(){this.destroyed$=new k}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=E({type:e,selectors:[["destroyDirective"]],standalone:!0});let i=e;return i})();var fd=(()=>{let e=class e{transform(t){return t.toFixed(3)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=Qi({name:"fixed",type:e,pure:!0,standalone:!0});let i=e;return i})();function zp(i,e){if(i&1&&(y(0,"mat-option",3),le(1),x()),i&2){let r=e.$implicit;Z("value",r.value),C(),We(r.viewValue)}}function Hp(i,e){i&1&&(y(0,"div",4),X(1,"mat-spinner"),x())}function $p(i,e){i&1&&(y(0,"th",15),le(1,"TIME"),x())}function Wp(i,e){if(i&1&&(y(0,"td",16),le(1),ci(2,"date"),x()),i&2){let r=e.$implicit;C(),ut(" ",aa(2,1,r.blockTimestamp,"HH:mm","UTC+3")," ")}}function Gp(i,e){i&1&&(y(0,"th",15),le(1,"Price"),x())}function qp(i,e){if(i&1&&(y(0,"td",16)(1,"span"),le(2),ci(3,"fixed"),x()()),i&2){let r=e.$implicit;C(2),We(nn(3,1,r.historicalUSD/r.unitValue))}}function Yp(i,e){i&1&&(y(0,"th",15),le(1,"NAME"),x())}function Zp(i,e){if(i&1&&(y(0,"td",16)(1,"div",17)(2,"span"),le(3),x(),y(4,"div",18),X(5,"img",19),x()()()),i&2){let r=e.$implicit;C(3),We(r.tokenSymbol),C(2),sa("src","https://static.arkhamintelligence.com/tokens/",r.tokenId,".png",Ks),Z("alt",r.tokenId)}}function Xp(i,e){i&1&&(y(0,"th",15),le(1,"USD"),x())}function Kp(i,e){if(i&1&&(y(0,"td",16)(1,"span"),le(2),ci(3,"numberFormatter"),x()()),i&2){let r=e.$implicit;C(2),ut("",nn(3,1,r.historicalUSD),"$")}}function Qp(i,e){i&1&&X(0,"tr",20)}function Jp(i,e){i&1&&X(0,"tr",21)}function eg(i,e){if(i&1&&(y(0,"div",5)(1,"table",6),ct(2,7),j(3,$p,2,0,"th",8)(4,Wp,3,5,"td",9),dt(),ct(5,10),j(6,Gp,2,0,"th",8)(7,qp,4,3,"td",9),dt(),ct(8,11),j(9,Yp,2,0,"th",8)(10,Zp,6,4,"td",9),dt(),ct(11,12),j(12,Xp,2,0,"th",8)(13,Kp,4,3,"td",9),dt(),j(14,Qp,1,0,"tr",13)(15,Jp,1,0,"tr",14),x()()),i&2){let r=W().ngIf,t=W();C(),Z("dataSource",r.dataSource),C(13),Z("matHeaderRowDef",t.displayedColumns),C(),Z("matRowDefColumns",t.displayedColumns)}}function tg(i,e){if(i&1&&(y(0,"div",1)(1,"div",2)(2,"mat-form-field")(3,"mat-label"),le(4,"Type"),x(),y(5,"mat-select"),ra(6,zp,2,2,"mat-option",3,na),x()(),j(8,Hp,2,0,"div",4)(9,eg,16,3),x()()),i&2){let r=e.ngIf,t=W();C(6),oa(t.foods),C(2),$(8,r.isLoading?8:9)}}var md=(()=>{let e=class e extends ud{constructor(){super(...arguments),this.homeApiService=_(hd),this.displayedColumns=["time","price","name","usd"],this.dataSource$=new he([]),this.isLoading$=new he(!1),this.vm$=ot(this.isLoading$,this.dataSource$).pipe(A(([t,n])=>({isLoading:t,dataSource:n}))),this.foods=[{value:"steak-0",viewValue:"Steak"},{value:"pizza-1",viewValue:"Pizza"},{value:"tacos-2",viewValue:"Tacos"}]}ngOnInit(){this.getInitTransactions(),this.startTransactionsPulling()}startTransactionsPulling(){Us(6e4).pipe(Be(()=>this.homeApiService.getTransactions()),ne(t=>this.dataSource$.next(t)),U(this.destroyed$)).subscribe()}getInitTransactions(){this.isLoading$.next(!0),this.homeApiService.getTransactions().pipe(ne(t=>{this.dataSource$.next(t),this.isLoading$.next(!1)}),U(this.destroyed$)).subscribe()}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=ue(e)))(o||e)}})(),e.\u0275cmp=Q({type:e,selectors:[["crt-home"]],standalone:!0,features:[te,J],decls:2,vars:3,consts:[["class","home",4,"ngIf"],[1,"home"],[1,"home__filter"],[3,"value"],[1,"home__loader"],[1,"home__table"],["mat-table","",1,"mat-elevation-z8",3,"dataSource"],["matColumnDef","time"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","price"],["matColumnDef","name"],["matColumnDef","usd"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[1,"home__table-name"],[1,"home__table-name-img"],[3,"src","alt"],["mat-header-row",""],["mat-row",""]],template:function(n,o){n&1&&(j(0,tg,10,1,"div",0),ci(1,"async")),n&2&&Z("ngIf",nn(1,1,o.vm$))},dependencies:[rd,Yc,Xc,ed,Kc,Zc,td,Qc,Jc,id,nd,Bc,Jl,$n,jc,zn,Et,sd,Pc,Ge,fa,ma,pa,dd,cd,ld,fd],styles:[".home__table-name[_ngcontent-%COMP%]{display:flex;align-items:center;gap:7px}.home__table-name-img[_ngcontent-%COMP%]{width:22px;height:22px}.home__table-name[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;height:auto}.home__loader[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-block-start:50px}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"],changeDetection:0});let i=e;return i})();var pd=[{path:"",component:md}];var gd=[...pd];var ig="@",ng=(()=>{let e=class e{constructor(t,n,o,s,a){this.doc=t,this.delegate=n,this.zone=o,this.animationType=s,this.moduleImpl=a,this._rendererFactoryPromise=null,this.scheduler=_(Qs,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){return(this.moduleImpl??import("./chunk-WDO34ETR.js")).catch(n=>{throw new Y(5300,!1)}).then(({\u0275createEngine:n,\u0275AnimationRendererFactory:o})=>{this._engine=n(this.animationType,this.doc,this.scheduler);let s=new o(this.delegate,this._engine,this.zone);return this.delegate=s,s})}createRenderer(t,n){let o=this.delegate.createRenderer(t,n);if(o.\u0275type===0)return o;typeof o.throwOnSyntheticProps=="boolean"&&(o.throwOnSyntheticProps=!1);let s=new Ns(o);return n?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(a=>{let c=a.createRenderer(t,n);s.use(c)}).catch(a=>{s.use(o)}),s}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}};e.\u0275fac=function(n){kr()},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})(),Ns=class{constructor(e){this.delegate=e,this.replay=[],this.\u0275type=1}use(e){if(this.delegate=e,this.replay!==null){for(let r of this.replay)r(e);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(e,r){return this.delegate.createElement(e,r)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}get destroyNode(){return this.delegate.destroyNode}appendChild(e,r){this.delegate.appendChild(e,r)}insertBefore(e,r,t,n){this.delegate.insertBefore(e,r,t,n)}removeChild(e,r,t){this.delegate.removeChild(e,r,t)}selectRootElement(e,r){return this.delegate.selectRootElement(e,r)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,r,t,n){this.delegate.setAttribute(e,r,t,n)}removeAttribute(e,r,t){this.delegate.removeAttribute(e,r,t)}addClass(e,r){this.delegate.addClass(e,r)}removeClass(e,r){this.delegate.removeClass(e,r)}setStyle(e,r,t,n){this.delegate.setStyle(e,r,t,n)}removeStyle(e,r,t){this.delegate.removeStyle(e,r,t)}setProperty(e,r,t){this.shouldReplay(r)&&this.replay.push(n=>n.setProperty(e,r,t)),this.delegate.setProperty(e,r,t)}setValue(e,r){this.delegate.setValue(e,r)}listen(e,r,t){return this.shouldReplay(r)&&this.replay.push(n=>n.listen(e,r,t)),this.delegate.listen(e,r,t)}shouldReplay(e){return this.replay!==null&&e.startsWith(ig)}};function _d(i="animations"){return Mr("NgAsyncAnimations"),st([{provide:en,useFactory:(e,r,t)=>new ng(e,r,t,i),deps:[L,vn,R]},{provide:Ne,useValue:i==="noop"?"NoopAnimations":"BrowserAnimations"}])}var vd={providers:[vl(gd),_d(),ka()]};var yd=(()=>{let e=class e{constructor(){this.title="crt"}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Q({type:e,selectors:[["app-root"]],standalone:!0,features:[J],decls:2,vars:0,consts:[[1,"box-container"]],template:function(n,o){n&1&&(y(0,"div",0),X(1,"router-outlet"),x())},dependencies:[Mo],styles:[".box-container[_ngcontent-%COMP%]{padding:10px}"]});let i=e;return i})();Pa(yd,vd).catch(i=>console.error(i)); diff --git a/main-KZAJ7AYU.js b/main-KZAJ7AYU.js new file mode 100644 index 0000000..8893bb7 --- /dev/null +++ b/main-KZAJ7AYU.js @@ -0,0 +1,5 @@ +import{$ as f,$a as sa,$b as hn,A as Dr,Aa as $e,Ab as ua,B as Ft,Ba as Le,Bb as fa,C as ze,Ca as ci,Cb as Q,D as Ji,Da as ia,Db as te,E as Er,Ea as di,Eb as ui,F as be,Fa as D,Fb as sn,G as Gs,Ga as h,Gb as ma,H as en,Ha as Tr,Hb as an,I as Nt,Ia as Re,Ib as ln,J as Ke,Ja as na,Jb as cn,K as Sr,Ka as Or,Kb as Pr,L as qs,La as nn,Lb as Vt,M as Ys,Ma as rn,Mb as Lr,N as Rr,Na as Fr,Nb as Se,O as Ir,Oa as I,Ob as mt,P as Qe,Pa as Oe,Pb as pa,Q as xe,Qa as Nr,Qb as G,R as U,Ra as q,Rb as pt,S as Zs,Sa as ae,Sb as ga,T as re,Ta as ra,Tb as jt,U as Y,Ua as oa,Ub as _a,V as si,Va as on,Vb as va,W as v,Wa as j,Wb as L,X as T,Xa as he,Xb as Bt,Y as Xs,Ya as Z,Yb as dn,Z as w,Za as lt,Zb as ya,_ as kr,_a as ne,_b as ba,a as g,aa as _,ab as aa,ac as xa,b as ie,ba as ai,bb as W,bc as wa,ca as m,cb as la,cc as Ca,d as Ee,da as ee,db as ca,dc as Ge,e as Us,ea as O,eb as y,ec as Da,f as Ue,fa as C,fb as x,fc as Ea,g as Cr,ga as Ks,gb as X,gc as Vr,h as ni,ha as st,hb as ct,hc as un,i as k,ia as Qs,ib as dt,j as ue,ja as Pt,jb as fe,k as Ze,ka as He,kb as ht,kc as fi,l as ve,la as we,lb as hi,lc as mi,m as E,ma as Me,mb as me,n as ri,na as Te,nb as H,nc as gt,o as Ot,oa as li,ob as Fe,oc as fn,p as zs,pa as Js,pb as K,pc as Ut,q as A,qa as de,qb as da,qc as Sa,r as ot,ra as Lt,rb as oe,rc as Ra,s as Ae,sa as at,sb as pe,t as Qi,ta as Ar,tb as N,u as oi,ua as F,ub as P,v as Hs,va as z,vb as ut,w as $s,wa as Mr,wb as le,x as Ws,xa as ea,xb as We,y as Xe,ya as tn,yb as ft,z as ce,za as ta,zb as ha}from"./chunk-R7W3RWW5.js";var gi=class{},pn=class{},_t=class i{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` +`).forEach(r=>{let t=r.indexOf(":");if(t>0){let n=r.slice(0,t),o=n.toLowerCase(),s=r.slice(t+1).trim();this.maybeSetNormalizedName(n,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,t)=>{this.setHeaderEntries(t,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,t])=>{this.setHeaderEntries(r,t)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof i?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new i;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof i?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let t=e.value;if(typeof t=="string"&&(t=[t]),t.length===0)return;this.maybeSetNormalizedName(e.name,r);let n=(e.op==="a"?this.headers.get(r):void 0)||[];n.push(...t),this.headers.set(r,n);break;case"d":let o=e.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let t=(Array.isArray(r)?r:[r]).map(o=>o.toString()),n=e.toLowerCase();this.headers.set(n,t),this.maybeSetNormalizedName(e,n)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var Br=class{encodeKey(e){return Ia(e)}encodeValue(e){return Ia(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function Ld(i,e){let r=new Map;return i.length>0&&i.replace(/^\?/,"").split("&").forEach(n=>{let o=n.indexOf("="),[s,a]=o==-1?[e.decodeKey(n),""]:[e.decodeKey(n.slice(0,o)),e.decodeValue(n.slice(o+1))],c=r.get(s)||[];c.push(a),r.set(s,c)}),r}var Vd=/%(\d[a-f0-9])/gi,jd={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ia(i){return encodeURIComponent(i).replace(Vd,(e,r)=>jd[r]??e)}function mn(i){return`${i}`}var Je=class i{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Br,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=Ld(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let t=e.fromObject[r],n=Array.isArray(t)?t.map(mn):[mn(t)];this.map.set(r,n)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(t=>{let n=e[t];Array.isArray(n)?n.forEach(o=>{r.push({param:t,value:o,op:"a"})}):r.push({param:t,value:n,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(t=>r+"="+this.encoder.encodeValue(t)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new i({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(mn(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let t=this.map.get(e.param)||[],n=t.indexOf(mn(e.value));n!==-1&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var Ur=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function Bd(i){switch(i){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function ka(i){return typeof ArrayBuffer<"u"&&i instanceof ArrayBuffer}function Aa(i){return typeof Blob<"u"&&i instanceof Blob}function Ma(i){return typeof FormData<"u"&&i instanceof FormData}function Ud(i){return typeof URLSearchParams<"u"&&i instanceof URLSearchParams}var pi=class i{constructor(e,r,t,n){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(Bd(this.method)||n?(this.body=t!==void 0?t:null,o=n):o=t,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new _t,this.context??=new Ur,!this.params)this.params=new Je,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),c=a===-1?"?":ap.set(b,e.setHeaders[b]),l)),e.setParams&&(d=Object.keys(e.setParams).reduce((p,b)=>p.set(b,e.setParams[b]),d)),new i(r,t,s,{params:d,headers:l,context:u,reportProgress:c,responseType:n,withCredentials:a,transferCache:o})}},zt=function(i){return i[i.Sent=0]="Sent",i[i.UploadProgress=1]="UploadProgress",i[i.ResponseHeader=2]="ResponseHeader",i[i.DownloadProgress=3]="DownloadProgress",i[i.Response=4]="Response",i[i.User=5]="User",i}(zt||{}),_i=class{constructor(e,r=vn.Ok,t="OK"){this.headers=e.headers||new _t,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||t,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},zr=class i extends _i{constructor(e={}){super(e),this.type=zt.ResponseHeader}clone(e={}){return new i({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},gn=class i extends _i{constructor(e={}){super(e),this.type=zt.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new i({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},_n=class extends _i{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},vn=function(i){return i[i.Continue=100]="Continue",i[i.SwitchingProtocols=101]="SwitchingProtocols",i[i.Processing=102]="Processing",i[i.EarlyHints=103]="EarlyHints",i[i.Ok=200]="Ok",i[i.Created=201]="Created",i[i.Accepted=202]="Accepted",i[i.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",i[i.NoContent=204]="NoContent",i[i.ResetContent=205]="ResetContent",i[i.PartialContent=206]="PartialContent",i[i.MultiStatus=207]="MultiStatus",i[i.AlreadyReported=208]="AlreadyReported",i[i.ImUsed=226]="ImUsed",i[i.MultipleChoices=300]="MultipleChoices",i[i.MovedPermanently=301]="MovedPermanently",i[i.Found=302]="Found",i[i.SeeOther=303]="SeeOther",i[i.NotModified=304]="NotModified",i[i.UseProxy=305]="UseProxy",i[i.Unused=306]="Unused",i[i.TemporaryRedirect=307]="TemporaryRedirect",i[i.PermanentRedirect=308]="PermanentRedirect",i[i.BadRequest=400]="BadRequest",i[i.Unauthorized=401]="Unauthorized",i[i.PaymentRequired=402]="PaymentRequired",i[i.Forbidden=403]="Forbidden",i[i.NotFound=404]="NotFound",i[i.MethodNotAllowed=405]="MethodNotAllowed",i[i.NotAcceptable=406]="NotAcceptable",i[i.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",i[i.RequestTimeout=408]="RequestTimeout",i[i.Conflict=409]="Conflict",i[i.Gone=410]="Gone",i[i.LengthRequired=411]="LengthRequired",i[i.PreconditionFailed=412]="PreconditionFailed",i[i.PayloadTooLarge=413]="PayloadTooLarge",i[i.UriTooLong=414]="UriTooLong",i[i.UnsupportedMediaType=415]="UnsupportedMediaType",i[i.RangeNotSatisfiable=416]="RangeNotSatisfiable",i[i.ExpectationFailed=417]="ExpectationFailed",i[i.ImATeapot=418]="ImATeapot",i[i.MisdirectedRequest=421]="MisdirectedRequest",i[i.UnprocessableEntity=422]="UnprocessableEntity",i[i.Locked=423]="Locked",i[i.FailedDependency=424]="FailedDependency",i[i.TooEarly=425]="TooEarly",i[i.UpgradeRequired=426]="UpgradeRequired",i[i.PreconditionRequired=428]="PreconditionRequired",i[i.TooManyRequests=429]="TooManyRequests",i[i.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",i[i.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",i[i.InternalServerError=500]="InternalServerError",i[i.NotImplemented=501]="NotImplemented",i[i.BadGateway=502]="BadGateway",i[i.ServiceUnavailable=503]="ServiceUnavailable",i[i.GatewayTimeout=504]="GatewayTimeout",i[i.HttpVersionNotSupported=505]="HttpVersionNotSupported",i[i.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",i[i.InsufficientStorage=507]="InsufficientStorage",i[i.LoopDetected=508]="LoopDetected",i[i.NotExtended=510]="NotExtended",i[i.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",i}(vn||{});function jr(i,e){return{body:e,headers:i.headers,context:i.context,observe:i.observe,params:i.params,reportProgress:i.reportProgress,responseType:i.responseType,withCredentials:i.withCredentials,transferCache:i.transferCache}}var Hr=(()=>{let e=class e{constructor(t){this.handler=t}request(t,n,o={}){let s;if(t instanceof pi)s=t;else{let l;o.headers instanceof _t?l=o.headers:l=new _t(o.headers);let d;o.params&&(o.params instanceof Je?d=o.params:d=new Je({fromObject:o.params})),s=new pi(t,n,o.body!==void 0?o.body:null,{headers:l,context:o.context,params:d,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=E(s).pipe(ze(l=>this.handler.handle(l)));if(t instanceof pi||o.observe==="events")return a;let c=a.pipe(ce(l=>l instanceof gn));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(A(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(A(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(A(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(A(l=>l.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(t,n={}){return this.request("DELETE",t,n)}get(t,n={}){return this.request("GET",t,n)}head(t,n={}){return this.request("HEAD",t,n)}jsonp(t,n){return this.request("JSONP",t,{params:new Je().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,n={}){return this.request("OPTIONS",t,n)}patch(t,n,o={}){return this.request("PATCH",t,jr(o,n))}post(t,n,o={}){return this.request("POST",t,jr(o,n))}put(t,n,o={}){return this.request("PUT",t,jr(o,n))}};e.\u0275fac=function(n){return new(n||e)(f(gi))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})();function zd(i,e){return e(i)}function Hd(i,e,r){return(t,n)=>He(r,()=>e(t,o=>i(o,n)))}var Na=new w(""),$d=new w(""),Wd=new w("");var Ta=(()=>{let e=class e extends gi{constructor(t,n){super(),this.backend=t,this.injector=n,this.chain=null,this.pendingTasks=_(on);let o=_(Wd,{optional:!0});this.backend=o??t}handle(t){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(Na),...this.injector.get($d,[])]));this.chain=o.reduceRight((s,a)=>Hd(s,a,this.injector),zd)}let n=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(Nt(()=>this.pendingTasks.remove(n)))}};e.\u0275fac=function(n){return new(n||e)(f(pn),f(Pt))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})();var Gd=/^\)\]\}',?\n/;function qd(i){return"responseURL"in i&&i.responseURL?i.responseURL:/^X-Request-URL:/m.test(i.getAllResponseHeaders())?i.getResponseHeader("X-Request-URL"):null}var Oa=(()=>{let e=class e{constructor(t){this.xhrFactory=t}handle(t){if(t.method==="JSONP")throw new Y(-2800,!1);let n=this.xhrFactory;return(n.\u0275loadImpl?ve(n.\u0275loadImpl()):E(null)).pipe(xe(()=>new Ue(s=>{let a=n.build();if(a.open(t.method,t.urlWithParams),t.withCredentials&&(a.withCredentials=!0),t.headers.forEach((S,R)=>a.setRequestHeader(S,R.join(","))),t.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){let S=t.detectContentTypeHeader();S!==null&&a.setRequestHeader("Content-Type",S)}if(t.responseType){let S=t.responseType.toLowerCase();a.responseType=S!=="json"?S:"text"}let c=t.serializeBody(),l=null,d=()=>{if(l!==null)return l;let S=a.statusText||"OK",R=new _t(a.getAllResponseHeaders()),Ce=qd(a)||t.url;return l=new zr({headers:R,status:a.status,statusText:S,url:Ce}),l},u=()=>{let{headers:S,status:R,statusText:Ce,url:Bs}=d(),De=null;R!==vn.NoContent&&(De=typeof a.response>"u"?a.responseText:a.response),R===0&&(R=De?vn.Ok:0);let wr=R>=200&&R<300;if(t.responseType==="json"&&typeof De=="string"){let Td=De;De=De.replace(Gd,"");try{De=De!==""?JSON.parse(De):null}catch(Od){De=Td,wr&&(wr=!1,De={error:Od,text:De})}}wr?(s.next(new gn({body:De,headers:S,status:R,statusText:Ce,url:Bs||void 0})),s.complete()):s.error(new _n({error:De,headers:S,status:R,statusText:Ce,url:Bs||void 0}))},p=S=>{let{url:R}=d(),Ce=new _n({error:S,status:a.status||0,statusText:a.statusText||"Unknown Error",url:R||void 0});s.error(Ce)},b=!1,B=S=>{b||(s.next(d()),b=!0);let R={type:zt.DownloadProgress,loaded:S.loaded};S.lengthComputable&&(R.total=S.total),t.responseType==="text"&&a.responseText&&(R.partialText=a.responseText),s.next(R)},V=S=>{let R={type:zt.UploadProgress,loaded:S.loaded};S.lengthComputable&&(R.total=S.total),s.next(R)};return a.addEventListener("load",u),a.addEventListener("error",p),a.addEventListener("timeout",p),a.addEventListener("abort",p),t.reportProgress&&(a.addEventListener("progress",B),c!==null&&a.upload&&a.upload.addEventListener("progress",V)),a.send(c),s.next({type:zt.Sent}),()=>{a.removeEventListener("error",p),a.removeEventListener("abort",p),a.removeEventListener("load",u),a.removeEventListener("timeout",p),t.reportProgress&&(a.removeEventListener("progress",B),c!==null&&a.upload&&a.upload.removeEventListener("progress",V)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(n){return new(n||e)(f(un))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})(),Pa=new w(""),Yd="XSRF-TOKEN",Zd=new w("",{providedIn:"root",factory:()=>Yd}),Xd="X-XSRF-TOKEN",Kd=new w("",{providedIn:"root",factory:()=>Xd}),yn=class{},Qd=(()=>{let e=class e{constructor(t,n,o){this.doc=t,this.platform=n,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=dn(t,this.cookieName),this.lastCookieString=t),this.lastToken}};e.\u0275fac=function(n){return new(n||e)(f(L),f($e),f(Zd))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})();function Jd(i,e){let r=i.url.toLowerCase();if(!_(Pa)||i.method==="GET"||i.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(i);let t=_(yn).getToken(),n=_(Kd);return t!=null&&!i.headers.has(n)&&(i=i.clone({headers:i.headers.set(n,t)})),e(i)}function La(...i){let e=[Hr,Oa,Ta,{provide:gi,useExisting:Ta},{provide:pn,useExisting:Oa},{provide:Na,useValue:Jd,multi:!0},{provide:Pa,useValue:!0},{provide:yn,useClass:Qd}];for(let r of i)e.push(...r.\u0275providers);return st(e)}var Gr=class extends va{constructor(){super(...arguments),this.supportsDOMEvents=!0}},qr=class i extends Gr{static makeCurrent(){_a(new i)}onAndCancel(e,r,t){return e.addEventListener(r,t),()=>{e.removeEventListener(r,t)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=ih();return r==null?null:nh(r)}resetBaseElement(){vi=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return dn(document.cookie,e)}},vi=null;function ih(){return vi=vi||document.querySelector("base"),vi?vi.getAttribute("href"):null}function nh(i){return new URL(i,document.baseURI).pathname}var rh=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})(),Yr=new w(""),Ba=(()=>{let e=class e{constructor(t,n){this._zone=n,this._eventNameToPlugin=new Map,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,n,o){return this._findPluginFor(n).addEventListener(t,n,o)}getZone(){return this._zone}_findPluginFor(t){let n=this._eventNameToPlugin.get(t);if(n)return n;if(n=this._plugins.find(s=>s.supports(t)),!n)throw new Y(5101,!1);return this._eventNameToPlugin.set(t,n),n}};e.\u0275fac=function(n){return new(n||e)(f(Yr),f(I))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})(),bn=class{constructor(e){this._doc=e}},$r="ng-app-id",Ua=(()=>{let e=class e{constructor(t,n,o,s={}){this.doc=t,this.appId=n,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Vr(s),this.resetHostNodes()}addStyles(t){for(let n of t)this.changeUsageCount(n,1)===1&&this.onStyleAdded(n)}removeStyles(t){for(let n of t)this.changeUsageCount(n,-1)<=0&&this.onStyleRemoved(n)}ngOnDestroy(){let t=this.styleNodesInDOM;t&&(t.forEach(n=>n.remove()),t.clear());for(let n of this.getAllStyles())this.onStyleRemoved(n);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(let n of this.getAllStyles())this.addStyleToHost(t,n)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(let n of this.hostNodes)this.addStyleToHost(n,t)}onStyleRemoved(t){let n=this.styleRef;n.get(t)?.elements?.forEach(o=>o.remove()),n.delete(t)}collectServerRenderedStyles(){let t=this.doc.head?.querySelectorAll(`style[${$r}="${this.appId}"]`);if(t?.length){let n=new Map;return t.forEach(o=>{o.textContent!=null&&n.set(o.textContent,o)}),n}return null}changeUsageCount(t,n){let o=this.styleRef;if(o.has(t)){let s=o.get(t);return s.usage+=n,s.usage}return o.set(t,{usage:n,elements:[]}),n}getStyleElement(t,n){let o=this.styleNodesInDOM,s=o?.get(n);if(s?.parentNode===t)return o.delete(n),s.removeAttribute($r),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=n,this.platformIsServer&&a.setAttribute($r,this.appId),t.appendChild(a),a}}addStyleToHost(t,n){let o=this.getStyleElement(t,n),s=this.styleRef,a=s.get(n)?.elements;a?a.push(o):s.set(n,{elements:[o],usage:1})}resetHostNodes(){let t=this.hostNodes;t.clear(),t.add(this.doc.head)}};e.\u0275fac=function(n){return new(n||e)(f(L),f(tn),f(ci,8),f($e))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})(),Wr={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/MathML/"},Kr=/%COMP%/g,za="%COMP%",oh=`_nghost-${za}`,sh=`_ngcontent-${za}`,ah=!0,lh=new w("",{providedIn:"root",factory:()=>ah});function ch(i){return sh.replace(Kr,i)}function dh(i){return oh.replace(Kr,i)}function Ha(i,e){return e.map(r=>r.replace(Kr,i))}var xn=(()=>{let e=class e{constructor(t,n,o,s,a,c,l,d=null){this.eventManager=t,this.sharedStylesHost=n,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=l,this.nonce=d,this.rendererByCompId=new Map,this.platformIsServer=Vr(c),this.defaultRenderer=new yi(t,a,l,this.platformIsServer)}createRenderer(t,n){if(!t||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===ai.ShadowDom&&(n=ie(g({},n),{encapsulation:ai.Emulated}));let o=this.getOrCreateRenderer(t,n);return o instanceof wn?o.applyToHost(t):o instanceof bi&&o.applyStyles(),o}getOrCreateRenderer(t,n){let o=this.rendererByCompId,s=o.get(n.id);if(!s){let a=this.doc,c=this.ngZone,l=this.eventManager,d=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,p=this.platformIsServer;switch(n.encapsulation){case ai.Emulated:s=new wn(l,d,n,this.appId,u,a,c,p);break;case ai.ShadowDom:return new Zr(l,d,t,n,a,c,this.nonce,p);default:s=new bi(l,d,n,u,a,c,p);break}o.set(n.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(n){return new(n||e)(f(Ba),f(Ua),f(tn),f(lh),f(L),f($e),f(I),f(ci))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})(),yi=class{constructor(e,r,t,n){this.eventManager=e,this.doc=r,this.ngZone=t,this.platformIsServer=n,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(Wr[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(Va(e)?e.content:e).appendChild(r)}insertBefore(e,r,t){e&&(Va(e)?e.content:e).insertBefore(r,t)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let t=typeof e=="string"?this.doc.querySelector(e):e;if(!t)throw new Y(-5104,!1);return r||(t.textContent=""),t}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,t,n){if(n){r=n+":"+r;let o=Wr[n];o?e.setAttributeNS(o,r,t):e.setAttribute(r,t)}else e.setAttribute(r,t)}removeAttribute(e,r,t){if(t){let n=Wr[t];n?e.removeAttributeNS(n,r):e.removeAttribute(`${t}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,t,n){n&(di.DashCase|di.Important)?e.style.setProperty(r,t,n&di.Important?"important":""):e.style[r]=t}removeStyle(e,r,t){t&di.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,t){e!=null&&(e[r]=t)}setValue(e,r){e.nodeValue=r}listen(e,r,t){if(typeof e=="string"&&(e=jt().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(t))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function Va(i){return i.tagName==="TEMPLATE"&&i.content!==void 0}var Zr=class extends yi{constructor(e,r,t,n,o,s,a,c){super(e,o,s,c),this.sharedStylesHost=r,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=Ha(n.id,n.styles);for(let d of l){let u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,t){return super.insertBefore(this.nodeOrShadowRoot(e),r,t)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},bi=class extends yi{constructor(e,r,t,n,o,s,a,c){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=n,this.styles=c?Ha(c,t.styles):t.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},wn=class extends bi{constructor(e,r,t,n,o,s,a,c){let l=n+"-"+t.id;super(e,r,t,o,s,a,c,l),this.contentAttr=ch(l),this.hostAttr=dh(l)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let t=super.createElement(e,r);return super.setAttribute(t,this.contentAttr,""),t}},hh=(()=>{let e=class e extends bn{constructor(t){super(t)}supports(t){return!0}addEventListener(t,n,o){return t.addEventListener(n,o,!1),()=>this.removeEventListener(t,n,o)}removeEventListener(t,n,o){return t.removeEventListener(n,o)}};e.\u0275fac=function(n){return new(n||e)(f(L))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})(),ja=["alt","control","meta","shift"],uh={"\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"},fh={alt:i=>i.altKey,control:i=>i.ctrlKey,meta:i=>i.metaKey,shift:i=>i.shiftKey},mh=(()=>{let e=class e extends bn{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,n,o){let s=e.parseEventName(n),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>jt().onAndCancel(t,s.domEventName,a))}static parseEventName(t){let n=t.toLowerCase().split("."),o=n.shift();if(n.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(n.pop()),a="",c=n.indexOf("code");if(c>-1&&(n.splice(c,1),a="code."),ja.forEach(d=>{let u=n.indexOf(d);u>-1&&(n.splice(u,1),a+=d+".")}),a+=s,n.length!=0||s.length===0)return null;let l={};return l.domEventName=o,l.fullKey=a,l}static matchEventFullKeyCode(t,n){let o=uh[t.key]||t.key,s="";return n.indexOf("code.")>-1&&(o=t.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),ja.forEach(a=>{if(a!==o){let c=fh[a];c(t)&&(s+=a+".")}}),s+=o,s===n)}static eventCallback(t,n,o){return s=>{e.matchEventFullKeyCode(s,t)&&o.runGuarded(()=>n(s))}}static _normalizeKey(t){return t==="esc"?"escape":t}};e.\u0275fac=function(n){return new(n||e)(f(L))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})();function $a(i,e){return pa(g({rootComponent:i},ph(e)))}function ph(i){return{appProviders:[...bh,...i?.providers??[]],platformProviders:yh}}function gh(){qr.makeCurrent()}function _h(){return new Ar}function vh(){return ea(document),document}var yh=[{provide:$e,useValue:Da},{provide:ta,useValue:gh,multi:!0},{provide:L,useFactory:vh,deps:[]}];var bh=[{provide:Qs,useValue:"root"},{provide:Ar,useFactory:_h,deps:[]},{provide:Yr,useClass:hh,multi:!0,deps:[L,I,$e]},{provide:Yr,useClass:mh,multi:!0,deps:[L]},xn,Ua,Ba,{provide:nn,useExisting:xn},{provide:un,useClass:rh,deps:[]},[]];var Wa=(()=>{let e=class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}};e.\u0275fac=function(n){return new(n||e)(f(L))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var M="primary",Ni=Symbol("RouteTitle"),io=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function qt(i){return new io(i)}function wh(i,e,r){let t=r.path.split("/");if(t.length>i.length||r.pathMatch==="full"&&(e.hasChildren()||t.lengtht[o]===n)}else return i===e}function Qa(i){return i.length>0?i[i.length-1]:null}function it(i){return Ot(i)?i:cn(i)?ve(Promise.resolve(i)):E(i)}var Dh={exact:el,subset:tl},Ja={exact:Eh,subset:Sh,ignored:()=>!0};function Ga(i,e,r){return Dh[r.paths](i.root,e.root,r.matrixParams)&&Ja[r.queryParams](i.queryParams,e.queryParams)&&!(r.fragment==="exact"&&i.fragment!==e.fragment)}function Eh(i,e){return je(i,e)}function el(i,e,r){if(!yt(i.segments,e.segments)||!En(i.segments,e.segments,r)||i.numberOfChildren!==e.numberOfChildren)return!1;for(let t in e.children)if(!i.children[t]||!el(i.children[t],e.children[t],r))return!1;return!0}function Sh(i,e){return Object.keys(e).length<=Object.keys(i).length&&Object.keys(e).every(r=>Ka(i[r],e[r]))}function tl(i,e,r){return il(i,e,e.segments,r)}function il(i,e,r,t){if(i.segments.length>r.length){let n=i.segments.slice(0,r.length);return!(!yt(n,r)||e.hasChildren()||!En(n,r,t))}else if(i.segments.length===r.length){if(!yt(i.segments,r)||!En(i.segments,r,t))return!1;for(let n in e.children)if(!i.children[n]||!tl(i.children[n],e.children[n],t))return!1;return!0}else{let n=r.slice(0,i.segments.length),o=r.slice(i.segments.length);return!yt(i.segments,n)||!En(i.segments,n,t)||!i.children[M]?!1:il(i.children[M],e,o,t)}}function En(i,e,r){return e.every((t,n)=>Ja[r](i[n].parameters,t.parameters))}var et=class{constructor(e=new $([],{}),r={},t=null){this.root=e,this.queryParams=r,this.fragment=t}get queryParamMap(){return this._queryParamMap??=qt(this.queryParams),this._queryParamMap}toString(){return kh.serialize(this)}},$=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Sn(this)}},vt=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=qt(this.parameters),this._parameterMap}toString(){return rl(this)}};function Rh(i,e){return yt(i,e)&&i.every((r,t)=>je(r.parameters,e[t].parameters))}function yt(i,e){return i.length!==e.length?!1:i.every((r,t)=>r.path===e[t].path)}function Ih(i,e){let r=[];return Object.entries(i.children).forEach(([t,n])=>{t===M&&(r=r.concat(e(n,t)))}),Object.entries(i.children).forEach(([t,n])=>{t!==M&&(r=r.concat(e(n,t)))}),r}var Ao=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:()=>new In,providedIn:"root"});let i=e;return i})(),In=class{parse(e){let r=new oo(e);return new et(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${xi(e.root,!0)}`,t=Th(e.queryParams),n=typeof e.fragment=="string"?`#${Ah(e.fragment)}`:"";return`${r}${t}${n}`}},kh=new In;function Sn(i){return i.segments.map(e=>rl(e)).join("/")}function xi(i,e){if(!i.hasChildren())return Sn(i);if(e){let r=i.children[M]?xi(i.children[M],!1):"",t=[];return Object.entries(i.children).forEach(([n,o])=>{n!==M&&t.push(`${n}:${xi(o,!1)}`)}),t.length>0?`${r}(${t.join("//")})`:r}else{let r=Ih(i,(t,n)=>n===M?[xi(i.children[M],!1)]:[`${n}:${xi(t,!1)}`]);return Object.keys(i.children).length===1&&i.children[M]!=null?`${Sn(i)}/${r[0]}`:`${Sn(i)}/(${r.join("//")})`}}function nl(i){return encodeURIComponent(i).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Cn(i){return nl(i).replace(/%3B/gi,";")}function Ah(i){return encodeURI(i)}function ro(i){return nl(i).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Rn(i){return decodeURIComponent(i)}function qa(i){return Rn(i.replace(/\+/g,"%20"))}function rl(i){return`${ro(i.path)}${Mh(i.parameters)}`}function Mh(i){return Object.entries(i).map(([e,r])=>`;${ro(e)}=${ro(r)}`).join("")}function Th(i){let e=Object.entries(i).map(([r,t])=>Array.isArray(t)?t.map(n=>`${Cn(r)}=${Cn(n)}`).join("&"):`${Cn(r)}=${Cn(t)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var Oh=/^[^\/()?;#]+/;function Qr(i){let e=i.match(Oh);return e?e[0]:""}var Fh=/^[^\/()?;=#]+/;function Nh(i){let e=i.match(Fh);return e?e[0]:""}var Ph=/^[^=?&#]+/;function Lh(i){let e=i.match(Ph);return e?e[0]:""}var Vh=/^[^&#]+/;function jh(i){let e=i.match(Vh);return e?e[0]:""}var oo=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new $([],{}):new $([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(t[M]=new $(e,r)),t}parseSegment(){let e=Qr(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new Y(4009,!1);return this.capture(e),new vt(Rn(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=Nh(this.remaining);if(!r)return;this.capture(r);let t="";if(this.consumeOptional("=")){let n=Qr(this.remaining);n&&(t=n,this.capture(t))}e[Rn(r)]=Rn(t)}parseQueryParam(e){let r=Lh(this.remaining);if(!r)return;this.capture(r);let t="";if(this.consumeOptional("=")){let s=jh(this.remaining);s&&(t=s,this.capture(t))}let n=qa(r),o=qa(t);if(e.hasOwnProperty(n)){let s=e[n];Array.isArray(s)||(s=[s],e[n]=s),s.push(o)}else e[n]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=Qr(this.remaining),n=this.remaining[t.length];if(n!=="/"&&n!==")"&&n!==";")throw new Y(4010,!1);let o;t.indexOf(":")>-1?(o=t.slice(0,t.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=M);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[M]:new $([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new Y(4011,!1)}};function ol(i){return i.segments.length>0?new $([],{[M]:i}):i}function sl(i){let e={};for(let[t,n]of Object.entries(i.children)){let o=sl(n);if(t===M&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[t]=o)}let r=new $(i.segments,e);return Bh(r)}function Bh(i){if(i.numberOfChildren===1&&i.children[M]){let e=i.children[M];return new $(i.segments.concat(e.segments),e.children)}return i}function Yt(i){return i instanceof et}function Uh(i,e,r=null,t=null){let n=al(i);return ll(n,e,r,t)}function al(i){let e;function r(o){let s={};for(let c of o.children){let l=r(c);s[c.outlet]=l}let a=new $(o.url,s);return o===i&&(e=a),a}let t=r(i.root),n=ol(t);return e??n}function ll(i,e,r,t){let n=i;for(;n.parent;)n=n.parent;if(e.length===0)return Jr(n,n,n,r,t);let o=zh(e);if(o.toRoot())return Jr(n,n,new $([],{}),r,t);let s=Hh(o,n,i),a=s.processChildren?Di(s.segmentGroup,s.index,o.commands):dl(s.segmentGroup,s.index,o.commands);return Jr(n,s.segmentGroup,a,r,t)}function kn(i){return typeof i=="object"&&i!=null&&!i.outlets&&!i.segmentPath}function Ri(i){return typeof i=="object"&&i!=null&&i.outlets}function Jr(i,e,r,t,n){let o={};t&&Object.entries(t).forEach(([c,l])=>{o[c]=Array.isArray(l)?l.map(d=>`${d}`):`${l}`});let s;i===e?s=r:s=cl(i,e,r);let a=ol(sl(s));return new et(a,o,n)}function cl(i,e,r){let t={};return Object.entries(i.children).forEach(([n,o])=>{o===e?t[n]=r:t[n]=cl(o,e,r)}),new $(i.segments,t)}var An=class{constructor(e,r,t){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=t,e&&t.length>0&&kn(t[0]))throw new Y(4003,!1);let n=t.find(Ri);if(n&&n!==Qa(t))throw new Y(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function zh(i){if(typeof i[0]=="string"&&i.length===1&&i[0]==="/")return new An(!0,0,i);let e=0,r=!1,t=i.reduce((n,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...n,{outlets:a}]}if(o.segmentPath)return[...n,o.segmentPath]}return typeof o!="string"?[...n,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?r=!0:a===".."?e++:a!=""&&n.push(a))}),n):[...n,o]},[]);return new An(r,e,t)}var Wt=class{constructor(e,r,t){this.segmentGroup=e,this.processChildren=r,this.index=t}};function Hh(i,e,r){if(i.isAbsolute)return new Wt(e,!0,0);if(!r)return new Wt(e,!1,NaN);if(r.parent===null)return new Wt(r,!0,0);let t=kn(i.commands[0])?0:1,n=r.segments.length-1+t;return $h(r,n,i.numberOfDoubleDots)}function $h(i,e,r){let t=i,n=e,o=r;for(;o>n;){if(o-=n,t=t.parent,!t)throw new Y(4005,!1);n=t.segments.length}return new Wt(t,!1,n-o)}function Wh(i){return Ri(i[0])?i[0].outlets:{[M]:i}}function dl(i,e,r){if(i??=new $([],{}),i.segments.length===0&&i.hasChildren())return Di(i,e,r);let t=Gh(i,e,r),n=r.slice(t.commandIndex);if(t.match&&t.pathIndexo!==M)&&i.children[M]&&i.numberOfChildren===1&&i.children[M].segments.length===0){let o=Di(i.children[M],e,r);return new $(i.segments,o.children)}return Object.entries(t).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(n[o]=dl(i.children[o],e,s))}),Object.entries(i.children).forEach(([o,s])=>{t[o]===void 0&&(n[o]=s)}),new $(i.segments,n)}}function Gh(i,e,r){let t=0,n=e,o={match:!1,pathIndex:0,commandIndex:0};for(;n=r.length)return o;let s=i.segments[n],a=r[t];if(Ri(a))break;let c=`${a}`,l=t0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!Za(c,l,s))return o;t+=2}else{if(!Za(c,{},s))return o;t++}n++}return{match:!0,pathIndex:n,commandIndex:t}}function so(i,e,r){let t=i.segments.slice(0,e),n=0;for(;n{typeof t=="string"&&(t=[t]),t!==null&&(e[r]=so(new $([],{}),0,t))}),e}function Ya(i){let e={};return Object.entries(i).forEach(([r,t])=>e[r]=`${t}`),e}function Za(i,e,r){return i==r.path&&je(e,r.parameters)}var Ei="imperative",ye=function(i){return i[i.NavigationStart=0]="NavigationStart",i[i.NavigationEnd=1]="NavigationEnd",i[i.NavigationCancel=2]="NavigationCancel",i[i.NavigationError=3]="NavigationError",i[i.RoutesRecognized=4]="RoutesRecognized",i[i.ResolveStart=5]="ResolveStart",i[i.ResolveEnd=6]="ResolveEnd",i[i.GuardsCheckStart=7]="GuardsCheckStart",i[i.GuardsCheckEnd=8]="GuardsCheckEnd",i[i.RouteConfigLoadStart=9]="RouteConfigLoadStart",i[i.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",i[i.ChildActivationStart=11]="ChildActivationStart",i[i.ChildActivationEnd=12]="ChildActivationEnd",i[i.ActivationStart=13]="ActivationStart",i[i.ActivationEnd=14]="ActivationEnd",i[i.Scroll=15]="Scroll",i[i.NavigationSkipped=16]="NavigationSkipped",i}(ye||{}),Ne=class{constructor(e,r){this.id=e,this.url=r}},Ii=class extends Ne{constructor(e,r,t="imperative",n=null){super(e,r),this.type=ye.NavigationStart,this.navigationTrigger=t,this.restoredState=n}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},bt=class extends Ne{constructor(e,r,t){super(e,r),this.urlAfterRedirects=t,this.type=ye.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},ke=function(i){return i[i.Redirect=0]="Redirect",i[i.SupersededByNewNavigation=1]="SupersededByNewNavigation",i[i.NoDataFromResolver=2]="NoDataFromResolver",i[i.GuardRejected=3]="GuardRejected",i}(ke||{}),ao=function(i){return i[i.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",i[i.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",i}(ao||{}),tt=class extends Ne{constructor(e,r,t,n){super(e,r),this.reason=t,this.code=n,this.type=ye.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},xt=class extends Ne{constructor(e,r,t,n){super(e,r),this.reason=t,this.code=n,this.type=ye.NavigationSkipped}},ki=class extends Ne{constructor(e,r,t,n){super(e,r),this.error=t,this.target=n,this.type=ye.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Mn=class extends Ne{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=ye.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},lo=class extends Ne{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=ye.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},co=class extends Ne{constructor(e,r,t,n,o){super(e,r),this.urlAfterRedirects=t,this.state=n,this.shouldActivate=o,this.type=ye.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},ho=class extends Ne{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=ye.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},uo=class extends Ne{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=ye.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},fo=class{constructor(e){this.route=e,this.type=ye.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},mo=class{constructor(e){this.route=e,this.type=ye.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},po=class{constructor(e){this.snapshot=e,this.type=ye.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},go=class{constructor(e){this.snapshot=e,this.type=ye.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},_o=class{constructor(e){this.snapshot=e,this.type=ye.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},vo=class{constructor(e){this.snapshot=e,this.type=ye.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Ai=class{},Mi=class{constructor(e){this.url=e}};var yo=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Ln,this.attachRef=null}},Ln=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,n){let o=this.getOrCreateContext(t);o.outlet=n,this.contexts.set(t,o)}onChildOutletDestroyed(t){let n=this.getContext(t);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let n=this.getContext(t);return n||(n=new yo,this.contexts.set(t,n)),n}getContext(t){return this.contexts.get(t)||null}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Tn=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=bo(e,this._root);return r?r.children.map(t=>t.value):[]}firstChild(e){let r=bo(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=xo(e,this._root);return r.length<2?[]:r[r.length-2].children.map(n=>n.value).filter(n=>n!==e)}pathFromRoot(e){return xo(e,this._root).map(r=>r.value)}};function bo(i,e){if(i===e.value)return e;for(let r of e.children){let t=bo(i,r);if(t)return t}return null}function xo(i,e){if(i===e.value)return[e];for(let r of e.children){let t=xo(i,r);if(t.length)return t.unshift(e),t}return[]}var Ie=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function $t(i){let e={};return i&&i.children.forEach(r=>e[r.value.outlet]=r),e}var On=class extends Tn{constructor(e,r){super(e),this.snapshot=r,To(this,e)}toString(){return this.snapshot.toString()}};function hl(i){let e=Yh(i),r=new ue([new vt("",{})]),t=new ue({}),n=new ue({}),o=new ue({}),s=new ue(""),a=new Zt(r,t,o,s,n,M,i,e.root);return a.snapshot=e.root,new On(new Ie(a,[]),e)}function Yh(i){let e={},r={},t={},n="",o=new Ti([],e,t,n,r,M,i,null,{});return new Fn("",new Ie(o,[]))}var Zt=class{constructor(e,r,t,n,o,s,a,c){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=t,this.fragmentSubject=n,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(A(l=>l[Ni]))??E(void 0),this.url=e,this.params=r,this.queryParams=t,this.fragment=n,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(A(e=>qt(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(A(e=>qt(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Mo(i,e,r="emptyOnly"){let t,{routeConfig:n}=i;return e!==null&&(r==="always"||n?.path===""||!e.component&&!e.routeConfig?.loadComponent)?t={params:g(g({},e.params),i.params),data:g(g({},e.data),i.data),resolve:g(g(g(g({},i.data),e.data),n?.data),i._resolvedData)}:t={params:g({},i.params),data:g({},i.data),resolve:g(g({},i.data),i._resolvedData??{})},n&&fl(n)&&(t.resolve[Ni]=n.title),t}var Ti=class{get title(){return this.data?.[Ni]}constructor(e,r,t,n,o,s,a,c,l){this.url=e,this.params=r,this.queryParams=t,this.fragment=n,this.data=o,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??=qt(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=qt(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(t=>t.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},Fn=class extends Tn{constructor(e,r){super(r),this.url=e,To(this,r)}toString(){return ul(this._root)}};function To(i,e){e.value._routerState=i,e.children.forEach(r=>To(i,r))}function ul(i){let e=i.children.length>0?` { ${i.children.map(ul).join(", ")} } `:"";return`${i.value}${e}`}function eo(i){if(i.snapshot){let e=i.snapshot,r=i._futureSnapshot;i.snapshot=r,je(e.queryParams,r.queryParams)||i.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&i.fragmentSubject.next(r.fragment),je(e.params,r.params)||i.paramsSubject.next(r.params),Ch(e.url,r.url)||i.urlSubject.next(r.url),je(e.data,r.data)||i.dataSubject.next(r.data)}else i.snapshot=i._futureSnapshot,i.dataSubject.next(i._futureSnapshot.data)}function wo(i,e){let r=je(i.params,e.params)&&Rh(i.url,e.url),t=!i.parent!=!e.parent;return r&&!t&&(!i.parent||wo(i.parent,e.parent))}function fl(i){return typeof i.title=="string"||i.title===null}var Oo=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=M,this.activateEvents=new z,this.deactivateEvents=new z,this.attachEvents=new z,this.detachEvents=new z,this.parentContexts=_(Ln),this.location=_(Oe),this.changeDetector=_(Se),this.environmentInjector=_(Pt),this.inputBinder=_(Fo,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){let{firstChange:n,previousValue:o}=t.name;if(n)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Y(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Y(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Y(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,n){this.activated=t,this._activatedRoute=n,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,n){if(this.isActivated)throw new Y(4013,!1);this._activatedRoute=t;let o=this.location,a=t.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,l=new Co(t,c,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:l,environmentInjector:n??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=C({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[we]});let i=e;return i})(),Co=class{constructor(e,r,t){this.route=e,this.childContexts=r,this.parent=t,this.__ngOutletInjector=!0}get(e,r){return e===Zt?this.route:e===Ln?this.childContexts:this.parent.get(e,r)}},Fo=new w("");function Zh(i,e,r){let t=Oi(i,e._root,r?r._root:void 0);return new On(t,e)}function Oi(i,e,r){if(r&&i.shouldReuseRoute(e.value,r.value.snapshot)){let t=r.value;t._futureSnapshot=e.value;let n=Xh(i,e,r);return new Ie(t,n)}else{if(i.shouldAttach(e.value)){let o=i.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Oi(i,a)),s}}let t=Kh(e.value),n=e.children.map(o=>Oi(i,o));return new Ie(t,n)}}function Xh(i,e,r){return e.children.map(t=>{for(let n of r.children)if(i.shouldReuseRoute(t.value,n.value.snapshot))return Oi(i,t,n);return Oi(i,t)})}function Kh(i){return new Zt(new ue(i.url),new ue(i.params),new ue(i.queryParams),new ue(i.fragment),new ue(i.data),i.outlet,i.component,i)}var ml="ngNavigationCancelingError";function pl(i,e){let{redirectTo:r,navigationBehaviorOptions:t}=Yt(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,n=gl(!1,ke.Redirect);return n.url=r,n.navigationBehaviorOptions=t,n}function gl(i,e){let r=new Error(`NavigationCancelingError: ${i||""}`);return r[ml]=!0,r.cancellationCode=e,r}function Qh(i){return _l(i)&&Yt(i.url)}function _l(i){return!!i&&i[ml]}var Jh=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=ee({type:e,selectors:[["ng-component"]],standalone:!0,features:[te],decls:1,vars:0,template:function(n,o){n&1&&X(0,"router-outlet")},dependencies:[Oo],encapsulation:2});let i=e;return i})();function eu(i,e){return i.providers&&!i._injector&&(i._injector=oa(i.providers,e,`Route: ${i.path}`)),i._injector??e}function No(i){let e=i.children&&i.children.map(No),r=e?ie(g({},i),{children:e}):g({},i);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==M&&(r.component=Jh),r}function Be(i){return i.outlet||M}function tu(i,e){let r=i.filter(t=>Be(t)===e);return r.push(...i.filter(t=>Be(t)!==e)),r}function Pi(i){if(!i)return null;if(i.routeConfig?._injector)return i.routeConfig._injector;for(let e=i.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var iu=(i,e,r,t)=>A(n=>(new Do(e,n.targetRouterState,n.currentRouterState,r,t).activate(i),n)),Do=class{constructor(e,r,t,n,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=t,this.forwardEvent=n,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,t,e),eo(this.futureState.root),this.activateChildRoutes(r,t,e)}deactivateChildRoutes(e,r,t){let n=$t(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,n[s],t),delete n[s]}),Object.values(n).forEach(o=>{this.deactivateRouteAndItsChildren(o,t)})}deactivateRoutes(e,r,t){let n=e.value,o=r?r.value:null;if(n===o)if(n.component){let s=t.getContext(n.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,t);else o&&this.deactivateRouteAndItsChildren(r,t)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let t=r.getContext(e.value.outlet),n=t&&e.value.component?t.children:r,o=$t(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,n);if(t&&t.outlet){let s=t.outlet.detach(),a=t.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let t=r.getContext(e.value.outlet),n=t&&e.value.component?t.children:r,o=$t(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,n);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(e,r,t){let n=$t(r);e.children.forEach(o=>{this.activateRoutes(o,n[o.value.outlet],t),this.forwardEvent(new vo(o.value.snapshot))}),e.children.length&&this.forwardEvent(new go(e.value.snapshot))}activateRoutes(e,r,t){let n=e.value,o=r?r.value:null;if(eo(n),n===o)if(n.component){let s=t.getOrCreateContext(n.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,t);else if(n.component){let s=t.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){let a=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.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),eo(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Pi(n.snapshot);s.attachRef=null,s.route=n,s.injector=a,s.outlet&&s.outlet.activateWith(n,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,t)}},Nn=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Gt=class{constructor(e,r){this.component=e,this.route=r}};function nu(i,e,r){let t=i._root,n=e?e._root:null;return wi(t,n,r,[t.value])}function ru(i){let e=i.routeConfig?i.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:i,guards:e}}function Kt(i,e){let r=Symbol(),t=e.get(i,r);return t===r?typeof i=="function"&&!Xs(i)?i:e.get(i):t}function wi(i,e,r,t,n={canDeactivateChecks:[],canActivateChecks:[]}){let o=$t(e);return i.children.forEach(s=>{ou(s,o[s.value.outlet],r,t.concat([s.value]),n),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Si(a,r.getContext(s),n)),n}function ou(i,e,r,t,n={canDeactivateChecks:[],canActivateChecks:[]}){let o=i.value,s=e?e.value:null,a=r?r.getContext(i.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=su(s,o,o.routeConfig.runGuardsAndResolvers);c?n.canActivateChecks.push(new Nn(t)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?wi(i,e,a?a.children:null,t,n):wi(i,e,r,t,n),c&&a&&a.outlet&&a.outlet.isActivated&&n.canDeactivateChecks.push(new Gt(a.outlet.component,s))}else s&&Si(e,a,n),n.canActivateChecks.push(new Nn(t)),o.component?wi(i,null,a?a.children:null,t,n):wi(i,null,r,t,n);return n}function su(i,e,r){if(typeof r=="function")return r(i,e);switch(r){case"pathParamsChange":return!yt(i.url,e.url);case"pathParamsOrQueryParamsChange":return!yt(i.url,e.url)||!je(i.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!wo(i,e)||!je(i.queryParams,e.queryParams);case"paramsChange":default:return!wo(i,e)}}function Si(i,e,r){let t=$t(i),n=i.value;Object.entries(t).forEach(([o,s])=>{n.component?e?Si(s,e.children.getContext(o),r):Si(s,null,r):Si(s,e,r)}),n.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new Gt(e.outlet.component,n)):r.canDeactivateChecks.push(new Gt(null,n)):r.canDeactivateChecks.push(new Gt(null,n))}function Li(i){return typeof i=="function"}function au(i){return typeof i=="boolean"}function lu(i){return i&&Li(i.canLoad)}function cu(i){return i&&Li(i.canActivate)}function du(i){return i&&Li(i.canActivateChild)}function hu(i){return i&&Li(i.canDeactivate)}function uu(i){return i&&Li(i.canMatch)}function vl(i){return i instanceof zs||i?.name==="EmptyError"}var Dn=Symbol("INITIAL_VALUE");function Xt(){return xe(i=>ot(i.map(e=>e.pipe(be(1),Qe(Dn)))).pipe(A(e=>{for(let r of e)if(r!==!0){if(r===Dn)return Dn;if(r===!1||r instanceof et)return r}return!0}),ce(e=>e!==Dn),be(1)))}function fu(i,e){return Ae(r=>{let{targetSnapshot:t,currentSnapshot:n,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?E(ie(g({},r),{guardsResult:!0})):mu(s,t,n,i).pipe(Ae(a=>a&&au(a)?pu(t,o,i,e):E(a)),A(a=>ie(g({},r),{guardsResult:a})))})}function mu(i,e,r,t){return ve(i).pipe(Ae(n=>bu(n.component,n.route,r,e,t)),Ke(n=>n!==!0,!0))}function pu(i,e,r,t){return ve(e).pipe(ze(n=>Qi(_u(n.route.parent,t),gu(n.route,t),yu(i,n.path,r),vu(i,n.route,r))),Ke(n=>n!==!0,!0))}function gu(i,e){return i!==null&&e&&e(new _o(i)),E(!0)}function _u(i,e){return i!==null&&e&&e(new po(i)),E(!0)}function vu(i,e,r){let t=e.routeConfig?e.routeConfig.canActivate:null;if(!t||t.length===0)return E(!0);let n=t.map(o=>oi(()=>{let s=Pi(e)??r,a=Kt(o,s),c=cu(a)?a.canActivate(e,i):He(s,()=>a(e,i));return it(c).pipe(Ke())}));return E(n).pipe(Xt())}function yu(i,e,r){let t=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>ru(s)).filter(s=>s!==null).map(s=>oi(()=>{let a=s.guards.map(c=>{let l=Pi(s.node)??r,d=Kt(c,l),u=du(d)?d.canActivateChild(t,i):He(l,()=>d(t,i));return it(u).pipe(Ke())});return E(a).pipe(Xt())}));return E(o).pipe(Xt())}function bu(i,e,r,t,n){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return E(!0);let s=o.map(a=>{let c=Pi(e)??n,l=Kt(a,c),d=hu(l)?l.canDeactivate(i,e,r,t):He(c,()=>l(i,e,r,t));return it(d).pipe(Ke())});return E(s).pipe(Xt())}function xu(i,e,r,t){let n=e.canLoad;if(n===void 0||n.length===0)return E(!0);let o=n.map(s=>{let a=Kt(s,i),c=lu(a)?a.canLoad(e,r):He(i,()=>a(e,r));return it(c)});return E(o).pipe(Xt(),yl(t))}function yl(i){return Us(re(e=>{if(Yt(e))throw pl(i,e)}),A(e=>e===!0))}function wu(i,e,r,t){let n=e.canMatch;if(!n||n.length===0)return E(!0);let o=n.map(s=>{let a=Kt(s,i),c=uu(a)?a.canMatch(e,r):He(i,()=>a(e,r));return it(c)});return E(o).pipe(Xt(),yl(t))}var Fi=class{constructor(e){this.segmentGroup=e||null}},Pn=class extends Error{constructor(e){super(),this.urlTree=e}};function Ht(i){return ri(new Fi(i))}function Cu(i){return ri(new Y(4e3,!1))}function Du(i){return ri(gl(!1,ke.GuardRejected))}var Eo=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let t=[],n=r.root;for(;;){if(t=t.concat(n.segments),n.numberOfChildren===0)return E(t);if(n.numberOfChildren>1||!n.children[M])return Cu(e.redirectTo);n=n.children[M]}}applyRedirectCommands(e,r,t){let n=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,t);if(r.startsWith("/"))throw new Pn(n);return n}applyRedirectCreateUrlTree(e,r,t,n){let o=this.createSegmentGroup(e,r.root,t,n);return new et(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let t={};return Object.entries(e).forEach(([n,o])=>{if(typeof o=="string"&&o.startsWith(":")){let a=o.substring(1);t[n]=r[a]}else t[n]=o}),t}createSegmentGroup(e,r,t,n){let o=this.createSegments(e,r.segments,t,n),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,t,n)}),new $(o,s)}createSegments(e,r,t,n){return r.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,n):this.findOrReturn(o,t))}findPosParam(e,r,t){let n=t[r.path.substring(1)];if(!n)throw new Y(4001,!1);return n}findOrReturn(e,r){let t=0;for(let n of r){if(n.path===e.path)return r.splice(t),n;t++}return e}},So={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Eu(i,e,r,t,n){let o=Po(i,e,r);return o.matched?(t=eu(e,t),wu(t,e,r,n).pipe(A(s=>s===!0?o:g({},So)))):E(o)}function Po(i,e,r){if(e.path==="**")return Su(r);if(e.path==="")return e.pathMatch==="full"&&(i.hasChildren()||r.length>0)?g({},So):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let n=(e.matcher||wh)(r,i,e);if(!n)return g({},So);let o={};Object.entries(n.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=n.consumed.length>0?g(g({},o),n.consumed[n.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:n.consumed,remainingSegments:r.slice(n.consumed.length),parameters:s,positionalParamSegments:n.posParams??{}}}function Su(i){return{matched:!0,parameters:i.length>0?Qa(i).parameters:{},consumedSegments:i,remainingSegments:[],positionalParamSegments:{}}}function Xa(i,e,r,t){return r.length>0&&ku(i,r,t)?{segmentGroup:new $(e,Iu(t,new $(r,i.children))),slicedSegments:[]}:r.length===0&&Au(i,r,t)?{segmentGroup:new $(i.segments,Ru(i,r,t,i.children)),slicedSegments:r}:{segmentGroup:new $(i.segments,i.children),slicedSegments:r}}function Ru(i,e,r,t){let n={};for(let o of r)if(Vn(i,e,o)&&!t[Be(o)]){let s=new $([],{});n[Be(o)]=s}return g(g({},t),n)}function Iu(i,e){let r={};r[M]=e;for(let t of i)if(t.path===""&&Be(t)!==M){let n=new $([],{});r[Be(t)]=n}return r}function ku(i,e,r){return r.some(t=>Vn(i,e,t)&&Be(t)!==M)}function Au(i,e,r){return r.some(t=>Vn(i,e,t))}function Vn(i,e,r){return(i.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function Mu(i,e,r,t){return Be(i)!==t&&(t===M||!Vn(e,r,i))?!1:Po(e,i,r).matched}function Tu(i,e,r){return e.length===0&&!i.children[r]}var Ro=class{};function Ou(i,e,r,t,n,o,s="emptyOnly"){return new Io(i,e,r,t,n,s,o).recognize()}var Fu=31,Io=class{constructor(e,r,t,n,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=t,this.config=n,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Eo(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new Y(4002,`'${e.segmentGroup}'`)}recognize(){let e=Xa(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(A(r=>{let t=new Ti([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,{},M,this.rootComponentType,null,{}),n=new Ie(t,r),o=new Fn("",n),s=Uh(t,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,M).pipe(Ft(t=>{if(t instanceof Pn)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof Fi?this.noMatchError(t):t}))}inheritParamsAndData(e,r){let t=e.value,n=Mo(t,r,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(o=>this.inheritParamsAndData(o,t))}processSegmentGroup(e,r,t,n){return t.segments.length===0&&t.hasChildren()?this.processChildren(e,r,t):this.processSegment(e,r,t,t.segments,n,!0).pipe(A(o=>o instanceof Ie?[o]:[]))}processChildren(e,r,t){let n=[];for(let o of Object.keys(t.children))o==="primary"?n.unshift(o):n.push(o);return ve(n).pipe(ze(o=>{let s=t.children[o],a=tu(r,o);return this.processSegmentGroup(e,a,s,o)}),Ys((o,s)=>(o.push(...s),o)),Er(null),qs(),Ae(o=>{if(o===null)return Ht(t);let s=bl(o);return Nu(s),E(s)}))}processSegment(e,r,t,n,o,s){return ve(r).pipe(ze(a=>this.processSegmentAgainstRoute(a._injector??e,r,a,t,n,o,s).pipe(Ft(c=>{if(c instanceof Fi)return E(null);throw c}))),Ke(a=>!!a),Ft(a=>{if(vl(a))return Tu(t,n,o)?E(new Ro):Ht(t);throw a}))}processSegmentAgainstRoute(e,r,t,n,o,s,a){return Mu(t,n,o,s)?t.redirectTo===void 0?this.matchSegmentAgainstRoute(e,n,t,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,n,r,t,o,s):Ht(n):Ht(n)}expandSegmentAgainstRouteUsingRedirect(e,r,t,n,o,s){let{matched:a,consumedSegments:c,positionalParamSegments:l,remainingSegments:d}=Po(r,n,o);if(!a)return Ht(r);n.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Fu&&(this.allowRedirects=!1));let u=this.applyRedirects.applyRedirectCommands(c,n.redirectTo,l);return this.applyRedirects.lineralizeSegments(n,u).pipe(Ae(p=>this.processSegment(e,t,r,p.concat(d),s,!1)))}matchSegmentAgainstRoute(e,r,t,n,o){let s=Eu(r,t,n,e,this.urlSerializer);return t.path==="**"&&(r.children={}),s.pipe(xe(a=>a.matched?(e=t._injector??e,this.getChildConfig(e,t,n).pipe(xe(({routes:c})=>{let l=t._loadedInjector??e,{consumedSegments:d,remainingSegments:u,parameters:p}=a,b=new Ti(d,p,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Lu(t),Be(t),t.component??t._loadedComponent??null,t,Vu(t)),{segmentGroup:B,slicedSegments:V}=Xa(r,d,u,c);if(V.length===0&&B.hasChildren())return this.processChildren(l,c,B).pipe(A(R=>R===null?null:new Ie(b,R)));if(c.length===0&&V.length===0)return E(new Ie(b,[]));let S=Be(t)===o;return this.processSegment(l,c,B,V,S?M:o,!0).pipe(A(R=>new Ie(b,R instanceof Ie?[R]:[])))}))):Ht(r)))}getChildConfig(e,r,t){return r.children?E({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?E({routes:r._loadedRoutes,injector:r._loadedInjector}):xu(e,r,t,this.urlSerializer).pipe(Ae(n=>n?this.configLoader.loadChildren(e,r).pipe(re(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):Du(r))):E({routes:[],injector:e})}};function Nu(i){i.sort((e,r)=>e.value.outlet===M?-1:r.value.outlet===M?1:e.value.outlet.localeCompare(r.value.outlet))}function Pu(i){let e=i.value.routeConfig;return e&&e.path===""}function bl(i){let e=[],r=new Set;for(let t of i){if(!Pu(t)){e.push(t);continue}let n=e.find(o=>t.value.routeConfig===o.value.routeConfig);n!==void 0?(n.children.push(...t.children),r.add(n)):e.push(t)}for(let t of r){let n=bl(t.children);e.push(new Ie(t.value,n))}return e.filter(t=>!r.has(t))}function Lu(i){return i.data||{}}function Vu(i){return i.resolve||{}}function ju(i,e,r,t,n,o){return Ae(s=>Ou(i,e,r,t,s.extractedUrl,n,o).pipe(A(({state:a,tree:c})=>ie(g({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function Bu(i,e){return Ae(r=>{let{targetSnapshot:t,guards:{canActivateChecks:n}}=r;if(!n.length)return E(r);let o=new Set(n.map(c=>c.route)),s=new Set;for(let c of o)if(!s.has(c))for(let l of xl(c))s.add(l);let a=0;return ve(s).pipe(ze(c=>o.has(c)?Uu(c,t,i,e):(c.data=Mo(c,c.parent,i).resolve,E(void 0))),re(()=>a++),Sr(1),Ae(c=>a===s.size?E(r):Ze))})}function xl(i){let e=i.children.map(r=>xl(r)).flat();return[i,...e]}function Uu(i,e,r,t){let n=i.routeConfig,o=i._resolve;return n?.title!==void 0&&!fl(n)&&(o[Ni]=n.title),zu(o,i,e,t).pipe(A(s=>(i._resolvedData=s,i.data=Mo(i,i.parent,r).resolve,null)))}function zu(i,e,r,t){let n=no(i);if(n.length===0)return E({});let o={};return ve(n).pipe(Ae(s=>Hu(i[s],e,r,t).pipe(Ke(),re(a=>{o[s]=a}))),Sr(1),Gs(o),Ft(s=>vl(s)?Ze:ri(s)))}function Hu(i,e,r,t){let n=Pi(e)??t,o=Kt(i,n),s=o.resolve?o.resolve(e,r):He(n,()=>o(e,r));return it(s)}function to(i){return xe(e=>{let r=i(e);return r?ve(r).pipe(A(()=>e)):E(e)})}var wl=(()=>{let e=class e{buildTitle(t){let n,o=t.root;for(;o!==void 0;)n=this.getResolvedTitleForRoute(o)??n,o=o.children.find(s=>s.outlet===M);return n}getResolvedTitleForRoute(t){return t.data[Ni]}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:()=>_($u),providedIn:"root"});let i=e;return i})(),$u=(()=>{let e=class e extends wl{constructor(t){super(),this.title=t}updateTitle(t){let n=this.buildTitle(t);n!==void 0&&this.title.setTitle(n)}};e.\u0275fac=function(n){return new(n||e)(f(Wa))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Lo=new w("",{providedIn:"root",factory:()=>({})}),Vo=new w(""),Wu=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=_(Lr)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return E(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let n=it(t.loadComponent()).pipe(A(Cl),re(s=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=s}),Nt(()=>{this.componentLoaders.delete(t)})),o=new ni(n,()=>new k).pipe(Cr());return this.componentLoaders.set(t,o),o}loadChildren(t,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return E({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let s=Gu(n,this.compiler,t,this.onLoadEndListener).pipe(Nt(()=>{this.childrenLoaders.delete(n)})),a=new ni(s,()=>new k).pipe(Cr());return this.childrenLoaders.set(n,a),a}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Gu(i,e,r,t){return it(i.loadChildren()).pipe(A(Cl),Ae(n=>n instanceof ra||Array.isArray(n)?E(n):ve(e.compileModuleAsync(n))),A(n=>{t&&t(i);let o,s,a=!1;return Array.isArray(n)?(s=n,a=!0):(o=n.create(r).injector,s=o.get(Vo,[],{optional:!0,self:!0}).flat()),{routes:s.map(No),injector:o}}))}function qu(i){return i&&typeof i=="object"&&"default"in i}function Cl(i){return qu(i)?i.default:i}var jo=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:()=>_(Yu),providedIn:"root"});let i=e;return i})(),Yu=(()=>{let e=class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,n){return t}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Zu=new w("");var Xu=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new k,this.transitionAbortSubject=new k,this.configLoader=_(Wu),this.environmentInjector=_(Pt),this.urlSerializer=_(Ao),this.rootContexts=_(Ln),this.location=_(Bt),this.inputBindingEnabled=_(Fo,{optional:!0})!==null,this.titleStrategy=_(wl),this.options=_(Lo,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=_(jo),this.createViewTransition=_(Zu,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>E(void 0),this.rootComponentType=null;let t=o=>this.events.next(new fo(o)),n=o=>this.events.next(new mo(o));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=t}complete(){this.transitions?.complete()}handleNavigationRequest(t){let n=++this.navigationId;this.transitions?.next(ie(g(g({},this.transitions.value),t),{id:n}))}setupNavigations(t,n,o){return this.transitions=new ue({id:0,currentUrlTree:n,currentRawUrl:n,extractedUrl:this.urlHandlingStrategy.extract(n),urlAfterRedirects:this.urlHandlingStrategy.extract(n),rawUrl:n,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Ei,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ce(s=>s.id!==0),A(s=>ie(g({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),xe(s=>{let a=!1,c=!1;return E(s).pipe(xe(l=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",ke.SupersededByNewNavigation),Ze;this.currentTransition=s,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?ie(g({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let d=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=l.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!d&&u!=="reload"){let p="";return this.events.next(new xt(l.id,this.urlSerializer.serialize(l.rawUrl),p,ao.IgnoredSameUrlNavigation)),l.resolve(null),Ze}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return E(l).pipe(xe(p=>{let b=this.transitions?.getValue();return this.events.next(new Ii(p.id,this.urlSerializer.serialize(p.extractedUrl),p.source,p.restoredState)),b!==this.transitions?.getValue()?Ze:Promise.resolve(p)}),ju(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),re(p=>{s.targetSnapshot=p.targetSnapshot,s.urlAfterRedirects=p.urlAfterRedirects,this.currentNavigation=ie(g({},this.currentNavigation),{finalUrl:p.urlAfterRedirects});let b=new Mn(p.id,this.urlSerializer.serialize(p.extractedUrl),this.urlSerializer.serialize(p.urlAfterRedirects),p.targetSnapshot);this.events.next(b)}));if(d&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:p,extractedUrl:b,source:B,restoredState:V,extras:S}=l,R=new Ii(p,this.urlSerializer.serialize(b),B,V);this.events.next(R);let Ce=hl(this.rootComponentType).snapshot;return this.currentTransition=s=ie(g({},l),{targetSnapshot:Ce,urlAfterRedirects:b,extras:ie(g({},S),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=b,E(s)}else{let p="";return this.events.next(new xt(l.id,this.urlSerializer.serialize(l.extractedUrl),p,ao.IgnoredByUrlHandlingStrategy)),l.resolve(null),Ze}}),re(l=>{let d=new lo(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),A(l=>(this.currentTransition=s=ie(g({},l),{guards:nu(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),s)),fu(this.environmentInjector,l=>this.events.next(l)),re(l=>{if(s.guardsResult=l.guardsResult,Yt(l.guardsResult))throw pl(this.urlSerializer,l.guardsResult);let d=new co(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(d)}),ce(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",ke.GuardRejected),!1)),to(l=>{if(l.guards.canActivateChecks.length)return E(l).pipe(re(d=>{let u=new ho(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}),xe(d=>{let u=!1;return E(d).pipe(Bu(this.paramsInheritanceStrategy,this.environmentInjector),re({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(d,"",ke.NoDataFromResolver)}}))}),re(d=>{let u=new uo(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}))}),to(l=>{let d=u=>{let p=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&p.push(this.configLoader.loadComponent(u.routeConfig).pipe(re(b=>{u.component=b}),A(()=>{})));for(let b of u.children)p.push(...d(b));return p};return ot(d(l.targetSnapshot.root)).pipe(Er(null),be(1))}),to(()=>this.afterPreactivation()),xe(()=>{let{currentSnapshot:l,targetSnapshot:d}=s,u=this.createViewTransition?.(this.environmentInjector,l.root,d.root);return u?ve(u).pipe(A(()=>s)):E(s)}),A(l=>{let d=Zh(t.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=s=ie(g({},l),{targetRouterState:d}),this.currentNavigation.targetRouterState=d,s}),re(()=>{this.events.next(new Ai)}),iu(this.rootContexts,t.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),be(1),re({next:l=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new bt(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{a=!0}}),U(this.transitionAbortSubject.pipe(re(l=>{throw l}))),Nt(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",ke.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Ft(l=>{if(c=!0,_l(l))this.events.next(new tt(s.id,this.urlSerializer.serialize(s.extractedUrl),l.message,l.cancellationCode)),Qh(l)?this.events.next(new Mi(l.url)):s.resolve(!1);else{this.events.next(new ki(s.id,this.urlSerializer.serialize(s.extractedUrl),l,s.targetSnapshot??void 0));try{s.resolve(t.errorHandler(l))}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return Ze}))}))}cancelNavigationTransition(t,n,o){let s=new tt(t.id,this.urlSerializer.serialize(t.extractedUrl),n,o);this.events.next(s),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Ku(i){return i!==Ei}var Qu=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:()=>_(Ju),providedIn:"root"});let i=e;return i})(),ko=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},Ju=(()=>{let e=class e extends ko{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Dl=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:()=>_(ef),providedIn:"root"});let i=e;return i})(),ef=(()=>{let e=class e extends Dl{constructor(){super(...arguments),this.location=_(Bt),this.urlSerializer=_(Ao),this.options=_(Lo,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=_(jo),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new et,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=hl(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(t){return this.location.subscribe(n=>{n.type==="popstate"&&t(n.url,n.state)})}handleRouterEvent(t,n){if(t instanceof Ii)this.stateMemento=this.createStateMemento();else if(t instanceof xt)this.rawUrlTree=n.initialUrl;else if(t instanceof Mn){if(this.urlUpdateStrategy==="eager"&&!n.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl);this.setBrowserUrl(o,n)}}else t instanceof Ai?(this.currentUrlTree=n.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl),this.routerState=n.targetRouterState,this.urlUpdateStrategy==="deferred"&&(n.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,n))):t instanceof tt&&(t.code===ke.GuardRejected||t.code===ke.NoDataFromResolver)?this.restoreHistory(n):t instanceof ki?this.restoreHistory(n,!0):t instanceof bt&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,n){let o=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(o)||n.extras.replaceUrl){let s=this.browserPageId,a=g(g({},n.extras.state),this.generateNgRouterState(n.id,s));this.location.replaceState(o,"",a)}else{let s=g(g({},n.extras.state),this.generateNgRouterState(n.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(t,n=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===t.finalUrl&&s===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,n){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:n}:{navigationId:t}}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Ci=function(i){return i[i.COMPLETE=0]="COMPLETE",i[i.FAILED=1]="FAILED",i[i.REDIRECTING=2]="REDIRECTING",i}(Ci||{});function tf(i,e){i.events.pipe(ce(r=>r instanceof bt||r instanceof tt||r instanceof ki||r instanceof xt),A(r=>r instanceof bt||r instanceof xt?Ci.COMPLETE:(r instanceof tt?r.code===ke.Redirect||r.code===ke.SupersededByNewNavigation:!1)?Ci.REDIRECTING:Ci.FAILED),ce(r=>r!==Ci.REDIRECTING),be(1)).subscribe(()=>{e()})}function nf(i){throw i}var rf={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},of={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},El=(()=>{let e=class e{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.isNgZoneEnabled=!1,this.console=_(ln),this.stateManager=_(Dl),this.options=_(Lo,{optional:!0})||{},this.pendingTasks=_(on),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=_(Xu),this.urlSerializer=_(Ao),this.location=_(Bt),this.urlHandlingStrategy=_(jo),this._events=new k,this.errorHandler=this.options.errorHandler||nf,this.navigated=!1,this.routeReuseStrategy=_(Qu),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=_(Vo,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!_(Fo,{optional:!0}),this.eventsSubscription=new Ee,this.isNgZoneEnabled=_(I)instanceof I&&I.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(n=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(n,s),n instanceof tt&&n.code!==ke.Redirect&&n.code!==ke.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof bt)this.navigated=!0;else if(n instanceof Mi){let a=this.urlHandlingStrategy.merge(n.url,o.currentRawUrl),c={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||Ku(o.source)};this.scheduleNavigation(a,Ei,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}af(n)&&this._events.next(n)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ei,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,n)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",n)},0)})}navigateToSyncWithBrowser(t,n,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let l=g({},o);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(s.state=l)}let c=this.parseUrl(t);this.scheduleNavigation(c,n,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(No),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(t,n={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:l}=n,d=l?this.currentUrlTree.fragment:a,u=null;switch(c){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 p;try{let b=o?o.snapshot:this.routerState.snapshot.root;p=al(b)}catch{(typeof t[0]!="string"||!t[0].startsWith("/"))&&(t=[]),p=this.currentUrlTree.root}return ll(p,t,u,d??null)}navigateByUrl(t,n={skipLocationChange:!1}){let o=Yt(t)?t:this.parseUrl(t),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Ei,null,n)}navigate(t,n={skipLocationChange:!1}){return sf(t),this.navigateByUrl(this.createUrlTree(t,n),n)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,n){let o;if(n===!0?o=g({},rf):n===!1?o=g({},of):o=n,Yt(t))return Ga(this.currentUrlTree,t,o);let s=this.parseUrl(t);return Ga(this.currentUrlTree,s,o)}removeEmptyProps(t){return Object.entries(t).reduce((n,[o,s])=>(s!=null&&(n[o]=s),n),{})}scheduleNavigation(t,n,o,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((p,b)=>{c=p,l=b});let u=this.pendingTasks.add();return tf(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:s,resolve:c,reject:l,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(p=>Promise.reject(p))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function sf(i){for(let e=0;er.\u0275providers)])}function cf(i){return i.routerState.root}function df(){let i=_(at);return e=>{let r=i.get(Vt);if(e!==r.components[0])return;let t=i.get(El),n=i.get(hf);i.get(uf)===1&&t.initialNavigation(),i.get(ff,null,kr.Optional)?.setUpPreloading(),i.get(lf,null,kr.Optional)?.init(),t.resetRootComponentType(r.componentTypes[0]),n.closed||(n.next(),n.complete(),n.unsubscribe())}}var hf=new w("",{factory:()=>new k}),uf=new w("",{providedIn:"root",factory:()=>1});var ff=new w("");var mf=new w("cdk-dir-doc",{providedIn:"root",factory:pf});function pf(){return _(L)}var gf=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function _f(i){let e=i?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?gf.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var qe=(()=>{let e=class e{constructor(t){if(this.value="ltr",this.change=new z,t){let n=t.body?t.body.dir:null,o=t.documentElement?t.documentElement.dir:null;this.value=_f(n||o||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(n){return new(n||e)(f(mf,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var nt=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({});let i=e;return i})();var Bo;try{Bo=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Bo=!1}var ge=(()=>{let e=class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Ea(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||Bo)&&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}};e.\u0275fac=function(n){return new(n||e)(f($e))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Vi;function vf(){if(Vi==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Vi=!0}))}finally{Vi=Vi||!1}return Vi}function Uo(i){return vf()?i:!!i.capture}var wt;function Rl(){if(wt==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return wt=!1,wt;if("scrollBehavior"in document.documentElement.style)wt=!0;else{let i=Element.prototype.scrollTo;i?wt=!/\{\s*\[native code\]\s*\}/.test(i.toString()):wt=!1}}return wt}function ji(i){return i.composedPath?i.composedPath()[0]:i.target}function Bi(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var zo=class{constructor(e){this._box=e,this._destroyed=new k,this._resizeSubject=new k,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(r=>this._resizeSubject.next(r)))}observe(e){return this._elementObservables.has(e)||this._elementObservables.set(e,new Ue(r=>{let t=this._resizeSubject.subscribe(r);return this._resizeObserver?.observe(e,{box:this._box}),()=>{this._resizeObserver?.unobserve(e),t.unsubscribe(),this._elementObservables.delete(e)}}).pipe(ce(r=>r.some(t=>t.target===e)),Rr({bufferSize:1,refCount:!0}),U(this._destroyed))),this._elementObservables.get(e)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Il=(()=>{let e=class e{constructor(){this._observers=new Map,this._ngZone=_(I),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,t]of this._observers)t.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(t,n){let o=n?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new zo(o)),this._observers.get(o).observe(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Ho(i){return i!=null&&`${i}`!="false"}function Qt(i){return Array.isArray(i)?i:[i]}function se(i){return i==null?"":typeof i=="string"?i:`${i}px`}function Ui(i){return i instanceof F?i.nativeElement:i}var yf=(()=>{let e=class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var kl=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({providers:[yf]});let i=e;return i})();function Ye(i,...e){return e.length?e.some(r=>i[r]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}var Al=new Set,Dt,bf=(()=>{let e=class e{constructor(t,n){this._platform=t,this._nonce=n,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):wf}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&xf(t,this._nonce),this._matchMedia(t)}};e.\u0275fac=function(n){return new(n||e)(f(ge),f(ci,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function xf(i,e){if(!Al.has(i))try{Dt||(Dt=document.createElement("style"),e&&Dt.setAttribute("nonce",e),Dt.setAttribute("type","text/css"),document.head.appendChild(Dt)),Dt.sheet&&(Dt.sheet.insertRule(`@media ${i} {body{ }}`,0),Al.add(i))}catch(r){console.error(r)}}function wf(i){return{matches:i==="all"||i==="",media:i,addListener:()=>{},removeListener:()=>{}}}var Tl=(()=>{let e=class e{constructor(t,n){this._mediaMatcher=t,this._zone=n,this._queries=new Map,this._destroySubject=new k}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return Ml(Qt(t)).some(o=>this._registerQuery(o).mql.matches)}observe(t){let o=Ml(Qt(t)).map(a=>this._registerQuery(a).observable),s=ot(o);return s=Qi(s.pipe(be(1)),s.pipe(Ir(1),Ji(0))),s.pipe(A(a=>{let c={matches:!1,breakpoints:{}};return a.forEach(({matches:l,query:d})=>{c.matches=c.matches||l,c.breakpoints[d]=l}),c}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);let n=this._mediaMatcher.matchMedia(t),s={observable:new Ue(a=>{let c=l=>this._zone.run(()=>a.next(l));return n.addListener(c),()=>{n.removeListener(c)}}).pipe(Qe(n),A(({matches:a})=>({query:t,matches:a})),U(this._destroySubject)),mql:n};return this._queries.set(t,s),s}};e.\u0275fac=function(n){return new(n||e)(f(bf),f(I))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Ml(i){return i.map(e=>e.split(",")).reduce((e,r)=>e.concat(r)).map(e=>e.trim())}var Nl=" ";function Pl(i,e,r){let t=Ll(i,e);r=r.trim(),!t.some(n=>n.trim()===r)&&(t.push(r),i.setAttribute(e,t.join(Nl)))}function Zo(i,e,r){let t=Ll(i,e);r=r.trim();let n=t.filter(o=>o!==r);n.length?i.setAttribute(e,n.join(Nl)):i.removeAttribute(e)}function Ll(i,e){return i.getAttribute(e)?.match(/\S+/g)??[]}var Wo=class{constructor(e,r){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new k,this._typeaheadSubscription=Ee.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new k,this.change=new k,e instanceof Mr?this._itemChangesSubscription=e.changes.subscribe(t=>this._itemsChanged(t.toArray())):Nr(e)&&(this._effectRef=ga(()=>this._itemsChanged(e()),{injector:r}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(re(r=>this._pressedLetters.push(r)),Ji(e),ce(()=>this._pressedLetters.length>0),A(()=>this._pressedLetters.join(""))).subscribe(r=>{let t=this._getItemsArray();for(let n=1;n!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(r){case 9:this.tabOut.next();return;case 40:if(this._vertical&&n){this.setNextItemActive();break}else return;case 38:if(this._vertical&&n){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&n){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&n){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&n){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&n){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&n){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&n){let o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r)));return}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){let r=this._getItemsArray(),t=typeof e=="number"?e:r.indexOf(e),n=r[t];this._activeItem=n??null,this._activeItemIndex=t}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let r=this._getItemsArray();for(let t=1;t<=r.length;t++){let n=(this._activeItemIndex+e*t+r.length)%r.length,o=r[n];if(!this._skipPredicateFn(o)){this.setActiveItem(n);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,r){let t=this._getItemsArray();if(t[e]){for(;this._skipPredicateFn(t[e]);)if(e+=r,!t[e])return;this.setActiveItem(e)}}_getItemsArray(){return Nr(this._items)?this._items():this._items instanceof Mr?this._items.toArray():this._items}_itemsChanged(e){if(this._activeItem){let r=e.indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}},Bn=class extends Wo{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}};function Vl(i){return i.buttons===0||i.detail===0}function jl(i){let e=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var Mf=new w("liveAnnouncerElement",{providedIn:"root",factory:Tf});function Tf(){return null}var Of=new w("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Ff=0,Bl=(()=>{let e=class e{constructor(t,n,o,s){this._ngZone=n,this._defaultOptions=s,this._document=o,this._liveElement=t||this._createLiveElement()}announce(t,...n){let o=this._defaultOptions,s,a;return n.length===1&&typeof n[0]=="number"?a=n[0]:[s,a]=n,this.clear(),clearTimeout(this._previousTimeout),s||(s=o&&o.politeness?o.politeness:"polite"),a==null&&o&&(a=o.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=t,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 t="cdk-live-announcer-element",n=this._document.getElementsByClassName(t),o=this._document.createElement("div");for(let s=0;s .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let e=class e{constructor(t,n){this._platform=t,this._document=n,this._breakpointSubscription=_(Tl).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Et.NONE;let t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);let n=this._document.defaultView||window,o=n&&n.getComputedStyle?n.getComputedStyle(t):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(t.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Et.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Et.BLACK_ON_WHITE}return Et.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let t=this._document.body.classList;t.remove($o,Ol,Fl),this._hasCheckedHighContrastMode=!0;let n=this.getHighContrastMode();n===Et.BLACK_ON_WHITE?t.add($o,Ol):n===Et.WHITE_ON_BLACK&&t.add($o,Fl)}}};e.\u0275fac=function(n){return new(n||e)(f(ge),f(L))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Pf=["text"],Lf=[[["mat-icon"]],"*"],Vf=["mat-icon","*"];function jf(i,e){if(i&1&&X(0,"mat-pseudo-checkbox",1),i&2){let r=H();Z("disabled",r.disabled)("state",r.selected?"checked":"unchecked")}}function Bf(i,e){if(i&1&&X(0,"mat-pseudo-checkbox",3),i&2){let r=H();Z("disabled",r.disabled)}}function Uf(i,e){if(i&1&&(y(0,"span",4),le(1),x()),i&2){let r=H();D(),ft("(",r.group.label,")")}}function zf(){return!0}var Hf=new w("mat-sanity-checks",{providedIn:"root",factory:zf}),_e=(()=>{let e=class e{constructor(t,n,o){this._sanityChecks=n,this._document=o,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return Bi()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[t]}};e.\u0275fac=function(n){return new(n||e)(f(Ul),f(Hf,8),f(L))},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[nt,nt]});let i=e;return i})();var Hi=class{constructor(e,r,t,n,o){this._defaultMatcher=e,this.ngControl=r,this._parentFormGroup=t,this._parentForm=n,this._stateChanges=o,this.errorState=!1}updateErrorState(){let e=this.errorState,r=this._parentFormGroup||this._parentForm,t=this.matcher||this._defaultMatcher,n=this.ngControl?this.ngControl.control:null,o=t?.isErrorState(n,r)??!1;o!==e&&(this.errorState=o,this._stateChanges.next())}};var Yl=(()=>{let e=class e{isErrorState(t,n){return!!(t&&t.invalid&&(t.touched||n&&n.submitted))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Pe=function(i){return i[i.FADING_IN=0]="FADING_IN",i[i.VISIBLE=1]="VISIBLE",i[i.FADING_OUT=2]="FADING_OUT",i[i.HIDDEN=3]="HIDDEN",i}(Pe||{}),Xo=class{constructor(e,r,t,n=!1){this._renderer=e,this.element=r,this.config=t,this._animationForciblyDisabledThroughCss=n,this.state=Pe.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},Hl=Uo({passive:!0,capture:!0}),Ko=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let r=ji(e);r&&this._events.get(e.type)?.forEach((t,n)=>{(n===r||n.contains(r))&&t.forEach(o=>o.handleEvent(e))})}}addHandler(e,r,t,n){let o=this._events.get(r);if(o){let s=o.get(t);s?s.add(n):o.set(t,new Set([n]))}else this._events.set(r,new Map([[t,new Set([n])]])),e.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,Hl)})}removeHandler(e,r,t){let n=this._events.get(e);if(!n)return;let o=n.get(r);o&&(o.delete(t),o.size===0&&n.delete(r),n.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,Hl)))}},$l={enterDuration:225,exitDuration:150},$f=800,Wl=Uo({passive:!0,capture:!0}),Gl=["mousedown","touchstart"],ql=["mouseup","mouseleave","touchend","touchcancel"],zi=class zi{constructor(e,r,t,n){this._target=e,this._ngZone=r,this._platform=n,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,n.isBrowser&&(this._containerElement=Ui(t))}fadeInRipple(e,r,t={}){let n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=g(g({},$l),t.animation);t.centered&&(e=n.left+n.width/2,r=n.top+n.height/2);let s=t.radius||Wf(e,r,n),a=e-n.left,c=r-n.top,l=o.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`,t.color!=null&&(d.style.backgroundColor=t.color),d.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(d);let u=window.getComputedStyle(d),p=u.transitionProperty,b=u.transitionDuration,B=p==="none"||b==="0s"||b==="0s, 0s"||n.width===0&&n.height===0,V=new Xo(this,d,t,B);d.style.transform="scale3d(1, 1, 1)",V.state=Pe.FADING_IN,t.persistent||(this._mostRecentTransientRipple=V);let S=null;return!B&&(l||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let R=()=>this._finishRippleTransition(V),Ce=()=>this._destroyRipple(V);d.addEventListener("transitionend",R),d.addEventListener("transitioncancel",Ce),S={onTransitionEnd:R,onTransitionCancel:Ce}}),this._activeRipples.set(V,S),(B||!l)&&this._finishRippleTransition(V),V}fadeOutRipple(e){if(e.state===Pe.FADING_OUT||e.state===Pe.HIDDEN)return;let r=e.element,t=g(g({},$l),e.config.animation);r.style.transitionDuration=`${t.exitDuration}ms`,r.style.opacity="0",e.state=Pe.FADING_OUT,(e._animationForciblyDisabledThroughCss||!t.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let r=Ui(e);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,Gl.forEach(t=>{zi._eventManager.addHandler(this._ngZone,t,r,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ql.forEach(r=>{this._triggerElement.addEventListener(r,this,Wl)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===Pe.FADING_IN?this._startFadeOutTransition(e):e.state===Pe.FADING_OUT&&this._destroyRipple(e)}_startFadeOutTransition(e){let r=e===this._mostRecentTransientRipple,{persistent:t}=e.config;e.state=Pe.VISIBLE,!t&&(!r||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let r=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=Pe.HIDDEN,r!==null&&(e.element.removeEventListener("transitionend",r.onTransitionEnd),e.element.removeEventListener("transitioncancel",r.onTransitionCancel)),e.element.remove()}_onMousedown(e){let r=Vl(e),t=this._lastTouchStartEvent&&Date.now(){let r=e.state===Pe.VISIBLE||e.config.terminateOnPointerUp&&e.state===Pe.FADING_IN;!e.config.persistent&&r&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(Gl.forEach(r=>zi._eventManager.removeHandler(r,e,this)),this._pointerUpEventsRegistered&&ql.forEach(r=>e.removeEventListener(r,this,Wl)))}};zi._eventManager=new Ko;var Qo=zi;function Wf(i,e,r){let t=Math.max(Math.abs(i-r.left),Math.abs(i-r.right)),n=Math.max(Math.abs(e-r.top),Math.abs(e-r.bottom));return Math.sqrt(t*t+n*n)}var Gf=new w("mat-ripple-global-options"),qf=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}constructor(t,n,o,s,a){this._elementRef=t,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new Qo(this,n,t,o)}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(t,n=0,o){return typeof t=="number"?this._rippleRenderer.fadeInRipple(t,n,g(g({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,g(g({},this.rippleConfig),t))}};e.\u0275fac=function(n){return new(n||e)(h(F),h(I),h(ge),h(Gf,8),h(Le,8))},e.\u0275dir=C({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(n,o){n&2&&ne("mat-ripple-unbounded",o.unbounded)},inputs:{color:[m.None,"matRippleColor","color"],unbounded:[m.None,"matRippleUnbounded","unbounded"],centered:[m.None,"matRippleCentered","centered"],radius:[m.None,"matRippleRadius","radius"],animation:[m.None,"matRippleAnimation","animation"],disabled:[m.None,"matRippleDisabled","disabled"],trigger:[m.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let i=e;return i})(),Yf=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[_e,_e]});let i=e;return i})(),Zf=(()=>{let e=class e{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1,this.appearance="full"}};e.\u0275fac=function(n){return new(n||e)(h(Le,8))},e.\u0275cmp=ee({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(n,o){n&2&&ne("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[te],decls:0,vars:0,template:function(n,o){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0});let i=e;return i})(),Xf=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[_e]});let i=e;return i})(),es=new w("MAT_OPTION_PARENT_COMPONENT");var ts=new w("MatOptgroup");var Kf=0,Jo=class{constructor(e,r=!1){this.source=e,this.isUserInput=r}},Wn=(()=>{let e=class e{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=t}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(t,n,o,s){this._element=t,this._changeDetectorRef=n,this._parent=o,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${Kf++}`,this.onSelectionChange=new z,this._stateChanges=new k}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(t=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}deselect(t=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}focus(t,n){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(n)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){(t.keyCode===13||t.keyCode===32)&&!Ye(t)&&(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=t)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new Jo(this,t))}};e.\u0275fac=function(n){return new(n||e)(h(F),h(Se),h(es,8),h(ts,8))},e.\u0275cmp=ee({type:e,selectors:[["mat-option"]],viewQuery:function(n,o){if(n&1&&pe(Pf,7),n&2){let s;N(s=P())&&(o._text=s.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(n,o){n&1&&me("click",function(){return o._selectViaInteraction()})("keydown",function(a){return o._handleKeydown(a)}),n&2&&(hi("id",o.id),he("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),ne("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},inputs:{value:"value",id:"id",disabled:[m.HasDecoratorInputTransform,"disabled","disabled",G]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[ae,te],ngContentSelectors:Vf,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(n,o){n&1&&(Fe(Lf),j(0,jf,1,2,"mat-pseudo-checkbox",1),K(1),y(2,"span",2,0),K(4,1),x(),j(5,Bf,1,1,"mat-pseudo-checkbox",3)(6,Uf,2,1,"span",4),X(7,"div",5)),n&2&&(W(0,o.multiple?0:-1),D(5),W(5,!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),D(),W(6,o.group&&o.group._inert?6:-1),D(),Z("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[Zf,qf],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let i=e;return i})();function Zl(i,e,r){if(r.length){let t=e.toArray(),n=r.toArray(),o=0;for(let s=0;sr+t?Math.max(0,i-t+e):r}var is=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[Yf,_e,Xf]});let i=e;return i})();var Qf=["notch"],Jf=["matFormFieldNotchedOutline",""],em=["*"],tm=["textField"],im=["iconPrefixContainer"],nm=["textPrefixContainer"],rm=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],om=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function sm(i,e){i&1&&X(0,"span",17)}function am(i,e){if(i&1&&(y(0,"label",16),K(1,1),j(2,sm,1,0,"span",17),x()),i&2){let r=H(2);Z("floating",r._shouldLabelFloat())("monitorResize",r._hasOutline())("id",r._labelId),he("for",r._control.id),D(2),W(2,!r.hideRequiredMarker&&r._control.required?2:-1)}}function lm(i,e){if(i&1&&j(0,am,3,5,"label",16),i&2){let r=H();W(0,r._hasFloatingLabel()?0:-1)}}function cm(i,e){i&1&&X(0,"div",5)}function dm(i,e){}function hm(i,e){if(i&1&&j(0,dm,0,0,"ng-template",11),i&2){H(2);let r=ut(1);Z("ngTemplateOutlet",r)}}function um(i,e){if(i&1&&(y(0,"div",7),j(1,hm,1,1,null,11),x()),i&2){let r=H();Z("matFormFieldNotchedOutlineOpen",r._shouldLabelFloat()),D(),W(1,r._forceDisplayInfixLabel()?-1:1)}}function fm(i,e){i&1&&(y(0,"div",8,2),K(2,2),x())}function mm(i,e){i&1&&(y(0,"div",9,3),K(2,3),x())}function pm(i,e){}function gm(i,e){if(i&1&&j(0,pm,0,0,"ng-template",11),i&2){H();let r=ut(1);Z("ngTemplateOutlet",r)}}function _m(i,e){i&1&&(y(0,"div",12),K(1,4),x())}function vm(i,e){i&1&&(y(0,"div",13),K(1,5),x())}function ym(i,e){i&1&&X(0,"div",14)}function bm(i,e){if(i&1&&(y(0,"div",18),K(1,6),x()),i&2){let r=H();Z("@transitionMessages",r._subscriptAnimationState)}}function xm(i,e){if(i&1&&(y(0,"mat-hint",20),le(1),x()),i&2){let r=H(2);Z("id",r._hintLabelId),D(),We(r.hintLabel)}}function wm(i,e){if(i&1&&(y(0,"div",19),j(1,xm,2,2,"mat-hint",20),K(2,7),X(3,"div",21),K(4,8),x()),i&2){let r=H();Z("@transitionMessages",r._subscriptAnimationState),D(),W(1,r.hintLabel?1:-1)}}var qn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=C({type:e,selectors:[["mat-label"]],standalone:!0});let i=e;return i})();var Cm=new w("MatError");var Dm=0,Ql=(()=>{let e=class e{constructor(){this.align="start",this.id=`mat-mdc-hint-${Dm++}`}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=C({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(n,o){n&2&&(hi("id",o.id),he("align",null),ne("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});let i=e;return i})(),Em=new w("MatPrefix");var Sm=new w("MatSuffix");var sc=new w("FloatingLabelParent"),Jl=(()=>{let e=class e{get floating(){return this._floating}set floating(t){this._floating=t,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(t){this._monitorResize=t,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(t){this._elementRef=t,this._floating=!1,this._monitorResize=!1,this._resizeObserver=_(Il),this._ngZone=_(I),this._parent=_(sc),this._resizeSubscription=new Ee}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return Rm(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())})}};e.\u0275fac=function(n){return new(n||e)(h(F))},e.\u0275dir=C({type:e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(n,o){n&2&&ne("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});let i=e;return i})();function Rm(i){let e=i;if(e.offsetParent!==null)return e.scrollWidth;let r=e.cloneNode(!0);r.style.setProperty("position","absolute"),r.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(r);let t=r.scrollWidth;return r.remove(),t}var ec="mdc-line-ripple--active",Gn="mdc-line-ripple--deactivating",tc=(()=>{let e=class e{constructor(t,n){this._elementRef=t,this._handleTransitionEnd=o=>{let s=this._elementRef.nativeElement.classList,a=s.contains(Gn);o.propertyName==="opacity"&&a&&s.remove(ec,Gn)},n.runOutsideAngular(()=>{t.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let t=this._elementRef.nativeElement.classList;t.remove(Gn),t.add(ec)}deactivate(){this._elementRef.nativeElement.classList.add(Gn)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};e.\u0275fac=function(n){return new(n||e)(h(F),h(I))},e.\u0275dir=C({type:e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});let i=e;return i})(),ic=(()=>{let e=class e{constructor(t,n){this._elementRef=t,this._ngZone=n,this.open=!1}ngAfterViewInit(){let t=this._elementRef.nativeElement.querySelector(".mdc-floating-label");t?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(t.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>t.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(t){!this.open||!t?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${t}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}};e.\u0275fac=function(n){return new(n||e)(h(F),h(I))},e.\u0275cmp=ee({type:e,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(n,o){if(n&1&&pe(Qf,5),n&2){let s;N(s=P())&&(o._notch=s.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(n,o){n&2&&ne("mdc-notched-outline--notched",o.open)},inputs:{open:[m.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[te],attrs:Jf,ngContentSelectors:em,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(n,o){n&1&&(Fe(),X(0,"div",1),y(1,"div",2,0),K(3),x(),X(4,"div",3))},encapsulation:2,changeDetection:0});let i=e;return i})(),Im={transitionMessages:fi("transitionMessages",[fn("enter",gt({opacity:1,transform:"translateY(0%)"})),Ut("void => enter",[gt({opacity:0,transform:"translateY(-5px)"}),mi("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Yn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=C({type:e});let i=e;return i})();var Zn=new w("MatFormField"),km=new w("MAT_FORM_FIELD_DEFAULT_OPTIONS"),nc=0,rc="fill",Am="auto",oc="fixed",Mm="translateY(-50%)",ac=(()=>{let e=class e{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=Ho(t)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||Am}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(t){let n=this._appearance,o=t||this._defaults?.appearance||rc;this._appearance=o,this._appearance==="outline"&&this._appearance!==n&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||oc}set subscriptSizing(t){this._subscriptSizing=t||this._defaults?.subscriptSizing||oc}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(t){this._explicitFormFieldControl=t}constructor(t,n,o,s,a,c,l,d){this._elementRef=t,this._changeDetectorRef=n,this._ngZone=o,this._dir=s,this._platform=a,this._defaults=c,this._animationMode=l,this._hideRequiredMarker=!1,this.color="primary",this._appearance=rc,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${nc++}`,this._hintLabelId=`mat-mdc-hint-${nc++}`,this._subscriptAnimationState="",this._destroyed=new k,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,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._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){let t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${t.controlType}`),t.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(U(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(t=>!t._isText),this._hasTextPrefix=!!this._prefixChildren.find(t=>t._isText),this._hasIconSuffix=!!this._suffixChildren.find(t=>!t._isText),this._hasTextSuffix=!!this._suffixChildren.find(t=>t._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Xe(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._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(U(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(U(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(t){let n=this._control?this._control.ngControl:null;return n&&n[t]}_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 t=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&t.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let n=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,o=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;n?t.push(n.id):this._hintLabel&&t.push(this._hintLabelId),o&&t.push(o.id)}else this._errorChildren&&t.push(...this._errorChildren.map(n=>n.id));this._control.setDescribedByIds(t)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;let t=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){t.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdateOnStable=!0;return}let n=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,s=n?.getBoundingClientRect().width??0,a=o?.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)))`;t.style.transform=`var( + --mat-mdc-form-field-label-transform, + ${Mm} translateX(${u}) + )`}_isAttachedToDom(){let t=this._elementRef.nativeElement;if(t.getRootNode){let n=t.getRootNode();return n&&n!==t}return document.documentElement.contains(t)}};e.\u0275fac=function(n){return new(n||e)(h(F),h(Se),h(I),h(qe),h(ge),h(km,8),h(Le,8),h(L))},e.\u0275cmp=ee({type:e,selectors:[["mat-form-field"]],contentQueries:function(n,o,s){if(n&1&&(oe(s,qn,5),oe(s,qn,7),oe(s,Yn,5),oe(s,Em,5),oe(s,Sm,5),oe(s,Cm,5),oe(s,Ql,5)),n&2){let a;N(a=P())&&(o._labelChildNonStatic=a.first),N(a=P())&&(o._labelChildStatic=a.first),N(a=P())&&(o._formFieldControl=a.first),N(a=P())&&(o._prefixChildren=a),N(a=P())&&(o._suffixChildren=a),N(a=P())&&(o._errorChildren=a),N(a=P())&&(o._hintChildren=a)}},viewQuery:function(n,o){if(n&1&&(pe(tm,5),pe(im,5),pe(nm,5),pe(Jl,5),pe(ic,5),pe(tc,5)),n&2){let s;N(s=P())&&(o._textField=s.first),N(s=P())&&(o._iconPrefixContainer=s.first),N(s=P())&&(o._textPrefixContainer=s.first),N(s=P())&&(o._floatingLabel=s.first),N(s=P())&&(o._notchedOutline=s.first),N(s=P())&&(o._lineRipple=s.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(n,o){n&2&&ne("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-no-animations",o._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",o.appearance=="fill")("mat-form-field-appearance-outline",o.appearance=="outline")("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary",o.color!=="accent"&&o.color!=="warn")("mat-accent",o.color==="accent")("mat-warn",o.color==="warn")("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[Q([{provide:Zn,useExisting:e},{provide:sc,useExisting:e}]),te],ngContentSelectors:om,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"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(n,o){if(n&1){let s=ht();Fe(rm),j(0,lm,1,1,"ng-template",null,0,an),y(2,"div",4,1),me("click",function(c){return Me(s),Te(o._control.onContainerClick(c))}),j(4,cm,1,0,"div",5),y(5,"div",6),j(6,um,2,2,"div",7)(7,fm,3,0,"div",8)(8,mm,3,0,"div",9),y(9,"div",10),j(10,gm,1,1,null,11),K(11),x(),j(12,_m,2,0,"div",12)(13,vm,2,0,"div",13),x(),j(14,ym,1,0,"div",14),x(),y(15,"div",15),j(16,bm,2,1)(17,wm,5,2),x()}if(n&2){let s;D(2),ne("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),D(2),W(4,!o._hasOutline()&&!o._control.disabled?4:-1),D(2),W(6,o._hasOutline()?6:-1),D(),W(7,o._hasIconPrefix?7:-1),D(),W(8,o._hasTextPrefix?8:-1),D(2),W(10,!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),D(2),W(12,o._hasTextSuffix?12:-1),D(),W(13,o._hasIconSuffix?13:-1),D(),W(14,o._hasOutline()?-1:14),D(),ne("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic"),D(),W(16,(s=o._getDisplayedMessages())==="error"?16:s==="hint"?17:-1)}},dependencies:[Jl,ic,hn,tc,Ql],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.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__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.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-floating-label--float-above{font-size:.75rem}.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-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;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,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::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,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.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-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,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{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}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.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:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-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--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.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)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.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)}.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)}.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.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.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)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.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:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-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--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.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)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@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))}}@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))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.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-text-field-wrapper::before{content:none}.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)}.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);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-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)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-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)}[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)}.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);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-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)}.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)}.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)}.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)}.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)}.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-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .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__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.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-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.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)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.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:[Im.transitionMessages]},changeDetection:0});let i=e;return i})(),St=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[_e,Ge,kl,_e]});let i=e;return i})();function Kn(i){return i&&typeof i.connect=="function"&&!(i instanceof ni)}var Jt=function(i){return i[i.REPLACED=0]="REPLACED",i[i.INSERTED=1]="INSERTED",i[i.MOVED=2]="MOVED",i[i.REMOVED=3]="REMOVED",i}(Jt||{}),$i=new w("_ViewRepeater"),ei=class{applyChanges(e,r,t,n,o){e.forEachOperation((s,a,c)=>{let l,d;if(s.previousIndex==null){let u=t(s,a,c);l=r.createEmbeddedView(u.templateRef,u.context,u.index),d=Jt.INSERTED}else c==null?(r.remove(a),d=Jt.REMOVED):(l=r.get(a),r.move(l,c),d=Jt.MOVED);o&&o({context:l?.context,operation:d,record:s})})}detach(){}};var Xn=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(e=!1,r,t=!0,n){this._multiple=e,this._emitChanges=t,this.compareWith=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new k,r&&r.length&&(e?r.forEach(o=>this._markSelected(o)):this._markSelected(r[0]),this._selectedToEmit.length=0)}select(...e){this._verifyValueAssignment(e),e.forEach(t=>this._markSelected(t));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}deselect(...e){this._verifyValueAssignment(e),e.forEach(t=>this._unmarkSelected(t));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}setSelection(...e){this._verifyValueAssignment(e);let r=this.selected,t=new Set(e);e.forEach(o=>this._markSelected(o)),r.filter(o=>!t.has(this._getConcreteValue(o,t))).forEach(o=>this._unmarkSelected(o));let n=this._hasQueuedChanges();return this._emitChangeEvent(),n}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let r=this._hasQueuedChanges();return e&&this._emitChangeEvent(),r}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e,r){if(this.compareWith){r=r??this._selection;for(let t of r)if(this.compareWith(e,t))return t;return e}else return e}};var Om=20,lc=(()=>{let e=class e{constructor(t,n,o){this._ngZone=t,this._platform=n,this._scrolled=new k,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let n=this.scrollContainers.get(t);n&&(n.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=Om){return this._platform.isBrowser?new Ue(n=>{this._globalSubscription||this._addGlobalListener();let o=t>0?this._scrolled.pipe(Dr(t)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):E()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(t,n){let o=this.getAncestorScrollContainers(t);return this.scrolled(n).pipe(ce(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(t){let n=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,t)&&n.push(s)}),n}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,n){let o=Ui(n),s=t.getElementRef().nativeElement;do if(o==s)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let t=this._getWindow();return $s(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};e.\u0275fac=function(n){return new(n||e)(f(I),f(ge),f(L,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Fm=20,Rt=(()=>{let e=class e{constructor(t,n,o){this._platform=t,this._change=new k,this._changeListener=s=>{this._change.next(s)},this._document=o,n.runOutsideAngular(()=>{if(t.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 t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){let t=this.getViewportScrollPosition(),{width:n,height:o}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+o,right:t.left+n,height:o,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,n=this._getWindow(),o=t.documentElement,s=o.getBoundingClientRect(),a=-s.top||t.body.scrollTop||n.scrollY||o.scrollTop||0,c=-s.left||t.body.scrollLeft||n.scrollX||o.scrollLeft||0;return{top:a,left:c}}change(t=Fm){return t>0?this._change.pipe(Dr(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}};e.\u0275fac=function(n){return new(n||e)(f(ge),f(I),f(L,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Qn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({});let i=e;return i})(),Wi=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[nt,Qn,nt,Qn]});let i=e;return i})();var Gi=class{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},rs=class extends Gi{constructor(e,r,t,n,o){super(),this.component=e,this.viewContainerRef=r,this.injector=t,this.componentFactoryResolver=n,this.projectableNodes=o}},qi=class extends Gi{constructor(e,r,t,n){super(),this.templateRef=e,this.viewContainerRef=r,this.context=t,this.injector=n}get origin(){return this.templateRef.elementRef}attach(e,r=this.context){return this.context=r,super.attach(e)}detach(){return this.context=void 0,super.detach()}},os=class extends Gi{constructor(e){super(),this.element=e instanceof F?e.nativeElement:e}},ss=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof rs)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof qi)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof os)return this._attachedPortal=e,this.attachDomPortal(e)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var Jn=class extends ss{constructor(e,r,t,n,o){super(),this.outletElement=e,this._componentFactoryResolver=r,this._appRef=t,this._defaultInjector=n,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=o}attachComponentPortal(e){let t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),n;return e.viewContainerRef?(n=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector,e.projectableNodes||void 0),this.setDisposeFn(()=>n.destroy())):(n=t.create(e.injector||this._defaultInjector||at.NULL),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=e,n}attachTemplatePortal(e){let r=e.viewContainerRef,t=r.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return t.rootNodes.forEach(n=>this.outletElement.appendChild(n)),t.detectChanges(),this.setDisposeFn(()=>{let n=r.indexOf(t);n!==-1&&r.remove(n)}),this._attachedPortal=e,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}};var cc=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({});let i=e;return i})();var dc=Rl(),as=class{constructor(e,r){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=r}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=se(-this._previousScrollPosition.left),e.style.top=se(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,r=this._document.body,t=e.style,n=r.style,o=t.scrollBehavior||"",s=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),dc&&(t.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),dc&&(t.scrollBehavior=o,n.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let r=this._document.body,t=this._viewportRuler.getViewportSize();return r.scrollHeight>t.height||r.scrollWidth>t.width}};var ls=class{constructor(e,r,t,n){this._scrollDispatcher=e,this._ngZone=r,this._viewportRuler=t,this._config=n,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(ce(r=>!r||!this._overlayRef.overlayElement.contains(r.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let r=this._viewportRuler.getViewportScrollPosition().top;Math.abs(r-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},er=class{enable(){}disable(){}attach(){}};function cs(i,e){return e.some(r=>{let t=i.bottomr.bottom,o=i.rightr.right;return t||n||o||s})}function hc(i,e){return e.some(r=>{let t=i.topr.bottom,o=i.leftr.right;return t||n||o||s})}var ds=class{constructor(e,r,t,n){this._scrollDispatcher=e,this._viewportRuler=r,this._ngZone=t,this._config=n,this._scrollSubscription=null}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let r=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:n}=this._viewportRuler.getViewportSize();cs(r,[{width:t,height:n,bottom:n,right:t,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}},Pm=(()=>{let e=class e{constructor(t,n,o,s){this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=o,this.noop=()=>new er,this.close=a=>new ls(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new as(this._viewportRuler,this._document),this.reposition=a=>new ds(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=s}};e.\u0275fac=function(n){return new(n||e)(f(lc),f(Rt),f(I),f(L))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),tr=class{constructor(e){if(this.scrollStrategy=new er,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){let r=Object.keys(e);for(let t of r)e[t]!==void 0&&(this[t]=e[t])}}};var hs=class{constructor(e,r){this.connectionPair=e,this.scrollableViewProperties=r}};var gc=(()=>{let e=class e{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){let n=this._attachedOverlays.indexOf(t);n>-1&&this._attachedOverlays.splice(n,1),this._attachedOverlays.length===0&&this.detach()}};e.\u0275fac=function(n){return new(n||e)(f(L))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Lm=(()=>{let e=class e extends gc{constructor(t,n){super(t),this._ngZone=n,this._keydownListener=o=>{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(o)):c.next(o);break}}}add(t){super.add(t),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)}};e.\u0275fac=function(n){return new(n||e)(f(L),f(I,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Vm=(()=>{let e=class e extends gc{constructor(t,n,o){super(t),this._platform=n,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=ji(s)},this._clickListener=s=>{let a=ji(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(u.overlayElement.contains(a)||u.overlayElement.contains(c))break;let p=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>p.next(s)):p.next(s)}}}add(t){if(super.add(t),!this._isAttached){let n=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(n)):this._addEventListeners(n),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}};e.\u0275fac=function(n){return new(n||e)(f(L),f(ge),f(I,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),_c=(()=>{let e=class e{constructor(t,n){this._platform=n,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t="cdk-overlay-container";if(this._platform.isBrowser||Bi()){let o=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let s=0;sthis._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new k,this._outsidePointerEvents=new k,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let r=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(be(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),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 r?.onDestroy=="function"&&r.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),r}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){let e=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,e&&this._detachments.next(),this._detachments.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(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=g(g({},this._config),e),this._updateElementSize()}setDirection(e){this._config=ie(g({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=se(this._config.width),e.height=se(this._config.height),e.minWidth=se(this._config.minWidth),e.minHeight=se(this._config.minHeight),e.maxWidth=se(this._config.maxWidth),e.maxHeight=se(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){let e="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(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e=this._backdropElement;if(e){if(this._animationsDisabled){this._disposeBackdrop(e);return}e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,r,t){let n=Qt(r||[]).filter(o=>!!o);n.length&&(t?e.classList.add(...n):e.classList.remove(...n))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{let e=this._ngZone.onStable.pipe(U(Xe(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()),e.unsubscribe())})})}_disposeScrollStrategy(){let e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},uc="cdk-overlay-connected-position-bounding-box",jm=/([A-Za-z%]+)$/,fs=class{get positions(){return this._preferredPositions}constructor(e,r,t,n,o){this._viewportRuler=r,this._document=t,this._platform=n,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new k,this._resizeSubscription=Ee.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(uc),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.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 e=this._originRect,r=this._overlayRect,t=this._viewportRect,n=this._containerRect,o=[],s;for(let a of this._preferredPositions){let c=this._getOriginPoint(e,n,a),l=this._getOverlayPoint(c,r,a),d=this._getOverlayFit(l,r,t,a);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,c);return}if(this._canFitWithFlexibleDimensions(d,l,t)){o.push({position:a,origin:c,overlayRect:r,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&&It(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(uc),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let r=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,r)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,r,t){let n;if(t.originX=="center")n=e.left+e.width/2;else{let s=this._isRtl()?e.right:e.left,a=this._isRtl()?e.left:e.right;n=t.originX=="start"?s:a}r.left<0&&(n-=r.left);let o;return t.originY=="center"?o=e.top+e.height/2:o=t.originY=="top"?e.top:e.bottom,r.top<0&&(o-=r.top),{x:n,y:o}}_getOverlayPoint(e,r,t){let n;t.overlayX=="center"?n=-r.width/2:t.overlayX==="start"?n=this._isRtl()?-r.width:0:n=this._isRtl()?0:-r.width;let o;return t.overlayY=="center"?o=-r.height/2:o=t.overlayY=="top"?0:-r.height,{x:e.x+n,y:e.y+o}}_getOverlayFit(e,r,t,n){let o=mc(r),{x:s,y:a}=e,c=this._getOffset(n,"x"),l=this._getOffset(n,"y");c&&(s+=c),l&&(a+=l);let d=0-s,u=s+o.width-t.width,p=0-a,b=a+o.height-t.height,B=this._subtractOverflows(o.width,d,u),V=this._subtractOverflows(o.height,p,b),S=B*V;return{visibleArea:S,isCompletelyWithinViewport:o.width*o.height===S,fitsInViewportVertically:V===o.height,fitsInViewportHorizontally:B==o.width}}_canFitWithFlexibleDimensions(e,r,t){if(this._hasFlexibleDimensions){let n=t.bottom-r.y,o=t.right-r.x,s=fc(this._overlayRef.getConfig().minHeight),a=fc(this._overlayRef.getConfig().minWidth),c=e.fitsInViewportVertically||s!=null&&s<=n,l=e.fitsInViewportHorizontally||a!=null&&a<=o;return c&&l}return!1}_pushOverlayOnScreen(e,r,t){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let n=mc(r),o=this._viewportRect,s=Math.max(e.x+n.width-o.width,0),a=Math.max(e.y+n.height-o.height,0),c=Math.max(o.top-t.top-e.y,0),l=Math.max(o.left-t.left-e.x,0),d=0,u=0;return n.width<=o.width?d=l||-s:d=e.xB&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-B/2)}let c=r.overlayX==="start"&&!n||r.overlayX==="end"&&n,l=r.overlayX==="end"&&!n||r.overlayX==="start"&&n,d,u,p;if(l)p=t.width-e.x+this._viewportMargin*2,d=e.x-this._viewportMargin;else if(c)u=e.x,d=t.right-e.x;else{let b=Math.min(t.right-e.x+t.left,e.x),B=this._lastBoundingBoxSize.width;d=b*2,u=e.x-b,d>B&&!this._isInitialRender&&!this._growAfterOpen&&(u=e.x-B/2)}return{top:s,left:u,bottom:a,right:p,width:d,height:o}}_setBoundingBoxStyles(e,r){let t=this._calculateBoundingBoxRect(e,r);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));let n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;n.height=se(t.height),n.top=se(t.top),n.bottom=se(t.bottom),n.width=se(t.width),n.left=se(t.left),n.right=se(t.right),r.overlayX==="center"?n.alignItems="center":n.alignItems=r.overlayX==="end"?"flex-end":"flex-start",r.overlayY==="center"?n.justifyContent="center":n.justifyContent=r.overlayY==="bottom"?"flex-end":"flex-start",o&&(n.maxHeight=se(o)),s&&(n.maxWidth=se(s))}this._lastBoundingBoxSize=t,It(this._boundingBox.style,n)}_resetBoundingBoxStyles(){It(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){It(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,r){let t={},n=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(n){let d=this._viewportRuler.getViewportScrollPosition();It(t,this._getExactOverlayY(r,e,d)),It(t,this._getExactOverlayX(r,e,d))}else t.position="static";let a="",c=this._getOffset(r,"x"),l=this._getOffset(r,"y");c&&(a+=`translateX(${c}px) `),l&&(a+=`translateY(${l}px)`),t.transform=a.trim(),s.maxHeight&&(n?t.maxHeight=se(s.maxHeight):o&&(t.maxHeight="")),s.maxWidth&&(n?t.maxWidth=se(s.maxWidth):o&&(t.maxWidth="")),It(this._pane.style,t)}_getExactOverlayY(e,r,t){let n={top:"",bottom:""},o=this._getOverlayPoint(r,this._overlayRect,e);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t)),e.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;n.bottom=`${s-(o.y+this._overlayRect.height)}px`}else n.top=se(o.y);return n}_getExactOverlayX(e,r,t){let n={left:"",right:""},o=this._getOverlayPoint(r,this._overlayRect,e);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t));let s;if(this._isRtl()?s=e.overlayX==="end"?"left":"right":s=e.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;n.right=`${a-(o.x+this._overlayRect.width)}px`}else n.left=se(o.x);return n}_getScrollVisibility(){let e=this._getOriginRect(),r=this._pane.getBoundingClientRect(),t=this._scrollables.map(n=>n.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:hc(e,t),isOriginOutsideView:cs(e,t),isOverlayClipped:hc(r,t),isOverlayOutsideView:cs(r,t)}}_subtractOverflows(e,...r){return r.reduce((t,n)=>t-Math.max(n,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,r=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+e-this._viewportMargin,bottom:t.top+r-this._viewportMargin,width:e-2*this._viewportMargin,height:r-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,r){return r==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&Qt(e).forEach(r=>{r!==""&&this._appliedPanelClasses.indexOf(r)===-1&&(this._appliedPanelClasses.push(r),this._pane.classList.add(r))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof F)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let r=e.width||0,t=e.height||0;return{top:e.y,bottom:e.y+t,left:e.x,right:e.x+r,height:t,width:r}}};function It(i,e){for(let r in e)e.hasOwnProperty(r)&&(i[r]=e[r]);return i}function fc(i){if(typeof i!="number"&&i!=null){let[e,r]=i.split(jm);return!r||r==="px"?parseFloat(e):null}return i||null}function mc(i){return{top:Math.floor(i.top),right:Math.floor(i.right),bottom:Math.floor(i.bottom),left:Math.floor(i.left),width:Math.floor(i.width),height:Math.floor(i.height)}}function Bm(i,e){return i===e?!0:i.isOriginClipped===e.isOriginClipped&&i.isOriginOutsideView===e.isOriginOutsideView&&i.isOverlayClipped===e.isOverlayClipped&&i.isOverlayOutsideView===e.isOverlayOutsideView}var pc="cdk-global-overlay-wrapper",ms=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(e){let r=e.getConfig();this._overlayRef=e,this._width&&!r.width&&e.updateSize({width:this._width}),this._height&&!r.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(pc),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:n,height:o,maxWidth:s,maxHeight:a}=t,c=(n==="100%"||n==="100vw")&&(!s||s==="100%"||s==="100vw"),l=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),d=this._xPosition,u=this._xOffset,p=this._overlayRef.getConfig().direction==="rtl",b="",B="",V="";c?V="flex-start":d==="center"?(V="center",p?B=u:b=u):p?d==="left"||d==="end"?(V="flex-end",b=u):(d==="right"||d==="start")&&(V="flex-start",B=u):d==="left"||d==="start"?(V="flex-start",b=u):(d==="right"||d==="end")&&(V="flex-end",B=u),e.position=this._cssPosition,e.marginLeft=c?"0":b,e.marginTop=l?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=c?"0":B,r.justifyContent=V,r.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement,t=r.style;r.classList.remove(pc),t.justifyContent=t.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},Um=(()=>{let e=class e{constructor(t,n,o,s){this._viewportRuler=t,this._document=n,this._platform=o,this._overlayContainer=s}global(){return new ms}flexibleConnectedTo(t){return new fs(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};e.\u0275fac=function(n){return new(n||e)(f(Rt),f(L),f(ge),f(_c))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),zm=0,kt=(()=>{let e=class e{constructor(t,n,o,s,a,c,l,d,u,p,b,B){this.scrollStrategies=t,this._overlayContainer=n,this._componentFactoryResolver=o,this._positionBuilder=s,this._keyboardDispatcher=a,this._injector=c,this._ngZone=l,this._document=d,this._directionality=u,this._location=p,this._outsideClickDispatcher=b,this._animationsModuleType=B}create(t){let n=this._createHostElement(),o=this._createPaneElement(n),s=this._createPortalOutlet(o),a=new tr(t);return a.direction=a.direction||this._directionality.value,new us(s,n,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations")}position(){return this._positionBuilder}_createPaneElement(t){let n=this._document.createElement("div");return n.id=`cdk-overlay-${zm++}`,n.classList.add("cdk-overlay-pane"),t.appendChild(n),n}_createHostElement(){let t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(Vt)),new Jn(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};e.\u0275fac=function(n){return new(n||e)(f(Pm),f(_c),f(Or),f(Um),f(Lm),f(at),f(I),f(L),f(qe),f(Bt),f(Vm),f(Le,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Hm=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],vc=new w("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let i=_(kt);return()=>i.scrollStrategies.reposition()}}),ir=(()=>{let e=class e{constructor(t){this.elementRef=t}};e.\u0275fac=function(n){return new(n||e)(h(F))},e.\u0275dir=C({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});let i=e;return i})(),ps=(()=>{let e=class e{get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(t){this._disposeOnNavigation=t}constructor(t,n,o,s,a){this._overlay=t,this._dir=a,this._backdropSubscription=Ee.EMPTY,this._attachSubscription=Ee.EMPTY,this._detachSubscription=Ee.EMPTY,this._positionSubscription=Ee.EMPTY,this._disposeOnNavigation=!1,this._ngZone=_(I),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new z,this.positionChange=new z,this.attach=new z,this.detach=new z,this.overlayKeydown=new z,this.overlayOutsideClick=new z,this._templatePortal=new qi(n,o),this._scrollStrategyFactory=s,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Hm);let t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(n=>{this.overlayKeydown.next(n),n.keyCode===27&&!this.disableClose&&!Ye(n)&&(n.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(n=>{this.overlayOutsideClick.next(n)})}_buildConfig(){let t=this._position=this.positionStrategy||this._createPositionStrategy(),n=new tr({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(n.width=this.width),(this.height||this.height===0)&&(n.height=this.height),(this.minWidth||this.minWidth===0)&&(n.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(n.minHeight=this.minHeight),this.backdropClass&&(n.backdropClass=this.backdropClass),this.panelClass&&(n.panelClass=this.panelClass),n}_updatePositionStrategy(t){let n=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return t.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let t=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(t),t}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof ir?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Zs(()=>this.positionChange.observers.length>0)).subscribe(t=>{this._ngZone.run(()=>this.positionChange.emit(t)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}};e.\u0275fac=function(n){return new(n||e)(h(kt),h(Re),h(Oe),h(vc),h(qe,8))},e.\u0275dir=C({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[m.None,"cdkConnectedOverlayOrigin","origin"],positions:[m.None,"cdkConnectedOverlayPositions","positions"],positionStrategy:[m.None,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[m.None,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[m.None,"cdkConnectedOverlayOffsetY","offsetY"],width:[m.None,"cdkConnectedOverlayWidth","width"],height:[m.None,"cdkConnectedOverlayHeight","height"],minWidth:[m.None,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[m.None,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[m.None,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[m.None,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[m.None,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[m.None,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[m.None,"cdkConnectedOverlayOpen","open"],disableClose:[m.None,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[m.None,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[m.HasDecoratorInputTransform,"cdkConnectedOverlayHasBackdrop","hasBackdrop",G],lockPosition:[m.HasDecoratorInputTransform,"cdkConnectedOverlayLockPosition","lockPosition",G],flexibleDimensions:[m.HasDecoratorInputTransform,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",G],growAfterOpen:[m.HasDecoratorInputTransform,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",G],push:[m.HasDecoratorInputTransform,"cdkConnectedOverlayPush","push",G],disposeOnNavigation:[m.HasDecoratorInputTransform,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",G]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[ae,we]});let i=e;return i})();function $m(i){return()=>i.scrollStrategies.reposition()}var Wm={provide:vc,deps:[kt],useFactory:$m},yc=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({providers:[kt,Wm],imports:[nt,cc,Wi,Wi]});let i=e;return i})();var Rc=(()=>{let e=class e{constructor(t,n){this._renderer=t,this._elementRef=n,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(t,n){this._renderer.setProperty(this._elementRef.nativeElement,t,n)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}};e.\u0275fac=function(n){return new(n||e)(h(rn),h(F))},e.\u0275dir=C({type:e});let i=e;return i})(),Gm=(()=>{let e=class e extends Rc{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275dir=C({type:e,features:[q]});let i=e;return i})(),Ic=new w("");var qm={provide:Ic,useExisting:si(()=>kc),multi:!0};function Ym(){let i=jt()?jt().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}var Zm=new w(""),kc=(()=>{let e=class e extends Rc{constructor(t,n,o){super(t,n),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!Ym())}writeValue(t){let n=t??"";this.setProperty("value",n)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}};e.\u0275fac=function(n){return new(n||e)(h(rn),h(F),h(Zm,8))},e.\u0275dir=C({type:e,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(n,o){n&1&&me("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[Q([qm]),q]});let i=e;return i})();function rt(i){return i==null||(typeof i=="string"||Array.isArray(i))&&i.length===0}function Ac(i){return i!=null&&typeof i.length=="number"}var vs=new w(""),ys=new w(""),Xm=/^(?=.{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])?)*$/,rr=class{static min(e){return Km(e)}static max(e){return Qm(e)}static required(e){return Jm(e)}static requiredTrue(e){return ep(e)}static email(e){return tp(e)}static minLength(e){return ip(e)}static maxLength(e){return np(e)}static pattern(e){return rp(e)}static nullValidator(e){return Mc(e)}static compose(e){return Lc(e)}static composeAsync(e){return Vc(e)}};function Km(i){return e=>{if(rt(e.value)||rt(i))return null;let r=parseFloat(e.value);return!isNaN(r)&&r{if(rt(e.value)||rt(i))return null;let r=parseFloat(e.value);return!isNaN(r)&&r>i?{max:{max:i,actual:e.value}}:null}}function Jm(i){return rt(i.value)?{required:!0}:null}function ep(i){return i.value===!0?null:{required:!0}}function tp(i){return rt(i.value)||Xm.test(i.value)?null:{email:!0}}function ip(i){return e=>rt(e.value)||!Ac(e.value)?null:e.value.lengthAc(e.value)&&e.value.length>i?{maxlength:{requiredLength:i,actualLength:e.value.length}}:null}function rp(i){if(!i)return Mc;let e,r;return typeof i=="string"?(r="",i.charAt(0)!=="^"&&(r+="^"),r+=i,i.charAt(i.length-1)!=="$"&&(r+="$"),e=new RegExp(r)):(r=i.toString(),e=i),t=>{if(rt(t.value))return null;let n=t.value;return e.test(n)?null:{pattern:{requiredPattern:r,actualValue:n}}}}function Mc(i){return null}function Tc(i){return i!=null}function Oc(i){return cn(i)?ve(i):i}function Fc(i){let e={};return i.forEach(r=>{e=r!=null?g(g({},e),r):e}),Object.keys(e).length===0?null:e}function Nc(i,e){return e.map(r=>r(i))}function op(i){return!i.validate}function Pc(i){return i.map(e=>op(e)?e:r=>e.validate(r))}function Lc(i){if(!i)return null;let e=i.filter(Tc);return e.length==0?null:function(r){return Fc(Nc(r,e))}}function bs(i){return i!=null?Lc(Pc(i)):null}function Vc(i){if(!i)return null;let e=i.filter(Tc);return e.length==0?null:function(r){let t=Nc(r,e).map(Oc);return Hs(t).pipe(A(Fc))}}function xs(i){return i!=null?Vc(Pc(i)):null}function bc(i,e){return i===null?[e]:Array.isArray(i)?[...i,e]:[i,e]}function jc(i){return i._rawValidators}function Bc(i){return i._rawAsyncValidators}function gs(i){return i?Array.isArray(i)?i:[i]:[]}function or(i,e){return Array.isArray(i)?i.includes(e):i===e}function xc(i,e){let r=gs(e);return gs(i).forEach(n=>{or(r,n)||r.push(n)}),r}function wc(i,e){return gs(e).filter(r=>!or(i,r))}var sr=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(e){this._rawValidators=e||[],this._composedValidatorFn=bs(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=xs(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},At=class extends sr{get formDirective(){return null}get path(){return null}},Mt=class extends sr{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},_s=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},sp={"[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"},Sy=ie(g({},sp),{"[class.ng-submitted]":"isSubmitted"}),Uc=(()=>{let e=class e extends _s{constructor(t){super(t)}};e.\u0275fac=function(n){return new(n||e)(h(Mt,2))},e.\u0275dir=C({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,o){n&2&&ne("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[q]});let i=e;return i})();var Yi="VALID",nr="INVALID",ti="PENDING",Zi="DISABLED";function zc(i){return(ur(i)?i.validators:i)||null}function ap(i){return Array.isArray(i)?bs(i):i||null}function Hc(i,e){return(ur(e)?e.asyncValidators:i)||null}function lp(i){return Array.isArray(i)?xs(i):i||null}function ur(i){return i!=null&&!Array.isArray(i)&&typeof i=="object"}function cp(i,e,r){let t=i.controls;if(!(e?Object.keys(t):t).length)throw new Y(1e3,"");if(!t[r])throw new Y(1001,"")}function dp(i,e,r){i._forEachChild((t,n)=>{if(r[n]===void 0)throw new Y(1002,"")})}var ar=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===Yi}get invalid(){return this.status===nr}get pending(){return this.status==ti}get disabled(){return this.status===Zi}get enabled(){return this.status!==Zi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(xc(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(xc(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(wc(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(wc(e,this._rawAsyncValidators))}hasValidator(e){return or(this._rawValidators,e)}hasAsyncValidator(e){return or(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(r=>{r.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=ti,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=Zi,this.errors=null,this._forEachChild(t=>{t.disable(ie(g({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ie(g({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(t=>t(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=Yi,this._forEachChild(t=>{t.enable(ie(g({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(ie(g({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Yi||this.status===ti)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Zi:Yi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=ti,this._hasOwnPendingAsyncValidator=!0;let r=Oc(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((t,n)=>t&&t._find(n),this)}getError(e,r){let t=r?this.get(r):this;return t&&t.errors?t.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new z,this.statusChanges=new z}_calculateStatus(){return this._allControlsDisabled()?Zi:this.errors?nr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ti)?ti:this._anyControlsHaveStatus(nr)?nr:Yi}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){ur(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=ap(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=lp(this._rawAsyncValidators)}},lr=class extends ar{constructor(e,r,t){super(zc(r),Hc(t,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,r){return this.controls[e]?this.controls[e]:(this.controls[e]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(e,r,t={}){this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(e,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(e,r,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],r&&this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,r={}){dp(this,!0,e),Object.keys(e).forEach(t=>{cp(this,!0,t),this.controls[t].setValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(Object.keys(e).forEach(t=>{let n=this.controls[t];n&&n.patchValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((t,n)=>{t.reset(e?e[n]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(e,r,t)=>(e[t]=r.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(r,t)=>t._syncPendingControls()?!0:r);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(r=>{let t=this.controls[r];t&&e(t,r)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[r,t]of Object.entries(this.controls))if(this.contains(r)&&e(t))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(r,t,n)=>((t.enabled||this.disabled)&&(r[n]=t.value),r))}_reduceChildren(e,r){let t=e;return this._forEachChild((n,o)=>{t=r(t,n,o)}),t}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var fr=new w("CallSetDisabledState",{providedIn:"root",factory:()=>ws}),ws="always";function hp(i,e){return[...e.path,i]}function cr(i,e,r=ws){Cs(i,e),e.valueAccessor.writeValue(i.value),(i.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(i.disabled),fp(i,e),pp(i,e),mp(i,e),up(i,e)}function Cc(i,e,r=!0){let t=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(t),e.valueAccessor.registerOnTouched(t)),hr(i,e),i&&(e._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function dr(i,e){i.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function up(i,e){if(e.valueAccessor.setDisabledState){let r=t=>{e.valueAccessor.setDisabledState(t)};i.registerOnDisabledChange(r),e._registerOnDestroy(()=>{i._unregisterOnDisabledChange(r)})}}function Cs(i,e){let r=jc(i);e.validator!==null?i.setValidators(bc(r,e.validator)):typeof r=="function"&&i.setValidators([r]);let t=Bc(i);e.asyncValidator!==null?i.setAsyncValidators(bc(t,e.asyncValidator)):typeof t=="function"&&i.setAsyncValidators([t]);let n=()=>i.updateValueAndValidity();dr(e._rawValidators,n),dr(e._rawAsyncValidators,n)}function hr(i,e){let r=!1;if(i!==null){if(e.validator!==null){let n=jc(i);if(Array.isArray(n)&&n.length>0){let o=n.filter(s=>s!==e.validator);o.length!==n.length&&(r=!0,i.setValidators(o))}}if(e.asyncValidator!==null){let n=Bc(i);if(Array.isArray(n)&&n.length>0){let o=n.filter(s=>s!==e.asyncValidator);o.length!==n.length&&(r=!0,i.setAsyncValidators(o))}}}let t=()=>{};return dr(e._rawValidators,t),dr(e._rawAsyncValidators,t),r}function fp(i,e){e.valueAccessor.registerOnChange(r=>{i._pendingValue=r,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&$c(i,e)})}function mp(i,e){e.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&$c(i,e),i.updateOn!=="submit"&&i.markAsTouched()})}function $c(i,e){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function pp(i,e){let r=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};i.registerOnChange(r),e._registerOnDestroy(()=>{i._unregisterOnChange(r)})}function Wc(i,e){i==null,Cs(i,e)}function gp(i,e){return hr(i,e)}function _p(i,e){if(!i.hasOwnProperty("model"))return!1;let r=i.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function vp(i){return Object.getPrototypeOf(i.constructor)===Gm}function Gc(i,e){i._syncPendingControls(),e.forEach(r=>{let t=r.control;t.updateOn==="submit"&&t._pendingChange&&(r.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function yp(i,e){if(!e)return null;Array.isArray(e);let r,t,n;return e.forEach(o=>{o.constructor===kc?r=o:vp(o)?t=o:n=o}),n||t||r||null}function bp(i,e){let r=i.indexOf(e);r>-1&&i.splice(r,1)}var xp={provide:At,useExisting:si(()=>Ds)},Xi=Promise.resolve(),Ds=(()=>{let e=class e extends At{constructor(t,n,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new z,this.form=new lr({},bs(t),xs(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Xi.then(()=>{let n=this._findContainer(t.path);t.control=n.registerControl(t.name,t.control),cr(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Xi.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Xi.then(()=>{let n=this._findContainer(t.path),o=new lr({});Wc(o,t),n.registerControl(t.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Xi.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,n){Xi.then(()=>{this.form.get(t.path).setValue(n)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,Gc(this.form,this._directives),this.ngSubmit.emit(t),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}};e.\u0275fac=function(n){return new(n||e)(h(vs,10),h(ys,10),h(fr,8))},e.\u0275dir=C({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,o){n&1&&me("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[m.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Q([xp]),q]});let i=e;return i})();function Dc(i,e){let r=i.indexOf(e);r>-1&&i.splice(r,1)}function Ec(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i}var qc=class extends ar{constructor(e=null,r,t){super(zc(r),Hc(t,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ur(r)&&(r.nonNullable||r.initialValueIsDefault)&&(Ec(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){Dc(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Dc(this._onDisabledChange,e)}_forEachChild(e){}_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(e){Ec(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var wp=i=>i instanceof qc;var Cp={provide:Mt,useExisting:si(()=>Es)},Sc=Promise.resolve(),Es=(()=>{let e=class e extends Mt{constructor(t,n,o,s,a,c){super(),this._changeDetectorRef=a,this.callSetDisabledState=c,this.control=new qc,this._registered=!1,this.name="",this.update=new z,this._parent=t,this._setValidators(n),this._setAsyncValidators(o),this.valueAccessor=yp(this,s)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let n=t.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),_p(t,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(t){this.viewModel=t,this.update.emit(t)}_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(){cr(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(t){Sc.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let n=t.isDisabled.currentValue,o=n!==0&&G(n);Sc.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?hp(t,this._parent):[t]}};e.\u0275fac=function(n){return new(n||e)(h(At,9),h(vs,10),h(ys,10),h(Ic,10),h(Se,8),h(fr,8))},e.\u0275dir=C({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[m.None,"disabled","isDisabled"],model:[m.None,"ngModel","model"],options:[m.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Q([Cp]),q,we]});let i=e;return i})();var Dp={provide:At,useExisting:si(()=>Ss)},Ss=(()=>{let e=class e extends At{constructor(t,n,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new z,this._setValidators(t),this._setAsyncValidators(n)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(hr(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){let n=this.form.get(t.path);return cr(n,t,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),n}getControl(t){return this.form.get(t.path)}removeControl(t){Cc(t.control||null,t,!1),bp(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,n){this.form.get(t.path).setValue(n)}onSubmit(t){return this.submitted=!0,Gc(this.form,this.directives),this.ngSubmit.emit(t),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{let n=t.control,o=this.form.get(t.path);n!==o&&(Cc(n||null,t),wp(o)&&(cr(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let n=this.form.get(t.path);Wc(n,t),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let n=this.form.get(t.path);n&&gp(n,t)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Cs(this.form,this),this._oldForm&&hr(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(n){return new(n||e)(h(vs,10),h(ys,10),h(fr,8))},e.\u0275dir=C({type:e,selectors:[["","formGroup",""]],hostBindings:function(n,o){n&1&&me("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[m.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Q([Dp]),q,we]});let i=e;return i})();var Ep=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({});let i=e;return i})();var Yc=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:[{provide:fr,useValue:t.callSetDisabledState??ws}]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[Ep]});let i=e;return i})();var Sp=["trigger"],Rp=["panel"],Ip=[[["mat-select-trigger"]],"*"],kp=["mat-select-trigger","*"];function Ap(i,e){if(i&1&&(y(0,"span",4),le(1),x()),i&2){let r=H();D(),We(r.placeholder)}}function Mp(i,e){i&1&&K(0)}function Tp(i,e){if(i&1&&(y(0,"span",11),le(1),x()),i&2){let r=H(2);D(),We(r.triggerValue)}}function Op(i,e){if(i&1&&(y(0,"span",10),j(1,Mp,1,0)(2,Tp,2,1),x()),i&2){let r=H();D(),W(1,r.customTrigger?1:2)}}function Fp(i,e){if(i&1){let r=ht();y(0,"div",12,1),me("@transformPanel.done",function(n){Me(r);let o=H();return Te(o._panelDoneAnimatingStream.next(n.toState))})("keydown",function(n){Me(r);let o=H();return Te(o._handleKeydown(n))}),K(2,1),x()}if(i&2){let r=H();aa("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",r._getPanelTheme(),""),Z("ngClass",r.panelClass)("@transformPanel","showing"),he("id",r.id+"-panel")("aria-multiselectable",r.multiple)("aria-label",r.ariaLabel||null)("aria-labelledby",r._getPanelAriaLabelledby())}}var Np={transformPanelWrap:fi("transformPanelWrap",[Ut("* => void",Ra("@transformPanel",[Sa()],{optional:!0}))]),transformPanel:fi("transformPanel",[fn("void",gt({opacity:0,transform:"scale(1, 0.8)"})),Ut("void => showing",mi("120ms cubic-bezier(0, 0, 0.2, 1)",gt({opacity:1,transform:"scale(1, 1)"}))),Ut("* => void",mi("100ms linear",gt({opacity:0})))])};var Xc=0,Kc=new w("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let i=_(kt);return()=>i.scrollStrategies.reposition()}});function Pp(i){return()=>i.scrollStrategies.reposition()}var Lp=new w("MAT_SELECT_CONFIG"),Vp={provide:Kc,deps:[kt],useFactory:Pp},jp=new w("MatSelectTrigger"),Rs=class{constructor(e,r){this.source=e,this.value=r}},Qc=(()=>{let e=class e{_scrollOptionIntoView(t){let n=this.options.toArray()[t];if(n){let o=this.panel.nativeElement,s=Zl(t,this.options,this.optionGroups),a=n._getHostElement();t===0&&s===1?o.scrollTop=0:o.scrollTop=Xl(a.offsetTop,a.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(t){return new Rs(this,t)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(rr.required)??!1}set required(t){this._required=t,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._selectionModel,this._multiple=t}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){this._assignValue(t)&&this._onChange(t)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(t){this._errorStateTracker.matcher=t}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}constructor(t,n,o,s,a,c,l,d,u,p,b,B,V,S){this._viewportRuler=t,this._changeDetectorRef=n,this._elementRef=a,this._dir=c,this._parentFormField=u,this.ngControl=p,this._liveAnnouncer=V,this._defaultOptions=S,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(R,Ce)=>R===Ce,this._uid=`mat-select-${Xc++}`,this._triggerAriaLabelledBy=null,this._destroy=new k,this.stateChanges=new k,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${Xc++}`,this._panelDoneAnimatingStream=new k,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new k,this.optionSelectionChanges=oi(()=>{let R=this.options;return R?R.changes.pipe(Qe(R),xe(()=>Xe(...R.map(Ce=>Ce.onSelectionChange)))):this._initialized.pipe(xe(()=>this.optionSelectionChanges))}),this.openedChange=new z,this._openedStream=this.openedChange.pipe(ce(R=>R),A(()=>{})),this._closedStream=this.openedChange.pipe(ce(R=>!R),A(()=>{})),this.selectionChange=new z,this.valueChange=new z,this._trackedModal=null,this._skipPredicate=R=>this.panelOpen?!1:R.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),S?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=S.typeaheadDebounceInterval),this._errorStateTracker=new Hi(s,p,d,l,this.stateChanges),this._scrollStrategyFactory=B,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(b)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Xn(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(en(),U(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(U(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(U(this._destroy)).subscribe(t=>{t.added.forEach(n=>n.select()),t.removed.forEach(n=>n.deselect())}),this.options.changes.pipe(Qe(null),U(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let t=this._getTriggerAriaLabelledby(),n=this.ngControl;if(t!==this._triggerAriaLabelledBy){let o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?o.setAttribute("aria-labelledby",t):o.removeAttribute("aria-labelledby")}n&&(this._previousControl!==n.control&&(this._previousControl!==void 0&&n.disabled!==null&&n.disabled!==this.disabled&&(this.disabled=n.disabled),this._previousControl=n.control),this.updateErrorState())}ngOnChanges(t){(t.disabled||t.userAriaDescribedBy)&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){let t=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!t)return;let n=`${this.id}-panel`;this._trackedModal&&Zo(this._trackedModal,"aria-owns",n),Pl(t,"aria-owns",n),this._trackedModal=t}_clearFromModal(){if(!this._trackedModal)return;let t=`${this.id}-panel`;Zo(this._trackedModal,"aria-owns",t),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(t){this._assignValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let t=this._selectionModel.selected.map(n=>n.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){let n=t.keyCode,o=n===40||n===38||n===37||n===39,s=n===13||n===32,a=this._keyManager;if(!a.isTyping()&&s&&!Ye(t)||(this.multiple||t.altKey)&&o)t.preventDefault(),this.open();else if(!this.multiple){let c=this.selected;a.onKeydown(t);let l=this.selected;l&&c!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(t){let n=this._keyManager,o=t.keyCode,s=o===40||o===38,a=n.isTyping();if(s&&t.altKey)t.preventDefault(),this.close();else if(!a&&(o===13||o===32)&&n.activeItem&&!Ye(t))t.preventDefault(),n.activeItem._selectViaInteraction();else if(!a&&this._multiple&&o===65&&t.ctrlKey){t.preventDefault();let c=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(c?l.select():l.deselect())})}else{let c=n.activeItemIndex;n.onKeydown(t),this._multiple&&s&&t.shiftKey&&n.activeItem&&n.activeItemIndex!==c&&n.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(be(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this.options.forEach(n=>n.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(n=>this._selectOptionByValue(n)),this._sortValues();else{let n=this._selectOptionByValue(t);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(t){let n=this.options.find(o=>{if(this._selectionModel.isSelected(o))return!1;try{return o.value!=null&&this._compareWith(o.value,t)}catch{return!1}});return n&&this._selectionModel.select(n),n}_assignValue(t){return t!==this._value||this._multiple&&Array.isArray(t)?(this.options&&this._setSelectionByValue(t),this._value=t,!0):!1}_getOverlayWidth(t){return this.panelWidth==="auto"?(t instanceof ir?t.elementRef:t||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let t of this.options)t._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Bn(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let t=Xe(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(U(t)).subscribe(n=>{this._onSelect(n.source,n.isUserInput),n.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Xe(...this.options.map(n=>n._stateChanges)).pipe(U(t)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(t,n){let o=this._selectionModel.isSelected(t);t.value==null&&!this._multiple?(t.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(t.value)):(o!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),n&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),n&&this.focus())),o!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let t=this.options.toArray();this._selectionModel.sort((n,o)=>this.sortComparator?this.sortComparator(n,o,t):t.indexOf(n)-t.indexOf(o)),this.stateChanges.next()}}_propagateChanges(t){let n;this.multiple?n=this.selected.map(o=>o.value):n=this.selected?this.selected.value:t,this._value=n,this.valueChange.emit(n),this._onChange(n),this.selectionChange.emit(this._getChangeEvent(n)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let t=-1;for(let n=0;n0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let t=this._parentFormField?.getLabelId(),n=t?t+" ":"";return this.ariaLabelledby?n+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let t=this._parentFormField?.getLabelId(),n=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}};e.\u0275fac=function(n){return new(n||e)(h(Rt),h(Se),h(I),h(Yl),h(F),h(qe,8),h(Ds,8),h(Ss,8),h(Zn,8),h(Mt,10),Lt("tabindex"),h(Kc),h(Bl),h(Lp,8))},e.\u0275cmp=ee({type:e,selectors:[["mat-select"]],contentQueries:function(n,o,s){if(n&1&&(oe(s,jp,5),oe(s,Wn,5),oe(s,ts,5)),n&2){let a;N(a=P())&&(o.customTrigger=a.first),N(a=P())&&(o.options=a),N(a=P())&&(o.optionGroups=a)}},viewQuery:function(n,o){if(n&1&&(pe(Sp,5),pe(Rp,5),pe(ps,5)),n&2){let s;N(s=P())&&(o.trigger=s.first),N(s=P())&&(o.panel=s.first),N(s=P())&&(o._overlayDir=s.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(n,o){n&1&&me("keydown",function(a){return o._handleKeydown(a)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),n&2&&(he("id",o.id)("tabindex",o.disabled?-1:o.tabIndex)("aria-controls",o.panelOpen?o.id+"-panel":null)("aria-expanded",o.panelOpen)("aria-label",o.ariaLabel||null)("aria-required",o.required.toString())("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState)("aria-activedescendant",o._getAriaActiveDescendant()),ne("mat-mdc-select-disabled",o.disabled)("mat-mdc-select-invalid",o.errorState)("mat-mdc-select-required",o.required)("mat-mdc-select-empty",o.empty)("mat-mdc-select-multiple",o.multiple))},inputs:{userAriaDescribedBy:[m.None,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[m.HasDecoratorInputTransform,"disabled","disabled",G],disableRipple:[m.HasDecoratorInputTransform,"disableRipple","disableRipple",G],tabIndex:[m.HasDecoratorInputTransform,"tabIndex","tabIndex",t=>t==null?0:pt(t)],hideSingleSelectionIndicator:[m.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",G],placeholder:"placeholder",required:[m.HasDecoratorInputTransform,"required","required",G],multiple:[m.HasDecoratorInputTransform,"multiple","multiple",G],disableOptionCentering:[m.HasDecoratorInputTransform,"disableOptionCentering","disableOptionCentering",G],compareWith:"compareWith",value:"value",ariaLabel:[m.None,"aria-label","ariaLabel"],ariaLabelledby:[m.None,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[m.HasDecoratorInputTransform,"typeaheadDebounceInterval","typeaheadDebounceInterval",pt],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[Q([{provide:Yn,useExisting:e},{provide:es,useExisting:e}]),ae,we,te],ngContentSelectors:kp,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(n,o){if(n&1){let s=ht();Fe(Ip),y(0,"div",2,0),me("click",function(){return Me(s),Te(o.open())}),y(3,"div",3),j(4,Ap,2,1,"span",4)(5,Op,3,1),x(),y(6,"div",5)(7,"div",6),li(),y(8,"svg",7),X(9,"path",8),x()()()(),j(10,Fp,3,9,"ng-template",9),me("backdropClick",function(){return Me(s),Te(o.close())})("attach",function(){return Me(s),Te(o._onAttached())})("detach",function(){return Me(s),Te(o.close())})}if(n&2){let s=ut(1);D(3),he("id",o._valueId),D(),W(4,o.empty?4:5),D(6),Z("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",o._preferredOverlayOrigin||s)("cdkConnectedOverlayOpen",o.panelOpen)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayWidth",o._overlayWidth)}},dependencies:[ir,ps,ya],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[Np.transformPanel]},changeDetection:0});let i=e;return i})();var Jc=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({providers:[Vp],imports:[Ge,yc,is,_e,Qn,St,is,_e]});let i=e;return i})();var zp=[[["caption"]],[["colgroup"],["col"]],"*"],Hp=["caption","colgroup, col","*"];function $p(i,e){i&1&&K(0,2)}function Wp(i,e){i&1&&(y(0,"thead",0),fe(1,1),x(),y(2,"tbody",0),fe(3,2)(4,3),x(),y(5,"tfoot",0),fe(6,4),x())}function Gp(i,e){i&1&&fe(0,1)(1,2)(2,3)(3,4)}var Ve=new w("CDK_TABLE");var yr=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(n){return new(n||e)(h(Re))},e.\u0275dir=C({type:e,selectors:[["","cdkCellDef",""]],standalone:!0});let i=e;return i})(),br=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(n){return new(n||e)(h(Re))},e.\u0275dir=C({type:e,selectors:[["","cdkHeaderCellDef",""]],standalone:!0});let i=e;return i})(),id=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(n){return new(n||e)(h(Re))},e.\u0275dir=C({type:e,selectors:[["","cdkFooterCellDef",""]],standalone:!0});let i=e;return i})(),ii=(()=>{let e=class e{get name(){return this._name}set name(t){this._setNameInput(t)}get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){t!==this._stickyEnd&&(this._stickyEnd=t,this._hasStickyChanged=!0)}constructor(t){this._table=t,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}};e.\u0275fac=function(n){return new(n||e)(h(Ve,8))},e.\u0275dir=C({type:e,selectors:[["","cdkColumnDef",""]],contentQueries:function(n,o,s){if(n&1&&(oe(s,yr,5),oe(s,br,5),oe(s,id,5)),n&2){let a;N(a=P())&&(o.cell=a.first),N(a=P())&&(o.headerCell=a.first),N(a=P())&&(o.footerCell=a.first)}},inputs:{name:[m.None,"cdkColumnDef","name"],sticky:[m.HasDecoratorInputTransform,"sticky","sticky",G],stickyEnd:[m.HasDecoratorInputTransform,"stickyEnd","stickyEnd",G]},standalone:!0,features:[Q([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),ae]});let i=e;return i})(),pr=class{constructor(e,r){r.nativeElement.classList.add(...e._columnCssClassName)}},nd=(()=>{let e=class e extends pr{constructor(t,n){super(t,n)}};e.\u0275fac=function(n){return new(n||e)(h(ii),h(F))},e.\u0275dir=C({type:e,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[q]});let i=e;return i})();var rd=(()=>{let e=class e extends pr{constructor(t,n){super(t,n);let o=t._table?._getCellRole();o&&n.nativeElement.setAttribute("role",o)}};e.\u0275fac=function(n){return new(n||e)(h(ii),h(F))},e.\u0275dir=C({type:e,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[q]});let i=e;return i})(),gr=class{constructor(){this.tasks=[],this.endTasks=[]}},_r=new w("_COALESCED_STYLE_SCHEDULER"),ks=(()=>{let e=class e{constructor(t){this._ngZone=t,this._currentSchedule=null,this._destroyed=new k}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new gr,this._getScheduleObservable().pipe(U(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let t=this._currentSchedule;this._currentSchedule=new gr;for(let n of t.tasks)n();for(let n of t.endTasks)n()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?ve(Promise.resolve(void 0)):this._ngZone.onStable.pipe(be(1))}};e.\u0275fac=function(n){return new(n||e)(f(I))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})();var As=(()=>{let e=class e{constructor(t,n){this.template=t,this._differs=n}ngOnChanges(t){if(!this._columnsDiffer){let n=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(n).create(),this._columnsDiffer.diff(n)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof Ki?t.headerCell.template:this instanceof Ms?t.footerCell.template:t.cell.template}};e.\u0275fac=function(n){return new(n||e)(h(Re),h(mt))},e.\u0275dir=C({type:e,features:[we]});let i=e;return i})(),Ki=(()=>{let e=class e extends As{get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}constructor(t,n,o){super(t,n),this._table=o,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(t){super.ngOnChanges(t)}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}};e.\u0275fac=function(n){return new(n||e)(h(Re),h(mt),h(Ve,8))},e.\u0275dir=C({type:e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[m.None,"cdkHeaderRowDef","columns"],sticky:[m.HasDecoratorInputTransform,"cdkHeaderRowDefSticky","sticky",G]},standalone:!0,features:[ae,q,we]});let i=e;return i})(),Ms=(()=>{let e=class e extends As{get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}constructor(t,n,o){super(t,n),this._table=o,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(t){super.ngOnChanges(t)}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}};e.\u0275fac=function(n){return new(n||e)(h(Re),h(mt),h(Ve,8))},e.\u0275dir=C({type:e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[m.None,"cdkFooterRowDef","columns"],sticky:[m.HasDecoratorInputTransform,"cdkFooterRowDefSticky","sticky",G]},standalone:!0,features:[ae,q,we]});let i=e;return i})(),xr=(()=>{let e=class e extends As{constructor(t,n,o){super(t,n),this._table=o}};e.\u0275fac=function(n){return new(n||e)(h(Re),h(mt),h(Ve,8))},e.\u0275dir=C({type:e,selectors:[["","cdkRowDef",""]],inputs:{columns:[m.None,"cdkRowDefColumns","columns"],when:[m.None,"cdkRowDefWhen","when"]},standalone:!0,features:[q]});let i=e;return i})(),Tt=(()=>{let e=class e{constructor(t){this._viewContainer=t,e.mostRecentCellOutlet=this}ngOnDestroy(){e.mostRecentCellOutlet===this&&(e.mostRecentCellOutlet=null)}};e.mostRecentCellOutlet=null,e.\u0275fac=function(n){return new(n||e)(h(Oe))},e.\u0275dir=C({type:e,selectors:[["","cdkCellOutlet",""]],standalone:!0});let i=e;return i})(),Ts=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=ee({type:e,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[te],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&fe(0,0)},dependencies:[Tt],encapsulation:2});let i=e;return i})();var Os=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=ee({type:e,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[te],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&fe(0,0)},dependencies:[Tt],encapsulation:2});let i=e;return i})(),od=(()=>{let e=class e{constructor(t){this.templateRef=t,this._contentClassName="cdk-no-data-row"}};e.\u0275fac=function(n){return new(n||e)(h(Re))},e.\u0275dir=C({type:e,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0});let i=e;return i})(),ed=["top","bottom","left","right"],Is=class{constructor(e,r,t,n,o=!0,s=!0,a){this._isNativeHtmlTable=e,this._stickCellCss=r,this.direction=t,this._coalescedStyleScheduler=n,this._isBrowser=o,this._needsPositionStickyOnElement=s,this._positionListener=a,this._cachedCellWidths=[],this._borderCellCss={top:`${r}-border-elem-top`,bottom:`${r}-border-elem-bottom`,left:`${r}-border-elem-left`,right:`${r}-border-elem-right`}}clearStickyPositioning(e,r){let t=[];for(let n of e)if(n.nodeType===n.ELEMENT_NODE){t.push(n);for(let o=0;o{for(let n of t)this._removeStickyStyle(n,r)})}updateStickyColumns(e,r,t,n=!0){if(!e.length||!this._isBrowser||!(r.some(o=>o)||t.some(o=>o))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}this._coalescedStyleScheduler.schedule(()=>{let o=e[0],s=o.children.length,a=this._getCellWidths(o,n),c=this._getStickyStartColumnPositions(a,r),l=this._getStickyEndColumnPositions(a,t),d=r.lastIndexOf(!0),u=t.indexOf(!0),p=this.direction==="rtl",b=p?"right":"left",B=p?"left":"right";for(let V of e)for(let S=0;Sr[S]?V:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:u===-1?[]:a.slice(u).map((V,S)=>t[S+u]?V:null).reverse()}))})}stickRows(e,r,t){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{let n=t==="bottom"?e.slice().reverse():e,o=t==="bottom"?r.slice().reverse():r,s=[],a=[],c=[];for(let d=0,u=0;d{let t=e.querySelector("tfoot");t&&(r.some(n=>!n)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1))})}_removeStickyStyle(e,r){for(let n of r)e.style[n]="",e.classList.remove(this._borderCellCss[n]);ed.some(n=>r.indexOf(n)===-1&&e.style[n])?e.style.zIndex=this._getCalculatedZIndex(e):(e.style.zIndex="",this._needsPositionStickyOnElement&&(e.style.position=""),e.classList.remove(this._stickCellCss))}_addStickyStyle(e,r,t,n){e.classList.add(this._stickCellCss),n&&e.classList.add(this._borderCellCss[r]),e.style[r]=`${t}px`,e.style.zIndex=this._getCalculatedZIndex(e),this._needsPositionStickyOnElement&&(e.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(e){let r={top:100,bottom:10,left:1,right:1},t=0;for(let n of ed)e.style[n]&&(t+=r[n]);return t?`${t}`:""}_getCellWidths(e,r=!0){if(!r&&this._cachedCellWidths.length)return this._cachedCellWidths;let t=[],n=e.children;for(let o=0;o0;o--)r[o]&&(t[o]=n,n+=e[o]);return t}};var vr=new w("CDK_SPL");var Fs=(()=>{let e=class e{constructor(t,n){this.viewContainer=t,this.elementRef=n;let o=_(Ve);o._rowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(n){return new(n||e)(h(Oe),h(F))},e.\u0275dir=C({type:e,selectors:[["","rowOutlet",""]],standalone:!0});let i=e;return i})(),Ns=(()=>{let e=class e{constructor(t,n){this.viewContainer=t,this.elementRef=n;let o=_(Ve);o._headerRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(n){return new(n||e)(h(Oe),h(F))},e.\u0275dir=C({type:e,selectors:[["","headerRowOutlet",""]],standalone:!0});let i=e;return i})(),Ps=(()=>{let e=class e{constructor(t,n){this.viewContainer=t,this.elementRef=n;let o=_(Ve);o._footerRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(n){return new(n||e)(h(Oe),h(F))},e.\u0275dir=C({type:e,selectors:[["","footerRowOutlet",""]],standalone:!0});let i=e;return i})(),Ls=(()=>{let e=class e{constructor(t,n){this.viewContainer=t,this.elementRef=n;let o=_(Ve);o._noDataRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(n){return new(n||e)(h(Oe),h(F))},e.\u0275dir=C({type:e,selectors:[["","noDataRowOutlet",""]],standalone:!0});let i=e;return i})();var Vs=(()=>{let e=class e{_getCellRole(){if(this._cellRoleInternal===void 0){let t=this._elementRef.nativeElement.getAttribute("role"),n=t==="grid"||t==="treegrid"?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&n==="cell"?null:n}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=t,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=t,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(t,n,o,s,a,c,l,d,u,p,b,B){this._differs=t,this._changeDetectorRef=n,this._elementRef=o,this._dir=a,this._platform=l,this._viewRepeater=d,this._coalescedStyleScheduler=u,this._viewportRuler=p,this._stickyPositioningListener=b,this._ngZone=B,this._onDestroy=new k,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._hasAllOutlets=!1,this._hasInitialized=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new z,this.viewChange=new ue({start:0,end:Number.MAX_VALUE}),s||o.nativeElement.setAttribute("role","table"),this._document=c,this._isServer=!l.isBrowser,this._isNativeHtmlTable=o.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((t,n)=>this.trackBy?this.trackBy(n.dataIndex,n.data):n),this._viewportRuler.change().pipe(U(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(t=>{t?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Kn(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let t=this._dataDiffer.diff(this._renderRows);if(!t){this._updateNoDataRow(),this.contentChanged.next();return}let n=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(t,n,(o,s,a)=>this._getEmbeddedViewArgs(o.item,a),o=>o.item.data,o=>{o.operation===Jt.INSERTED&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),t.forEachIdentityChange(o=>{let s=n.get(o.currentIndex);s.context.$implicit=o.item.data}),this._updateNoDataRow(),this._ngZone&&I.isInAngularZone()?this._ngZone.onStable.pipe(be(1),U(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){let t=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let o=td(this._headerRowOutlet,"thead");o&&(o.style.display=t.length?"":"none")}let n=this._headerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,n,"top"),this._headerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyFooterRowStyles(){let t=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let o=td(this._footerRowOutlet,"tfoot");o&&(o.style.display=t.length?"":"none")}let n=this._footerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyColumnStyles(){let t=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...n,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((s,a)=>{this._addStickyColumnStyles([s],this._headerRowDefs[a])}),this._rowDefs.forEach(s=>{let a=[];for(let c=0;c{this._addStickyColumnStyles([s],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(s=>s.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let n=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||n,this._forceRecalculateCellWidths=n,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let t=[],n=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=0;o{let c=o&&o.has(a)?o.get(a):[];if(c.length){let l=c.shift();return l.dataIndex=n,l}else return{data:t,rowDef:a,dataIndex:n}})}_cacheColumnDefs(){this._columnDefsByName.clear(),mr(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(n=>{this._columnDefsByName.has(n.name),this._columnDefsByName.set(n.name,n)})}_cacheRowDefs(){this._headerRowDefs=mr(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=mr(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=mr(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let t=this._rowDefs.filter(n=>!n.when);!this.multiTemplateDataRows&&t.length>1,this._defaultRowDef=t[0]}_renderUpdatedColumns(){let t=(a,c)=>a||!!c.getColumnsDiff(),n=this._rowDefs.reduce(t,!1);n&&this._forceRenderDataRows();let o=this._headerRowDefs.reduce(t,!1);o&&this._forceRenderHeaderRows();let s=this._footerRowDefs.reduce(t,!1);return s&&this._forceRenderFooterRows(),n||o||s}_switchDataSource(t){this._data=[],Kn(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;Kn(this.dataSource)?t=this.dataSource.connect(this):Ot(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=E(this.dataSource)),this._renderChangeSubscription=t.pipe(U(this._onDestroy)).subscribe(n=>{this._data=n||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,n)=>this._renderRow(this._headerRowOutlet,t,n)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,n)=>this._renderRow(this._footerRowOutlet,t,n)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,n){let o=Array.from(n.columns||[]).map(c=>{let l=this._columnDefsByName.get(c);return l}),s=o.map(c=>c.sticky),a=o.map(c=>c.stickyEnd);this._stickyStyler.updateStickyColumns(t,s,a,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){let n=[];for(let o=0;o!s.when||s.when(n,t));else{let s=this._rowDefs.find(a=>a.when&&a.when(n,t))||this._defaultRowDef;s&&o.push(s)}return o.length,o}_getEmbeddedViewArgs(t,n){let o=t.rowDef,s={$implicit:t.data};return{templateRef:o.template,context:s,index:n}}_renderRow(t,n,o,s={}){let a=t.viewContainer.createEmbeddedView(n.template,s,o);return this._renderCellTemplateForItem(n,s),a}_renderCellTemplateForItem(t,n){for(let o of this._getCellTemplates(t))Tt.mostRecentCellOutlet&&Tt.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,n);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let t=this._rowOutlet.viewContainer;for(let n=0,o=t.length;n{let o=this._columnDefsByName.get(n);return t.extractCellTemplate(o)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let t=(n,o)=>n||o.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let t=this._dir?this._dir.value:"ltr";this._stickyStyler=new Is(this._isNativeHtmlTable,this.stickyCssClass,t,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:E()).pipe(U(this._onDestroy)).subscribe(n=>{this._stickyStyler.direction=n,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(n=>!n._table||n._table===this)}_updateNoDataRow(){let t=this._customNoDataRow||this._noDataRow;if(!t)return;let n=this._rowOutlet.viewContainer.length===0;if(n===this._isShowingNoDataRow)return;let o=this._noDataRowOutlet.viewContainer;if(n){let s=o.createEmbeddedView(t.templateRef),a=s.rootNodes[0];s.rootNodes.length===1&&a?.nodeType===this._document.ELEMENT_NODE&&(a.setAttribute("role","row"),a.classList.add(t._contentClassName))}else o.clear();this._isShowingNoDataRow=n,this._changeDetectorRef.markForCheck()}};e.\u0275fac=function(n){return new(n||e)(h(mt),h(Se),h(F),Lt("role"),h(qe,8),h(L),h(ge),h($i),h(_r),h(Rt),h(vr,12),h(I,8))},e.\u0275cmp=ee({type:e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(n,o,s){if(n&1&&(oe(s,od,5),oe(s,ii,5),oe(s,xr,5),oe(s,Ki,5),oe(s,Ms,5)),n&2){let a;N(a=P())&&(o._noDataRow=a.first),N(a=P())&&(o._contentColumnDefs=a),N(a=P())&&(o._contentRowDefs=a),N(a=P())&&(o._contentHeaderRowDefs=a),N(a=P())&&(o._contentFooterRowDefs=a)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(n,o){n&2&&ne("cdk-table-fixed-layout",o.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[m.HasDecoratorInputTransform,"multiTemplateDataRows","multiTemplateDataRows",G],fixedLayout:[m.HasDecoratorInputTransform,"fixedLayout","fixedLayout",G]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[Q([{provide:Ve,useExisting:e},{provide:$i,useClass:ei},{provide:_r,useClass:ks},{provide:vr,useValue:null}]),ae,te],ngContentSelectors:Hp,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,o){n&1&&(Fe(zp),K(0),K(1,1),j(2,$p,1,0)(3,Wp,7,0)(4,Gp,4,0)),n&2&&(D(2),W(2,o._isServer?2:-1),D(),W(3,o._isNativeHtmlTable?3:4))},dependencies:[Ns,Fs,Ls,Ps],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2});let i=e;return i})();function mr(i,e){return i.concat(Array.from(e))}function td(i,e){let r=e.toUpperCase(),t=i.viewContainer.element.nativeElement;for(;t;){let n=t.nodeType===1?t.nodeName:null;if(n===r)return t;if(n==="TABLE")break;t=t.parentNode}return null}var sd=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[Wi]});let i=e;return i})();var qp=[[["caption"]],[["colgroup"],["col"]],"*"],Yp=["caption","colgroup, col","*"];function Zp(i,e){i&1&&K(0,2)}function Xp(i,e){i&1&&(y(0,"thead",0),fe(1,1),x(),y(2,"tbody",2),fe(3,3)(4,4),x(),y(5,"tfoot",0),fe(6,5),x())}function Kp(i,e){i&1&&fe(0,1)(1,3)(2,4)(3,5)}var ad=(()=>{let e=class e extends Vs{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275cmp=ee({type:e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(n,o){n&2&&ne("mdc-table-fixed-layout",o.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[Q([{provide:Vs,useExisting:e},{provide:Ve,useExisting:e},{provide:_r,useClass:ks},{provide:$i,useClass:ei},{provide:vr,useValue:null}]),q,te],ngContentSelectors:Yp,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,o){n&1&&(Fe(qp),K(0),K(1,1),j(2,Zp,1,0)(3,Xp,7,0)(4,Kp,4,0)),n&2&&(D(2),W(2,o._isServer?2:-1),D(),W(3,o._isNativeHtmlTable?3:4))},dependencies:[Ns,Fs,Ls,Ps],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2});let i=e;return i})(),ld=(()=>{let e=class e extends yr{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275dir=C({type:e,selectors:[["","matCellDef",""]],standalone:!0,features:[Q([{provide:yr,useExisting:e}]),q]});let i=e;return i})(),cd=(()=>{let e=class e extends br{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275dir=C({type:e,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[Q([{provide:br,useExisting:e}]),q]});let i=e;return i})();var dd=(()=>{let e=class e extends ii{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275dir=C({type:e,selectors:[["","matColumnDef",""]],inputs:{name:[m.None,"matColumnDef","name"]},standalone:!0,features:[Q([{provide:ii,useExisting:e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),q]});let i=e;return i})(),hd=(()=>{let e=class e extends nd{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275dir=C({type:e,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[q]});let i=e;return i})();var ud=(()=>{let e=class e extends rd{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275dir=C({type:e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[q]});let i=e;return i})();var fd=(()=>{let e=class e extends Ki{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275dir=C({type:e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[m.None,"matHeaderRowDef","columns"],sticky:[m.HasDecoratorInputTransform,"matHeaderRowDefSticky","sticky",G]},standalone:!0,features:[Q([{provide:Ki,useExisting:e}]),ae,q]});let i=e;return i})();var md=(()=>{let e=class e extends xr{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275dir=C({type:e,selectors:[["","matRowDef",""]],inputs:{columns:[m.None,"matRowDefColumns","columns"],when:[m.None,"matRowDefWhen","when"]},standalone:!0,features:[Q([{provide:xr,useExisting:e}]),q]});let i=e;return i})(),pd=(()=>{let e=class e extends Ts{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275cmp=ee({type:e,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],standalone:!0,features:[Q([{provide:Ts,useExisting:e}]),q,te],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&fe(0,0)},dependencies:[Tt],encapsulation:2});let i=e;return i})();var gd=(()=>{let e=class e extends Os{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275cmp=ee({type:e,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[Q([{provide:Os,useExisting:e}]),q,te],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&fe(0,0)},dependencies:[Tt],encapsulation:2});let i=e;return i})();var _d=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[_e,sd,_e]});let i=e;return i})();var vd=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({});let i=e;return i})();var yd=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[_e,St,St,vd,_e]});let i=e;return i})();var Jp=["determinateSpinner"];function eg(i,e){if(i&1&&(li(),y(0,"svg",11),X(1,"circle",12),x()),i&2){let r=H();he("viewBox",r._viewBox()),D(),lt("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeCircumference()/2,"px")("stroke-width",r._circleStrokeWidth(),"%"),he("r",r._circleRadius())}}var tg=new w("mat-progress-spinner-default-options",{providedIn:"root",factory:ig});function ig(){return{diameter:bd}}var bd=100,ng=10,xd=(()=>{let e=class e{get color(){return this._color||this._defaultColor}set color(t){this._color=t}constructor(t,n,o){this._elementRef=t,this._defaultColor="primary",this._value=0,this._diameter=bd,this._noopAnimations=n==="NoopAnimations"&&!!o&&!o._forceAnimations,this.mode=t.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",o&&(o.color&&(this.color=this._defaultColor=o.color),o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth))}get value(){return this.mode==="determinate"?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,t||0))}get diameter(){return this._diameter}set diameter(t){this._diameter=t||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(t){this._strokeWidth=t||0}_circleRadius(){return(this.diameter-ng)/2}_viewBox(){let t=this._circleRadius()*2+this.strokeWidth;return`0 0 ${t} ${t}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}};e.\u0275fac=function(n){return new(n||e)(h(F),h(Le,8),h(tg))},e.\u0275cmp=ee({type:e,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(n,o){if(n&1&&pe(Jp,5),n&2){let s;N(s=P())&&(o._determinateCircle=s.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(n,o){n&2&&(he("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",o.mode==="determinate"?o.value:null)("mode",o.mode),sa("mat-"+o.color),lt("width",o.diameter,"px")("height",o.diameter,"px")("--mdc-circular-progress-size",o.diameter+"px")("--mdc-circular-progress-active-indicator-width",o.diameter+"px"),ne("_mat-animation-noopable",o._noopAnimations)("mdc-circular-progress--indeterminate",o.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[m.HasDecoratorInputTransform,"value","value",pt],diameter:[m.HasDecoratorInputTransform,"diameter","diameter",pt],strokeWidth:[m.HasDecoratorInputTransform,"strokeWidth","strokeWidth",pt]},exportAs:["matProgressSpinner"],standalone:!0,features:[ae,te],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(n,o){if(n&1&&(j(0,eg,2,8,"ng-template",null,0,an),y(2,"div",2,1),li(),y(4,"svg",3),X(5,"circle",4),x()(),Js(),y(6,"div",5)(7,"div",6)(8,"div",7),fe(9,8),x(),y(10,"div",9),fe(11,8),x(),y(12,"div",10),fe(13,8),x()()()),n&2){let s=ut(1);D(4),he("viewBox",o._viewBox()),D(),lt("stroke-dasharray",o._strokeCircumference(),"px")("stroke-dashoffset",o._strokeDashOffset(),"px")("stroke-width",o._circleStrokeWidth(),"%"),he("r",o._circleRadius()),D(4),Z("ngTemplateOutlet",s),D(2),Z("ngTemplateOutlet",s),D(2),Z("ngTemplateOutlet",s)}},dependencies:[hn],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0});let i=e;return i})();var wd=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[Ge,_e]});let i=e;return i})();var Cd=(()=>{let e=class e{transform(t){if(isNaN(t))return"";let n=t.toString();return t>=1e12?n=(t/1e12).toFixed(2)+"T":t>=1e9?n=(t/1e9).toFixed(2)+"B":t>=1e6?n=(t/1e6).toFixed(2)+"M":t>=1e3&&(n=(t/1e3).toFixed(2)+"K"),n}};e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=Ks({name:"numberFormatter",type:e,pure:!0,standalone:!0});let i=e;return i})();var og="https://block-watch.onrender.com",Dd=(()=>{let e=class e{constructor(){this.http=_(Hr)}getTransactions(t){return this.http.get(`${og}/api/v1/transactions/transactions/`,{params:{usdGTE:t}})}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Ed=(()=>{let e=class e{constructor(){this.destroyed$=new k}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=C({type:e,selectors:[["destroyDirective"]],standalone:!0});let i=e;return i})();var sg=(i,e)=>e.value;function ag(i,e){if(i&1&&(y(0,"mat-option",4),le(1),x()),i&2){let r=e.$implicit;Z("value",r.value),D(),We(r.viewValue)}}function lg(i,e){i&1&&(y(0,"div",5),X(1,"mat-spinner"),x())}function cg(i,e){i&1&&(y(0,"th",16),le(1,"Time"),x())}function dg(i,e){if(i&1&&(y(0,"td",17),le(1),ui(2,"date"),x()),i&2){let r=e.$implicit;D(),ft(" ",ma(2,1,r.blockTimestamp,"HH:mm","UTC+3")," ")}}function hg(i,e){i&1&&(y(0,"th",16),le(1,"Price"),x())}function ug(i,e){if(i&1&&(y(0,"td",17)(1,"span"),le(2),ui(3,"currency"),x()()),i&2){let r=e.$implicit;D(2),We(sn(3,1,r.historicalUSD/r.unitValue))}}function fg(i,e){i&1&&(y(0,"th",16),le(1,"Name"),x())}function mg(i,e){if(i&1&&(y(0,"td",17)(1,"span",18)(2,"b"),le(3),x(),y(4,"div",19),X(5,"img",20),x()()()),i&2){let r=e.$implicit;D(3),We(r.tokenSymbol),D(2),da("src","https://static.arkhamintelligence.com/tokens/",r.tokenId,".png",ia),Z("alt",r.tokenId)}}function pg(i,e){i&1&&(y(0,"th",16),le(1,"Amount"),x())}function gg(i,e){if(i&1&&(y(0,"td",17)(1,"span"),le(2),ui(3,"numberFormatter"),x()()),i&2){let r=e.$implicit;D(2),ft("",sn(3,1,r.historicalUSD),"$")}}function _g(i,e){i&1&&X(0,"tr",21)}function vg(i,e){i&1&&X(0,"tr",22)}function yg(i,e){if(i&1&&(y(0,"div",6)(1,"table",7),ct(2,8),j(3,cg,2,0,"th",9)(4,dg,3,5,"td",10),dt(),ct(5,11),j(6,hg,2,0,"th",9)(7,ug,4,3,"td",10),dt(),ct(8,12),j(9,fg,2,0,"th",9)(10,mg,6,4,"td",10),dt(),ct(11,13),j(12,pg,2,0,"th",9)(13,gg,4,3,"td",10),dt(),j(14,_g,1,0,"tr",14)(15,vg,1,0,"tr",15),x()()),i&2){let r=H().ngIf,t=H();D(),Z("dataSource",r.dataSource),D(13),Z("matHeaderRowDef",t.displayedColumns),D(),Z("matRowDefColumns",t.displayedColumns)}}function bg(i,e){if(i&1){let r=ht();y(0,"div",1)(1,"div",2)(2,"mat-form-field")(3,"mat-label"),le(4,"Type"),x(),y(5,"mat-select",3),fa("ngModelChange",function(n){Me(r);let o=H();return ua(o.selectedVolume,n)||(o.selectedVolume=n),Te(n)}),me("ngModelChange",function(){Me(r);let n=H();return Te(n.getTransactions())}),la(6,ag,2,2,"mat-option",4,sg),x()(),j(8,lg,2,0,"div",5)(9,yg,16,3),x()()}if(i&2){let r=e.ngIf,t=H();D(5),ha("ngModel",t.selectedVolume),D(),ca(t.volumeOptions),D(2),W(8,r.isLoading?8:9)}}var Sd=(()=>{let e=class e extends Ed{constructor(){super(...arguments),this.homeApiService=_(Dd),this.displayedColumns=["time","price","name","amount"],this.dataSource$=new ue([]),this.isLoading$=new ue(!1),this.vm$=ot(this.isLoading$,this.dataSource$).pipe(A(([t,n])=>({isLoading:t,dataSource:n}))),this.selectedVolume=1e6,this.intervalSubscription=null,this.volumeOptions=[{value:1e5,viewValue:"100 000"},{value:1e6,viewValue:"1 000 000"},{value:1e9,viewValue:"1 000 000 000"}]}ngOnInit(){this.getTransactions()}startTransactionsPulling(){this.intervalSubscription=Ws(6e4).pipe(ze(()=>this.homeApiService.getTransactions(this.selectedVolume)),re(t=>this.dataSource$.next(t)),U(this.destroyed$)).subscribe()}getTransactions(){this.isLoading$.next(!0),this.homeApiService.getTransactions(this.selectedVolume).pipe(re(t=>{this.dataSource$.next(t),this.isLoading$.next(!1),this.intervalSubscription&&this.intervalSubscription.unsubscribe(),this.startTransactionsPulling()}),U(this.destroyed$)).subscribe()}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275cmp=ee({type:e,selectors:[["crt-home"]],standalone:!0,features:[q,te],decls:2,vars:3,consts:[["class","home",4,"ngIf"],[1,"home"],[1,"home__filter"],[3,"ngModelChange","ngModel"],[3,"value"],[1,"home__loader"],[1,"home__table"],["mat-table","",1,"mat-elevation-z8",3,"dataSource"],["matColumnDef","time"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","price"],["matColumnDef","name"],["matColumnDef","amount"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["target","_blank",1,"home__table-name"],[1,"home__table-name-img"],[3,"src","alt"],["mat-header-row",""],["mat-row",""]],template:function(n,o){n&1&&(j(0,bg,10,2,"div",0),ui(1,"async")),n&2&&Z("ngIf",sn(1,1,o.vm$))},dependencies:[_d,ad,cd,fd,dd,ld,md,hd,ud,pd,gd,Jc,ac,qn,Qc,Wn,St,yd,Yc,Uc,Es,Ge,ba,xa,Ca,wa,Cd,wd,xd],styles:[".home__table-name[_ngcontent-%COMP%]{display:flex;align-items:center;gap:7px}.home__table-name-img[_ngcontent-%COMP%]{width:22px;height:22px}.home__table-name[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;height:auto}.home__loader[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-block-start:50px}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"],changeDetection:0});let i=e;return i})();var Rd=[{path:"",component:Sd}];var Id=[...Rd];var xg="@",wg=(()=>{let e=class e{constructor(t,n,o,s,a){this.doc=t,this.delegate=n,this.zone=o,this.animationType=s,this.moduleImpl=a,this._rendererFactoryPromise=null,this.scheduler=_(na,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){return(this.moduleImpl??import("./chunk-U45WZUSF.js")).catch(n=>{throw new Y(5300,!1)}).then(({\u0275createEngine:n,\u0275AnimationRendererFactory:o})=>{this._engine=n(this.animationType,this.doc,this.scheduler);let s=new o(this.delegate,this._engine,this.zone);return this.delegate=s,s})}createRenderer(t,n){let o=this.delegate.createRenderer(t,n);if(o.\u0275type===0)return o;typeof o.throwOnSyntheticProps=="boolean"&&(o.throwOnSyntheticProps=!1);let s=new js(o);return n?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(a=>{let c=a.createRenderer(t,n);s.use(c)}).catch(a=>{s.use(o)}),s}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}};e.\u0275fac=function(n){Tr()},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})(),js=class{constructor(e){this.delegate=e,this.replay=[],this.\u0275type=1}use(e){if(this.delegate=e,this.replay!==null){for(let r of this.replay)r(e);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(e,r){return this.delegate.createElement(e,r)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}get destroyNode(){return this.delegate.destroyNode}appendChild(e,r){this.delegate.appendChild(e,r)}insertBefore(e,r,t,n){this.delegate.insertBefore(e,r,t,n)}removeChild(e,r,t){this.delegate.removeChild(e,r,t)}selectRootElement(e,r){return this.delegate.selectRootElement(e,r)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,r,t,n){this.delegate.setAttribute(e,r,t,n)}removeAttribute(e,r,t){this.delegate.removeAttribute(e,r,t)}addClass(e,r){this.delegate.addClass(e,r)}removeClass(e,r){this.delegate.removeClass(e,r)}setStyle(e,r,t,n){this.delegate.setStyle(e,r,t,n)}removeStyle(e,r,t){this.delegate.removeStyle(e,r,t)}setProperty(e,r,t){this.shouldReplay(r)&&this.replay.push(n=>n.setProperty(e,r,t)),this.delegate.setProperty(e,r,t)}setValue(e,r){this.delegate.setValue(e,r)}listen(e,r,t){return this.shouldReplay(r)&&this.replay.push(n=>n.listen(e,r,t)),this.delegate.listen(e,r,t)}shouldReplay(e){return this.replay!==null&&e.startsWith(xg)}};function kd(i="animations"){return Fr("NgAsyncAnimations"),st([{provide:nn,useFactory:(e,r,t)=>new wg(e,r,t,i),deps:[L,xn,I]},{provide:Le,useValue:i==="noop"?"NoopAnimations":"BrowserAnimations"}])}var Ad={providers:[Sl(Id),kd(),La()]};var Md=(()=>{let e=class e{constructor(){this.title="crt"}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=ee({type:e,selectors:[["app-root"]],standalone:!0,features:[te],decls:2,vars:0,consts:[[1,"box-container"]],template:function(n,o){n&1&&(y(0,"div",0),X(1,"router-outlet"),x())},dependencies:[Oo],styles:[".box-container[_ngcontent-%COMP%]{padding:10px}"]});let i=e;return i})();$a(Md,Ad).catch(i=>console.error(i));