@signalk/freeboard-sk 2.24.2 → 3.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/docs/screenshots/2_freeboard-sk.jpg +0 -0
- package/docs/screenshots/3_freeboard-sk.jpg +0 -0
- package/package.json +13 -8
- package/public/3rdpartylicenses.txt +70 -19
- package/public/assets/img/no-such-symbol.svg +4 -0
- package/public/chunk-2GXI757Z.js +1 -0
- package/public/chunk-7OJ7YZPE.js +1010 -0
- package/public/chunk-A626ZBXE.js +3871 -0
- package/public/chunk-CSNMIJA3.js +1612 -0
- package/public/chunk-EU3YXT24.js +929 -0
- package/public/chunk-ILSUTX3X.js +1 -0
- package/public/chunk-JJ245XTQ.js +1 -0
- package/public/chunk-NM5IDVR6.js +107 -0
- package/public/chunk-NMXQ543J.js +1 -0
- package/public/chunk-P5D5HOAL.js +1709 -0
- package/public/{chunk-LXUTMJYP.js → chunk-QNWLXTD7.js} +1 -1
- package/public/chunk-RS6VYSOP.js +1 -0
- package/public/chunk-VUZVHRKQ.js +1 -0
- package/public/chunk-WPZCQDE4.js +1 -0
- package/public/chunk-WRR2LL5R.js +1 -0
- package/public/chunk-WWDDTAFW.js +2 -0
- package/public/chunk-XP3I253N.js +1 -0
- package/public/index.html +1 -1
- package/public/main-IKMWD43W.js +466 -0
- package/public/worker-5T47RUMR.js +3 -0
- package/public/chunk-2AF4T5IB.js +0 -1
- package/public/chunk-3GHIRJ3C.js +0 -2
- package/public/chunk-A4TULHTL.js +0 -1
- package/public/chunk-AFVK3UQJ.js +0 -5482
- package/public/chunk-AX3UMUXB.js +0 -1
- package/public/chunk-EFVTFEXB.js +0 -1
- package/public/chunk-FALIRPMH.js +0 -1035
- package/public/chunk-G4GM24WE.js +0 -1
- package/public/chunk-NTIQMWPW.js +0 -2718
- package/public/chunk-QIOZNURQ.js +0 -1
- package/public/chunk-SBFXQ3G7.js +0 -1
- package/public/main-AZEF35BN.js +0 -466
- package/public/worker-AUTVLQL7.js +0 -3
|
@@ -0,0 +1,1709 @@
|
|
|
1
|
+
import{a as D,b as U,f as on}from"./chunk-EQVTEUXC.js";var Me=null,Rs=!1,Vl=1,CE=null,de=Symbol("SIGNAL");function S(t){let n=Me;return Me=t,n}function Os(){return Me}var sn={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function an(t){if(Rs)throw new Error("");if(Me===null)return;Me.consumerOnSignalRead(t);let n=Me.producersTail;if(n!==void 0&&n.producer===t)return;let e,r=Me.recomputing;if(r&&(e=n!==void 0?n.nextProducer:Me.producers,e!==void 0&&e.producer===t)){Me.producersTail=e,e.lastReadVersion=t.version;return}let o=t.consumersTail;if(o!==void 0&&o.consumer===Me&&(!r||IE(o,Me)))return;let i=Lr(Me),s={producer:t,consumer:Me,nextProducer:e,prevConsumer:o,lastReadVersion:t.version,nextConsumer:void 0};Me.producersTail=s,n!==void 0?n.nextProducer=s:Me.producers=s,i&&xp(t,s)}function Mp(){Vl++}function Gn(t){if(!(Lr(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Vl)){if(!t.producerMustRecompute(t)&&!Pr(t)){Fr(t);return}t.producerRecomputeValue(t),Fr(t)}}function jl(t){if(t.consumers===void 0)return;let n=Rs;Rs=!0;try{for(let e=t.consumers;e!==void 0;e=e.nextConsumer){let r=e.consumer;r.dirty||wE(r)}}finally{Rs=n}}function Bl(){return Me?.consumerAllowSignalWrites!==!1}function wE(t){t.dirty=!0,jl(t),t.consumerMarkedDirty?.(t)}function Fr(t){t.dirty=!1,t.lastCleanEpoch=Vl}function Vt(t){return t&&Tp(t),S(t)}function Tp(t){t.producersTail=void 0,t.recomputing=!0}function cn(t,n){S(n),t&&Ap(t)}function Ap(t){t.recomputing=!1;let n=t.producersTail,e=n!==void 0?n.nextProducer:t.producers;if(e!==void 0){if(Lr(t))do e=Hl(e);while(e!==void 0);n!==void 0?n.nextProducer=void 0:t.producers=void 0}}function Pr(t){for(let n=t.producers;n!==void 0;n=n.nextProducer){let e=n.producer,r=n.lastReadVersion;if(r!==e.version||(Gn(e),r!==e.version))return!0}return!1}function ln(t){if(Lr(t)){let n=t.producers;for(;n!==void 0;)n=Hl(n)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function xp(t,n){let e=t.consumersTail,r=Lr(t);if(e!==void 0?(n.nextConsumer=e.nextConsumer,e.nextConsumer=n):(n.nextConsumer=void 0,t.consumers=n),n.prevConsumer=e,t.consumersTail=n,!r)for(let o=t.producers;o!==void 0;o=o.nextProducer)xp(o.producer,o)}function Hl(t){let n=t.producer,e=t.nextProducer,r=t.nextConsumer,o=t.prevConsumer;if(t.nextConsumer=void 0,t.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:n.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(n.consumers=r,!Lr(n)){let i=n.producers;for(;i!==void 0;)i=Hl(i)}return e}function Lr(t){return t.consumerIsAlwaysLive||t.consumers!==void 0}function Zo(t){CE?.(t)}function IE(t,n){let e=n.producersTail;if(e!==void 0){let r=n.producers;do{if(r===t)return!0;if(r===e)break;r=r.nextProducer}while(r!==void 0)}return!1}function Ko(t,n){return Object.is(t,n)}function Xo(t,n){let e=Object.create(SE);e.computation=t,n!==void 0&&(e.equal=n);let r=()=>{if(Gn(e),an(e),e.value===Mt)throw e.error;return e.value};return r[de]=e,Zo(e),r}var $n=Symbol("UNSET"),zn=Symbol("COMPUTING"),Mt=Symbol("ERRORED"),SE=U(D({},sn),{value:$n,dirty:!0,error:null,equal:Ko,kind:"computed",producerMustRecompute(t){return t.value===$n||t.value===zn},producerRecomputeValue(t){if(t.value===zn)throw new Error("");let n=t.value;t.value=zn;let e=Vt(t),r,o=!1;try{r=t.computation(),S(null),o=n!==$n&&n!==Mt&&r!==Mt&&t.equal(n,r)}catch(i){r=Mt,t.error=i}finally{cn(t,e)}if(o){t.value=n;return}t.value=r,t.version++}});function ME(){throw new Error}var Np=ME;function Rp(t){Np(t)}function Ul(t){Np=t}var TE=null;function $l(t,n){let e=Object.create(Qo);e.value=t,n!==void 0&&(e.equal=n);let r=()=>Op(e);return r[de]=e,Zo(e),[r,s=>Wn(e,s),s=>ks(e,s)]}function Op(t){return an(t),t.value}function Wn(t,n){Bl()||Rp(t),t.equal(t.value,n)||(t.value=n,AE(t))}function ks(t,n){Bl()||Rp(t),Wn(t,n(t.value))}var Qo=U(D({},sn),{equal:Ko,value:void 0,kind:"signal"});function AE(t){t.version++,Mp(),jl(t),TE?.(t)}var zl=U(D({},sn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Gl(t){if(t.dirty=!1,t.version>0&&!Pr(t))return;t.version++;let n=Vt(t);try{t.cleanup(),t.fn()}finally{cn(t,n)}}function F(t){return typeof t=="function"}function Vr(t){let e=t(r=>{Error.call(r),r.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Fs=Vr(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:
|
|
2
|
+
${e.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
3
|
+
`)}`:"",this.name="UnsubscriptionError",this.errors=e});function qn(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var j=class t{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let i of e)i.remove(this);else e.remove(this);let{initialTeardown:r}=this;if(F(r))try{r()}catch(i){n=i instanceof Fs?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{kp(i)}catch(s){n=n??[],s instanceof Fs?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Fs(n)}}add(n){var e;if(n&&n!==this)if(this.closed)kp(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(n)}}_hasParent(n){let{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){let{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&qn(e,n)}remove(n){let{_finalizers:e}=this;e&&qn(e,n),n instanceof t&&n._removeParent(this)}};j.EMPTY=(()=>{let t=new j;return t.closed=!0,t})();var Wl=j.EMPTY;function Ps(t){return t instanceof j||t&&"closed"in t&&F(t.remove)&&F(t.add)&&F(t.unsubscribe)}function kp(t){F(t)?t():t.unsubscribe()}var ut={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var jr={setTimeout(t,n,...e){let{delegate:r}=jr;return r?.setTimeout?r.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=jr;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Ls(t){jr.setTimeout(()=>{let{onUnhandledError:n}=ut;if(n)n(t);else throw t})}function Jo(){}var Fp=ql("C",void 0,void 0);function Pp(t){return ql("E",void 0,t)}function Lp(t){return ql("N",t,void 0)}function ql(t,n,e){return{kind:t,value:n,error:e}}var Yn=null;function Br(t){if(ut.useDeprecatedSynchronousErrorHandling){let n=!Yn;if(n&&(Yn={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:r}=Yn;if(Yn=null,e)throw r}}else t()}function Vp(t){ut.useDeprecatedSynchronousErrorHandling&&Yn&&(Yn.errorThrown=!0,Yn.error=t)}var Zn=class extends j{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Ps(n)&&n.add(this)):this.destination=RE}static create(n,e,r){return new dt(n,e,r)}next(n){this.isStopped?Zl(Lp(n),this):this._next(n)}error(n){this.isStopped?Zl(Pp(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Zl(Fp,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},xE=Function.prototype.bind;function Yl(t,n){return xE.call(t,n)}var Kl=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(r){Vs(r)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(r){Vs(r)}else Vs(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){Vs(e)}}},dt=class extends Zn{constructor(n,e,r){super();let o;if(F(n)||!n)o={next:n??void 0,error:e??void 0,complete:r??void 0};else{let i;this&&ut.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&Yl(n.next,i),error:n.error&&Yl(n.error,i),complete:n.complete&&Yl(n.complete,i)}):o=n}this.destination=new Kl(o)}};function Vs(t){ut.useDeprecatedSynchronousErrorHandling?Vp(t):Ls(t)}function NE(t){throw t}function Zl(t,n){let{onStoppedNotification:e}=ut;e&&jr.setTimeout(()=>e(t,n))}var RE={closed:!0,next:Jo,error:NE,complete:Jo};var Hr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ft(t){return t}function jp(t){return t.length===0?ft:t.length===1?t[0]:function(e){return t.reduce((r,o)=>o(r),e)}}var R=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let r=new t;return r.source=this,r.operator=e,r}subscribe(e,r,o){let i=kE(e)?e:new dt(e,r,o);return Br(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(e){try{return this._subscribe(e)}catch(r){e.error(r)}}forEach(e,r){return r=Bp(r),new r((o,i)=>{let s=new dt({next:a=>{try{e(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(e){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(e)}[Hr](){return this}pipe(...e){return jp(e)(this)}toPromise(e){return e=Bp(e),new e((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return t.create=n=>new t(n),t})();function Bp(t){var n;return(n=t??ut.Promise)!==null&&n!==void 0?n:Promise}function OE(t){return t&&F(t.next)&&F(t.error)&&F(t.complete)}function kE(t){return t&&t instanceof Zn||OE(t)&&Ps(t)}function Xl(t){return F(t?.lift)}function L(t){return n=>{if(Xl(n))return n.lift(function(e){try{return t(e,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function P(t,n,e,r,o){return new ei(t,n,e,r,o)}var ei=class extends Zn{constructor(n,e,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(c){n.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function Hp(){return L((t,n)=>{let e=null;t._refCount++;let r=P(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){e=null;return}let o=t._connection,i=e;e=null,o&&(!i||o===i)&&o.unsubscribe(),n.unsubscribe()});t.subscribe(r),r.closed||(e=t.connect())})}var ti=class extends R{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Xl(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new j;let e=this.getSubject();n.add(this.source.subscribe(P(e,void 0,()=>{this._teardown(),e.complete()},r=>{this._teardown(),e.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=j.EMPTY)}return n}refCount(){return Hp()(this)}};var Ur={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame,{delegate:r}=Ur;r&&(n=r.requestAnimationFrame,e=r.cancelAnimationFrame);let o=n(i=>{e=void 0,t(i)});return new j(()=>e?.(o))},requestAnimationFrame(...t){let{delegate:n}=Ur;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:n}=Ur;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var Up=Vr(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var C=(()=>{class t extends R{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let r=new js(this,this);return r.operator=e,r}_throwIfClosed(){if(this.closed)throw new Up}next(e){Br(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(e)}})}error(e){Br(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:r}=this;for(;r.length;)r.shift().error(e)}})}complete(){Br(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Wl:(this.currentObservers=null,i.push(e),new j(()=>{this.currentObservers=null,qn(i,e)}))}_checkFinalizedStatuses(e){let{hasError:r,thrownError:o,isStopped:i}=this;r?e.error(o):i&&e.complete()}asObservable(){let e=new R;return e.source=this,e}}return t.create=(n,e)=>new js(n,e),t})(),js=class extends C{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.next)===null||r===void 0||r.call(e,n)}error(n){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.error)===null||r===void 0||r.call(e,n)}complete(){var n,e;(e=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||e===void 0||e.call(n)}_subscribe(n){var e,r;return(r=(e=this.source)===null||e===void 0?void 0:e.subscribe(n))!==null&&r!==void 0?r:Wl}};var Kn=class extends C{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){let{hasError:n,thrownError:e,_value:r}=this;if(n)throw e;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var ni={now(){return(ni.delegate||Date).now()},delegate:void 0};var un=class extends C{constructor(n=1/0,e=1/0,r=ni){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){let{isStopped:e,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;e||(r.push(n),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(n),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!n.closed;s+=r?1:2)n.next(i[s]);return this._checkFinalizedStatuses(n),e}_trimBuffer(){let{_bufferSize:n,_timestampProvider:e,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*n;if(n<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=e.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var Ql=class extends C{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(n){let{hasError:e,_hasValue:r,_value:o,thrownError:i,isStopped:s,_isComplete:a}=this;e?n.error(i):(s||a)&&(r&&n.next(o),n.complete())}next(n){this.isStopped||(this._value=n,this._hasValue=!0)}complete(){let{_hasValue:n,_value:e,_isComplete:r}=this;r||(this._isComplete=!0,n&&super.next(e),super.complete())}};var Bs=class extends j{constructor(n,e){super()}schedule(n,e=0){return this}};var ri={setInterval(t,n,...e){let{delegate:r}=ri;return r?.setInterval?r.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){let{delegate:n}=ri;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};var dn=class extends Bs{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var r;if(this.closed)return this;this.state=n;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,e)),this.pending=!0,this.delay=e,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,e),this}requestAsyncId(n,e,r=0){return ri.setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,e,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return e;e!=null&&ri.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(n,e);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let r=!1,o;try{this.work(n)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:n,scheduler:e}=this,{actions:r}=e;this.work=this.state=this.scheduler=null,this.pending=!1,qn(r,this),n!=null&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}};var FE=1,Jl,eu={};function $p(t){return t in eu?(delete eu[t],!0):!1}var zp={setImmediate(t){let n=FE++;return eu[n]=!0,Jl||(Jl=Promise.resolve()),Jl.then(()=>$p(n)&&t()),n},clearImmediate(t){$p(t)}};var{setImmediate:PE,clearImmediate:LE}=zp,oi={setImmediate(...t){let{delegate:n}=oi;return(n?.setImmediate||PE)(...t)},clearImmediate(t){let{delegate:n}=oi;return(n?.clearImmediate||LE)(t)},delegate:void 0};var Hs=class extends dn{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,r=0){return r!==null&&r>0?super.requestAsyncId(n,e,r):(n.actions.push(this),n._scheduled||(n._scheduled=oi.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,e,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(n,e,r);let{actions:i}=n;e!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==e&&(oi.clearImmediate(e),n._scheduled===e&&(n._scheduled=void 0))}};var $r=class t{constructor(n,e=t.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,r){return new this.schedulerActionCtor(this,n).schedule(r,e)}};$r.now=ni.now;var fn=class extends $r{constructor(n,e=$r.now){super(n,e),this.actions=[],this._active=!1}flush(n){let{actions:e}=this;if(this._active){e.push(n);return}let r;this._active=!0;do if(r=n.execute(n.state,n.delay))break;while(n=e.shift());if(this._active=!1,r){for(;n=e.shift();)n.unsubscribe();throw r}}};var Us=class extends fn{flush(n){this._active=!0;let e=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;n=n||r.shift();do if(o=n.execute(n.state,n.delay))break;while((n=r[0])&&n.id===e&&r.shift());if(this._active=!1,o){for(;(n=r[0])&&n.id===e&&r.shift();)n.unsubscribe();throw o}}};var tu=new Us(Hs);var Xn=new fn(dn),Gp=Xn;var $s=class extends dn{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,r=0){return r!==null&&r>0?super.requestAsyncId(n,e,r):(n.actions.push(this),n._scheduled||(n._scheduled=Ur.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,e,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(n,e,r);let{actions:i}=n;e!=null&&e===n._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==e&&(Ur.cancelAnimationFrame(e),n._scheduled=void 0)}};var zs=class extends fn{flush(n){this._active=!0;let e;n?e=n.id:(e=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;n=n||r.shift();do if(o=n.execute(n.state,n.delay))break;while((n=r[0])&&n.id===e&&r.shift());if(this._active=!1,o){for(;(n=r[0])&&n.id===e&&r.shift();)n.unsubscribe();throw o}}};var nu=new zs($s);var ii=new R(t=>t.complete());function Gs(t){return t&&F(t.schedule)}function ru(t){return t[t.length-1]}function Ws(t){return F(ru(t))?t.pop():void 0}function Tt(t){return Gs(ru(t))?t.pop():void 0}function Wp(t,n){return typeof ru(t)=="number"?t.pop():n}function Yp(t,n,e,r){function o(i){return i instanceof e?i:new e(function(s){s(i)})}return new(e||(e=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(f){s(f)}}function c(u){try{l(r.throw(u))}catch(f){s(f)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(t,n||[])).next())})}function qp(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],r=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Qn(t){return this instanceof Qn?(this.v=t,this):new Qn(t)}function Zp(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=e.apply(t,n||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(p){return function(m){return Promise.resolve(m).then(p,f)}}function a(p,m){r[p]&&(o[p]=function(v){return new Promise(function(_,b){i.push([p,v,_,b])>1||c(p,v)})},m&&(o[p]=m(o[p])))}function c(p,m){try{l(r[p](m))}catch(v){h(i[0][3],v)}}function l(p){p.value instanceof Qn?Promise.resolve(p.value.v).then(u,f):h(i[0][2],p)}function u(p){c("next",p)}function f(p){c("throw",p)}function h(p,m){p(m),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Kp(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],e;return n?n.call(t):(t=typeof qp=="function"?qp(t):t[Symbol.iterator](),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(i){e[i]=t[i]&&function(s){return new Promise(function(a,c){s=t[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var qs=t=>t&&typeof t.length=="number"&&typeof t!="function";function Ys(t){return F(t?.then)}function Zs(t){return F(t[Hr])}function Ks(t){return Symbol.asyncIterator&&F(t?.[Symbol.asyncIterator])}function Xs(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function VE(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Qs=VE();function Js(t){return F(t?.[Qs])}function ea(t){return Zp(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:r,done:o}=yield Qn(e.read());if(o)return yield Qn(void 0);yield yield Qn(r)}}finally{e.releaseLock()}})}function ta(t){return F(t?.getReader)}function Q(t){if(t instanceof R)return t;if(t!=null){if(Zs(t))return jE(t);if(qs(t))return BE(t);if(Ys(t))return HE(t);if(Ks(t))return Xp(t);if(Js(t))return UE(t);if(ta(t))return $E(t)}throw Xs(t)}function jE(t){return new R(n=>{let e=t[Hr]();if(F(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function BE(t){return new R(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}function HE(t){return new R(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,Ls)})}function UE(t){return new R(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function Xp(t){return new R(n=>{zE(t,n).catch(e=>n.error(e))})}function $E(t){return Xp(ea(t))}function zE(t,n){var e,r,o,i;return Yp(this,void 0,void 0,function*(){try{for(e=Kp(t);r=yield e.next(),!r.done;){let s=r.value;if(n.next(s),n.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=e.return)&&(yield i.call(e))}finally{if(o)throw o.error}}n.complete()})}function He(t,n,e,r=0,o=!1){let i=n.schedule(function(){e(),o?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(i),!o)return i}function na(t,n=0){return L((e,r)=>{e.subscribe(P(r,o=>He(r,t,()=>r.next(o),n),()=>He(r,t,()=>r.complete(),n),o=>He(r,t,()=>r.error(o),n)))})}function ra(t,n=0){return L((e,r)=>{r.add(t.schedule(()=>e.subscribe(r),n))})}function Qp(t,n){return Q(t).pipe(ra(n),na(n))}function Jp(t,n){return Q(t).pipe(ra(n),na(n))}function em(t,n){return new R(e=>{let r=0;return n.schedule(function(){r===t.length?e.complete():(e.next(t[r++]),e.closed||this.schedule())})})}function tm(t,n){return new R(e=>{let r;return He(e,n,()=>{r=t[Qs](),He(e,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){e.error(s);return}i?e.complete():e.next(o)},0,!0)}),()=>F(r?.return)&&r.return()})}function oa(t,n){if(!t)throw new Error("Iterable cannot be null");return new R(e=>{He(e,n,()=>{let r=t[Symbol.asyncIterator]();He(e,n,()=>{r.next().then(o=>{o.done?e.complete():e.next(o.value)})},0,!0)})})}function nm(t,n){return oa(ea(t),n)}function rm(t,n){if(t!=null){if(Zs(t))return Qp(t,n);if(qs(t))return em(t,n);if(Ys(t))return Jp(t,n);if(Ks(t))return oa(t,n);if(Js(t))return tm(t,n);if(ta(t))return nm(t,n)}throw Xs(t)}function et(t,n){return n?rm(t,n):Q(t)}function fe(...t){let n=Tt(t);return et(t,n)}function ou(t,n){let e=F(t)?t:()=>t,r=o=>o.error(e());return new R(n?o=>n.schedule(r,0,o):r)}function jt(t){return!!t&&(t instanceof R||F(t.lift)&&F(t.subscribe))}var om=Vr(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function GE(t,n){let e=typeof n=="object";return new Promise((r,o)=>{let i=new dt({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{e?r(n.defaultValue):o(new om)}});t.subscribe(i)})}function im(t){return t instanceof Date&&!isNaN(t)}function J(t,n){return L((e,r)=>{let o=0;e.subscribe(P(r,i=>{r.next(t.call(n,i,o++))}))})}var{isArray:WE}=Array;function qE(t,n){return WE(n)?t(...n):t(n)}function ia(t){return J(n=>qE(t,n))}var{isArray:YE}=Array,{getPrototypeOf:ZE,prototype:KE,keys:XE}=Object;function sa(t){if(t.length===1){let n=t[0];if(YE(n))return{args:n,keys:null};if(QE(n)){let e=XE(n);return{args:e.map(r=>n[r]),keys:e}}}return{args:t,keys:null}}function QE(t){return t&&typeof t=="object"&&ZE(t)===KE}function aa(t,n){return t.reduce((e,r,o)=>(e[r]=n[o],e),{})}function iu(...t){let n=Tt(t),e=Ws(t),{args:r,keys:o}=sa(t);if(r.length===0)return et([],n);let i=new R(JE(r,n,o?s=>aa(o,s):ft));return e?i.pipe(ia(e)):i}function JE(t,n,e=ft){return r=>{sm(n,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)sm(n,()=>{let l=et(t[c],n),u=!1;l.subscribe(P(r,f=>{i[c]=f,u||(u=!0,a--),a||r.next(e(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function sm(t,n,e){t?He(e,t,n):n()}function am(t,n,e,r,o,i,s,a){let c=[],l=0,u=0,f=!1,h=()=>{f&&!c.length&&!l&&n.complete()},p=v=>l<r?m(v):c.push(v),m=v=>{i&&n.next(v),l++;let _=!1;Q(e(v,u++)).subscribe(P(n,b=>{o?.(b),i?p(b):n.next(b)},()=>{_=!0},void 0,()=>{if(_)try{for(l--;c.length&&l<r;){let b=c.shift();s?He(n,s,()=>m(b)):m(b)}h()}catch(b){n.error(b)}}))};return t.subscribe(P(n,p,()=>{f=!0,h()})),()=>{a?.()}}function zr(t,n,e=1/0){return F(n)?zr((r,o)=>J((i,s)=>n(r,i,o,s))(Q(t(r,o))),e):(typeof n=="number"&&(e=n),L((r,o)=>am(r,o,t,e)))}function ca(t=1/0){return zr(ft,t)}function cm(){return ca(1)}function Gr(...t){return cm()(et(t,Tt(t)))}function si(t){return new R(n=>{Q(t()).subscribe(n)})}function ai(...t){let n=Ws(t),{args:e,keys:r}=sa(t),o=new R(i=>{let{length:s}=e;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let f=!1;Q(e[u]).subscribe(P(i,h=>{f||(f=!0,l--),a[u]=h},()=>c--,void 0,()=>{(!c||!f)&&(l||i.next(r?aa(r,a):a),i.complete())}))}});return n?o.pipe(ia(n)):o}function ci(t=0,n,e=Gp){let r=-1;return n!=null&&(Gs(n)?e=n:r=n),new R(o=>{let i=im(t)?+t-e.now():t;i<0&&(i=0);let s=0;return e.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function eC(t=0,n=Xn){return t<0&&(t=0),ci(t,t,n)}function su(...t){let n=Tt(t),e=Wp(t,1/0),r=t;return r.length?r.length===1?Q(r[0]):ca(e)(et(r,n)):ii}function _e(t,n){return L((e,r)=>{let o=0;e.subscribe(P(r,i=>t.call(n,i,o++)&&r.next(i)))})}function lm(t){return L((n,e)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,e.next(l)}s&&e.complete()},c=()=>{i=null,s&&e.complete()};n.subscribe(P(e,l=>{r=!0,o=l,i||Q(t(l)).subscribe(i=P(e,a,c))},()=>{s=!0,(!r||!i||i.closed)&&e.complete()}))})}function li(t,n=Xn){return lm(()=>ci(t,n))}function ui(t){return L((n,e)=>{let r=null,o=!1,i;r=n.subscribe(P(e,void 0,void 0,s=>{i=Q(t(s,ui(t)(n))),r?(r.unsubscribe(),r=null,i.subscribe(e)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(e))})}function um(t,n,e,r,o){return(i,s)=>{let a=e,c=n,l=0;i.subscribe(P(s,u=>{let f=l++;c=a?t(c,u,f):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function tC(t,n){return L(um(t,n,arguments.length>=2,!1,!0))}function au(t,n){return F(n)?zr(t,n,1):zr(t,1)}function hn(t,n=Xn){return L((e,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+t,u=n.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}e.subscribe(P(r,l=>{i=l,s=n.now(),o||(o=n.schedule(c,t),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Ue(t){return t<=0?()=>ii:L((n,e)=>{let r=0;n.subscribe(P(e,o=>{++r<=t&&(e.next(o),t<=r&&e.complete())}))})}function nC(t){return J(()=>t)}function Wr(t,n=ft){return t=t??rC,L((e,r)=>{let o,i=!0;e.subscribe(P(r,s=>{let a=n(s);(i||!t(o,a))&&(i=!1,o=a,r.next(s))}))})}function rC(t,n){return t===n}function qr(t){return L((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function oC(t,n,e,r){return L((o,i)=>{let s;!n||typeof n=="function"?s=n:{duration:e,element:s,connector:r}=n;let a=new Map,c=m=>{a.forEach(m),m(i)},l=m=>c(v=>v.error(m)),u=0,f=!1,h=new ei(i,m=>{try{let v=t(m),_=a.get(v);if(!_){a.set(v,_=r?r():new C);let b=p(v,_);if(i.next(b),e){let k=P(_,()=>{_.complete(),k?.unsubscribe()},void 0,void 0,()=>a.delete(v));h.add(Q(e(b)).subscribe(k))}}_.next(s?s(m):m)}catch(v){l(v)}},()=>c(m=>m.complete()),l,()=>a.clear(),()=>(f=!0,u===0));o.subscribe(h);function p(m,v){let _=new R(b=>{u++;let k=v.subscribe(b);return()=>{k.unsubscribe(),--u===0&&f&&h.unsubscribe()}});return _.key=m,_}})}function cu(){return L((t,n)=>{let e,r=!1;t.subscribe(P(n,o=>{let i=e;e=o,r&&n.next([i,o]),r=!0}))})}function di(t={}){let{connector:n=()=>new C,resetOnError:e=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=t;return i=>{let s,a,c,l=0,u=!1,f=!1,h=()=>{a?.unsubscribe(),a=void 0},p=()=>{h(),s=c=void 0,u=f=!1},m=()=>{let v=s;p(),v?.unsubscribe()};return L((v,_)=>{l++,!f&&!u&&h();let b=c=c??n();_.add(()=>{l--,l===0&&!f&&!u&&(a=lu(m,o))}),b.subscribe(_),!s&&l>0&&(s=new dt({next:k=>b.next(k),error:k=>{f=!0,h(),a=lu(p,e,k),b.error(k)},complete:()=>{u=!0,h(),a=lu(p,r),b.complete()}}),Q(v).subscribe(s))})(i)}}function lu(t,n,...e){if(n===!0){t();return}if(n===!1)return;let r=new dt({next:()=>{r.unsubscribe(),t()}});return Q(n(...e)).subscribe(r)}function uu(t,n,e){let r,o=!1;return t&&typeof t=="object"?{bufferSize:r=1/0,windowTime:n=1/0,refCount:o=!1,scheduler:e}=t:r=t??1/0,di({connector:()=>new un(r,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function fi(t){return _e((n,e)=>t<=e)}function At(...t){let n=Tt(t);return L((e,r)=>{(n?Gr(t,e,n):Gr(t,e)).subscribe(r)})}function Yr(t,n){return L((e,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();e.subscribe(P(r,c=>{o?.unsubscribe();let l=0,u=i++;Q(t(c,u)).subscribe(o=P(r,f=>r.next(n?n(c,f,u,l++):f),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Bt(t){return L((n,e)=>{Q(t).subscribe(P(e,()=>e.complete(),Jo)),!e.closed&&n.subscribe(e)})}function du(t,n=!1){return L((e,r)=>{let o=0;e.subscribe(P(r,i=>{let s=t(i,o++);(s||n)&&r.next(i),!s&&r.complete()}))})}function pn(t,n,e){let r=F(t)||n||e?{next:t,error:n,complete:e}:t;return r?L((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(P(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):ft}var fu;function la(){return fu}function xt(t){let n=fu;return fu=t,n}var dm=Symbol("NotFound");function Zr(t){return t===dm||t?.name==="\u0275NotFound"}function hu(t,n,e){let r=Object.create(iC);r.source=t,r.computation=n,e!=null&&(r.equal=e);let i=()=>{if(Gn(r),an(r),r.value===Mt)throw r.error;return r.value};return i[de]=r,Zo(r),i}function fm(t,n){Gn(t),Wn(t,n),Fr(t)}function hm(t,n){if(Gn(t),t.value===Mt)throw t.error;ks(t,n),Fr(t)}var iC=U(D({},sn),{value:$n,dirty:!0,error:null,equal:Ko,kind:"linkedSignal",producerMustRecompute(t){return t.value===$n||t.value===zn},producerRecomputeValue(t){if(t.value===zn)throw new Error("");let n=t.value;t.value=zn;let e=Vt(t),r,o=!1;try{let i=t.source(),s=n!==$n&&n!==Mt,a=s?{source:t.sourceValue,value:n}:void 0;r=t.computation(i,a),t.sourceValue=i,S(null),o=s&&r!==Mt&&t.equal(n,r)}catch(i){r=Mt,t.error=i}finally{cn(t,e)}if(o){t.value=n;return}t.value=r,t.version++}});function pm(t){let n=S(null);try{return t()}finally{S(n)}}var ga="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",E=class extends Error{code;constructor(n,e){super(yn(n,e)),this.code=n}};function sC(t){return`NG0${Math.abs(t)}`}function yn(t,n){return`${sC(t)}${n?": "+n:""}`}var _n=globalThis;function te(t){for(let n in t)if(t[n]===te)return n;throw Error("")}function _m(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function va(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(va).join(", ")}]`;if(t==null)return""+t;let n=t.overriddenName||t.name;if(n)return`${n}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(`
|
|
4
|
+
`);return r>=0?e.slice(0,r):e}function ya(t,n){return t?n?`${t} ${n}`:t:n||""}var aC=te({__forward_ref__:te});function we(t){return t.__forward_ref__=we,t}function be(t){return Su(t)?t():t}function Su(t){return typeof t=="function"&&t.hasOwnProperty(aC)&&t.__forward_ref__===we}function y(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function G(t){return{providers:t.providers||[],imports:t.imports||[]}}function _a(t){return cC(t,ba)}function cC(t,n){return t.hasOwnProperty(n)&&t[n]||null}function lC(t){let n=t?.[ba]??null;return n||null}function mu(t){return t&&t.hasOwnProperty(da)?t[da]:null}var ba=te({\u0275prov:te}),da=te({\u0275inj:te}),g=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,e){this._desc=n,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=y({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Mu(t){return t&&!!t.\u0275providers}var _i=te({\u0275cmp:te}),bi=te({\u0275dir:te}),Tu=te({\u0275pipe:te});var pi=te({\u0275fac:te}),rr=te({__NG_ELEMENT_ID__:te}),mm=te({__NG_ENV_ID__:te});function Ut(t){return xu(t,"@Component"),t[_i]||null}function Di(t){return xu(t,"@Directive"),t[bi]||null}function Au(t){return xu(t,"@Pipe"),t[Tu]||null}function xu(t,n){if(t==null)throw new E(-919,!1)}function or(t){return typeof t=="string"?t:t==null?"":String(t)}var bm=te({ngErrorCode:te}),uC=te({ngErrorMessage:te}),dC=te({ngTokenPath:te});function Nu(t,n){return Dm("",-200,n)}function Da(t,n){throw new E(-201,!1)}function Dm(t,n,e){let r=new E(n,t);return r[bm]=n,r[uC]=t,e&&(r[dC]=e),r}function fC(t){return t[bm]}var gu;function Em(){return gu}function Oe(t){let n=gu;return gu=t,n}function Ru(t,n,e){let r=_a(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(e&8)return null;if(n!==void 0)return n;Da(t,"")}var hC={},Jn=hC,pC="__NG_DI_FLAG__",vu=class{injector;constructor(n){this.injector=n}retrieve(n,e){let r=er(e)||0;try{return this.injector.get(n,r&8?null:Jn,r)}catch(o){if(Zr(o))return o;throw o}}};function mC(t,n=0){let e=la();if(e===void 0)throw new E(-203,!1);if(e===null)return Ru(t,void 0,n);{let r=gC(n),o=e.retrieve(t,r);if(Zr(o)){if(r.optional)return null;throw o}return o}}function T(t,n=0){return(Em()||mC)(be(t),n)}function d(t,n){return T(t,er(n))}function er(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function gC(t){return{optional:!!(t&8),host:!!(t&1),self:!!(t&2),skipSelf:!!(t&4)}}function yu(t){let n=[];for(let e=0;e<t.length;e++){let r=be(t[e]);if(Array.isArray(r)){if(r.length===0)throw new E(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=vC(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}n.push(T(o,i))}else n.push(T(r))}return n}function vC(t){return t[pC]}function mn(t,n){let e=t.hasOwnProperty(pi);return e?t[pi]:null}function Cm(t,n,e){if(t.length!==n.length)return!1;for(let r=0;r<t.length;r++){let o=t[r],i=n[r];if(e&&(o=e(o),i=e(i)),i!==o)return!1}return!0}function wm(t){return t.flat(Number.POSITIVE_INFINITY)}function Ea(t,n){t.forEach(e=>Array.isArray(e)?Ea(e,n):n(e))}function Ou(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function Ei(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function Im(t,n){let e=[];for(let r=0;r<t;r++)e.push(n);return e}function Sm(t,n,e,r){let o=t.length;if(o==n)t.push(e,r);else if(o===1)t.push(r,t[0]),t[0]=e;else{for(o--,t.push(t[o-1],t[o]);o>n;){let i=o-2;t[o]=t[i],o--}t[n]=e,t[n+1]=r}}function Ci(t,n,e){let r=Xr(t,n);return r>=0?t[r|1]=e:(r=~r,Sm(t,r,n,e)),r}function Ca(t,n){let e=Xr(t,n);if(e>=0)return t[e|1]}function Xr(t,n){return yC(t,n,1)}function yC(t,n,e){let r=0,o=t.length>>e;for(;o!==r;){let i=r+(o-r>>1),s=t[i<<e];if(n===s)return i<<e;s>n?o=i:r=i+1}return~(o<<e)}var pt={},Te=[],bn=new g(""),ku=new g("",-1),Fu=new g(""),mi=class{get(n,e=Jn){if(e===Jn){let o=Dm("",-201);throw o.name="\u0275NotFound",o}return e}};function Qr(t){return{\u0275providers:t}}function Mm(...t){return{\u0275providers:wa(!0,t),\u0275fromNgModule:!0}}function wa(t,...n){let e=[],r=new Set,o,i=s=>{e.push(s)};return Ea(n,s=>{let a=s;fa(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Tm(o,i),e}function Tm(t,n){for(let e=0;e<t.length;e++){let{ngModule:r,providers:o}=t[e];Pu(o,i=>{n(i,r)})}}function fa(t,n,e,r){if(t=be(t),!t)return!1;let o=null,i=mu(t),s=!i&&Ut(t);if(!i&&!s){let c=t.ngModule;if(i=mu(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)fa(l,n,e,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;Ea(i.imports,u=>{fa(u,n,e,r)&&(l||=[],l.push(u))}),l!==void 0&&Tm(l,n)}if(!a){let l=mn(o)||(()=>new o);n({provide:o,useFactory:l,deps:Te},o),n({provide:Fu,useValue:o,multi:!0},o),n({provide:bn,useValue:()=>T(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=t;Pu(c,u=>{n(u,l)})}}else return!1;return o!==t&&t.providers!==void 0}function Pu(t,n){for(let e of t)Mu(e)&&(e=e.\u0275providers),Array.isArray(e)?Pu(e,n):n(e)}var _C=te({provide:String,useValue:te});function Am(t){return t!==null&&typeof t=="object"&&_C in t}function bC(t){return!!(t&&t.useExisting)}function DC(t){return!!(t&&t.useFactory)}function tr(t){return typeof t=="function"}function xm(t){return!!t.useClass}var wi=new g(""),ua={},gm={},pu;function Jr(){return pu===void 0&&(pu=new mi),pu}var ce=class{},nr=class extends ce{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,e,r,o){super(),this.parent=e,this.source=r,this.scopes=o,bu(n,s=>this.processProvider(s)),this.records.set(ku,Kr(void 0,this)),o.has("environment")&&this.records.set(ce,Kr(void 0,this));let i=this.records.get(wi);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Fu,Te,{self:!0}))}retrieve(n,e){let r=er(e)||0;try{return this.get(n,Jn,r)}catch(o){if(Zr(o))return o;throw o}}destroy(){hi(this),this._destroyed=!0;let n=S(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of e)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),S(n)}}onDestroy(n){return hi(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){hi(this);let e=xt(this),r=Oe(void 0),o;try{return n()}finally{xt(e),Oe(r)}}get(n,e=Jn,r){if(hi(this),n.hasOwnProperty(mm))return n[mm](this);let o=er(r),i,s=xt(this),a=Oe(void 0);try{if(!(o&4)){let l=this.records.get(n);if(l===void 0){let u=SC(n)&&_a(n);u&&this.injectableDefInScope(u)?l=Kr(_u(n),ua):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l,o)}let c=o&2?Jr():this.parent;return e=o&8&&e===Jn?null:e,c.get(n,e)}catch(c){let l=fC(c);throw l===-200||l===-201?new E(l,null):c}finally{Oe(a),xt(s)}}resolveInjectorInitializers(){let n=S(null),e=xt(this),r=Oe(void 0),o;try{let i=this.get(bn,Te,{self:!0});for(let s of i)s()}finally{xt(e),Oe(r),S(n)}}toString(){return"R3Injector[...]"}processProvider(n){n=be(n);let e=tr(n)?n:be(n&&n.provide),r=CC(n);if(!tr(n)&&n.multi===!0){let o=this.records.get(e);o||(o=Kr(void 0,ua,!0),o.factory=()=>yu(o.multi),this.records.set(e,o)),e=n,o.multi.push(n)}this.records.set(e,r)}hydrate(n,e,r){let o=S(null);try{if(e.value===gm)throw Nu("");return e.value===ua&&(e.value=gm,e.value=e.factory(void 0,r)),typeof e.value=="object"&&e.value&&IC(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{S(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=be(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};function _u(t){let n=_a(t),e=n!==null?n.factory:mn(t);if(e!==null)return e;if(t instanceof g)throw new E(-204,!1);if(t instanceof Function)return EC(t);throw new E(-204,!1)}function EC(t){if(t.length>0)throw new E(-204,!1);let e=lC(t);return e!==null?()=>e.factory(t):()=>new t}function CC(t){if(Am(t))return Kr(void 0,t.useValue);{let n=Lu(t);return Kr(n,ua)}}function Lu(t,n,e){let r;if(tr(t)){let o=be(t);return mn(o)||_u(o)}else if(Am(t))r=()=>be(t.useValue);else if(DC(t))r=()=>t.useFactory(...yu(t.deps||[]));else if(bC(t))r=(o,i)=>T(be(t.useExisting),i!==void 0&&i&8?8:void 0);else{let o=be(t&&(t.useClass||t.provide));if(wC(t))r=()=>new o(...yu(t.deps));else return mn(o)||_u(o)}return r}function hi(t){if(t.destroyed)throw new E(-205,!1)}function Kr(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function wC(t){return!!t.deps}function IC(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function SC(t){return typeof t=="function"||typeof t=="object"&&t.ngMetadataName==="InjectionToken"}function bu(t,n){for(let e of t)Array.isArray(e)?bu(e,n):e&&Mu(e)?bu(e.\u0275providers,n):n(e)}function eo(t,n){let e;t instanceof nr?(hi(t),e=t):e=new vu(t);let r,o=xt(e),i=Oe(void 0);try{return n()}finally{xt(o),Oe(i)}}function Nm(){return Em()!==void 0||la()!=null}var mt=0,I=1,N=2,me=3,tt=4,ke=5,ir=6,to=7,he=8,Fe=9,gt=10,ee=11,no=12,Vu=13,sr=14,Pe=15,Dn=16,ar=17,Nt=18,$t=19,ju=20,Ht=21,Ia=22,gn=23,Ze=24,cr=25,En=26,K=27,Rm=1,Cn=6,wn=7,Ii=8,lr=9,le=10;function zt(t){return Array.isArray(t)&&typeof t[Rm]=="object"}function vt(t){return Array.isArray(t)&&t[Rm]===!0}function Bu(t){return(t.flags&4)!==0}function Rt(t){return t.componentOffset>-1}function ro(t){return(t.flags&1)===1}function yt(t){return!!t.template}function oo(t){return(t[N]&512)!==0}function In(t){return(t[N]&256)===256}var Hu="svg",Om="math";function nt(t){for(;Array.isArray(t);)t=t[mt];return t}function Uu(t,n){return nt(n[t])}function rt(t,n){return nt(n[t.index])}function io(t,n){return t.data[n]}function so(t,n){return t[n]}function Si(t,n,e,r){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=r}function ot(t,n){let e=n[t];return zt(e)?e:e[mt]}function km(t){return(t[N]&4)===4}function Sa(t){return(t[N]&128)===128}function Fm(t){return vt(t[me])}function Ke(t,n){return n==null?null:t[n]}function $u(t){t[ar]=0}function zu(t){t[N]&1024||(t[N]|=1024,Sa(t)&&ur(t))}function Pm(t,n){for(;t>0;)n=n[sr],t--;return n}function Mi(t){return!!(t[N]&9216||t[Ze]?.dirty)}function Ma(t){t[gt].changeDetectionScheduler?.notify(8),t[N]&64&&(t[N]|=1024),Mi(t)&&ur(t)}function ur(t){t[gt].changeDetectionScheduler?.notify(0);let n=vn(t);for(;n!==null&&!(n[N]&8192||(n[N]|=8192,!Sa(n)));)n=vn(n)}function Ta(t,n){if(In(t))throw new E(911,!1);t[Ht]===null&&(t[Ht]=[]),t[Ht].push(n)}function Gu(t,n){if(t[Ht]===null)return;let e=t[Ht].indexOf(n);e!==-1&&t[Ht].splice(e,1)}function vn(t){let n=t[me];return vt(n)?n[me]:n}function Wu(t){return t[to]??=[]}function qu(t){return t.cleanup??=[]}function Lm(t,n,e,r){let o=Wu(n);o.push(e),t.firstCreatePass&&qu(t).push(r,o.length-1)}var V={lFrame:Km(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Du=!1;function Vm(){return V.lFrame.elementDepthCount}function jm(){V.lFrame.elementDepthCount++}function Yu(){V.lFrame.elementDepthCount--}function Aa(){return V.bindingsEnabled}function Zu(){return V.skipHydrationRootTNode!==null}function Ku(t){return V.skipHydrationRootTNode===t}function Xu(){V.skipHydrationRootTNode=null}function w(){return V.lFrame.lView}function X(){return V.lFrame.tView}function Bm(t){return V.lFrame.contextLView=t,t[he]}function Hm(t){return V.lFrame.contextLView=null,t}function ue(){let t=Qu();for(;t!==null&&t.type===64;)t=t.parent;return t}function Qu(){return V.lFrame.currentTNode}function Um(){let t=V.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function dr(t,n){let e=V.lFrame;e.currentTNode=t,e.isParent=n}function Ju(){return V.lFrame.isParent}function ed(){V.lFrame.isParent=!1}function td(){return V.lFrame.contextLView}function nd(){return Du}function gi(t){let n=Du;return Du=t,n}function Gt(){let t=V.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function $m(){return V.lFrame.bindingIndex}function zm(t){return V.lFrame.bindingIndex=t}function Wt(){return V.lFrame.bindingIndex++}function xa(t){let n=V.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function Gm(){return V.lFrame.inI18n}function Wm(t,n){let e=V.lFrame;e.bindingIndex=e.bindingRootIndex=t,Na(n)}function qm(){return V.lFrame.currentDirectiveIndex}function Na(t){V.lFrame.currentDirectiveIndex=t}function Ym(t){let n=V.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function Ra(){return V.lFrame.currentQueryIndex}function Ti(t){V.lFrame.currentQueryIndex=t}function MC(t){let n=t[I];return n.type===2?n.declTNode:n.type===1?t[ke]:null}function rd(t,n,e){if(e&4){let o=n,i=t;for(;o=o.parent,o===null&&!(e&1);)if(o=MC(i),o===null||(i=i[sr],o.type&10))break;if(o===null)return!1;n=o,t=i}let r=V.lFrame=Zm();return r.currentTNode=n,r.lView=t,!0}function Oa(t){let n=Zm(),e=t[I];V.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function Zm(){let t=V.lFrame,n=t===null?null:t.child;return n===null?Km(t):n}function Km(t){let n={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:t,child:null,inI18n:!1};return t!==null&&(t.child=n),n}function Xm(){let t=V.lFrame;return V.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var od=Xm;function ka(){let t=Xm();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Qm(t){return(V.lFrame.contextLView=Pm(t,V.lFrame.contextLView))[he]}function _t(){return V.lFrame.selectedIndex}function Sn(t){V.lFrame.selectedIndex=t}function ao(){let t=V.lFrame;return io(t.tView,t.selectedIndex)}function Jm(){V.lFrame.currentNamespace=Hu}function eg(){TC()}function TC(){V.lFrame.currentNamespace=null}function id(){return V.lFrame.currentNamespace}var tg=!0;function Fa(){return tg}function Ai(t){tg=t}function Eu(t,n=null,e=null,r){let o=ng(t,n,e,r);return o.resolveInjectorInitializers(),o}function ng(t,n=null,e=null,r,o=new Set){let i=[e||Te,Mm(t)],s;return new nr(i,n||Jr(),s||null,o)}var O=class t{static THROW_IF_NOT_FOUND=Jn;static NULL=new mi;static create(n,e){if(Array.isArray(n))return Eu({name:""},e,n,"");{let r=n.name??"";return Eu({name:r},n.parent,n.providers,r)}}static \u0275prov=y({token:t,providedIn:"any",factory:()=>T(ku)});static __NG_ELEMENT_ID__=-1},x=new g(""),$e=(()=>{class t{static __NG_ELEMENT_ID__=AC;static __NG_ENV_ID__=e=>e}return t})(),ha=class extends $e{_lView;constructor(n){super(),this._lView=n}get destroyed(){return In(this._lView)}onDestroy(n){let e=this._lView;return Ta(e,n),()=>Gu(e,n)}};function AC(){return new ha(w())}var sd=!1,rg=new g(""),Mn=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Kn(!1);debugTaskTracker=d(rg,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new R(e=>{e.next(!1),e.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),this.debugTaskTracker?.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.debugTaskTracker?.remove(e),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=y({token:t,providedIn:"root",factory:()=>new t})}return t})(),Cu=class extends C{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,Nm()&&(this.destroyRef=d($e,{optional:!0})??void 0,this.pendingTasks=d(Mn,{optional:!0})??void 0)}emit(n){let e=S(null);try{super.next(n)}finally{S(e)}}subscribe(n,e,r){let o=n,i=e||(()=>null),s=r;if(n&&typeof n=="object"){let c=n;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return n instanceof j&&n.add(a),a}wrapInTimeout(n){return e=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{n(e)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},$=Cu;function pa(...t){}function ad(t){let n,e;function r(){t=pa;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch(o){}}return n=setTimeout(()=>{t(),r()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),r()})),()=>r()}function og(t){return queueMicrotask(()=>t()),()=>{t=pa}}var cd="isAngularZone",vi=cd+"_ID",xC=0,M=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new $(!1);onMicrotaskEmpty=new $(!1);onStable=new $(!1);onError=new $(!1);constructor(n){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=sd}=n;if(typeof Zone>"u")throw new E(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,OC(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(cd)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new E(909,!1)}run(n,e,r){return this._inner.run(n,e,r)}runTask(n,e,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,NC,pa,pa);try{return i.runTask(s,e,r)}finally{i.cancelTask(s)}}runGuarded(n,e,r){return this._inner.runGuarded(n,e,r)}runOutsideAngular(n){return this._outer.run(n)}},NC={};function ld(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function RC(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){ad(()=>{t.callbackScheduled=!1,wu(t),t.isCheckStableRunning=!0,ld(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),wu(t)}function OC(t){let n=()=>{RC(t)},e=xC++;t._inner=t._inner.fork({name:"angular",properties:{[cd]:!0,[vi]:e,[vi+e]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(kC(c))return r.invokeTask(i,s,a,c);try{return vm(t),r.invokeTask(i,s,a,c)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),ym(t)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return vm(t),r.invoke(i,s,a,c,l)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!FC(c)&&n(),ym(t)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,wu(t),ld(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function wu(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function vm(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function ym(t){t._nesting--,ld(t)}var yi=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new $;onMicrotaskEmpty=new $;onStable=new $;onError=new $;run(n,e,r){return n.apply(e,r)}runGuarded(n,e,r){return n.apply(e,r)}runOutsideAngular(n){return n()}runTask(n,e,r,o){return n.apply(e,r)}};function kC(t){return ig(t,"__ignore_ng_zone__")}function FC(t){return ig(t,"__scheduler_tick__")}function ig(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}var Ae=class{_console=console;handleError(n){this._console.error("ERROR",n)}},qt=new g("",{factory:()=>{let t=d(M),n=d(ce),e;return r=>{t.runOutsideAngular(()=>{n.destroyed&&!e?setTimeout(()=>{throw r}):(e??=n.get(Ae),e.handleError(r))})}}}),sg={provide:bn,useValue:()=>{let t=d(Ae,{optional:!0})},multi:!0};function oe(t,n){let[e,r,o]=$l(t,n?.equal),i=e,s=i[de];return i.set=r,i.update=o,i.asReadonly=xi.bind(i),i}function xi(){let t=this[de];if(t.readonlyFn===void 0){let n=()=>this();n[de]=t,t.readonlyFn=n}return t.readonlyFn}var co=(()=>{class t{view;node;constructor(e,r){this.view=e,this.node=r}static __NG_ELEMENT_ID__=PC}return t})();function PC(){return new co(w(),ue())}var ht=class{},lo=new g("",{factory:()=>!0});var Pa=new g(""),Tn=(()=>{class t{internalPendingTasks=d(Mn);scheduler=d(ht);errorHandler=d(qt);add(){let e=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(e)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(e))}}run(e){let r=this.add();e().catch(this.errorHandler).finally(r)}static \u0275prov=y({token:t,providedIn:"root",factory:()=>new t})}return t})(),La=(()=>{class t{static \u0275prov=y({token:t,providedIn:"root",factory:()=>new Iu})}return t})(),Iu=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let e=n.zone,r=this.queues.get(e);r.has(n)&&(r.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let e=n.zone;this.queues.has(e)||this.queues.set(e,new Set);let r=this.queues.get(e);r.has(n)||r.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[e,r]of this.queues)e===null?n||=this.flushQueue(r):n||=e.run(()=>this.flushQueue(r));n||(this.dirtyEffectCount=0)}}flushQueue(n){let e=!1;for(let r of n)r.dirty&&(this.dirtyEffectCount--,e=!0,r.run());return e}},ma=class{[de];constructor(n){this[de]=n}destroy(){this[de].destroy()}};function fr(t,n){let e=n?.injector??d(O),r=n?.manualCleanup!==!0?e.get($e):null,o,i=e.get(co,null,{optional:!0}),s=e.get(ht);return i!==null?(o=jC(i.view,s,t),r instanceof ha&&r._lView===i.view&&(r=null)):o=BC(t,e.get(La),s),o.injector=e,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new ma(o)}var ag=U(D({},zl),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let t=gi(!1);try{Gl(this)}finally{gi(t)}},cleanup(){if(!this.cleanupFns?.length)return;let t=S(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],S(t)}}}),LC=U(D({},ag),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(ln(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.scheduler.remove(this)}}),VC=U(D({},ag),{consumerMarkedDirty(){this.view[N]|=8192,ur(this.view),this.notifier.notify(13)},destroy(){if(ln(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.view[gn]?.delete(this)}});function jC(t,n,e){let r=Object.create(VC);return r.view=t,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=cg(r,e),t[gn]??=new Set,t[gn].add(r),r.consumerMarkedDirty(r),r}function BC(t,n,e){let r=Object.create(LC);return r.fn=cg(r,t),r.scheduler=n,r.notifier=e,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function cg(t,n){return()=>{n(e=>(t.cleanupFns??=[]).push(e))}}function Bi(t){return{toString:t}.toString()}function ZC(t){return typeof t=="function"}function Qg(t,n,e,r){n!==null?n.applyValueToInputSignal(n,r):t[e]=r}var Ya=class{previousValue;currentValue;firstChange;constructor(n,e,r){this.previousValue=n,this.currentValue=e,this.firstChange=r}isFirstChange(){return this.firstChange}},Le=(()=>{let t=()=>Jg;return t.ngInherit=!0,t})();function Jg(t){return t.type.prototype.ngOnChanges&&(t.setInput=XC),KC}function KC(){let t=tv(this),n=t?.current;if(n){let e=t.previous;if(e===pt)t.previous=n;else for(let r in n)e[r]=n[r];t.current=null,this.ngOnChanges(n)}}function XC(t,n,e,r,o){let i=this.declaredInputs[r],s=tv(t)||QC(t,{previous:pt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Ya(l&&l.currentValue,e,c===pt),Qg(t,n,o,e)}var ev="__ngSimpleChanges__";function tv(t){return t[ev]||null}function QC(t,n){return t[ev]=n}var lg=[];var Y=function(t,n=null,e){for(let r=0;r<lg.length;r++){let o=lg[r];o(t,n,e)}},z=(function(t){return t[t.TemplateCreateStart=0]="TemplateCreateStart",t[t.TemplateCreateEnd=1]="TemplateCreateEnd",t[t.TemplateUpdateStart=2]="TemplateUpdateStart",t[t.TemplateUpdateEnd=3]="TemplateUpdateEnd",t[t.LifecycleHookStart=4]="LifecycleHookStart",t[t.LifecycleHookEnd=5]="LifecycleHookEnd",t[t.OutputStart=6]="OutputStart",t[t.OutputEnd=7]="OutputEnd",t[t.BootstrapApplicationStart=8]="BootstrapApplicationStart",t[t.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",t[t.BootstrapComponentStart=10]="BootstrapComponentStart",t[t.BootstrapComponentEnd=11]="BootstrapComponentEnd",t[t.ChangeDetectionStart=12]="ChangeDetectionStart",t[t.ChangeDetectionEnd=13]="ChangeDetectionEnd",t[t.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",t[t.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",t[t.AfterRenderHooksStart=16]="AfterRenderHooksStart",t[t.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",t[t.ComponentStart=18]="ComponentStart",t[t.ComponentEnd=19]="ComponentEnd",t[t.DeferBlockStateStart=20]="DeferBlockStateStart",t[t.DeferBlockStateEnd=21]="DeferBlockStateEnd",t[t.DynamicComponentStart=22]="DynamicComponentStart",t[t.DynamicComponentEnd=23]="DynamicComponentEnd",t[t.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",t[t.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",t})(z||{});function JC(t,n,e){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=Jg(n);(e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s)}o&&(e.preOrderHooks??=[]).push(0-t,o),i&&((e.preOrderHooks??=[]).push(t,i),(e.preOrderCheckHooks??=[]).push(t,i))}function nv(t,n){for(let e=n.directiveStart,r=n.directiveEnd;e<r;e++){let i=t.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(t.contentHooks??=[]).push(-e,s),a&&((t.contentHooks??=[]).push(e,a),(t.contentCheckHooks??=[]).push(e,a)),c&&(t.viewHooks??=[]).push(-e,c),l&&((t.viewHooks??=[]).push(e,l),(t.viewCheckHooks??=[]).push(e,l)),u!=null&&(t.destroyHooks??=[]).push(e,u)}}function Ua(t,n,e){rv(t,n,3,e)}function $a(t,n,e,r){(t[N]&3)===e&&rv(t,n,e,r)}function ud(t,n){let e=t[N];(e&3)===n&&(e&=16383,e+=1,t[N]=e)}function rv(t,n,e,r){let o=r!==void 0?t[ar]&65535:0,i=r??-1,s=n.length-1,a=0;for(let c=o;c<s;c++)if(typeof n[c+1]=="number"){if(a=n[c],r!=null&&a>=r)break}else n[c]<0&&(t[ar]+=65536),(a<i||i==-1)&&(ew(t,e,n,c),t[ar]=(t[ar]&4294901760)+c+2),c++}function ug(t,n){Y(z.LifecycleHookStart,t,n);let e=S(null);try{n.call(t)}finally{S(e),Y(z.LifecycleHookEnd,t,n)}}function ew(t,n,e,r){let o=e[r]<0,i=e[r+1],s=o?-e[r]:e[r],a=t[s];o?t[N]>>14<t[ar]>>16&&(t[N]&3)===n&&(t[N]+=16384,ug(a,i)):ug(a,i)}var fo=-1,pr=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,e,r,o){this.factory=n,this.name=o,this.canSeeViewProviders=e,this.injectImpl=r}};function tw(t){return(t.flags&8)!==0}function nw(t){return(t.flags&16)!==0}function rw(t,n,e){let r=0;for(;r<e.length;){let o=e[r];if(typeof o=="number"){if(o!==0)break;r++;let i=e[r++],s=e[r++],a=e[r++];t.setAttribute(n,s,a,i)}else{let i=o,s=e[++r];ow(i)?t.setProperty(n,i,s):t.setAttribute(n,i,s),r++}}return r}function ov(t){return t===3||t===4||t===6}function ow(t){return t.charCodeAt(0)===64}function po(t,n){if(!(n===null||n.length===0))if(t===null||t.length===0)t=n.slice();else{let e=-1;for(let r=0;r<n.length;r++){let o=n[r];typeof o=="number"?e=o:e===0||(e===-1||e===2?dg(t,e,o,null,n[++r]):dg(t,e,o,null,null))}}return t}function dg(t,n,e,r,o){let i=0,s=t.length;if(n===-1)s=-1;else for(;i<t.length;){let a=t[i++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=i-1;break}}}for(;i<t.length;){let a=t[i];if(typeof a=="number")break;if(a===e){o!==null&&(t[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(t.splice(s,0,n),i=s+1),t.splice(i++,0,e),o!==null&&t.splice(i++,0,o)}function iv(t){return t!==fo}function Za(t){return t&32767}function iw(t){return t>>16}function Ka(t,n){let e=iw(t),r=n;for(;e>0;)r=r[sr],e--;return r}var Ed=!0;function Xa(t){let n=Ed;return Ed=t,n}var sw=256,sv=sw-1,av=5,aw=0,Ot={};function cw(t,n,e){let r;typeof e=="string"?r=e.charCodeAt(0)||0:e.hasOwnProperty(rr)&&(r=e[rr]),r==null&&(r=e[rr]=aw++);let o=r&sv,i=1<<o;n.data[t+(o>>av)]|=i}function Qa(t,n){let e=cv(t,n);if(e!==-1)return e;let r=n[I];r.firstCreatePass&&(t.injectorIndex=n.length,dd(r.data,t),dd(n,null),dd(r.blueprint,null));let o=af(t,n),i=t.injectorIndex;if(iv(o)){let s=Za(o),a=Ka(o,n),c=a[I].data;for(let l=0;l<8;l++)n[i+l]=a[s+l]|c[s+l]}return n[i+8]=o,i}function dd(t,n){t.push(0,0,0,0,0,0,0,0,n)}function cv(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function af(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,r=null,o=n;for(;o!==null;){if(r=hv(o),r===null)return fo;if(e++,o=o[sr],r.injectorIndex!==-1)return r.injectorIndex|e<<16}return fo}function Cd(t,n,e){cw(t,n,e)}function lw(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let r=e.length,o=0;for(;o<r;){let i=e[o];if(ov(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof e[o]=="string";)o++;else{if(i===n)return e[o+1];o=o+2}}}return null}function lv(t,n,e){if(e&8||t!==void 0)return t;Da(n,"NodeInjector")}function uv(t,n,e,r){if(e&8&&r===void 0&&(r=null),(e&3)===0){let o=t[Fe],i=Oe(void 0);try{return o?o.get(n,r,e&8):Ru(n,r,e&8)}finally{Oe(i)}}return lv(r,n,e)}function dv(t,n,e,r=0,o){if(t!==null){if(n[N]&2048&&!(r&2)){let s=hw(t,n,e,r,Ot);if(s!==Ot)return s}let i=fv(t,n,e,r,Ot);if(i!==Ot)return i}return uv(n,e,r,o)}function fv(t,n,e,r,o){let i=dw(e);if(typeof i=="function"){if(!rd(n,t,r))return r&1?lv(o,e,r):uv(n,e,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Da(e);else return s}finally{od()}}else if(typeof i=="number"){let s=null,a=cv(t,n),c=fo,l=r&1?n[Pe][ke]:null;for((a===-1||r&4)&&(c=a===-1?af(t,n):n[a+8],c===fo||!hg(r,!1)?a=-1:(s=n[I],a=Za(c),n=Ka(c,n)));a!==-1;){let u=n[I];if(fg(i,a,u.data)){let f=uw(a,n,e,s,r,l);if(f!==Ot)return f}c=n[a+8],c!==fo&&hg(r,n[I].data[a+8]===l)&&fg(i,a,n)?(s=u,a=Za(c),n=Ka(c,n)):a=-1}}return o}function uw(t,n,e,r,o,i){let s=n[I],a=s.data[t+8],c=r==null?Rt(a)&&Ed:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=za(a,s,e,c,l);return u!==null?ki(n,s,u,a,o):Ot}function za(t,n,e,r,o){let i=t.providerIndexes,s=n.data,a=i&1048575,c=t.directiveStart,l=t.directiveEnd,u=i>>20,f=r?a:a+u,h=o?a+u:l;for(let p=f;p<h;p++){let m=s[p];if(p<c&&e===m||p>=c&&m.type===e)return p}if(o){let p=s[c];if(p&&yt(p)&&p.type===e)return c}return null}function ki(t,n,e,r,o){let i=t[e],s=n.data;if(i instanceof pr){let a=i;if(a.resolving)throw Nu("");let c=Xa(a.canSeeViewProviders);a.resolving=!0;let l=s[e].type||s[e],u,f=a.injectImpl?Oe(a.injectImpl):null,h=rd(t,r,0);try{i=t[e]=a.factory(void 0,o,s,t,r),n.firstCreatePass&&e>=r.directiveStart&&JC(e,s[e],n)}finally{f!==null&&Oe(f),Xa(c),a.resolving=!1,od()}}return i}function dw(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(rr)?t[rr]:void 0;return typeof n=="number"?n>=0?n&sv:fw:n}function fg(t,n,e){let r=1<<t;return!!(e[n+(t>>av)]&r)}function hg(t,n){return!(t&2)&&!(t&1&&n)}var hr=class{_tNode;_lView;constructor(n,e){this._tNode=n,this._lView=e}get(n,e,r){return dv(this._tNode,this._lView,n,er(r),e)}};function fw(){return new hr(ue(),w())}function Ie(t){return Bi(()=>{let n=t.prototype.constructor,e=n[pi]||wd(n),r=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==r;){let i=o[pi]||wd(o);if(i&&i!==e)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function wd(t){return Su(t)?()=>{let n=wd(be(t));return n&&n()}:mn(t)}function hw(t,n,e,r,o){let i=t,s=n;for(;i!==null&&s!==null&&s[N]&2048&&!oo(s);){let a=fv(i,s,e,r|2,Ot);if(a!==Ot)return a;let c=i.parent;if(!c){let l=s[ju];if(l){let u=l.get(e,Ot,r&-5);if(u!==Ot)return u}c=hv(s),s=s[sr]}i=c}return o}function hv(t){let n=t[I],e=n.type;return e===2?n.declTNode:e===1?t[ke]:null}function cf(t){return lw(ue(),t)}function pw(){return Do(ue(),w())}function Do(t,n){return new B(rt(t,n))}var B=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=pw}return t})();function pv(t){return t instanceof B?t.nativeElement:t}function mw(){return this._results[Symbol.iterator]()}var Yt=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new C}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;let r=wm(n);(this._changesDetected=!Cm(this._results,r,e))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=mw};function mv(t){return(t.flags&128)===128}var lf=(function(t){return t[t.OnPush=0]="OnPush",t[t.Eager=1]="Eager",t[t.Default=1]="Default",t})(lf||{}),gv=new Map,gw=0;function vw(){return gw++}function yw(t){gv.set(t[$t],t)}function Id(t){gv.delete(t[$t])}var pg="__ngContext__";function mo(t,n){zt(n)?(t[pg]=n[$t],yw(n)):t[pg]=n}function vv(t){return _v(t[no])}function yv(t){return _v(t[tt])}function _v(t){for(;t!==null&&!vt(t);)t=t[tt];return t}var Sd;function uf(t){Sd=t}function bv(){if(Sd!==void 0)return Sd;if(typeof document<"u")return document;throw new E(210,!1)}var Rn=new g("",{factory:()=>_w}),_w="ng";var ac=new g(""),_r=new g("",{providedIn:"platform",factory:()=>"unknown"}),Hi=new g(""),br=new g("",{factory:()=>d(x).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Dv="r";var df="di",ff="s";var Ev=!1,Cv=new g("",{factory:()=>Ev});var wv=new g("");var mg=new WeakMap;function bw(t,n){if(t==null||typeof t!="object")return;let e=mg.get(t);e||(e=new WeakSet,mg.set(t,e)),e.add(n)}var Dw=(t,n,e,r)=>{};function Ew(t,n,e,r){Dw(t,n,e,r)}var Iv=new g("");function cc(t){return(t.flags&32)===32}var Cw=()=>null;function Sv(t,n,e=!1){return Cw(t,n,e)}function hf(t){return t.get(wv,!1,{optional:!0})}function Mv(t,n){let e=t.contentQueries;if(e!==null){let r=S(null);try{for(let o=0;o<e.length;o+=2){let i=e[o],s=e[o+1];if(s!==-1){let a=t.data[s];Ti(i),a.contentQueries(2,n[s],s)}}}finally{S(r)}}}function Md(t,n,e){Ti(0);let r=S(null);try{n(t,e)}finally{S(r)}}function pf(t,n,e){if(Bu(n)){let r=S(null);try{let o=n.directiveStart,i=n.directiveEnd;for(let s=o;s<i;s++){let a=t.data[s];if(a.contentQueries){let c=e[s];a.contentQueries(1,c,s)}}}finally{S(r)}}}var Dt=(function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t[t.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",t})(Dt||{});var Va;function ww(){if(Va===void 0&&(Va=null,_n.trustedTypes))try{Va=_n.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Va}function lc(t){return ww()?.createHTML(t)||t}var ja;function Tv(){if(ja===void 0&&(ja=null,_n.trustedTypes))try{ja=_n.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return ja}function gg(t){return Tv()?.createHTML(t)||t}function vg(t){return Tv()?.createScriptURL(t)||t}var Zt=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ga})`}},Td=class extends Zt{getTypeName(){return"HTML"}},Ad=class extends Zt{getTypeName(){return"Style"}},xd=class extends Zt{getTypeName(){return"Script"}},Nd=class extends Zt{getTypeName(){return"URL"}},Rd=class extends Zt{getTypeName(){return"ResourceURL"}};function Xe(t){return t instanceof Zt?t.changingThisBreaksApplicationSecurity:t}function Ft(t,n){let e=Av(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${ga})`)}return e===n}function Av(t){return t instanceof Zt&&t.getTypeName()||null}function mf(t){return new Td(t)}function gf(t){return new Ad(t)}function vf(t){return new xd(t)}function yf(t){return new Nd(t)}function _f(t){return new Rd(t)}function Iw(t){let n=new kd(t);return Sw()?new Od(n):n}var Od=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let e=new window.DOMParser().parseFromString(lc(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch(e){return null}}},kd=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=lc(n),e}};function Sw(){try{return!!new window.DOMParser().parseFromString(lc(""),"text/html")}catch(t){return!1}}var Mw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ui(t){return t=String(t),t.match(Mw)?t:"unsafe:"+t}function Kt(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function $i(...t){let n={};for(let e of t)for(let r in e)e.hasOwnProperty(r)&&(n[r]=!0);return n}var xv=Kt("area,br,col,hr,img,wbr"),Nv=Kt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Rv=Kt("rp,rt"),Tw=$i(Rv,Nv),Aw=$i(Nv,Kt("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),xw=$i(Rv,Kt("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),yg=$i(xv,Aw,xw,Tw),Ov=Kt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Nw=Kt("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Rw=Kt("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),Ow=$i(Ov,Nw,Rw),kw=Kt("script,style,template"),Fd=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let e=n.firstChild,r=!0,o=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?r=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,r&&e.firstChild){o.push(e),e=Lw(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let i=Pw(e);if(i){e=i;break}e=o.pop()}}return this.buf.join("")}startElement(n){let e=_g(n).toLowerCase();if(!yg.hasOwnProperty(e))return this.sanitizedSomething=!0,!kw.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let r=n.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!Ow.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Ov[a]&&(c=Ui(c)),this.buf.push(" ",s,'="',bg(c),'"')}return this.buf.push(">"),!0}endElement(n){let e=_g(n).toLowerCase();yg.hasOwnProperty(e)&&!xv.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(bg(n))}};function Fw(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Pw(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw kv(n);return n}function Lw(t){let n=t.firstChild;if(n&&Fw(t,n))throw kv(n);return n}function _g(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function kv(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var Vw=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,jw=/([^\#-~ |!])/g;function bg(t){return t.replace(/&/g,"&").replace(Vw,function(n){let e=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((e-55296)*1024+(r-56320)+65536)+";"}).replace(jw,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Ba;function uc(t,n){let e=null;try{Ba=Ba||Iw(t);let r=n?String(n):"";e=Ba.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=e.innerHTML,e=Ba.getInertBodyElement(r)}while(r!==i);let a=new Fd().sanitizeChildren(Dg(e)||e);return lc(a)}finally{if(e){let r=Dg(e)||e;for(;r.firstChild;)r.firstChild.remove()}}}function Dg(t){return"content"in t&&Bw(t)?t.content:null}function Bw(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Hw=/^>|^->|<!--|-->|--!>|<!-$/g,Uw=/(<|>)/g,$w="\u200B$1\u200B";function zw(t){return t.replace(Hw,n=>n.replace(Uw,$w))}function Gw(t,n){return t.createText(n)}function Ww(t,n,e){t.setValue(n,e)}function qw(t,n){return t.createComment(zw(n))}function Fv(t,n,e){return t.createElement(n,e)}function Ja(t,n,e,r,o){t.insertBefore(n,e,r,o)}function Pv(t,n,e){t.appendChild(n,e)}function Eg(t,n,e,r,o){r!==null?Ja(t,n,e,r,o):Pv(t,n,e)}function Lv(t,n,e,r){t.removeChild(null,n,e,r)}function Yw(t,n,e){t.setAttribute(n,"style",e)}function Zw(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function Vv(t,n,e){let{mergedAttrs:r,classes:o,styles:i}=e;r!==null&&rw(t,n,r),o!==null&&Zw(t,n,o),i!==null&&Yw(t,n,i)}var ve=(function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t[t.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",t})(ve||{});function Kw(t){let n=bf();return n?gg(n.sanitize(ve.HTML,t)||""):Ft(t,"HTML")?gg(Xe(t)):uc(bv(),or(t))}function Xw(t){let n=bf();return n?n.sanitize(ve.URL,t)||"":Ft(t,"URL")?Xe(t):Ui(or(t))}function Qw(t){let n=bf();if(n)return vg(n.sanitize(ve.RESOURCE_URL,t)||"");if(Ft(t,"ResourceURL"))return vg(Xe(t));throw new E(904,!1)}function bf(){let t=w();return t&&t[gt].sanitizer}function Jw(t){return t.ownerDocument}function eI(t,n,e){let r=t.length;for(;;){let o=t.indexOf(n,e);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let i=n.length;if(o+i===r||t.charCodeAt(o+i)<=32)return o}e=o+1}}var jv="ng-template";function tI(t,n,e,r){let o=0;if(r){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&eI(n[o+1].toLowerCase(),e,0)!==-1)return!0}else if(Df(t))return!1;if(o=n.indexOf(1,o),o>-1){let i;for(;++o<n.length&&typeof(i=n[o])=="string";)if(i.toLowerCase()===e)return!0}return!1}function Df(t){return t.type===4&&t.value!==jv}function nI(t,n,e){let r=t.type===4&&!e?jv:t.value;return n===r}function rI(t,n,e){let r=4,o=t.attrs,i=o!==null?sI(o):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!bt(r)&&!bt(c))return!1;if(s&&bt(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!nI(t,c,e)||c===""&&n.length===1){if(bt(r))return!1;s=!0}}else if(r&8){if(o===null||!tI(t,o,c,e)){if(bt(r))return!1;s=!0}}else{let l=n[++a],u=oI(c,o,Df(t),e);if(u===-1){if(bt(r))return!1;s=!0;continue}if(l!==""){let f;if(u>i?f="":f=o[u+1].toLowerCase(),r&2&&l!==f){if(bt(r))return!1;s=!0}}}}return bt(r)||s}function bt(t){return(t&1)===0}function oI(t,n,e,r){if(n===null)return-1;let o=0;if(r||!e){let i=!1;for(;o<n.length;){let s=n[o];if(s===t)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=n[++o];for(;typeof a=="string";)a=n[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return aI(n,t)}function Bv(t,n,e=!1){for(let r=0;r<n.length;r++)if(rI(t,n[r],e))return!0;return!1}function iI(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if((e&1)===0)return n[e+1]}return null}function sI(t){for(let n=0;n<t.length;n++){let e=t[n];if(ov(e))return n}return t.length}function aI(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){let r=t[e];if(typeof r=="number")return-1;if(r===n)return e;e++}return-1}function cI(t,n){e:for(let e=0;e<n.length;e++){let r=n[e];if(t.length===r.length){for(let o=0;o<t.length;o++)if(t[o]!==r[o])continue e;return!0}}return!1}function Cg(t,n){return t?":not("+n.trim()+")":n}function lI(t){let n=t[0],e=1,r=2,o="",i=!1;for(;e<t.length;){let s=t[e];if(typeof s=="string")if(r&2){let a=t[++e];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!bt(s)&&(n+=Cg(i,o),o=""),r=s,i=i||!bt(r);e++}return o!==""&&(n+=Cg(i,o)),n}function uI(t){return t.map(lI).join(",")}function dI(t){let n=[],e=[],r=1,o=2;for(;r<t.length;){let i=t[r];if(typeof i=="string")o===2?i!==""&&n.push(i,t[++r]):o===8&&e.push(i);else{if(!bt(o))break;o=i}r++}return e.length&&n.push(1,...e),n}var Ve={};function Ef(t,n,e,r,o,i,s,a,c,l,u){let f=K+r,h=f+o,p=fI(f,h),m=typeof l=="function"?l():l;return p[I]={type:t,blueprint:p,template:e,queries:null,viewQuery:a,declTNode:n,data:p.slice().fill(null,f),bindingStartIndex:f,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:m,incompleteFirstPass:!1,ssrId:u}}function fI(t,n){let e=[];for(let r=0;r<n;r++)e.push(r<t?null:Ve);return e}function hI(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=Ef(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function Cf(t,n,e,r,o,i,s,a,c,l,u){let f=n.blueprint.slice();return f[mt]=o,f[N]=r|4|128|8|64|1024,(l!==null||t&&t[N]&2048)&&(f[N]|=2048),$u(f),f[me]=f[sr]=t,f[he]=e,f[gt]=s||t&&t[gt],f[ee]=a||t&&t[ee],f[Fe]=c||t&&t[Fe]||null,f[ke]=i,f[$t]=vw(),f[ir]=u,f[ju]=l,f[Pe]=n.type==2?t[Pe]:f,f}function pI(t,n,e){let r=rt(n,t),o=hI(e),i=t[gt].rendererFactory,s=wf(t,Cf(t,o,null,Hv(e),r,n,null,i.createRenderer(r,e),null,null,null));return t[n.index]=s}function Hv(t){let n=16;return t.signals?n=4096:t.onPush&&(n=64),n}function Uv(t,n,e,r){if(e===0)return-1;let o=n.length;for(let i=0;i<e;i++)n.push(r),t.blueprint.push(r),t.data.push(null);return o}function wf(t,n){return t[no]?t[Vu][tt]=n:t[no]=n,t[Vu]=n,n}function If(t=1){$v(X(),w(),_t()+t,!1)}function $v(t,n,e,r){if(!r)if((n[N]&3)===3){let i=t.preOrderCheckHooks;i!==null&&Ua(n,i,e)}else{let i=t.preOrderHooks;i!==null&&$a(n,i,0,e)}Sn(e)}var dc=(function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t})(dc||{});function Pd(t,n,e,r){let o=S(null);try{let[i,s,a]=t.inputs[e],c=null;(s&dc.SignalBased)!==0&&(c=n[i][de]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(n,r)),t.setInput!==null?t.setInput(n,c,r,e,i):Qg(n,c,i,r)}finally{S(o)}}var kt=(function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t})(kt||{}),mI;function Sf(t,n){return mI(t,n)}var zj=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Ld=new WeakMap,Ni=new WeakSet;function gI(t,n){let e=Ld.get(t);if(!e||e.length===0)return;let r=n.parentNode,o=n.previousSibling;for(let i=e.length-1;i>=0;i--){let s=e[i],a=s.parentNode;s===n?(e.splice(i,1),Ni.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(e.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function vI(t,n){let e=Ld.get(t);e?e.includes(n)||e.push(n):Ld.set(t,[n])}var mr=new Set,fc=(function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t})(fc||{}),Et=new g(""),wg=new Set;function Pt(t){wg.has(t)||(wg.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var hc=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=y({token:t,providedIn:"root",factory:()=>new t})}return t})(),Mf=[0,1,2,3],Tf=(()=>{class t{ngZone=d(M);scheduler=d(ht);errorHandler=d(Ae,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){d(Et,{optional:!0})}execute(){let e=this.sequences.size>0;e&&Y(z.AfterRenderHooksStart),this.executing=!0;for(let r of Mf)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&Y(z.AfterRenderHooksEnd)}register(e){let{view:r}=e;r!==void 0?((r[cr]??=[]).push(e),ur(r),r[N]|=8192):this.executing?this.deferredRegistrations.add(e):this.addSequence(e)}addSequence(e){this.sequences.add(e),this.scheduler.notify(7)}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,r){return r?r.run(fc.AFTER_NEXT_RENDER,e):e()}static \u0275prov=y({token:t,providedIn:"root",factory:()=>new t})}return t})(),Fi=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,e,r,o,i,s=null){this.impl=n,this.hooks=e,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let n=this.view?.[cr];n&&(this.view[cr]=n.filter(e=>e!==this))}};function Ct(t,n){let e=n?.injector??d(O);return Pt("NgAfterNextRender"),_I(t,e,n,!0)}function yI(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function _I(t,n,e,r){let o=n.get(hc);o.impl??=n.get(Tf);let i=n.get(Et,null,{optional:!0}),s=e?.manualCleanup!==!0?n.get($e):null,a=n.get(co,null,{optional:!0}),c=new Fi(o.impl,yI(t),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var zv=new g("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:d(ce)})});function Gv(t,n,e){let r=t.get(zv);if(Array.isArray(n))for(let o of n)r.queue.add(o),e?.detachedLeaveAnimationFns?.push(o);else r.queue.add(n),e?.detachedLeaveAnimationFns?.push(n);r.scheduler&&r.scheduler(t)}function bI(t,n){let e=t.get(zv);if(n.detachedLeaveAnimationFns){for(let r of n.detachedLeaveAnimationFns)e.queue.delete(r);n.detachedLeaveAnimationFns=void 0}}function DI(t,n){for(let[e,r]of n)Gv(t,r.animateFns)}function Ig(t,n,e,r){let o=t?.[En]?.enter;n!==null&&o&&o.has(e.index)&&DI(r,o)}function uo(t,n,e,r,o,i,s,a){if(o!=null){let c,l=!1;vt(o)?c=o:zt(o)&&(l=!0,o=o[mt]);let u=nt(o);t===0&&r!==null?(Ig(a,r,i,e),s==null?Pv(n,r,u):Ja(n,r,u,s||null,!0)):t===1&&r!==null?(Ig(a,r,i,e),Ja(n,r,u,s||null,!0),gI(i,u)):t===2?(a?.[En]?.leave?.has(i.index)&&vI(i,u),Ni.delete(u),Sg(a,i,e,f=>{if(Ni.has(u)){Ni.delete(u);return}Lv(n,u,l,f)})):t===3&&(Ni.delete(u),Sg(a,i,e,()=>{n.destroyNode(u)})),c!=null&&RI(n,t,e,c,i,r,s)}}function EI(t,n){Wv(t,n),n[mt]=null,n[ke]=null}function CI(t,n,e,r,o,i){r[mt]=o,r[ke]=n,mc(t,r,e,1,o,i)}function Wv(t,n){n[gt].changeDetectionScheduler?.notify(9),mc(t,n,n[ee],2,null,null)}function wI(t){let n=t[no];if(!n)return fd(t[I],t);for(;n;){let e=null;if(zt(n))e=n[no];else{let r=n[le];r&&(e=r)}if(!e){for(;n&&!n[tt]&&n!==t;)zt(n)&&fd(n[I],n),n=n[me];n===null&&(n=t),zt(n)&&fd(n[I],n),e=n&&n[tt]}n=e}}function Af(t,n){let e=t[lr],r=e.indexOf(n);e.splice(r,1)}function pc(t,n){if(In(n))return;let e=n[ee];e.destroyNode&&mc(t,n,e,3,null,null),wI(n)}function fd(t,n){if(In(n))return;let e=S(null);try{n[N]&=-129,n[N]|=256,n[Ze]&&ln(n[Ze]),MI(t,n),SI(t,n),n[I].type===1&&n[ee].destroy();let r=n[Dn];if(r!==null&&vt(n[me])){r!==n[me]&&Af(r,n);let o=n[Nt];o!==null&&o.detachView(t)}Id(n)}finally{S(e)}}function Sg(t,n,e,r){let o=t?.[En];if(o==null||o.leave==null||!o.leave.has(n.index))return r(!1);t&&mr.add(t[$t]),Gv(e,()=>{if(o.leave&&o.leave.has(n.index)){let s=o.leave.get(n.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),II(t,r)}else t&&mr.delete(t[$t]),r(!1)},o)}function II(t,n){let e=t[En]?.running;if(e){e.then(()=>{t[En].running=void 0,mr.delete(t[$t]),n(!0)});return}n(!1)}function SI(t,n){let e=t.cleanup,r=n[to];if(e!==null)for(let s=0;s<e.length-1;s+=2)if(typeof e[s]=="string"){let a=e[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[e[s+1]];e[s].call(a)}r!==null&&(n[to]=null);let o=n[Ht];if(o!==null){n[Ht]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=n[gn];if(i!==null){n[gn]=null;for(let s of i)s.destroy()}}function MI(t,n){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let r=0;r<e.length;r+=2){let o=n[e[r]];if(!(o instanceof pr)){let i=e[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];Y(z.LifecycleHookStart,a,c);try{c.call(a)}finally{Y(z.LifecycleHookEnd,a,c)}}else{Y(z.LifecycleHookStart,o,i);try{i.call(o)}finally{Y(z.LifecycleHookEnd,o,i)}}}}}function qv(t,n,e){return TI(t,n.parent,e)}function TI(t,n,e){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return e[mt];if(Rt(r)){let{encapsulation:o}=t.data[r.directiveStart+r.componentOffset];if(o===Dt.None||o===Dt.Emulated)return null}return rt(r,e)}function Yv(t,n,e){return xI(t,n,e)}function AI(t,n,e){return t.type&40?rt(t,e):null}var xI=AI,Mg;function xf(t,n,e,r){let o=qv(t,r,n),i=n[ee],s=r.parent||n[ke],a=Yv(s,r,n);if(o!=null)if(Array.isArray(e))for(let c=0;c<e.length;c++)Eg(i,o,e[c],a,!1);else Eg(i,o,e,a,!1);Mg!==void 0&&Mg(i,r,n,e,o)}function Ri(t,n){if(n!==null){let e=n.type;if(e&3)return rt(n,t);if(e&4)return Vd(-1,t[n.index]);if(e&8){let r=n.child;if(r!==null)return Ri(t,r);{let o=t[n.index];return vt(o)?Vd(-1,o):nt(o)}}else{if(e&128)return Ri(t,n.next);if(e&32)return Sf(n,t)()||nt(t[n.index]);{let r=Zv(t,n);if(r!==null){if(Array.isArray(r))return r[0];let o=vn(t[Pe]);return Ri(o,r)}else return Ri(t,n.next)}}}return null}function Zv(t,n){if(n!==null){let r=t[Pe][ke],o=n.projection;return r.projection[o]}return null}function Vd(t,n){let e=le+t+1;if(e<n.length){let r=n[e],o=r[I].firstChild;if(o!==null)return Ri(r,o)}return n[wn]}function Nf(t,n,e,r,o,i,s){for(;e!=null;){let a=r[Fe];if(e.type===128){e=e.next;continue}let c=r[e.index],l=e.type;if(s&&n===0&&(c&&mo(nt(c),r),e.flags|=2),!cc(e))if(l&8)Nf(t,n,e.child,r,o,i,!1),uo(n,t,a,o,c,e,i,r);else if(l&32){let u=Sf(e,r),f;for(;f=u();)uo(n,t,a,o,f,e,i,r);uo(n,t,a,o,c,e,i,r)}else l&16?Kv(t,n,r,e,o,i):uo(n,t,a,o,c,e,i,r);e=s?e.projectionNext:e.next}}function mc(t,n,e,r,o,i){Nf(e,r,t.firstChild,n,o,i,!1)}function NI(t,n,e){let r=n[ee],o=qv(t,e,n),i=e.parent||n[ke],s=Yv(i,e,n);Kv(r,0,n,e,o,s)}function Kv(t,n,e,r,o,i){let s=e[Pe],c=s[ke].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];uo(n,t,e[Fe],o,u,r,i,e)}else{let l=c,u=s[me];mv(r)&&(l.flags|=128),Nf(t,n,l,u,o,i,!0)}}function RI(t,n,e,r,o,i,s){let a=r[wn],c=nt(r);a!==c&&uo(n,t,e,i,a,o,s);for(let l=le;l<r.length;l++){let u=r[l];mc(u[I],u,t,n,i,a)}}function OI(t,n,e,r,o){if(n)o?t.addClass(e,r):t.removeClass(e,r);else{let i=r.indexOf("-")===-1?void 0:kt.DashCase;o==null?t.removeStyle(e,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=kt.Important),t.setStyle(e,r,o,i))}}function Xv(t,n,e,r,o){let i=_t(),s=r&2;try{Sn(-1),s&&n.length>K&&$v(t,n,K,!1);let a=s?z.TemplateUpdateStart:z.TemplateCreateStart;Y(a,o,e),e(r,o)}finally{Sn(i);let a=s?z.TemplateUpdateEnd:z.TemplateCreateEnd;Y(a,o,e)}}function gc(t,n,e){VI(t,n,e),(e.flags&64)===64&&jI(t,n,e)}function zi(t,n,e=rt){let r=n.localNames;if(r!==null){let o=n.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?e(n,t):t[s];t[o++]=a}}}function kI(t,n,e,r){let i=r.get(Cv,Ev)||e===Dt.ShadowDom||e===Dt.ExperimentalIsolatedShadowDom,s=t.selectRootElement(n,i);if(s.tagName.toLowerCase()==="script")throw new E(905,!1);return FI(s),s}function FI(t){PI(t)}var PI=()=>null;function LI(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Qv(t,n,e,r,o,i){let s=n[I];if(vc(t,s,n,e,r)){Rt(t)&&ey(n,t.index);return}t.type&3&&(e=LI(e)),Jv(t,n,e,r,o,i)}function Jv(t,n,e,r,o,i){if(t.type&3){let s=rt(t,n);r=i!=null?i(r,t.value||"",e):r,o.setProperty(s,e,r)}else t.type&12}function ey(t,n){let e=ot(n,t);e[N]&16||(e[N]|=64)}function VI(t,n,e){let r=e.directiveStart,o=e.directiveEnd;Rt(e)&&pI(n,e,t.data[r+e.componentOffset]),t.firstCreatePass||Qa(e,n);let i=e.initialInputs;for(let s=r;s<o;s++){let a=t.data[s],c=ki(n,t,s,e);if(mo(c,n),i!==null&&UI(n,s-r,c,a,e,i),yt(a)){let l=ot(e.index,n);l[he]=ki(n,t,s,e)}}}function jI(t,n,e){let r=e.directiveStart,o=e.directiveEnd,i=e.index,s=qm();try{Sn(i);for(let a=r;a<o;a++){let c=t.data[a],l=n[a];Na(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&BI(c,l)}}finally{Sn(-1),Na(s)}}function BI(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function Rf(t,n){let e=t.directiveRegistry,r=null;if(e)for(let o=0;o<e.length;o++){let i=e[o];Bv(n,i.selectors,!1)&&(r??=[],yt(i)?r.unshift(i):r.push(i))}return r}function HI(t,n,e,r,o,i){let s=rt(t,n);ty(n[ee],s,i,t.value,e,r,o)}function ty(t,n,e,r,o,i,s){if(i==null)t.removeAttribute(n,o,e);else{let a=s==null?or(i):s(i,r||"",o);t.setAttribute(n,o,a,e)}}function UI(t,n,e,r,o,i){let s=i[n];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];Pd(r,e,c,l)}}function Of(t,n,e,r,o){let i=K+e,s=n[I],a=o(s,n,t,r,e);n[i]=a,dr(t,!0);let c=t.type===2;return c?(Vv(n[ee],a,t),(Vm()===0||ro(t))&&mo(a,n),jm()):mo(a,n),Fa()&&(!c||!cc(t))&&xf(s,n,a,t),t}function kf(t){let n=t;return Ju()?ed():(n=n.parent,dr(n,!1)),n}function Ff(t,n){let e=t[Fe];if(!e)return;let r;try{r=e.get(qt,null)}catch(o){r=null}r?.(n)}function vc(t,n,e,r,o){let i=t.inputs?.[r],s=t.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],f=n.data[l];Pd(f,e[l],u,o),a=!0}if(i)for(let c of i){let l=e[c],u=n.data[c];Pd(u,l,r,o),a=!0}return a}function $I(t,n){let e=ot(n,t),r=e[I];zI(r,e);let o=e[mt];o!==null&&e[ir]===null&&(e[ir]=Sv(o,e[Fe])),Y(z.ComponentStart);try{Pf(r,e,e[he])}finally{Y(z.ComponentEnd,e[he])}}function zI(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function Pf(t,n,e){Oa(n);try{let r=t.viewQuery;r!==null&&Md(1,r,e);let o=t.template;o!==null&&Xv(t,n,o,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[Nt]?.finishViewCreation(t),t.staticContentQueries&&Mv(t,n),t.staticViewQueries&&Md(2,t.viewQuery,e);let i=t.components;i!==null&&GI(n,i)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{n[N]&=-5,ka()}}function GI(t,n){for(let e=0;e<n.length;e++)$I(t,n[e])}function Eo(t,n,e,r){let o=S(null);try{let i=n.tView,a=t[N]&4096?4096:16,c=Cf(t,i,e,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=t[n.index];c[Dn]=l;let u=t[Nt];return u!==null&&(c[Nt]=u.createEmbeddedView(i)),Pf(i,c,e),c}finally{S(o)}}function gr(t,n){return!n||n.firstChild===null||mv(t)}function Pi(t,n,e,r,o=!1){for(;e!==null;){if(e.type===128){e=o?e.projectionNext:e.next;continue}let i=n[e.index];i!==null&&r.push(nt(i)),vt(i)&&ny(i,r);let s=e.type;if(s&8)Pi(t,n,e.child,r);else if(s&32){let a=Sf(e,n),c;for(;c=a();)r.push(c)}else if(s&16){let a=Zv(n,e);if(Array.isArray(a))r.push(...a);else{let c=vn(n[Pe]);Pi(c[I],c,a,r,!0)}}e=o?e.projectionNext:e.next}return r}function ny(t,n){for(let e=le;e<t.length;e++){let r=t[e],o=r[I].firstChild;o!==null&&Pi(r[I],r,o,n)}t[wn]!==t[mt]&&n.push(t[wn])}function ry(t){if(t[cr]!==null){for(let n of t[cr])n.impl.addSequence(n);t[cr].length=0}}var oy=[];function WI(t){return t[Ze]??qI(t)}function qI(t){let n=oy.pop()??Object.create(ZI);return n.lView=t,n}function YI(t){t.lView[Ze]!==t&&(t.lView=null,oy.push(t))}var ZI=U(D({},sn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{ur(t.lView)},consumerOnSignalRead(){this.lView[Ze]=this}});function KI(t){let n=t[Ze]??Object.create(XI);return n.lView=t,n}var XI=U(D({},sn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let n=vn(t.lView);for(;n&&!iy(n[I]);)n=vn(n);n&&zu(n)},consumerOnSignalRead(){this.lView[Ze]=this}});function iy(t){return t.type!==2}function sy(t){if(t[gn]===null)return;let n=!0;for(;n;){let e=!1;for(let r of t[gn])r.dirty&&(e=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=e&&!!(t[N]&8192)}}var QI=100;function ay(t,n=0){let r=t[gt].rendererFactory,o=!1;o||r.begin?.();try{JI(t,n)}finally{o||r.end?.()}}function JI(t,n){let e=nd();try{gi(!0),jd(t,n);let r=0;for(;Mi(t);){if(r===QI)throw new E(103,!1);r++,jd(t,1)}}finally{gi(e)}}function eS(t,n,e,r){if(In(n))return;let o=n[N],i=!1,s=!1;Oa(n);let a=!0,c=null,l=null;i||(iy(t)?(l=WI(n),c=Vt(l)):Os()===null?(a=!1,l=KI(n),c=Vt(l)):n[Ze]&&(ln(n[Ze]),n[Ze]=null));try{$u(n),zm(t.bindingStartIndex),e!==null&&Xv(t,n,e,2,r);let u=(o&3)===3;if(!i)if(u){let p=t.preOrderCheckHooks;p!==null&&Ua(n,p,null)}else{let p=t.preOrderHooks;p!==null&&$a(n,p,0,null),ud(n,0)}if(s||tS(n),sy(n),cy(n,0),t.contentQueries!==null&&Mv(t,n),!i)if(u){let p=t.contentCheckHooks;p!==null&&Ua(n,p)}else{let p=t.contentHooks;p!==null&&$a(n,p,1),ud(n,1)}rS(t,n);let f=t.components;f!==null&&uy(n,f,0);let h=t.viewQuery;if(h!==null&&Md(2,h,r),!i)if(u){let p=t.viewCheckHooks;p!==null&&Ua(n,p)}else{let p=t.viewHooks;p!==null&&$a(n,p,2),ud(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[Ia]){for(let p of n[Ia])p();n[Ia]=null}i||(ry(n),n[N]&=-73)}catch(u){throw i||ur(n),u}finally{l!==null&&(cn(l,c),a&&YI(l)),ka()}}function cy(t,n){for(let e=vv(t);e!==null;e=yv(e))for(let r=le;r<e.length;r++){let o=e[r];ly(o,n)}}function tS(t){for(let n=vv(t);n!==null;n=yv(n)){if(!(n[N]&2))continue;let e=n[lr];for(let r=0;r<e.length;r++){let o=e[r];zu(o)}}}function nS(t,n,e){Y(z.ComponentStart);let r=ot(n,t);try{ly(r,e)}finally{Y(z.ComponentEnd,r[he])}}function ly(t,n){Sa(t)&&jd(t,n)}function jd(t,n){let r=t[I],o=t[N],i=t[Ze],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&Pr(i)),s||=!1,i&&(i.dirty=!1),t[N]&=-9217,s)eS(r,t,r.template,t[he]);else if(o&8192){let a=S(null);try{sy(t),cy(t,1);let c=r.components;c!==null&&uy(t,c,1),ry(t)}finally{S(a)}}}function uy(t,n,e){for(let r=0;r<n.length;r++)nS(t,n[r],e)}function rS(t,n){let e=t.hostBindingOpCodes;if(e!==null)try{for(let r=0;r<e.length;r++){let o=e[r];if(o<0)Sn(~o);else{let i=o,s=e[++r],a=e[++r];Wm(s,i);let c=n[i];Y(z.HostBindingsUpdateStart,c);try{a(2,c)}finally{Y(z.HostBindingsUpdateEnd,c)}}}}finally{Sn(-1)}}function yc(t,n){let e=nd()?64:1088;for(t[gt].changeDetectionScheduler?.notify(n);t;){t[N]|=e;let r=vn(t);if(oo(t)&&!r)return t;t=r}return null}function dy(t,n,e,r){return[t,!0,0,n,null,r,null,e,null,null]}function fy(t,n){let e=le+n;if(e<t.length)return t[e]}function Co(t,n,e,r=!0){let o=n[I];if(oS(o,n,t,e),r){let s=Vd(e,t),a=n[ee],c=a.parentNode(t[wn]);c!==null&&CI(o,t[ke],a,n,c,s)}let i=n[ir];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Lf(t,n){let e=Li(t,n);return e!==void 0&&pc(e[I],e),e}function Li(t,n){if(t.length<=le)return;let e=le+n,r=t[e];if(r){let o=r[Dn];o!==null&&o!==t&&Af(o,r),n>0&&(t[e-1][tt]=r[tt]);let i=Ei(t,le+n);EI(r[I],r);let s=i[Nt];s!==null&&s.detachView(i[I]),r[me]=null,r[tt]=null,r[N]&=-129}return r}function oS(t,n,e,r){let o=le+r,i=e.length;r>0&&(e[o-1][tt]=n),r<i-le?(n[tt]=e[o],Ou(e,le+r,n)):(e.push(n),n[tt]=null),n[me]=e;let s=n[Dn];s!==null&&e!==s&&hy(s,n);let a=n[Nt];a!==null&&a.insertView(t),Ma(n),n[N]|=128}function hy(t,n){let e=t[lr],r=n[me];if(zt(r))t[N]|=2;else{let o=r[me][Pe];n[Pe]!==o&&(t[N]|=2)}e===null?t[lr]=[n]:e.push(n)}var xn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,e=n[I];return Pi(e,n,e.firstChild,[])}constructor(n,e){this._lView=n,this._cdRefInjectingView=e}get context(){return this._lView[he]}set context(n){this._lView[he]=n}get destroyed(){return In(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[me];if(vt(n)){let e=n[Ii],r=e?e.indexOf(this):-1;r>-1&&(Li(n,r),Ei(e,r))}this._attachedToViewContainer=!1}pc(this._lView[I],this._lView)}onDestroy(n){Ta(this._lView,n)}markForCheck(){yc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[N]&=-129}reattach(){Ma(this._lView),this._lView[N]|=128}detectChanges(){this._lView[N]|=1024,ay(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=oo(this._lView),e=this._lView[Dn];e!==null&&!n&&Af(e,this._lView),Wv(this._lView[I],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=n;let e=oo(this._lView),r=this._lView[Dn];r!==null&&!e&&hy(r,this._lView),Ma(this._lView)}};var xe=(()=>{class t{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=iS;constructor(e,r,o){this._declarationLView=e,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,o){let i=Eo(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:o});return new xn(i)}}return t})();function iS(){return _c(ue(),w())}function _c(t,n){return t.type&4?new xe(n,t,Do(t,n)):null}function Dr(t,n,e,r,o){let i=t.data[n];if(i===null)i=sS(t,n,e,r,o),Gm()&&(i.flags|=32);else if(i.type&64){i.type=e,i.value=r,i.attrs=o;let s=Um();i.injectorIndex=s===null?-1:s.injectorIndex}return dr(i,!0),i}function sS(t,n,e,r,o){let i=Qu(),s=Ju(),a=s?i:i&&i.parent,c=t.data[n]=cS(t,a,e,n,r,o);return aS(t,c,i,s),c}function aS(t,n,e,r){t.firstChild===null&&(t.firstChild=n),e!==null&&(r?e.child==null&&n.parent!==null&&(e.child=n):e.next===null&&(e.next=n,n.prev=e))}function cS(t,n,e,r,o,i){let s=n?n.injectorIndex:-1,a=0;return Zu()&&(a|=128),{type:e,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:id(),attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function lS(t){let n=t[Cn]??[],r=t[me][ee],o=[];for(let i of n)i.data[df]!==void 0?o.push(i):uS(i,r);t[Cn]=o}function uS(t,n){let e=0,r=t.firstChild;if(r){let o=t.data[Dv];for(;e<o;){let i=r.nextSibling;Lv(n,r,!1),r=i,e++}}}var dS=()=>null,fS=()=>null;function ec(t,n){return dS(t,n)}function py(t,n,e){return fS(t,n,e)}var my=class{},bc=class{},Bd=class{resolveComponentFactory(n){throw new E(917,!1)}},Dc=class{static NULL=new Bd},Ee=class{},We=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>hS()}return t})();function hS(){let t=w(),n=ue(),e=ot(n.index,t);return(zt(e)?e:t)[ee]}var gy=(()=>{class t{static \u0275prov=y({token:t,providedIn:"root",factory:()=>null})}return t})();var Ga={},ho=class{injector;parentInjector;constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,r){let o=this.injector.get(n,Ga,r);return o!==Ga||e===Ga?o:this.parentInjector.get(n,e,r)}};function tc(t,n,e){let r=e?t.styles:null,o=e?t.classes:null,i=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")i=a;else if(i==1)o=ya(o,a);else if(i==2){let c=a,l=n[++s];r=ya(r,c+": "+l+";")}}e?t.styles=r:t.stylesWithoutHost=r,e?t.classes=o:t.classesWithoutHost=o}function H(t,n=0){let e=w();if(e===null)return T(t,n);let r=ue();return dv(r,e,be(t),n)}function pS(){let t="invalid";throw new Error(t)}function vy(t,n,e,r,o){let i=r===null?null:{"":-1},s=o(t,e);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}vS(t,n,e,a,i,c,l)}i!==null&&r!==null&&mS(e,r,i)}function mS(t,n,e){let r=t.localNames=[];for(let o=0;o<n.length;o+=2){let i=e[n[o+1]];if(i==null)throw new E(-301,!1);r.push(n[o],i)}}function gS(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function vS(t,n,e,r,o,i,s){let a=r.length,c=null;for(let h=0;h<a;h++){let p=r[h];c===null&&yt(p)&&(c=p,gS(t,e,h)),Cd(Qa(e,n),t,p.type)}CS(e,t.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let h=0;h<a;h++){let p=r[h];p.providersResolver&&p.providersResolver(p)}let l=!1,u=!1,f=Uv(t,n,a,null);a>0&&(e.directiveToIndex=new Map);for(let h=0;h<a;h++){let p=r[h];if(e.mergedAttrs=po(e.mergedAttrs,p.hostAttrs),_S(t,e,n,f,p),ES(f,p,o),s!==null&&s.has(p)){let[v,_]=s.get(p);e.directiveToIndex.set(p.type,[f,v+e.directiveStart,_+e.directiveStart])}else(i===null||!i.has(p))&&e.directiveToIndex.set(p.type,f);p.contentQueries!==null&&(e.flags|=4),(p.hostBindings!==null||p.hostAttrs!==null||p.hostVars!==0)&&(e.flags|=64);let m=p.type.prototype;!l&&(m.ngOnChanges||m.ngOnInit||m.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),l=!0),!u&&(m.ngOnChanges||m.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),u=!0),f++}yS(t,e,i)}function yS(t,n,e){for(let r=n.directiveStart;r<n.directiveEnd;r++){let o=t.data[r];if(e===null||!e.has(o))Tg(0,n,o,r),Tg(1,n,o,r),xg(n,r,!1);else{let i=e.get(o);Ag(0,n,i,r),Ag(1,n,i,r),xg(n,r,!0)}}}function Tg(t,n,e,r){let o=t===0?e.inputs:e.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;t===0?s=n.inputs??={}:s=n.outputs??={},s[i]??=[],s[i].push(r),yy(n,i)}}function Ag(t,n,e,r){let o=t===0?e.inputs:e.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;t===0?a=n.hostDirectiveInputs??={}:a=n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),yy(n,s)}}function yy(t,n){n==="class"?t.flags|=8:n==="style"&&(t.flags|=16)}function xg(t,n,e){let{attrs:r,inputs:o,hostDirectiveInputs:i}=t;if(r===null||!e&&o===null||e&&i===null||Df(t)){t.initialInputs??=[],t.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!e&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===n){s??=[],s.push(c,r[a+1]);break}}else if(e&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===n){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}t.initialInputs??=[],t.initialInputs.push(s)}function _S(t,n,e,r,o){t.data[r]=o;let i=o.factory||(o.factory=mn(o.type,!0)),s=new pr(i,yt(o),H,null);t.blueprint[r]=s,e[r]=s,bS(t,n,r,Uv(t,e,o.hostVars,Ve),o)}function bS(t,n,e,r,o){let i=o.hostBindings;if(i){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~n.index;DS(s)!=a&&s.push(a),s.push(e,r,i)}}function DS(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function ES(t,n,e){if(e){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)e[n.exportAs[r]]=t;yt(n)&&(e[""]=t)}}function CS(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function Vf(t,n,e,r,o,i,s,a){let c=n[I],l=c.consts,u=Ke(l,s),f=Dr(c,t,e,r,u);return i&&vy(c,n,f,Ke(l,a),o),f.mergedAttrs=po(f.mergedAttrs,f.attrs),f.attrs!==null&&tc(f,f.attrs,!1),f.mergedAttrs!==null&&tc(f,f.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,f),f}function jf(t,n){nv(t,n),Bu(n)&&t.queries.elementEnd(n)}function wS(t,n,e,r,o,i){let s=n.consts,a=Ke(s,o),c=Dr(n,t,e,r,a);if(c.mergedAttrs=po(c.mergedAttrs,c.attrs),i!=null){let l=Ke(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&tc(c,c.attrs,!1),c.mergedAttrs!==null&&tc(c,c.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,c),c}function Bf(t){return by(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function _y(t,n){if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{let e=t[Symbol.iterator](),r;for(;!(r=e.next()).done;)n(r.value)}}function by(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Gi(t,n,e){return t[n]=e}function Dy(t,n){return t[n]}function Ge(t,n,e){if(e===Ve)return!1;let r=t[n];return Object.is(r,e)?!1:(t[n]=e,!0)}function go(t,n,e,r){let o=Ge(t,n,e);return Ge(t,n+1,r)||o}function IS(t,n,e,r,o){let i=go(t,n,e,r);return Ge(t,n+2,o)||i}function SS(t,n,e,r,o,i){let s=go(t,n,e,r);return go(t,n+2,o,i)||s}function Wa(t,n,e){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&bw(o,i);let s=Rt(t)?ot(t.index,n):n;yc(s,5);let a=n[he],c=Ng(n,a,e,o),l=r.__ngNextListenerFn__;for(;l;)c=Ng(n,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function Ng(t,n,e,r){let o=S(null);try{return Y(z.OutputStart,n,e),e(r)!==!1}catch(i){return Ff(t,i),!1}finally{Y(z.OutputEnd,n,e),S(o)}}function Ey(t,n,e,r,o,i,s,a){let c=ro(t),l=!1,u=null;if(!r&&c&&(u=TS(n,e,i,t.index)),u!==null){let f=u.__ngLastListenerFn__||u;f.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let f=rt(t,e),h=r?r(f):f;Ew(e,h,i,a),r||(a.__ngNativeEl__=f);let p=o.listen(h,i,a);if(!MS(i)){let m=r?v=>r(nt(v[t.index])):t.index;Cy(m,n,e,i,a,p,!1)}}return l}function MS(t){return t.startsWith("animation")||t.startsWith("transition")}function TS(t,n,e,r){let o=t.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===e&&o[i+1]===r){let a=n[to],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Cy(t,n,e,r,o,i,s){let a=n.firstCreatePass?qu(n):null,c=Wu(e),l=c.length;c.push(o,i),a&&a.push(r,t,l,(l+1)*(s?-1:1))}function Rg(t,n,e,r,o,i){let s=n[e],a=n[I],l=a.data[e].outputs[r],f=s[l].subscribe(i);Cy(t.index,a,n,o,i,f,!0)}var Hd=Symbol("BINDING");function wy(t){return t.debugInfo?.className||t.type.name||null}var Ud=class extends Dc{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=Ut(n);return new vo(e,this.ngModule)}};function AS(t){return Object.keys(t).map(n=>{let[e,r,o]=t[n],i={propName:e,templateName:n,isSignal:(r&dc.SignalBased)!==0};return o&&(i.transform=o),i})}function xS(t){return Object.keys(t).map(n=>({propName:t[n],templateName:n}))}function NS(t,n,e){let r=n instanceof ce?n:n?.injector;return r&&t.getStandaloneInjector!==null&&(r=t.getStandaloneInjector(r)||r),r?new ho(e,r):e}function RS(t){let n=t.get(Ee,null);if(n===null)throw new E(407,!1);let e=t.get(gy,null),r=t.get(ht,null),o=t.get(Et,null,{optional:!0});return{rendererFactory:n,sanitizer:e,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function OS(t,n){let e=Iy(t);return Fv(n,e,e==="svg"?Hu:e==="math"?Om:null)}function Iy(t){return(t.selectors[0][0]||"div").toLowerCase()}var vo=class extends bc{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=AS(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=xS(this.componentDef.outputs),this.cachedOutputs}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=uI(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!e}create(n,e,r,o,i,s){Y(z.DynamicComponentStart);let a=S(null);try{let c=this.componentDef,l=NS(c,o||this.ngModule,n),u=RS(l),f=u.tracingService;return f&&f.componentCreate?f.componentCreate(wy(c),()=>this.createComponentRef(u,l,e,r,i,s)):this.createComponentRef(u,l,e,r,i,s)}finally{S(a)}}createComponentRef(n,e,r,o,i,s){let a=this.componentDef,c=kS(o,a,s,i),l=n.rendererFactory.createRenderer(null,a),u=o?kI(l,o,a.encapsulation,e):OS(a,l),f=s?.some(Og)||i?.some(m=>typeof m!="function"&&m.bindings.some(Og)),h=Cf(null,c,null,512|Hv(a),null,null,n,l,e,null,Sv(u,e,!0));h[K]=u,Oa(h);let p=null;try{let m=Vf(K,h,2,"#host",()=>c.directiveRegistry,!0,0);Vv(l,u,m),mo(u,h),gc(c,h,m),pf(c,m,h),jf(c,m),r!==void 0&&PS(m,this.ngContentSelectors,r),p=ot(m.index,h),h[he]=p[he],Pf(c,h,null)}catch(m){throw p!==null&&Id(p),Id(h),m}finally{Y(z.DynamicComponentEnd),ka()}return new nc(this.componentType,h,!!f)}};function kS(t,n,e,r){let o=t?["ng-version","21.2.16"]:dI(n.selectors[0]),i=null,s=null,a=0;if(e)for(let u of e)a+=u[Hd].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let f=r[u];if(typeof f!="function")for(let h of f.bindings){a+=h[Hd].requiredVars;let p=u+1;h.create&&(h.targetIdx=p,(i??=[]).push(h)),h.update&&(h.targetIdx=p,(s??=[]).push(h))}}let c=[n];if(r)for(let u of r){let f=typeof u=="function"?u:u.type,h=Di(f);c.push(h)}return Ef(0,null,FS(i,s),1,a,c,null,null,null,[o],null)}function FS(t,n){return!t&&!n?null:e=>{if(e&1&&t)for(let r of t)r.create();if(e&2&&n)for(let r of n)r.update()}}function Og(t){let n=t[Hd].kind;return n==="input"||n==="twoWay"}var nc=class extends my{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,e,r){super(),this._rootLView=e,this._hasInputBindings=r,this._tNode=io(e[I],K),this.location=Do(this._tNode,e),this.instance=ot(this._tNode.index,e)[he],this.hostView=this.changeDetectorRef=new xn(e,void 0),this.componentType=n}setInput(n,e){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let o=this._rootLView,i=vc(r,o[I],o,n,e);this.previousInputValues.set(n,e);let s=ot(r.index,o);yc(s,1)}get injector(){return new hr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function PS(t,n,e){let r=t.projection=[];for(let o=0;o<n.length;o++){let i=e[o];r.push(i!=null&&i.length?Array.from(i):null)}}var je=(()=>{class t{static __NG_ELEMENT_ID__=LS}return t})();function LS(){let t=ue();return Sy(t,w())}var $d=class t extends je{_lContainer;_hostTNode;_hostLView;constructor(n,e,r){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=r}get element(){return Do(this._hostTNode,this._hostLView)}get injector(){return new hr(this._hostTNode,this._hostLView)}get parentInjector(){let n=af(this._hostTNode,this._hostLView);if(iv(n)){let e=Ka(n,this._hostLView),r=Za(n),o=e[I].data[r+8];return new hr(o,e)}else return new hr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=kg(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-le}createEmbeddedView(n,e,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=ec(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(e||{},i,s);return this.insertImpl(a,o,gr(this._hostTNode,s)),a}createComponent(n,e,r,o,i,s,a){let c=n&&!ZC(n),l;if(c)l=e;else{let _=e||{};l=_.index,r=_.injector,o=_.projectableNodes,i=_.environmentInjector||_.ngModuleRef,s=_.directives,a=_.bindings}let u=c?n:new vo(Ut(n)),f=r||this.parentInjector;if(!i&&u.ngModule==null){let b=(c?f:this.parentInjector).get(ce,null);b&&(i=b)}let h=Ut(u.componentType??{}),p=ec(this._lContainer,h?.id??null),m=p?.firstChild??null,v=u.create(f,o,m,i,s,a);return this.insertImpl(v.hostView,l,gr(this._hostTNode,p)),v}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,r){let o=n._lView;if(Fm(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[me],l=new t(c,c[ke],c[me]);l.detach(l.indexOf(n))}}let i=this._adjustIndex(e),s=this._lContainer;return Co(s,o,i,r),n.attachToViewContainerRef(),Ou(hd(s),i,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=kg(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),r=Li(this._lContainer,e);r&&(Ei(hd(this._lContainer),e),pc(r[I],r))}detach(n){let e=this._adjustIndex(n,-1),r=Li(this._lContainer,e);return r&&Ei(hd(this._lContainer),e)!=null?new xn(r):null}_adjustIndex(n,e=0){return n??this.length+e}};function kg(t){return t[Ii]}function hd(t){return t[Ii]||(t[Ii]=[])}function Sy(t,n){let e,r=n[t.index];return vt(r)?e=r:(e=dy(r,n,null,t),n[t.index]=e,wf(n,e)),jS(e,n,t,r),new $d(e,t,n)}function VS(t,n){let e=t[ee],r=e.createComment(""),o=rt(n,t),i=e.parentNode(o);return Ja(e,i,r,e.nextSibling(o),!1),r}var jS=HS,BS=()=>!1;function My(t,n,e){return BS(t,n,e)}function HS(t,n,e,r){if(t[wn])return;let o;e.type&8?o=nt(r):o=VS(n,e),t[wn]=o}var zd=class t{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Gd=class t{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let r=n.contentQueries!==null?n.contentQueries[0]:e.length,o=[];for(let i=0;i<r;i++){let s=e.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new t(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let e=0;e<this.queries.length;e++)Uf(n,e).matches!==null&&this.queries[e].setDirty()}},rc=class{flags;read;predicate;constructor(n,e,r=null){this.flags=e,this.read=r,typeof n=="string"?this.predicate=WS(n):this.predicate=n}},Wd=class t{queries;constructor(n=[]){this.queries=n}elementStart(n,e){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(n,e)}elementEnd(n){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(n)}embeddedTView(n){let e=null;for(let r=0;r<this.length;r++){let o=e!==null?e.length:0,i=this.getByIndex(r).embeddedTView(n,o);i&&(i.indexInDeclarationView=r,e!==null?e.push(i):e=[i])}return e!==null?new t(e):null}template(n,e){for(let r=0;r<this.queries.length;r++)this.queries[r].template(n,e)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},qd=class t{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,e=-1){this.metadata=n,this._declarationNodeIndex=e}elementStart(n,e){this.isApplyingToNode(e)&&this.matchTNode(n,e)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,e){this.elementStart(n,e)}embeddedTView(n,e){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,e),new t(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let e=this._declarationNodeIndex,r=n.parent;for(;r!==null&&r.type&8&&r.index!==e;)r=r.parent;return e===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(n,e){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(n,e,US(e,i)),this.matchTNodeWithReadOption(n,e,za(e,n,i,!1,!1))}else r===xe?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,za(e,n,r,!1,!1))}matchTNodeWithReadOption(n,e,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===B||o===je||o===xe&&e.type&4)this.addMatch(e.index,-2);else{let i=za(e,n,o,!1,!1);i!==null&&this.addMatch(e.index,i)}else this.addMatch(e.index,r)}}addMatch(n,e){this.matches===null?this.matches=[n,e]:this.matches.push(n,e)}};function US(t,n){let e=t.localNames;if(e!==null){for(let r=0;r<e.length;r+=2)if(e[r]===n)return e[r+1]}return null}function $S(t,n){return t.type&11?Do(t,n):t.type&4?_c(t,n):null}function zS(t,n,e,r){return e===-1?$S(n,t):e===-2?GS(t,n,r):ki(t,t[I],e,n)}function GS(t,n,e){if(e===B)return Do(n,t);if(e===xe)return _c(n,t);if(e===je)return Sy(n,t)}function Ty(t,n,e,r){let o=n[Nt].queries[r];if(o.matches===null){let i=t.data,s=e.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(zS(n,u,s[c+1],e.metadata.read))}}o.matches=a}return o.matches}function Yd(t,n,e,r){let o=t.queries.getByIndex(e),i=o.matches;if(i!==null){let s=Ty(t,n,o,e);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=n[-c];for(let f=le;f<u.length;f++){let h=u[f];h[Dn]===h[me]&&Yd(h[I],h,l,r)}if(u[lr]!==null){let f=u[lr];for(let h=0;h<f.length;h++){let p=f[h];Yd(p[I],p,l,r)}}}}}return r}function Hf(t,n){return t[Nt].queries[n].queryList}function Ay(t,n,e){let r=new Yt((e&4)===4);return Lm(t,n,r,r.destroy),(n[Nt]??=new Gd).queries.push(new zd(r))-1}function xy(t,n,e){let r=X();return r.firstCreatePass&&(Ry(r,new rc(t,n,e),-1),(n&2)===2&&(r.staticViewQueries=!0)),Ay(r,w(),n)}function Ny(t,n,e,r){let o=X();if(o.firstCreatePass){let i=ue();Ry(o,new rc(n,e,r),i.index),qS(o,t),(e&2)===2&&(o.staticContentQueries=!0)}return Ay(o,w(),e)}function WS(t){return t.split(",").map(n=>n.trim())}function Ry(t,n,e){t.queries===null&&(t.queries=new Wd),t.queries.track(new qd(n,e))}function qS(t,n){let e=t.contentQueries||(t.contentQueries=[]),r=e.length?e[e.length-1]:-1;n!==r&&e.push(t.queries.length-1,n)}function Uf(t,n){return t.queries.getByIndex(n)}function Oy(t,n){let e=t[I],r=Uf(e,n);return r.crossesNgTemplate?Yd(e,t,n,[]):Ty(e,t,r,n)}function $f(t,n,e){let r,o=Xo(()=>{r._dirtyCounter();let i=YS(r,t);if(n&&i===void 0)throw new E(-951,!1);return i});return r=o[de],r._dirtyCounter=oe(0),r._flatValue=void 0,o}function zf(t){return $f(!0,!1,t)}function Gf(t){return $f(!0,!0,t)}function Wf(t){return $f(!1,!1,t)}function ky(t,n){let e=t[de];e._lView=w(),e._queryIndex=n,e._queryList=Hf(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(r=>r+1))}function YS(t,n){let e=t._lView,r=t._queryIndex;if(e===void 0||r===void 0||e[N]&4)return n?void 0:Te;let o=Hf(e,r),i=Oy(e,r);return o.reset(i,pv),n?o.first:o._changesDetected||t._flatValue===void 0?t._flatValue=o.toArray():t._flatValue}var Nn=class{};var Vi=class extends Nn{injector;componentFactoryResolver=new Ud(this);instance=null;constructor(n){super();let e=new nr([...n.providers,{provide:Nn,useValue:this},{provide:Dc,useValue:this.componentFactoryResolver}],n.parent||Jr(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function qf(t,n,e=null){return new Vi({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}var ZS=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let r=wa(!1,e.type),o=r.length>0?qf([r],this._injector,""):null;this.cachedInjectors.set(e,o)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=y({token:t,providedIn:"environment",factory:()=>new t(T(ce))})}return t})();function ie(t){return Bi(()=>{let n=Fy(t),e=U(D({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===lf.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get(ZS).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Dt.Emulated,styles:t.styles||Te,_:null,schemas:t.schemas||null,tView:null,id:""});n.standalone&&Pt("NgStandalone"),Py(e);let r=t.dependencies;return e.directiveDefs=Fg(r,KS),e.pipeDefs=Fg(r,Au),e.id=JS(e),e})}function KS(t){return Ut(t)||Di(t)}function q(t){return Bi(()=>({type:t.type,bootstrap:t.bootstrap||Te,declarations:t.declarations||Te,imports:t.imports||Te,exports:t.exports||Te,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function XS(t,n){if(t==null)return pt;let e={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=dc.None,c=null),e[i]=[r,a,c],n[i]=s}return e}function QS(t){if(t==null)return pt;let n={};for(let e in t)t.hasOwnProperty(e)&&(n[t[e]]=e);return n}function A(t){return Bi(()=>{let n=Fy(t);return Py(n),n})}function Yf(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Fy(t){let n={};return{type:t.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputConfig:t.inputs||pt,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||Te,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:XS(t.inputs,n),outputs:QS(t.outputs),debugInfo:null}}function Py(t){t.features?.forEach(n=>n(t))}function Fg(t,n){return t?()=>{let e=typeof t=="function"?t():t,r=[];for(let o of e){let i=n(o);i!==null&&r.push(i)}return r}:null}function JS(t){let n=0,e=typeof t.consts=="function"?"":t.consts,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,e,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(let i of r.join("|"))n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function Zf(t){let n=e=>{let r=Array.isArray(t);e.hostDirectives===null?(e.resolveHostDirectives=eM,e.hostDirectives=r?t.map(Zd):[t]):r?e.hostDirectives.unshift(...t.map(Zd)):e.hostDirectives.unshift(t)};return n.ngInherit=!0,n}function eM(t){let n=[],e=!1,r=null,o=null;for(let i=0;i<t.length;i++){let s=t[i];if(s.hostDirectives!==null){let a=n.length;r??=new Map,o??=new Map,Ly(s,n,r),o.set(s,[a,n.length-1])}i===0&&yt(s)&&(e=!0,n.push(s))}for(let i=e?1:0;i<t.length;i++)n.push(t[i]);return[n,r,o]}function Ly(t,n,e){if(t.hostDirectives!==null)for(let r of t.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)Pg(Zd(i),n,e)}else Pg(r,n,e)}function Pg(t,n,e){let r=Di(t.directive);tM(r.declaredInputs,t.inputs),Ly(r,n,e),e.set(r,t),n.push(r)}function Zd(t){return typeof t=="function"?{directive:be(t),inputs:pt,outputs:pt}:{directive:be(t.directive),inputs:Lg(t.inputs),outputs:Lg(t.outputs)}}function Lg(t){if(t===void 0||t.length===0)return pt;let n={};for(let e=0;e<t.length;e+=2)n[t[e]]=t[e+1];return n}function tM(t,n){for(let e in n)if(n.hasOwnProperty(e)){let r=n[e],o=t[e];t[r]=o}}function nM(t){return Object.getPrototypeOf(t.prototype).constructor}function W(t){let n=nM(t.type),e=!0,r=[t];for(;n&&n!==Function.prototype&&n!==Object.prototype;){let o,i=Object.hasOwn(n,_i)?n[_i]:void 0,s=Object.hasOwn(n,bi)?n[bi]:void 0;if(yt(t))o=i??s;else{if(i)throw new E(903,!1);o=s}if(o){if(e){r.push(o);let c=t;c.inputs=pd(t.inputs),c.declaredInputs=pd(t.declaredInputs),c.outputs=pd(t.outputs);let l=o.hostBindings;l&&aM(t,l);let u=o.viewQuery,f=o.contentQueries;if(u&&iM(t,u),f&&sM(t,f),rM(t,o),_m(t.outputs,o.outputs),yt(o)&&o.data.animation){let h=t.data;h.animation=(h.animation||[]).concat(o.data.animation)}}let a=o.features;if(a)for(let c=0;c<a.length;c++){let l=a[c];l&&l.ngInherit&&l(t),l===W&&(e=!1)}}n=Object.getPrototypeOf(n)}oM(r)}function rM(t,n){for(let e in n.inputs){if(!n.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let r=n.inputs[e];r!==void 0&&(t.inputs[e]=r,t.declaredInputs[e]=n.declaredInputs[e])}}function oM(t){let n=0,e=null;for(let r=t.length-1;r>=0;r--){let o=t[r];o.hostVars=n+=o.hostVars,o.hostAttrs=po(o.hostAttrs,e=po(e,o.hostAttrs))}}function pd(t){return t===pt?{}:t===Te?[]:t}function iM(t,n){let e=t.viewQuery;e?t.viewQuery=(r,o)=>{n(r,o),e(r,o)}:t.viewQuery=n}function sM(t,n){let e=t.contentQueries;e?t.contentQueries=(r,o,i)=>{n(r,o,i),e(r,o,i)}:t.contentQueries=n}function aM(t,n){let e=t.hostBindings;e?t.hostBindings=(r,o)=>{n(r,o),e(r,o)}:t.hostBindings=n}function Vy(t,n,e,r,o,i,s,a){if(e.firstCreatePass){t.mergedAttrs=po(t.mergedAttrs,t.attrs);let u=t.tView=Ef(2,t,o,i,s,e.directiveRegistry,e.pipeRegistry,null,e.schemas,e.consts,null);e.queries!==null&&(e.queries.template(e,t),u.queries=e.queries.embeddedTView(t))}a&&(t.flags|=a),dr(t,!1);let c=lM(e,n,t,r);Fa()&&xf(e,n,c,t),mo(c,n);let l=dy(c,n,c,t);n[r+K]=l,wf(n,l),My(l,t,n)}function cM(t,n,e,r,o,i,s,a,c,l,u){let f=e+K,h;return n.firstCreatePass?(h=Dr(n,f,4,s||null,a||null),Aa()&&vy(n,t,h,Ke(n.consts,l),Rf),nv(n,h)):h=n.data[f],Vy(h,t,n,e,r,o,i,c),ro(h)&&gc(n,t,h),l!=null&&zi(t,h,u),h}function vr(t,n,e,r,o,i,s,a,c,l,u){let f=e+K,h;if(n.firstCreatePass){if(h=Dr(n,f,4,s||null,a||null),l!=null){let p=Ke(n.consts,l);h.localNames=[];for(let m=0;m<p.length;m+=2)h.localNames.push(p[m],-1)}}else h=n.data[f];return Vy(h,t,n,e,r,o,i,c),l!=null&&zi(t,h,u),h}function wo(t,n,e,r,o,i,s,a){let c=w(),l=X(),u=Ke(l.consts,i);return cM(c,l,t,n,e,r,o,u,void 0,s,a),wo}function jy(t,n,e,r,o,i,s,a){let c=w(),l=X(),u=Ke(l.consts,i);return vr(c,l,t,n,e,r,o,u,void 0,s,a),jy}var lM=uM;function uM(t,n,e,r){return Ai(!0),n[ee].createComment("")}var ze=(function(t){return t[t.NOT_STARTED=0]="NOT_STARTED",t[t.IN_PROGRESS=1]="IN_PROGRESS",t[t.COMPLETE=2]="COMPLETE",t[t.FAILED=3]="FAILED",t})(ze||{}),Vg=0,dM=1,ge=(function(t){return t[t.Placeholder=0]="Placeholder",t[t.Loading=1]="Loading",t[t.Complete=2]="Complete",t[t.Error=3]="Error",t})(ge||{}),By=(function(t){return t[t.Initial=-1]="Initial",t})(By||{}),fM=0,Ec=1;var hM=4,pM=5,mM=6,gM=7,md=8,vM=9,Kf=(function(t){return t[t.Manual=0]="Manual",t[t.Playthrough=1]="Playthrough",t})(Kf||{});function Hy(t,n,e){let r=$y(t);n[r]===null&&(n[r]=[]),n[r].push(e)}function qa(t,n){let e=$y(t),r=n[e];if(r!==null){for(let o of r)o();n[e]=null}}function Uy(t){qa(1,t),qa(0,t),qa(2,t)}function $y(t){let n=hM;return t===1?n=pM:t===2&&(n=vM),n}function Cc(t){return t+1}function Io(t,n){let e=t[I],r=Cc(n.index);return t[r]}function yM(t,n,e){let r=t[I],o=Cc(n);t[o]=e}function So(t,n){let e=Cc(n.index);return t.data[e]}function _M(t,n,e){let r=Cc(n);t.data[r]=e}function bM(t,n,e){let r=n[I],o=So(r,e);switch(t){case ge.Complete:return o.primaryTmplIndex;case ge.Loading:return o.loadingTmplIndex;case ge.Error:return o.errorTmplIndex;case ge.Placeholder:return o.placeholderTmplIndex;default:return null}}function jg(t,n){return n===ge.Placeholder?t.placeholderBlockConfig?.[Vg]??null:n===ge.Loading?t.loadingBlockConfig?.[Vg]??null:null}function DM(t){return t.loadingBlockConfig?.[dM]??null}function Bg(t,n){if(!t||t.length===0)return n;let e=new Set(t);for(let r of n)e.add(r);return t.length===e.size?t:Array.from(e)}function EM(t,n){let e=n.primaryTmplIndex+K;return io(t,e)}function CM(t,n){let e=n.get(SM),r=()=>e.remove(t);return e.add(t),r}var wM=()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout,IM=()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout,SM=(()=>{class t{executingCallbacks=!1;idleId=null;current=new Set;deferred=new Set;ngZone=d(M);requestIdleCallbackFn=wM().bind(globalThis);cancelIdleCallbackFn=IM().bind(globalThis);add(e){(this.executingCallbacks?this.deferred:this.current).add(e),this.idleId===null&&this.scheduleIdleCallback()}remove(e){let{current:r,deferred:o}=this;r.delete(e),o.delete(e),r.size===0&&o.size===0&&this.cancelIdleCallback()}scheduleIdleCallback(){let e=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(let r of this.current)r();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(let r of this.deferred)this.current.add(r);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(e))}cancelIdleCallback(){this.idleId!==null&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static \u0275prov=y({token:t,providedIn:"root",factory:()=>new t})}return t})();var MM=(()=>{class t{cachedInjectors=new Map;getOrCreateInjector(e,r,o,i){if(!this.cachedInjectors.has(e)){let s=o.length>0?qf(o,r,i):null;this.cachedInjectors.set(e,s)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=y({token:t,providedIn:"environment",factory:()=>new t})}return t})();var zy=new g("");function gd(t,n,e){return t.get(MM).getOrCreateInjector(n,t,e,"")}function TM(t,n,e){if(t instanceof ho){let o=t.injector,i=t.parentInjector,s=gd(i,n,e);return new ho(o,s)}let r=t.get(ce);if(r!==t){let o=gd(r,n,e);return new ho(t,o)}return gd(t,n,e)}function An(t,n,e,r=!1){let o=e[me],i=o[I];if(In(o))return;let s=Io(o,n),a=s[Ec],c=s[gM];if(!(c!==null&&t<c)&&Hg(a,t)&&Hg(s[fM]??-1,t)){let l=So(i,n),f=!r&&!0&&(DM(l)!==null||jg(l,ge.Loading)!==null||jg(l,ge.Placeholder))?RM:xM;try{f(t,s,e,n,o)}catch(h){Ff(o,h)}}}function AM(t,n){let e=t[Cn]?.findIndex(o=>o.data[ff]===n[Ec])??-1;return{dehydratedView:e>-1?t[Cn][e]:null,dehydratedViewIx:e}}function xM(t,n,e,r,o){Y(z.DeferBlockStateStart);let i=bM(t,o,r);if(i!==null){n[Ec]=t;let s=o[I],a=i+K,c=io(s,a),l=0;Lf(e,l);let u;if(t===ge.Complete){let m=So(s,r),v=m.providers;v&&v.length>0&&(u=TM(o[Fe],m,v))}let{dehydratedView:f,dehydratedViewIx:h}=AM(e,n),p=Eo(o,c,null,{injector:u,dehydratedView:f});if(Co(e,p,l,gr(c,f)),yc(p,2),h>-1&&e[Cn]?.splice(h,1),(t===ge.Complete||t===ge.Error)&&Array.isArray(n[md])){for(let m of n[md])m();n[md]=null}}Y(z.DeferBlockStateEnd)}function Hg(t,n){return t<n}function NM(t,n){let e=t[n.index];An(ge.Placeholder,n,e)}function Ug(t,n,e){t.loadingPromise.then(()=>{t.loadingState===ze.COMPLETE?An(ge.Complete,n,e):t.loadingState===ze.FAILED&&An(ge.Error,n,e)})}var RM=null;function Mo(t){return typeof t=="function"&&t[de]!==void 0}function Xf(t){return Mo(t)&&typeof t.set=="function"}var Qf=new g("");function To(t){return!!t&&typeof t.then=="function"}function Jf(t){return!!t&&typeof t.subscribe=="function"}var Gy=new g("");var eh=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,r)=>{this.resolve=e,this.reject=r});appInits=d(Gy,{optional:!0})??[];injector=d(O);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let o of this.appInits){let i=eo(this.injector,o);if(To(i))e.push(i);else if(Jf(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});e.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{r()}).catch(o=>{this.reject(o)}),e.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Wy=new g("");function qy(){Ul(()=>{let t="";throw new E(600,t)})}function Yy(t){return t.isBoundToModule}var OM=10;var Qe=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=d(qt);afterRenderManager=d(hc);zonelessEnabled=d(lo);rootEffectScheduler=d(La);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new C;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=d(Mn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(J(e=>!e))}constructor(){d(Et,{optional:!0})}whenStable(){let e;return new Promise(r=>{e=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{e.unsubscribe()})}_injector=d(ce);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,r){return this.bootstrapImpl(e,r)}bootstrapImpl(e,r,o=O.NULL){return this._injector.get(M).run(()=>{Y(z.BootstrapComponentStart);let s=e instanceof bc;if(!this._injector.get(eh).done){let m="";throw new E(405,m)}let c;s?c=e:c=this._injector.get(Dc).resolveComponentFactory(e),this.componentTypes.push(c.componentType);let l=Yy(c)?void 0:this._injector.get(Nn),u=r||c.selector,f=c.create(o,[],u,l),h=f.location.nativeElement,p=f.injector.get(Qf,null);return p?.registerApplication(h),f.onDestroy(()=>{this.detachView(f.hostView),Oi(this.components,f),p?.unregisterApplication(h)}),this._loadComponent(f),Y(z.BootstrapComponentEnd,f),f})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Y(z.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(fc.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw Y(z.ChangeDetectionEnd),new E(101,!1);let e=S(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,S(e),this.afterTick.next(),Y(z.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Ee,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++<OM;){Y(z.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{Y(z.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let e=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!Mi(o))continue;let i=r&&!this.zonelessEnabled?0:1;ay(o,i),e=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}e||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:e})=>Mi(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let r=e;this._views.push(r),r.attachToAppRef(this)}detachView(e){let r=e;Oi(this._views,r),r.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(e),this._injector.get(Wy,[]).forEach(o=>o(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>Oi(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new E(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Oi(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function kM(t){let n=w(),e=ue();if(NM(n,e),!Ky(0,n))return;let r=n[Fe],o=Io(n,e),i=t(()=>FM(0,n,e),r);Hy(0,o,i)}function Zy(t,n,e){let r=n[Fe],o=n[I];if(t.loadingState!==ze.NOT_STARTED)return t.loadingPromise??Promise.resolve();let i=Io(n,e),s=EM(o,t);t.loadingState=ze.IN_PROGRESS,qa(1,i);let a=t.dependencyResolverFn,c=r.get(Tn).add();return a?(t.loadingPromise=Promise.allSettled(a()).then(l=>{let u=!1,f=null,h=[],p=[];for(let m=0;m<l.length;m++){let v=l[m];if(v.status==="fulfilled"){let _=v.value,b=Ut(_)||Di(_);if(b)h.push(b);else{let k=Au(_);k&&p.push(k)}}else{u=!0,f=v.reason instanceof Error?v.reason:new Error(String(v.reason));break}}if(u){if(t.loadingState=ze.FAILED,t.errorTmplIndex===null){let v="",_=new E(-750,v);Ff(n,_)}}else{t.loadingState=ze.COMPLETE;let m=s.tView;if(h.length>0){m.directiveRegistry=Bg(m.directiveRegistry,h);let v=h.map(b=>b.type),_=wa(!1,...v);t.providers=_}p.length>0&&(m.pipeRegistry=Bg(m.pipeRegistry,p))}}),t.loadingPromise.finally(()=>{t.loadingPromise=null,c()})):(t.loadingPromise=Promise.resolve().then(()=>{t.loadingPromise=null,t.loadingState=ze.COMPLETE,c()}),t.loadingPromise)}function Ky(t,n){return n[Fe].get(zy,null,{optional:!0})?.behavior!==Kf.Manual}function FM(t,n,e){let r=n[I],o=n[e.index];if(!Ky(t,n))return;let i=Io(n,e),s=So(r,e);switch(Uy(i),s.loadingState){case ze.NOT_STARTED:An(ge.Loading,e,o),Zy(s,n,e),s.loadingState===ze.IN_PROGRESS&&Ug(s,e,o);break;case ze.IN_PROGRESS:An(ge.Loading,e,o),Ug(s,e,o);break;case ze.COMPLETE:An(ge.Complete,e,o);break;case ze.FAILED:An(ge.Error,e,o);break;default:}}function PM(t,n,e){return t===0?$g(n,e):t===2?!$g(n,e):!0}function LM(t){return t!=null&&(t&1)===1}function $g(t,n){let e=t[Fe],r=So(t[I],n),o=hf(e),i=LM(r.flags),a=Io(t,n)[mM]!==null;return!(i&&a&&o)}function VM(t,n,e,r,o,i,s,a,c,l){let u=w(),f=X(),h=t+K,p=vr(u,f,t,null,0,0),m=u[Fe],v=hf(m);if(f.firstCreatePass){Pt("NgDefer");let lt={primaryTmplIndex:n,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:e??null,loadingState:ze.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:l??0};c?.(f,lt,a,s),_M(f,h,lt)}let _=u[h];My(_,p,u);let b=null,k=null;if(_[Cn]?.length>0){let lt=_[Cn][0].data;k=lt[df]??null,b=lt[ff]}let Ce=[null,By.Initial,null,null,null,null,k,b,null,null];yM(u,h,Ce);let ae=null;k!==null&&v&&(ae=m.get(Iv),ae.add(k,{lView:u,tNode:p,lContainer:_}));let rn=()=>{Uy(Ce),k!==null&&ae?.cleanup([k])};Hy(0,Ce,()=>Gu(u,rn)),Ta(u,rn)}function jM(){let t=w(),n=ue();PM(0,t,n)&&kM(CM)}function Xy(t,n){let e=w(),r=Wt();if(Ge(e,r,n)){let o=X(),i=ao();if(vc(i,o,e,t,n))Rt(i)&&ey(e,i.index);else{let a=rt(i,e);ty(e[ee],a,null,i.value,t,n,null)}}return Xy}function Ne(t,n,e,r){let o=w(),i=Wt();if(Ge(o,i,n)){let s=X(),a=ao();HI(a,o,t,n,e,r)}return Ne}var Kd=class{destroy(n){}updateValue(n,e){}swap(n,e){let r=Math.min(n,e),o=Math.max(n,e),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(n,e){this.attach(e,this.detach(n))}};function vd(t,n,e,r,o){return t===e&&Object.is(n,r)?1:Object.is(o(t,n),o(e,r))?-1:0}function BM(t,n,e,r){let o,i,s=0,a=t.length-1,c=void 0;if(Array.isArray(n)){S(r);let l=n.length-1;for(S(null);s<=a&&s<=l;){let u=t.at(s),f=n[s],h=vd(s,u,s,f,e);if(h!==0){h<0&&t.updateValue(s,f),s++;continue}let p=t.at(a),m=n[l],v=vd(a,p,l,m,e);if(v!==0){v<0&&t.updateValue(a,m),a--,l--;continue}let _=e(s,u),b=e(a,p),k=e(s,f);if(Object.is(k,b)){let Ce=e(l,m);Object.is(Ce,_)?(t.swap(s,a),t.updateValue(a,m),l--,a--):t.move(a,s),t.updateValue(s,f),s++;continue}if(o??=new oc,i??=Gg(t,s,a,e),Xd(t,o,s,k))t.updateValue(s,f),s++,a++;else if(i.has(k))o.set(_,t.detach(s)),a--;else{let Ce=t.create(s,n[s]);t.attach(s,Ce),s++,a++}}for(;s<=l;)zg(t,o,e,s,n[s]),s++}else if(n!=null){S(r);let l=n[Symbol.iterator]();S(null);let u=l.next();for(;!u.done&&s<=a;){let f=t.at(s),h=u.value,p=vd(s,f,s,h,e);if(p!==0)p<0&&t.updateValue(s,h),s++,u=l.next();else{o??=new oc,i??=Gg(t,s,a,e);let m=e(s,h);if(Xd(t,o,s,m))t.updateValue(s,h),s++,a++,u=l.next();else if(!i.has(m))t.attach(s,t.create(s,h)),s++,a++,u=l.next();else{let v=e(s,f);o.set(v,t.detach(s)),a--}}}for(;!u.done;)zg(t,o,e,t.length,u.value),u=l.next()}for(;s<=a;)t.destroy(t.detach(a--));o?.forEach(l=>{t.destroy(l)})}function Xd(t,n,e,r){return n!==void 0&&n.has(r)?(t.attach(e,n.get(r)),n.delete(r),!0):!1}function zg(t,n,e,r,o){if(Xd(t,n,r,e(r,o)))t.updateValue(r,o);else{let i=t.create(r,o);t.attach(r,i)}}function Gg(t,n,e,r){let o=new Set;for(let i=n;i<=e;i++)o.add(r(i,t.at(i)));return o}var oc=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let e=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(n,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,e){if(this.kvMap.has(n)){let r=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,r]of this.kvMap)if(n(r,e),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),n(r,e)}}};function HM(t,n,e,r,o,i,s,a){Pt("NgControlFlow");let c=w(),l=X(),u=Ke(l.consts,i);return vr(c,l,t,n,e,r,o,u,256,s,a),th}function th(t,n,e,r,o,i,s,a){Pt("NgControlFlow");let c=w(),l=X(),u=Ke(l.consts,i);return vr(c,l,t,n,e,r,o,u,512,s,a),th}function UM(t,n){Pt("NgControlFlow");let e=w(),r=Wt(),o=e[r]!==Ve?e[r]:-1,i=o!==-1?ic(e,K+o):void 0,s=0;if(Ge(e,r,t)){let a=S(null);try{if(i!==void 0&&Lf(i,s),t!==-1){let c=K+t,l=ic(e,c),u=tf(e[I],c),f=py(l,u,e),h=Eo(e,u,n,{dehydratedView:f});Co(l,h,s,gr(u,f))}}finally{S(a)}}else if(i!==void 0){let a=fy(i,s);a!==void 0&&(a[he]=n)}}var Qd=class{lContainer;$implicit;$index;constructor(n,e,r){this.lContainer=n,this.$implicit=e,this.$index=r}get $count(){return this.lContainer.length-le}};function $M(t){return t}function zM(t,n){return n}var Jd=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,e,r){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=r}};function GM(t,n,e,r,o,i,s,a,c,l,u,f,h){Pt("NgControlFlow");let p=w(),m=X(),v=c!==void 0,_=w(),b=a?s.bind(_[Pe][he]):s,k=new Jd(v,b);_[K+t]=k,vr(p,m,t+1,n,e,r,o,Ke(m.consts,i),256),v&&vr(p,m,t+2,c,l,u,f,Ke(m.consts,h),512)}var ef=class extends Kd{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,e,r){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=r}get length(){return this.lContainer.length-le}at(n){return this.getLView(n)[he].$implicit}attach(n,e){let r=e[ir];this.needsIndexUpdate||=n!==this.length,Co(this.lContainer,e,n,gr(this.templateTNode,r)),qM(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,YM(this.lContainer,n),ZM(this.lContainer,n)}create(n,e){let r=ec(this.lContainer,this.templateTNode.tView.ssrId);return Eo(this.hostLView,this.templateTNode,new Qd(this.lContainer,e,n),{dehydratedView:r})}destroy(n){pc(n[I],n)}updateValue(n,e){this.getLView(n)[he].$implicit=e}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[he].$index=n}getLView(n){return KM(this.lContainer,n)}};function WM(t){let n=S(null),e=_t();try{let r=w(),o=r[I],i=r[e],s=e+1,a=ic(r,s);if(i.liveCollection===void 0){let l=tf(o,s);i.liveCollection=new ef(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(BM(c,t,i.trackByFn,n),c.updateIndexes(),i.hasEmptyBlock){let l=Wt(),u=c.length===0;if(Ge(r,l,u)){let f=e+2,h=ic(r,f);if(u){let p=tf(o,f),m=py(h,p,r),v=Eo(r,p,void 0,{dehydratedView:m});Co(h,v,0,gr(p,m))}else o.firstUpdatePass&&lS(h),Lf(h,0)}}}finally{S(n)}}function ic(t,n){return t[n]}function qM(t,n){if(t.length<=le)return;let e=le+n,r=t[e],o=r?r[En]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[Fe];bI(i,o),mr.delete(r[$t]),o.detachedLeaveAnimationFns=void 0}}function YM(t,n){if(t.length<=le)return;let e=le+n,r=t[e],o=r?r[En]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function ZM(t,n){return Li(t,n)}function KM(t,n){return fy(t,n)}function tf(t,n){return io(t,n)}function Qy(t,n,e){let r=w(),o=Wt();if(Ge(r,o,n)){let i=X(),s=ao();Qv(s,r,t,n,r[ee],e)}return Qy}function nf(t,n,e,r,o){vc(n,t,e,o?"class":"style",r)}function yo(t,n,e,r){let o=w(),i=o[I],s=t+K,a=i.firstCreatePass?Vf(s,o,2,n,Rf,Aa(),e,r):i.data[s];if(Rt(a)){let c=o[gt].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(wy(l),()=>(Wg(t,n,o,a,r),yo))}}return Wg(t,n,o,a,r),yo}function Wg(t,n,e,r,o){if(Of(r,e,t,n,e_),ro(r)){let i=e[I];gc(i,e,r),pf(i,r,e)}o!=null&&zi(e,r)}function Wi(){let t=X(),n=ue(),e=kf(n);return t.firstCreatePass&&jf(t,e),Ku(e)&&Xu(),Yu(),e.classesWithoutHost!=null&&tw(e)&&nf(t,e,w(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&nw(e)&&nf(t,e,w(),e.stylesWithoutHost,!1),Wi}function Jy(t,n,e,r){return yo(t,n,e,r),Wi(),Jy}function Xt(t,n,e,r){let o=w(),i=o[I],s=t+K,a=i.firstCreatePass?wS(s,i,2,n,e,r):i.data[s];return Of(a,o,t,n,e_),r!=null&&zi(o,a),Xt}function Qt(){let t=ue(),n=kf(t);return Ku(n)&&Xu(),Yu(),Qt}function qe(t,n,e,r){return Xt(t,n,e,r),Qt(),qe}var e_=(t,n,e,r,o)=>(Ai(!0),Fv(n[ee],r,id()));function nh(t,n,e){let r=w(),o=r[I],i=t+K,s=o.firstCreatePass?Vf(i,r,8,"ng-container",Rf,Aa(),n,e):o.data[i];if(Of(s,r,t,"ng-container",XM),ro(s)){let a=r[I];gc(a,r,s),pf(a,s,r)}return e!=null&&zi(r,s),nh}function rh(){let t=X(),n=ue(),e=kf(n);return t.firstCreatePass&&jf(t,e),rh}function t_(t,n,e){return nh(t,n,e),rh(),t_}var XM=(t,n,e,r,o)=>(Ai(!0),qw(n[ee],""));function QM(){return w()}function qi(t,n,e){let r=w(),o=Wt();if(Ge(r,o,n)){let i=X(),s=ao();Jv(s,r,t,n,r[ee],e)}return qi}var Yi="en-US";var JM=Yi;function n_(t){typeof t=="string"&&(JM=t.toLowerCase().replace(/_/g,"-"))}function On(t,n,e){let r=w(),o=X(),i=ue();return o_(o,r,r[ee],i,t,n,e),On}function r_(t,n,e){let r=w(),o=X(),i=ue();return(i.type&3||e)&&Ey(i,o,r,e,r[ee],t,n,Wa(i,r,n)),r_}function o_(t,n,e,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Wa(r,n,i),Ey(r,t,n,s,e,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let f=0;f<u.length;f+=2){let h=u[f],p=u[f+1];c??=Wa(r,n,i),Rg(r,n,h,p,o,c)}if(l&&l.length)for(let f of l)c??=Wa(r,n,i),Rg(r,n,f,o,o,c)}}function eT(t=1){return Qm(t)}function tT(t,n){let e=null,r=iI(t);for(let o=0;o<n.length;o++){let i=n[o];if(i==="*"){e=o;continue}if(r===null?Bv(t,i,!0):cI(r,i))return o}return e}function wt(t){let n=w()[Pe][ke];if(!n.projection){let e=t?t.length:1,r=n.projection=Im(e,null),o=r.slice(),i=n.child;for(;i!==null;){if(i.type!==128){let s=t?tT(i,t):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function Se(t,n=0,e,r,o,i){let s=w(),a=X(),c=r?t+1:null;c!==null&&vr(s,a,c,r,o,i,null,e);let l=Dr(a,K+t,16,null,e||null);l.projection===null&&(l.projection=n),ed();let f=!s[ir]||Zu();s[Pe][ke].projection[l.projection]===null&&c!==null?nT(s,a,c):f&&!cc(l)&&NI(a,s,l)}function nT(t,n,e){let r=K+e,o=n.data[r],i=t[r],s=ec(i,o.tView.ssrId),a=Eo(t,o,void 0,{dehydratedView:s});Co(i,a,0,gr(o,s))}function i_(t,n,e,r){return Ny(t,n,e,r),i_}function Ao(t,n,e){return xy(t,n,e),Ao}function Zi(t){let n=w(),e=X(),r=Ra();Ti(r+1);let o=Uf(e,r);if(t.dirty&&km(n)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let i=Oy(n,r);t.reset(i,pv),t.notifyOnChanges()}return!0}return!1}function Ki(){return Hf(w(),Ra())}function s_(t,n,e,r,o){return ky(n,Ny(t,e,r,o)),s_}function a_(t,n,e,r){return ky(t,xy(n,e,r)),a_}function rT(t=1){Ti(Ra()+t)}function oT(t){let n=td();return so(n,K+t)}function Ha(t,n){return t<<17|n<<2}function yr(t){return t>>17&32767}function iT(t){return(t&2)==2}function sT(t,n){return t&131071|n<<17}function rf(t){return t|2}function _o(t){return(t&131068)>>2}function yd(t,n){return t&-131069|n<<2}function aT(t){return(t&1)===1}function of(t){return t|1}function cT(t,n,e,r,o,i){let s=i?n.classBindings:n.styleBindings,a=yr(s),c=_o(s);t[r]=e;let l=!1,u;if(Array.isArray(e)){let f=e;u=f[1],(u===null||Xr(f,u)>0)&&(l=!0)}else u=e;if(o)if(c!==0){let h=yr(t[a+1]);t[r+1]=Ha(h,a),h!==0&&(t[h+1]=yd(t[h+1],r)),t[a+1]=sT(t[a+1],r)}else t[r+1]=Ha(a,0),a!==0&&(t[a+1]=yd(t[a+1],r)),a=r;else t[r+1]=Ha(c,0),a===0?a=r:t[c+1]=yd(t[c+1],r),c=r;l&&(t[r+1]=rf(t[r+1])),qg(t,u,r,!0),qg(t,u,r,!1),lT(n,u,t,r,i),s=Ha(a,c),i?n.classBindings=s:n.styleBindings=s}function lT(t,n,e,r,o){let i=o?t.residualClasses:t.residualStyles;i!=null&&typeof n=="string"&&Xr(i,n)>=0&&(e[r+1]=of(e[r+1]))}function qg(t,n,e,r){let o=t[e+1],i=n===null,s=r?yr(o):_o(o),a=!1;for(;s!==0&&(a===!1||i);){let c=t[s],l=t[s+1];uT(c,n)&&(a=!0,t[s+1]=r?of(l):rf(l)),s=r?yr(l):_o(l)}a&&(t[e+1]=r?rf(o):of(o))}function uT(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?Xr(t,n)>=0:!1}var De={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function c_(t){return t.substring(De.key,De.keyEnd)}function dT(t){return t.substring(De.value,De.valueEnd)}function fT(t){return d_(t),l_(t,bo(t,0,De.textEnd))}function l_(t,n){let e=De.textEnd;return e===n?-1:(n=De.keyEnd=pT(t,De.key=n,e),bo(t,n,e))}function hT(t){return d_(t),u_(t,bo(t,0,De.textEnd))}function u_(t,n){let e=De.textEnd,r=De.key=bo(t,n,e);return e===r?-1:(r=De.keyEnd=mT(t,r,e),r=Yg(t,r,e,58),r=De.value=bo(t,r,e),r=De.valueEnd=gT(t,r,e),Yg(t,r,e,59))}function d_(t){De.key=0,De.keyEnd=0,De.value=0,De.valueEnd=0,De.textEnd=t.length}function bo(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function pT(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function mT(t,n,e){let r;for(;n<e&&((r=t.charCodeAt(n))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)n++;return n}function Yg(t,n,e,r){return n=bo(t,n,e),n<e&&n++,n}function gT(t,n,e){let r=-1,o=-1,i=-1,s=n,a=s;for(;s<e;){let c=t.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=Zg(t,c,s,e):n===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Zg(t,41,s,e):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Zg(t,n,e,r){let o=-1,i=e;for(;i<r;){let s=t.charCodeAt(i++);if(s==n&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function wc(t,n,e){return f_(t,n,e,!1),wc}function ye(t,n){return f_(t,n,null,!0),ye}function vT(t){h_(g_,yT,t,!1)}function yT(t,n){for(let e=hT(n);e>=0;e=u_(n,e))g_(t,c_(n),dT(n))}function Xi(t){h_(IT,_T,t,!0)}function _T(t,n){for(let e=fT(n);e>=0;e=l_(n,e))Ci(t,c_(n),!0)}function f_(t,n,e,r){let o=w(),i=X(),s=xa(2);if(i.firstUpdatePass&&m_(i,t,s,r),n!==Ve&&Ge(o,s,n)){let a=i.data[_t()];v_(i,a,o,o[ee],t,o[s+1]=MT(n,e),r,s)}}function h_(t,n,e,r){let o=X(),i=xa(2);o.firstUpdatePass&&m_(o,null,i,r);let s=w();if(e!==Ve&&Ge(s,i,e)){let a=o.data[_t()];if(y_(a,r)&&!p_(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(e=ya(c,e||"")),nf(o,a,s,e,r)}else ST(o,a,s,s[ee],s[i+1],s[i+1]=wT(t,n,e),r,i)}}function p_(t,n){return n>=t.expandoStartIndex}function m_(t,n,e,r){let o=t.data;if(o[e+1]===null){let i=o[_t()],s=p_(t,e);y_(i,r)&&n===null&&!s&&(n=!1),n=bT(o,i,n,r),cT(o,i,n,e,s,r)}}function bT(t,n,e,r){let o=Ym(t),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(e=_d(null,t,n,e,r),e=ji(e,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||t[s]!==o)if(e=_d(o,t,n,e,r),i===null){let c=DT(t,n,r);c!==void 0&&Array.isArray(c)&&(c=_d(null,t,n,c[1],r),c=ji(c,n.attrs,r),ET(t,n,r,c))}else i=CT(t,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),e}function DT(t,n,e){let r=e?n.classBindings:n.styleBindings;if(_o(r)!==0)return t[yr(r)]}function ET(t,n,e,r){let o=e?n.classBindings:n.styleBindings;t[yr(o)]=r}function CT(t,n,e){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++){let s=t[i].hostAttrs;r=ji(r,s,e)}return ji(r,n.attrs,e)}function _d(t,n,e,r,o){let i=null,s=e.directiveEnd,a=e.directiveStylingLast;for(a===-1?a=e.directiveStart:a++;a<s&&(i=n[a],r=ji(r,i.hostAttrs,o),i!==t);)a++;return t!==null&&(e.directiveStylingLast=a),r}function ji(t,n,e){let r=e?1:2,o=-1;if(n!==null)for(let i=0;i<n.length;i++){let s=n[i];typeof s=="number"?o=s:o===r&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),Ci(t,s,e?!0:n[++i]))}return t===void 0?null:t}function wT(t,n,e){if(e==null||e==="")return Te;let r=[],o=Xe(e);if(Array.isArray(o))for(let i=0;i<o.length;i++)t(r,o[i],!0);else if(o instanceof Set)for(let i of o)t(r,i,!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&t(r,i,o[i]);else typeof o=="string"&&n(r,o);return r}function g_(t,n,e){Ci(t,n,Xe(e))}function IT(t,n,e){let r=String(n);r!==""&&!r.includes(" ")&&Ci(t,r,e)}function ST(t,n,e,r,o,i,s,a){o===Ve&&(o=Te);let c=0,l=0,u=0<o.length?o[0]:null,f=0<i.length?i[0]:null;for(;u!==null||f!==null;){let h=c<o.length?o[c+1]:void 0,p=l<i.length?i[l+1]:void 0,m=null,v;u===f?(c+=2,l+=2,h!==p&&(m=f,v=p)):f===null||u!==null&&u<f?(c+=2,m=u):(l+=2,m=f,v=p),m!==null&&v_(t,n,e,r,m,v,s,a),u=c<o.length?o[c]:null,f=l<i.length?i[l]:null}}function v_(t,n,e,r,o,i,s,a){if(!(n.type&3))return;let c=t.data,l=c[a+1],u=aT(l)?Kg(c,n,e,o,_o(l),s):void 0;if(!sc(u)){sc(i)||iT(l)&&(i=Kg(c,null,e,o,a,s));let f=Uu(_t(),e);OI(r,s,f,o,i)}}function Kg(t,n,e,r,o,i){let s=n===null,a;for(;o>0;){let c=t[o],l=Array.isArray(c),u=l?c[1]:c,f=u===null,h=e[o+1];h===Ve&&(h=f?Te:void 0);let p=f?Ca(h,r):u===r?h:void 0;if(l&&!sc(p)&&(p=Ca(c,r)),sc(p)&&(a=p,s))return a;let m=t[o+1];o=s?yr(m):_o(m)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=Ca(c,r))}return a}function sc(t){return t!==void 0}function MT(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=va(Xe(t)))),t}function y_(t,n){return(t.flags&(n?8:16))!==0}function TT(t,n=""){let e=w(),r=X(),o=t+K,i=r.firstCreatePass?Dr(r,o,1,n,null):r.data[o],s=AT(r,e,i,n);e[o]=s,Fa()&&xf(r,e,s,i),dr(i,!1)}var AT=(t,n,e,r)=>(Ai(!0),Gw(n[ee],r));function __(t,n,e,r=""){return Ge(t,Wt(),e)?n+or(e)+r:Ve}function xT(t,n,e,r,o,i=""){let s=$m(),a=go(t,s,e,o);return xa(2),a?n+or(e)+r+or(o)+i:Ve}function b_(t){return oh("",t),b_}function oh(t,n,e){let r=w(),o=__(r,t,n,e);return o!==Ve&&E_(r,_t(),o),oh}function D_(t,n,e,r,o){let i=w(),s=xT(i,t,n,e,r,o);return s!==Ve&&E_(i,_t(),s),D_}function E_(t,n,e){let r=Uu(n,t);Ww(t[ee],r,e)}function C_(t,n,e){Xf(n)&&(n=n());let r=w(),o=Wt();if(Ge(r,o,n)){let i=X(),s=ao();Qv(s,r,t,n,r[ee],e)}return C_}function NT(t,n){let e=Xf(t);return e&&t.set(n),e}function w_(t,n){let e=w(),r=X(),o=ue();return o_(r,e,e[ee],o,t,n),w_}var I_={};function S_(t){Pt("NgLet");let n=X(),e=w(),r=t+K,o=Dr(n,r,128,null,null);return dr(o,!1),Si(n,e,r,I_),S_}function RT(t){let n=X(),e=w(),r=_t();return Si(n,e,r,t),t}function OT(t){let n=td(),e=so(n,K+t);if(e===I_)throw new E(314,!1);return e}function kT(t,n,e=""){return __(w(),t,n,e)}function Xg(t,n,e){let r=X();r.firstCreatePass&&M_(n,r.data,r.blueprint,yt(t),e)}function M_(t,n,e,r,o){if(t=be(t),Array.isArray(t))for(let i=0;i<t.length;i++)M_(t[i],n,e,r,o);else{let i=X(),s=w(),a=ue(),c=tr(t)?t:be(t.provide),l=Lu(t),u=a.providerIndexes&1048575,f=a.directiveStart,h=a.providerIndexes>>20;if(tr(t)||!t.multi){let p=new pr(l,o,H,null),m=Dd(c,n,o?u:u+h,f);m===-1?(Cd(Qa(a,s),i,c),bd(i,t,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(p),s.push(p)):(e[m]=p,s[m]=p)}else{let p=Dd(c,n,u+h,f),m=Dd(c,n,u,u+h),v=p>=0&&e[p],_=m>=0&&e[m];if(o&&!_||!o&&!v){Cd(Qa(a,s),i,c);let b=LT(o?PT:FT,e.length,o,r,l,t);!o&&_&&(e[m].providerFactory=b),bd(i,t,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(b),s.push(b)}else{let b=T_(e[o?m:p],l,!o&&r);bd(i,t,p>-1?p:m,b)}!o&&r&&_&&e[m].componentProviders++}}}function bd(t,n,e,r){let o=tr(n),i=xm(n);if(o||i){let c=(i?be(n.useClass):n).prototype.ngOnDestroy;if(c){let l=t.destroyHooks||(t.destroyHooks=[]);if(!o&&n.multi){let u=l.indexOf(e);u===-1?l.push(e,[r,c]):l[u+1].push(r,c)}else l.push(e,c)}}}function T_(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function Dd(t,n,e,r){for(let o=e;o<r;o++)if(n[o]===t)return o;return-1}function FT(t,n,e,r,o){return sf(this.multi,[])}function PT(t,n,e,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=ki(r,r[I],this.providerFactory.index,o);s=c.slice(0,a),sf(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],sf(i,s);return s}function sf(t,n){for(let e=0;e<t.length;e++){let r=t[e];n.push(r())}return n}function LT(t,n,e,r,o,i){let s=new pr(t,e,H,null);return s.multi=[],s.index=n,s.componentProviders=0,T_(s,o,r&&!e),s}function Re(t,n){return e=>{e.providersResolver=(r,o)=>Xg(r,o?o(t):t,!1),n&&(e.viewProvidersResolver=(r,o)=>Xg(r,o?o(n):n,!0))}}function VT(t,n){let e=Gt()+t,r=w();return r[e]===Ve?Gi(r,e,n()):Dy(r,e)}function jT(t,n,e){return A_(w(),Gt(),t,n,e)}function BT(t,n,e,r){return x_(w(),Gt(),t,n,e,r)}function HT(t,n,e,r,o){return N_(w(),Gt(),t,n,e,r,o)}function UT(t,n,e,r,o,i,s,a){let c=Gt()+t,l=w(),u=SS(l,c,e,r,o,i);return go(l,c+4,s,a)||u?Gi(l,c+6,n(e,r,o,i,s,a)):Dy(l,c+6)}function ih(t,n){let e=t[n];return e===Ve?void 0:e}function A_(t,n,e,r,o,i){let s=n+e;return Ge(t,s,o)?Gi(t,s+1,i?r.call(i,o):r(o)):ih(t,s+1)}function x_(t,n,e,r,o,i,s){let a=n+e;return go(t,a,o,i)?Gi(t,a+2,s?r.call(s,o,i):r(o,i)):ih(t,a+2)}function N_(t,n,e,r,o,i,s,a){let c=n+e;return IS(t,c,o,i,s)?Gi(t,c+3,a?r.call(a,o,i,s):r(o,i,s)):ih(t,c+3)}function $T(t,n){let e=X(),r,o=t+K;e.firstCreatePass?(r=zT(n,e.pipeRegistry),e.data[o]=r,r.onDestroy&&(e.destroyHooks??=[]).push(o,r.onDestroy)):r=e.data[o];let i=r.factory||(r.factory=mn(r.type,!0)),s,a=Oe(H);try{let c=Xa(!1),l=i();return Xa(c),Si(e,w(),o,l),l}finally{Oe(a)}}function zT(t,n){if(n)for(let e=n.length-1;e>=0;e--){let r=n[e];if(t===r.name)return r}}function GT(t,n,e){let r=t+K,o=w(),i=so(o,r);return sh(o,r)?A_(o,Gt(),n,i.transform,e,i):i.transform(e)}function WT(t,n,e,r){let o=t+K,i=w(),s=so(i,o);return sh(i,o)?x_(i,Gt(),n,s.transform,e,r,s):s.transform(e,r)}function qT(t,n,e,r,o){let i=t+K,s=w(),a=so(s,i);return sh(s,i)?N_(s,Gt(),n,a.transform,e,r,o,a):a.transform(e,r,o)}function sh(t,n){return t[I].data[n].pure}function YT(t,n){return _c(t,n)}var R_=(()=>{class t{applicationErrorHandler=d(qt);appRef=d(Qe);taskService=d(Mn);ngZone=d(M);zonelessEnabled=d(lo);tracing=d(Et,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new j;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(vi):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(d(Pa,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let e=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(e);return}this.switchToMicrotaskScheduler(),this.taskService.remove(e)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let e=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})})}notify(e){if(!this.zonelessEnabled&&e===5)return;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?og:ad;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(vi+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(e),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function O_(){return[{provide:ht,useExisting:R_},{provide:M,useClass:yi},{provide:lo,useValue:!0}]}function ZT(){return typeof $localize<"u"&&$localize.locale||Yi}var Ic=new g("",{factory:()=>d(Ic,{optional:!0,skipSelf:!0})||ZT()});var Sc=class{destroyed=!1;listeners=null;errorHandler=d(Ae,{optional:!0});destroyRef=d($e);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new E(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{let e=this.listeners?.indexOf(n);e!==void 0&&e!==-1&&this.listeners?.splice(e,1)}}}emit(n){if(this.destroyed){console.warn(yn(953,!1));return}if(this.listeners===null)return;let e=S(null);try{for(let r of this.listeners)try{r(n)}catch(o){this.errorHandler?.handleError(o)}}finally{S(e)}}};function se(t){return pm(t)}function Ye(t,n){return Xo(t,n?.equal)}var KT=t=>t;function ah(t,n){if(typeof t=="function"){let e=hu(t,KT,n?.equal);return k_(e,n?.debugName)}else{let e=hu(t.source,t.computation,t.equal);return k_(e,t.debugName)}}function k_(t,n){let e=t[de],r=t;return r.set=o=>fm(e,o),r.update=o=>hm(e,o),r.asReadonly=xi.bind(t),r}function XT(t){let n=t.request,e=t.params??n??(()=>null);return new Mc(e,JT(t),t.defaultValue,t.equal?QT(t.equal):void 0,t.debugName,t.injector??d(O))}var ch=class{value;isLoading;constructor(n,e){this.value=n,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=xi,this.isLoading=Ye(()=>this.status()==="loading"||this.status()==="reloading",void 0)}isError=Ye(()=>this.status()==="error");update(n){this.set(n(se(this.value)))}isValueDefined=Ye(()=>this.isError()?!1:this.value()!==void 0);_snapshot;get snapshot(){return this._snapshot??=Ye(()=>{let n=this.status();return n==="error"?{status:"error",error:this.error()}:{status:n,value:this.value()}})}hasValue(){return this.isValueDefined()}asReadonly(){return this}},Mc=class extends ch{loaderFn;equal;debugName;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;unregisterOnDestroy;status;error;constructor(n,e,r,o,i,s,a){super(Ye(()=>{let c=this.state().stream?.();if(!c||this.state().status==="loading"&&this.error())return r;if(!lh(c))throw new Tc(this.error());return c.value},{equal:o}),i),this.loaderFn=e,this.equal=o,this.debugName=i,this.extRequest=ah({source:n,computation:c=>({request:c,reload:0})}),this.state=ah({source:this.extRequest,computation:(c,l)=>{if(l){let u=c.request===void 0?"idle":"loading";return{extRequest:c,status:u,previousStatus:F_(l.value),stream:l.value.extRequest.request===c.request?l.value.stream:void 0}}else{let u=a?.(c.request);a=void 0;let f=c.request===void 0?"idle":u?"resolved":"loading";return{extRequest:c,status:f,previousStatus:"idle",stream:u}}}}),this.effectRef=fr(this.loadEffect.bind(this),{injector:s,manualCleanup:!0}),this.pendingTasks=s.get(Tn),this.unregisterOnDestroy=s.get($e).onDestroy(()=>this.destroy()),this.status=Ye(()=>F_(this.state()),void 0),this.error=Ye(()=>{let c=this.state().stream?.();return c&&!lh(c)?c.error:void 0},void 0)}set(n){if(this.destroyed)return;let e=se(this.error),r=se(this.state);if(!e){let o=se(this.value);if(r.status==="local"&&(this.equal?this.equal(o,n):o===n))return}this.state.set({extRequest:r.extRequest,status:"local",previousStatus:"local",stream:oe({value:n},void 0)}),this.abortInProgressLoad()}reload(){let{status:n}=se(this.state);return n==="idle"||n==="loading"?!1:(this.extRequest.update(({request:e,reload:r})=>({request:e,reload:r+1})),!0)}destroy(){this.destroyed=!0,this.unregisterOnDestroy(),this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:"idle",previousStatus:"idle",stream:void 0})}loadEffect(){return on(this,null,function*(){let n=this.extRequest(),{status:e,previousStatus:r}=se(this.state);if(n.request===void 0)return;if(e!=="loading")return;this.abortInProgressLoad();let o=this.resolvePendingTask=this.pendingTasks.add(),{signal:i}=this.pendingController=new AbortController;try{let s=yield se(()=>this.loaderFn({params:n.request,abortSignal:i,previous:{status:r}}));if(i.aborted||se(this.extRequest)!==n)return;this.state.set({extRequest:n,status:"resolved",previousStatus:"resolved",stream:s})}catch(s){if(i.aborted||se(this.extRequest)!==n)return;this.state.set({extRequest:n,status:"resolved",previousStatus:"error",stream:oe({error:dh(s)},void 0)})}finally{o?.(),o=void 0}})}abortInProgressLoad(){se(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}};function QT(t){return(n,e)=>n===void 0||e===void 0?n===e:t(n,e)}function JT(t){return e0(t)?t.stream:n=>on(null,null,function*(){try{return oe({value:yield t.loader(n)},void 0)}catch(e){return oe({error:dh(e)},void 0)}})}function e0(t){return!!t.stream}function F_(t){switch(t.status){case"loading":return t.extRequest.reload===0?"loading":"reloading";case"resolved":return lh(t.stream())?"resolved":"error";default:return t.status}}function lh(t){return t.error===void 0}function dh(t){return t0(t)?t:new uh(t)}function t0(t){return t instanceof Error||typeof t=="object"&&typeof t.name=="string"&&typeof t.message=="string"}var Tc=class extends Error{constructor(n){super(n.message,{cause:n})}},uh=class extends Error{constructor(n){super(String(n),{cause:n})}};var U_=Symbol("InputSignalNode#UNSET"),m0=U(D({},Qo),{transformFn:void 0,applyValueToInputSignal(t,n){Wn(t,n)}});function $_(t,n){let e=Object.create(m0);e.value=t,e.transformFn=n?.transform;function r(){if(an(e),e.value===U_){let o=null;throw new E(-950,o)}return e.value}return r[de]=e,r}var xc=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>cf(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},mz=(()=>{let t=new g("");return t.__NG_ELEMENT_ID__=n=>{let e=ue();if(e===null)throw new E(-204,!1);if(e.type&2)return e.value;if(n&8)return null;throw new E(-204,!1)},t})();function gz(t){return new Sc}function P_(t,n){return $_(t,n)}function g0(t){return $_(U_,t)}var vz=(P_.required=g0,P_);function L_(t,n){return zf(n)}function v0(t,n){return Gf(n)}var yz=(L_.required=v0,L_);function _z(t,n){return Wf(n)}function V_(t,n){return zf(n)}function y0(t,n){return Gf(n)}var bz=(V_.required=y0,V_);function Dz(t,n){return Wf(n)}var _0=(()=>{class t{zone=d(M);changeDetectionScheduler=d(ht);applicationRef=d(Qe);applicationErrorHandler=d(qt);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(e){this.applicationErrorHandler(e)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),b0=new g("",{factory:()=>!1});function D0({ngZoneFactory:t,scheduleInRootZone:n}){return t??=()=>new M(U(D({},z_()),{scheduleInRootZone:n})),[{provide:lo,useValue:!1},{provide:M,useFactory:t},{provide:bn,multi:!0,useFactory:()=>{let e=d(_0,{optional:!0});return()=>e.initialize()}},{provide:bn,multi:!0,useFactory:()=>{let e=d(E0);return()=>{e.initialize()}}},{provide:Pa,useValue:n??sd}]}function Ez(t){let n=t?.scheduleInRootZone,e=D0({ngZoneFactory:()=>{let r=z_(t);return r.scheduleInRootZone=n,r.shouldCoalesceEventChangeDetection&&Pt("NgZone_CoalesceEvent"),new M(r)},scheduleInRootZone:n});return Qr([{provide:b0,useValue:!0},e])}function z_(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var E0=(()=>{class t{subscription=new j;initialized=!1;zone=d(M);pendingTasks=d(Mn);initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{M.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{M.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var hh=new g(""),C0=new g("");function Qi(t){return!t.moduleRef}function w0(t){let n=Qi(t)?t.r3Injector:t.moduleRef.injector,e=n.get(M);return e.run(()=>{Qi(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let r=n.get(qt),o;if(e.runOutsideAngular(()=>{o=e.onError.subscribe({next:r})}),Qi(t)){let i=()=>n.destroy(),s=t.platformInjector.get(hh);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>t.moduleRef.destroy(),s=t.platformInjector.get(hh);s.add(i),t.moduleRef.onDestroy(()=>{Oi(t.allPlatformModules,t.moduleRef),o.unsubscribe(),s.delete(i)})}return S0(r,e,()=>{let i=n.get(Mn),s=i.add(),a=n.get(eh);return a.runInitializers(),a.donePromise.then(()=>{let c=n.get(Ic,Yi);if(n_(c||Yi),!n.get(C0,!0))return Qi(t)?n.get(Qe):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(Qi(t)){let u=n.get(Qe);return t.rootComponent!==void 0&&u.bootstrap(t.rootComponent),u}else return I0?.(t.moduleRef,t.allPlatformModules),t.moduleRef}).finally(()=>{i.remove(s)})})})}var I0;function S0(t,n,e){try{let r=e();return To(r)?r.catch(o=>{throw n.runOutsideAngular(()=>t(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>t(r)),r}}var Ac=null;function M0(t=[],n){return O.create({name:n,providers:[{provide:wi,useValue:"platform"},{provide:hh,useValue:new Set([()=>Ac=null])},...t]})}function T0(t=[]){if(Ac)return Ac;let n=M0(t);return Ac=n,qy(),A0(n),n}function A0(t){let n=t.get(ac,null);eo(t,()=>{n?.forEach(e=>e())})}function Cz(){return!1}var x0=1e4;var wz=x0-1e3;var Er=(()=>{class t{static __NG_ELEMENT_ID__=N0}return t})();function N0(t){return R0(ue(),w(),(t&16)===16)}function R0(t,n,e){if(Rt(t)&&!e){let r=ot(t.index,n);return new xn(r,r)}else if(t.type&175){let r=n[Pe];return new xn(r,n)}return null}var ph=class{supports(n){return Bf(n)}create(n){return new mh(n)}},O0=(t,n)=>n,mh=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||O0}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,r=this._removalsHead,o=0,i=null;for(;e||r;){let s=!r||e&&e.currentIndex<j_(r,o,i)?e:r,a=j_(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(e=e._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let h=0;h<l;h++){let p=h<i.length?i[h]:i[h]=0,m=p+h;u<=m&&m<l&&(i[h]=p+1)}let f=s.previousIndex;i[f]=u-l}}a!==c&&n(s,a,c)}}forEachPreviousItem(n){let e;for(e=this._previousItHead;e!==null;e=e._nextPrevious)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachMovedItem(n){let e;for(e=this._movesHead;e!==null;e=e._nextMoved)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}forEachIdentityChange(n){let e;for(e=this._identityChangesHead;e!==null;e=e._nextIdentityChange)n(e)}diff(n){if(n==null&&(n=[]),!Bf(n))throw new E(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._itHead,r=!1,o,i,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)i=n[a],s=this._trackByFn(a,i),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,i,s,a),r=!0):(r&&(e=this._verifyReinsertion(e,i,s,a)),Object.is(e.item,i)||this._addIdentityChange(e,i)),e=e._next}else o=0,_y(n,a=>{s=this._trackByFn(o,a),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,a,s,o),r=!0):(r&&(e=this._verifyReinsertion(e,a,s,o)),Object.is(e.item,a)||this._addIdentityChange(e,a)),e=e._next,o++}),this.length=o;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,r,o){let i;return n===null?i=this._itTail:(i=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,i,o)):(n=this._linkedRecords===null?null:this._linkedRecords.get(r,o),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,i,o)):n=this._addAfter(new gh(e,r),i,o)),n}_verifyReinsertion(n,e,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?n=this._reinsertAfter(i,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;n!==null;){let e=n._next;this._addToRemovals(this._unlink(n)),n=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,e,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let o=n._prevRemoved,i=n._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(n,e,r),this._addToMoves(n,r),n}_moveAfter(n,e,r){return this._unlink(n),this._insertAfter(n,e,r),this._addToMoves(n,r),n}_addAfter(n,e,r){return this._insertAfter(n,e,r),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,r){let o=e===null?this._itHead:e._next;return n._next=o,n._prev=e,o===null?this._itTail=n:o._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new Nc),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,r=n._next;return e===null?this._itHead=r:e._next=r,r===null?this._itTail=e:r._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Nc),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},gh=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,e){this.item=n,this.trackById=e}},vh=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let r;for(r=this._head;r!==null;r=r._nextDup)if((e===null||e<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){let e=n._prevDup,r=n._nextDup;return e===null?this._head=r:e._nextDup=r,r===null?this._tail=e:r._prevDup=e,this._head===null}},Nc=class{map=new Map;put(n){let e=n.trackById,r=this.map.get(e);r||(r=new vh,this.map.set(e,r)),r.add(n)}get(n,e){let r=n,o=this.map.get(r);return o?o.get(n,e):null}remove(n){let e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function j_(t,n,e){let r=t.previousIndex;if(r===null)return r;let o=0;return e&&r<e.length&&(o=e[r]),r+n+o}function B_(){return new Ji([new ph])}var Ji=(()=>{class t{factories;static \u0275prov=y({token:t,providedIn:"root",factory:B_});constructor(e){this.factories=e}static create(e,r){if(r!=null){let o=r.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{let r=d(t,{optional:!0,skipSelf:!0});return t.create(e,r||B_())}}}find(e){let r=this.factories.find(o=>o.supports(e));if(r!=null)return r;throw new E(901,!1)}}return t})();function G_(t){let{rootComponent:n,appProviders:e,platformProviders:r,platformRef:o}=t;Y(z.BootstrapApplicationStart);try{let i=o?.injector??T0(r),s=[O_(),sg,...e||[]],a=new Vi({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return w0({r3Injector:a.injector,platformInjector:i,rootComponent:n})}catch(i){return Promise.reject(i)}finally{Y(z.BootstrapApplicationEnd)}}function ne(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function W_(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}var fh=Symbol("NOT_SET"),q_=new Set,k0=U(D({},Qo),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:fh,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(t){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==fh&&!Pr(this))return this.signal;try{for(let o of this.cleanup??q_)o()}finally{this.cleanup?.clear()}let n=[];t!==void 0&&n.push(t),n.push(this.registerCleanupFn);let e=Vt(this),r;try{r=this.userFn.apply(null,n)}finally{cn(this,e)}return(this.value===fh||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),yh=class extends Fi{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(n,e,r,o,i,s=null){super(n,[void 0,void 0,void 0,void 0],r,!1,i.get($e),s),this.scheduler=o;for(let a of Mf){let c=e[a];if(c===void 0)continue;let l=Object.create(k0);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(an(l),l.value),l.signal[de]=l,l.registerCleanupFn=u=>(l.cleanup??=new Set).add(u),this.nodes[a]=l,this.hooks[a]=u=>l.phaseFn(u)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let n of this.onDestroyFns)n();super.destroy();for(let n of this.nodes)if(n)try{for(let e of n.cleanup??q_)e()}finally{ln(n)}}};function Iz(t,n){let e=n?.injector??d(O),r=e.get(ht),o=e.get(hc),i=e.get(Et,null,{optional:!0});o.impl??=e.get(Tf);let s=t;typeof s=="function"&&(s={mixedReadWrite:t});let a=e.get(co,null,{optional:!0}),c=new yh(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,e,i?.snapshot(null));return o.impl.register(c),c}function Rc(t,n){let e=Ut(t),r=n.elementInjector||Jr();return new vo(e).create(r,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings)}var Y_=null;function it(){return Y_}function _h(t){Y_??=t}var es=class{},xo=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:()=>d(Z_),providedIn:"platform"})}return t})();var Z_=(()=>{class t extends xo{_location;_history;_doc=d(x);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return it().getBaseHref(this._doc)}onPopState(e){let r=it().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",e,!1),()=>r.removeEventListener("popstate",e)}onHashChange(e){let r=it().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",e,!1),()=>r.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,r,o){this._history.pushState(e,r,o)}replaceState(e,r,o){this._history.replaceState(e,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function Q_(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n}function K_(t){let n=t.search(/#|\?|$/);return t[n-1]==="/"?t.slice(0,n-1)+t.slice(n):t}function kn(t){return t&&t[0]!=="?"?`?${t}`:t}var Oc=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:()=>d(P0),providedIn:"root"})}return t})(),F0=new g(""),P0=(()=>{class t extends Oc{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,r){super(),this._platformLocation=e,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??d(x).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Q_(this._baseHref,e)}path(e=!1){let r=this._platformLocation.pathname+kn(this._platformLocation.search),o=this._platformLocation.hash;return o&&e?`${r}${o}`:r}pushState(e,r,o,i){let s=this.prepareExternalUrl(o+kn(i));this._platformLocation.pushState(e,r,s)}replaceState(e,r,o,i){let s=this.prepareExternalUrl(o+kn(i));this._platformLocation.replaceState(e,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(r){return new(r||t)(T(xo),T(F0,8))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var kc=(()=>{class t{_subject=new C;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let r=this._locationStrategy.getBaseHref();this._basePath=j0(K_(X_(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,r=""){return this.path()==this.normalize(e+kn(r))}normalize(e){return t.stripTrailingSlash(V0(this._basePath,X_(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,r="",o=null){this._locationStrategy.pushState(o,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+kn(r)),o)}replaceState(e,r="",o=null){this._locationStrategy.replaceState(o,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+kn(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",r){this._urlChangeListeners.forEach(o=>o(e,r))}subscribe(e,r,o){return this._subject.subscribe({next:e,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=kn;static joinWithSlash=Q_;static stripTrailingSlash=K_;static \u0275fac=function(r){return new(r||t)(T(Oc))};static \u0275prov=y({token:t,factory:()=>L0(),providedIn:"root"})}return t})();function L0(){return new kc(T(Oc))}function V0(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function X_(t){return t.replace(/\/index\.html$/,"")}function j0(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var bh=/\s+/,J_=[],B0=(()=>{class t{_ngEl;_renderer;initialClasses=J_;rawClass;stateMap=new Map;constructor(e,r){this._ngEl=e,this._renderer=r}set klass(e){this.initialClasses=e!=null?e.trim().split(bh):J_}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(bh):e}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let r of e)this._updateState(r,!0);else if(e!=null)for(let r of Object.keys(e))this._updateState(r,!!e[r]);this._applyStateDiff()}_updateState(e,r){let o=this.stateMap.get(e);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(e,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let r=e[0],o=e[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(e,r){e=e.trim(),e.length>0&&e.split(bh).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||t)(H(B),H(We))};static \u0275dir=A({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var Fc=class{$implicit;ngForOf;index;count;constructor(n,e,r,o){this.$implicit=n,this.ngForOf=e,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},nb=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,r,o){this._viewContainer=e,this._template=r,this._differs=o}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let r=this._viewContainer;e.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new Fc(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),eb(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}e.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);eb(i,o)})}static ngTemplateContextGuard(e,r){return!0}static \u0275fac=function(r){return new(r||t)(H(je),H(xe),H(Ji))};static \u0275dir=A({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function eb(t,n){t.context.$implicit=n.item}var H0=(()=>{class t{_viewContainer;_context=new Pc;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,r){this._viewContainer=e,this._thenTemplateRef=r}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){tb(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){tb(e,!1),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,r){return!0}static \u0275fac=function(r){return new(r||t)(H(je),H(xe))};static \u0275dir=A({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),Pc=class{$implicit=null;ngIf=null};function tb(t,n){if(t&&!t.createEmbeddedView)throw new E(2020,!1)}var U0=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=d(O);constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(e,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||t)(H(je))};static \u0275dir=A({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Le]})}return t})();var $0=(()=>{class t{transform(e){return JSON.stringify(e,null,2)}static \u0275fac=function(r){return new(r||t)};static \u0275pipe=Yf({name:"json",type:t,pure:!1})}return t})();var rb=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=q({type:t});static \u0275inj=G({})}return t})();function ts(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let r=e.indexOf("="),[o,i]=r==-1?[e,""]:[e.slice(0,r),e.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}var Cr=class{};var Dh="browser";function ob(t){return t===Dh}var ns=class{_doc;constructor(n){this._doc=n}manager},Lc=(()=>{class t extends ns{constructor(e){super(e)}supports(e){return!0}addEventListener(e,r,o,i){return e.addEventListener(r,o,i),()=>this.removeEventListener(e,r,o,i)}removeEventListener(e,r,o,i){return e.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||t)(T(x))};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),Bc=new g(""),Ih=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,r){this._zone=r,e.forEach(s=>{s.manager=this});let o=e.filter(s=>!(s instanceof Lc));this._plugins=o.slice().reverse();let i=e.find(s=>s instanceof Lc);i&&this._plugins.push(i)}addEventListener(e,r,o,i){return this._findPluginFor(r).addEventListener(e,r,o,i)}getZone(){return this._zone}_findPluginFor(e){let r=this._eventNameToPlugin.get(e);if(r)return r;if(r=this._plugins.find(i=>i.supports(e)),!r)throw new E(5101,!1);return this._eventNameToPlugin.set(e,r),r}static \u0275fac=function(r){return new(r||t)(T(Bc),T(M))};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),Eh="ng-app-id";function ib(t){for(let n of t)n.remove()}function sb(t,n){let e=n.createElement("style");return e.textContent=t,e}function z0(t,n,e,r){let o=t.head?.querySelectorAll(`style[${Eh}="${n}"],link[${Eh}="${n}"]`);if(o)for(let i of o)i.removeAttribute(Eh),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&e.set(i.textContent,{usage:0,elements:[i]})}function wh(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var Sh=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,r,o,i={}){this.doc=e,this.appId=r,this.nonce=o,z0(e,r,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,r){for(let o of e)this.addUsage(o,this.inline,sb);r?.forEach(o=>this.addUsage(o,this.external,wh))}removeStyles(e,r){for(let o of e)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(e,r,o){let i=r.get(e);i?i.usage++:r.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(e,this.doc)))})}removeUsage(e,r){let o=r.get(e);o&&(o.usage--,o.usage<=0&&(ib(o.elements),r.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])ib(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(e,sb(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(e,wh(r,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,r){return this.nonce&&r.setAttribute("nonce",this.nonce),e.appendChild(r)}static \u0275fac=function(r){return new(r||t)(T(x),T(Rn),T(br,8),T(_r))};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),Ch={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Mh=/%COMP%/g;var cb="%COMP%",G0=`_nghost-${cb}`,W0=`_ngcontent-${cb}`,q0=!0,Y0=new g("",{factory:()=>q0});function Z0(t){return W0.replace(Mh,t)}function K0(t){return G0.replace(Mh,t)}function lb(t,n){return n.map(e=>e.replace(Mh,t))}var Th=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,r,o,i,s,a,c=null,l=null){this.eventManager=e,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.defaultRenderer=new rs(e,s,a,this.tracingService)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(e,r);return o instanceof jc?o.applyToHost(e):o instanceof os&&o.applyStyles(),o}getOrCreateRenderer(e,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,f=this.tracingService;switch(r.encapsulation){case Dt.Emulated:i=new jc(c,l,r,this.appId,u,s,a,f);break;case Dt.ShadowDom:return new Vc(c,e,r,s,a,this.nonce,f,l);case Dt.ExperimentalIsolatedShadowDom:return new Vc(c,e,r,s,a,this.nonce,f);default:i=new os(c,l,r,u,s,a,f);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(r){return new(r||t)(T(Ih),T(Sh),T(Rn),T(Y0),T(x),T(M),T(br),T(Et,8))};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),rs=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,r,o){this.eventManager=n,this.doc=e,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(Ch[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(ab(n)?n.content:n).appendChild(e)}insertBefore(n,e,r){n&&(ab(n)?n.content:n).insertBefore(e,r)}removeChild(n,e){e.remove()}selectRootElement(n,e){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new E(-5104,!1);return e||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,r,o){if(o){e=o+":"+e;let i=Ch[o];i?n.setAttributeNS(i,e,r):n.setAttribute(e,r)}else n.setAttribute(e,r)}removeAttribute(n,e,r){if(r){let o=Ch[r];o?n.removeAttributeNS(o,e):n.removeAttribute(`${r}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,r,o){o&(kt.DashCase|kt.Important)?n.style.setProperty(e,r,o&kt.Important?"important":""):n.style[e]=r}removeStyle(n,e,r){r&kt.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,r){n!=null&&(n[e]=r)}setValue(n,e){n.nodeValue=e}listen(n,e,r,o){if(typeof n=="string"&&(n=it().getGlobalEventTarget(this.doc,n),!n))throw new E(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(n,e,i)),this.eventManager.addEventListener(n,e,i,o)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;n(e)===!1&&e.preventDefault()}}};function ab(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Vc=class extends rs{hostEl;sharedStylesHost;shadowRoot;constructor(n,e,r,o,i,s,a,c){super(n,o,i,a),this.hostEl=e,this.sharedStylesHost=c,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=r.styles;l=lb(r.id,l);for(let f of l){let h=document.createElement("style");s&&h.setAttribute("nonce",s),h.textContent=f,this.shadowRoot.appendChild(h)}let u=r.getExternalStyles?.();if(u)for(let f of u){let h=wh(f,o);s&&h.setAttribute("nonce",s),this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,r){return super.insertBefore(this.nodeOrShadowRoot(n),e,r)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},os=class extends rs{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,r,o,i,s,a,c){super(n,i,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=c?lb(c,l):l,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&mr.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},jc=class extends os{contentAttr;hostAttr;constructor(n,e,r,o,i,s,a,c){let l=o+"-"+r.id;super(n,e,r,i,s,a,c,l),this.contentAttr=Z0(l),this.hostAttr=K0(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let r=super.createElement(n,e);return super.setAttribute(r,this.contentAttr,""),r}};var Hc=class t extends es{supportsDOMEvents=!0;static makeCurrent(){_h(new t)}onAndCancel(n,e,r,o){return n.addEventListener(e,r,o),()=>{n.removeEventListener(e,r,o)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=X0();return e==null?null:Q0(e)}resetBaseElement(){is=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return ts(document.cookie,n)}},is=null;function X0(){return is=is||document.head.querySelector("base"),is?is.getAttribute("href"):null}function Q0(t){return new URL(t,document.baseURI).pathname}var J0=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),ub=["alt","control","meta","shift"],eA={"\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"},tA={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},db=(()=>{class t extends ns{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,r,o,i){let s=t.parseEventName(r),a=t.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>it().onAndCancel(e,s.domEventName,a,i))}static parseEventName(e){let r=e.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=t._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),ub.forEach(l=>{let u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(e,r){let o=eA[e.key]||e.key,i="";return r.indexOf("code.")>-1&&(o=e.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),ub.forEach(s=>{if(s!==o){let a=tA[s];a(e)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(e,r,o){return i=>{t.matchEventFullKeyCode(i,e)&&o.runGuarded(()=>r(i))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(r){return new(r||t)(T(x))};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})();function nA(t,n,e){return on(this,null,function*(){let r=D({rootComponent:t},rA(n,e));return G_(r)})}function rA(t,n){return{platformRef:n?.platformRef,appProviders:[...cA,...t?.providers??[]],platformProviders:aA}}function oA(){Hc.makeCurrent()}function iA(){return new Ae}function sA(){return uf(document),document}var aA=[{provide:_r,useValue:Dh},{provide:ac,useValue:oA,multi:!0},{provide:x,useFactory:sA}];var cA=[{provide:wi,useValue:"root"},{provide:Ae,useFactory:iA},{provide:Bc,useClass:Lc,multi:!0},{provide:Bc,useClass:db,multi:!0},Th,Sh,Ih,{provide:Ee,useExisting:Th},{provide:Cr,useClass:J0},[]];var Fn=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
|
|
5
|
+
`).forEach(e=>{let r=e.indexOf(":");if(r>0){let o=e.slice(0,r),i=e.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,r)=>{this.addHeaderEntry(r,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,r])=>{this.setHeaderEntries(e,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,e);let o=(n.op==="a"?this.headers.get(e):void 0)||[];o.push(...r),this.headers.set(e,o);break;case"d":let i=n.value;if(!i)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(n,e){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(e):this.headers.set(r,[e])}setHeaderEntries(n,e){let r=(Array.isArray(e)?e:[e]).map(i=>i.toString()),o=n.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var $c=class{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}},zc=class{encodeKey(n){return fb(n)}encodeValue(n){return fb(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function lA(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,i)),n.decodeValue(o.slice(i+1))],c=e.get(s)||[];c.push(a),e.set(s,c)}),e}var uA=/%(\d[a-f0-9])/gi,dA={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function fb(t){return encodeURIComponent(t).replace(uA,(n,e)=>dA[e]??n)}function Uc(t){return`${t}`}var Jt=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new zc,n.fromString){if(n.fromObject)throw new E(2805,!1);this.map=lA(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let r=n.fromObject[e],o=Array.isArray(r)?r.map(Uc):[Uc(r)];this.map.set(e,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(r=>{let o=n[r];Array.isArray(o)?o.forEach(i=>{e.push({param:r,value:i,op:"a"})}):e.push({param:r,value:o,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(r=>e+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(Uc(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],o=r.indexOf(Uc(n.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};function fA(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function hb(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function pb(t){return typeof Blob<"u"&&t instanceof Blob}function mb(t){return typeof FormData<"u"&&t instanceof FormData}function hA(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var gb="Content-Type",vb="Accept",_b="text/plain",bb="application/json",pA=`${bb}, ${_b}, */*`,No=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,e,r,o){this.url=e,this.method=n.toUpperCase();let i;if(fA(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new E(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new Fn,this.context??=new $c,!this.params)this.params=new Jt,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),c=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||hb(this.body)||pb(this.body)||mb(this.body)||hA(this.body)?this.body:this.body instanceof Jt?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||mb(this.body)?null:pb(this.body)?this.body.type||null:hb(this.body)?null:typeof this.body=="string"?_b:this.body instanceof Jt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?bb:null}clone(n={}){let e=n.method||this.method,r=n.url||this.url,o=n.responseType||this.responseType,i=n.keepalive??this.keepalive,s=n.priority||this.priority,a=n.cache||this.cache,c=n.mode||this.mode,l=n.redirect||this.redirect,u=n.credentials||this.credentials,f=n.referrer||this.referrer,h=n.integrity||this.integrity,p=n.referrerPolicy||this.referrerPolicy,m=n.transferCache??this.transferCache,v=n.timeout??this.timeout,_=n.body!==void 0?n.body:this.body,b=n.withCredentials??this.withCredentials,k=n.reportProgress??this.reportProgress,Ce=n.headers||this.headers,ae=n.params||this.params,rn=n.context??this.context;return n.setHeaders!==void 0&&(Ce=Object.keys(n.setHeaders).reduce((lt,Un)=>lt.set(Un,n.setHeaders[Un]),Ce)),n.setParams&&(ae=Object.keys(n.setParams).reduce((lt,Un)=>lt.set(Un,n.setParams[Un]),ae)),new t(e,r,_,{params:ae,headers:Ce,context:rn,reportProgress:k,responseType:o,withCredentials:b,transferCache:m,keepalive:i,cache:a,priority:s,timeout:v,mode:c,redirect:l,credentials:u,referrer:f,integrity:h,referrerPolicy:p})}},wr=(function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t})(wr||{}),Oo=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,e=200,r="OK"){this.headers=n.headers||new Fn,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||r,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}},Gc=class t extends Oo{constructor(n={}){super(n)}type=wr.ResponseHeader;clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},ss=class t extends Oo{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=wr.Response;clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}},Ro=class extends Oo{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},mA=200,gA=204;var vA=new g("");var yA=/^\)\]\}',?\n/;var xh=(()=>{class t{xhrFactory;tracingService=d(Et,{optional:!0});constructor(e){this.xhrFactory=e}maybePropagateTrace(e){return this.tracingService?.propagate?this.tracingService.propagate(e):e}handle(e){if(e.method==="JSONP")throw new E(-2800,!1);let r=this.xhrFactory;return fe(null).pipe(Yr(()=>new R(i=>{let s=r.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((_,b)=>s.setRequestHeader(_,b.join(","))),e.headers.has(vb)||s.setRequestHeader(vb,pA),!e.headers.has(gb)){let _=e.detectContentTypeHeader();_!==null&&s.setRequestHeader(gb,_)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let _=e.responseType.toLowerCase();s.responseType=_!=="json"?_:"text"}let a=e.serializeBody(),c=null,l=()=>{if(c!==null)return c;let _=s.statusText||"OK",b=new Fn(s.getAllResponseHeaders()),k=s.responseURL||e.url;return c=new Gc({headers:b,status:s.status,statusText:_,url:k}),c},u=this.maybePropagateTrace(()=>{let{headers:_,status:b,statusText:k,url:Ce}=l(),ae=null;b!==gA&&(ae=typeof s.response>"u"?s.responseText:s.response),b===0&&(b=ae?mA:0);let rn=b>=200&&b<300;if(e.responseType==="json"&&typeof ae=="string"){let lt=ae;ae=ae.replace(yA,"");try{ae=ae!==""?JSON.parse(ae):null}catch(Un){ae=lt,rn&&(rn=!1,ae={error:Un,text:ae})}}rn?(i.next(new ss({body:ae,headers:_,status:b,statusText:k,url:Ce||void 0})),i.complete()):i.error(new Ro({error:ae,headers:_,status:b,statusText:k,url:Ce||void 0}))}),f=this.maybePropagateTrace(_=>{let{url:b}=l(),k=new Ro({error:_,status:s.status||0,statusText:s.statusText||"Unknown Error",url:b||void 0});i.error(k)}),h=f;e.timeout&&(h=this.maybePropagateTrace(_=>{let{url:b}=l(),k=new Ro({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:b||void 0});i.error(k)}));let p=!1,m=this.maybePropagateTrace(_=>{p||(i.next(l()),p=!0);let b={type:wr.DownloadProgress,loaded:_.loaded};_.lengthComputable&&(b.total=_.total),e.responseType==="text"&&s.responseText&&(b.partialText=s.responseText),i.next(b)}),v=this.maybePropagateTrace(_=>{let b={type:wr.UploadProgress,loaded:_.loaded};_.lengthComputable&&(b.total=_.total),i.next(b)});return s.addEventListener("load",u),s.addEventListener("error",f),s.addEventListener("timeout",h),s.addEventListener("abort",f),e.reportProgress&&(s.addEventListener("progress",m),a!==null&&s.upload&&s.upload.addEventListener("progress",v)),s.send(a),i.next({type:wr.Sent}),()=>{s.removeEventListener("error",f),s.removeEventListener("abort",f),s.removeEventListener("load",u),s.removeEventListener("timeout",h),e.reportProgress&&(s.removeEventListener("progress",m),a!==null&&s.upload&&s.upload.removeEventListener("progress",v)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||t)(T(Cr))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Db(t,n){return n(t)}function _A(t,n){return(e,r)=>n.intercept(e,{handle:o=>t(o,r)})}function bA(t,n,e){return(r,o)=>eo(e,()=>n(r,i=>t(i,o)))}var Eb=new g(""),Nh=new g("",{factory:()=>[]}),Cb=new g(""),Rh=new g("",{factory:()=>!0});function DA(){let t=null;return(n,e)=>{t===null&&(t=(d(Eb,{optional:!0})??[]).reduceRight(_A,Db));let r=d(Tn);if(d(Rh)){let i=r.add();return t(n,e).pipe(qr(i))}else return t(n,e)}}var Oh=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:function(r){let o=null;return r?o=new(r||t):o=T(xh),o},providedIn:"root"})}return t})();var Wc=(()=>{class t{backend;injector;chain=null;pendingTasks=d(Tn);contributeToStability=d(Rh);constructor(e,r){this.backend=e,this.injector=r}handle(e){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Nh),...this.injector.get(Cb,[])]));this.chain=r.reduceRight((o,i)=>bA(o,i,this.injector),Db)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(e,o=>this.backend.handle(o)).pipe(qr(r))}else return this.chain(e,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||t)(T(Oh),T(ce))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),kh=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:function(r){let o=null;return r?o=new(r||t):o=T(Wc),o},providedIn:"root"})}return t})();function Ah(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,credentials:t.credentials,transferCache:t.transferCache,timeout:t.timeout,keepalive:t.keepalive,priority:t.priority,cache:t.cache,mode:t.mode,redirect:t.redirect,integrity:t.integrity,referrer:t.referrer,referrerPolicy:t.referrerPolicy}}var qc=(()=>{class t{handler;constructor(e){this.handler=e}request(e,r,o={}){let i;if(e instanceof No)i=e;else{let c;o.headers instanceof Fn?c=o.headers:c=new Fn(o.headers);let l;o.params&&(o.params instanceof Jt?l=o.params:l=new Jt({fromObject:o.params})),i=new No(e,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=fe(i).pipe(au(c=>this.handler.handle(c)));if(e instanceof No||o.observe==="events")return s;let a=s.pipe(_e(c=>c instanceof ss));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(J(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new E(2806,!1);return c.body}));case"blob":return a.pipe(J(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new E(2807,!1);return c.body}));case"text":return a.pipe(J(c=>{if(c.body!==null&&typeof c.body!="string")throw new E(2808,!1);return c.body}));default:return a.pipe(J(c=>c.body))}case"response":return a;default:throw new E(2809,!1)}}delete(e,r={}){return this.request("DELETE",e,r)}get(e,r={}){return this.request("GET",e,r)}head(e,r={}){return this.request("HEAD",e,r)}jsonp(e,r){return this.request("JSONP",e,{params:new Jt().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,r={}){return this.request("OPTIONS",e,r)}patch(e,r,o={}){return this.request("PATCH",e,Ah(o,r))}post(e,r,o={}){return this.request("POST",e,Ah(o,r))}put(e,r,o={}){return this.request("PUT",e,Ah(o,r))}static \u0275fac=function(r){return new(r||t)(T(kh))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var EA=new g("",{factory:()=>!0}),CA="XSRF-TOKEN",wA=new g("",{factory:()=>CA}),IA="X-XSRF-TOKEN",SA=new g("",{factory:()=>IA}),MA=(()=>{class t{cookieName=d(wA);doc=d(x);lastCookieString="";lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=ts(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),wb=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:function(r){let o=null;return r?o=new(r||t):o=T(MA),o},providedIn:"root"})}return t})();function TA(t,n){if(!d(EA)||t.method==="GET"||t.method==="HEAD")return n(t);try{let o=d(xo).href,{origin:i}=new URL(o),{origin:s}=new URL(t.url,i);if(i!==s)return n(t)}catch(o){return n(t)}let e=d(wb).getToken(),r=d(SA);return e!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,e)})),n(t)}var Fh=(function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t})(Fh||{});function AA(t,n){return{\u0275kind:t,\u0275providers:n}}function xA(...t){let n=[qc,Wc,{provide:kh,useExisting:Wc},{provide:Oh,useFactory:()=>d(vA,{optional:!0})??d(xh)},{provide:Nh,useValue:TA,multi:!0}];for(let e of t)n.push(...e.\u0275providers);return Qr(n)}var yb=new g("");function NA(){return AA(Fh.LegacyInterceptors,[{provide:yb,useFactory:DA},{provide:Nh,useExisting:yb,multi:!0}])}var as=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:function(r){let o=null;return r?o=new(r||t):o=T(OA),o},providedIn:"root"})}return t})(),OA=(()=>{class t extends as{_doc;constructor(e){super(),this._doc=e}sanitize(e,r){if(r==null)return null;switch(e){case ve.NONE:return r;case ve.HTML:return Ft(r,"HTML")?Xe(r):uc(this._doc,String(r)).toString();case ve.STYLE:return Ft(r,"Style")?Xe(r):r;case ve.SCRIPT:if(Ft(r,"Script"))return Xe(r);throw new E(5200,!1);case ve.URL:return Ft(r,"URL")?Xe(r):Ui(String(r));case ve.RESOURCE_URL:if(Ft(r,"ResourceURL"))return Xe(r);throw new E(5201,!1);default:throw new E(5202,!1)}}bypassSecurityTrustHtml(e){return mf(e)}bypassSecurityTrustStyle(e){return gf(e)}bypassSecurityTrustScript(e){return vf(e)}bypassSecurityTrustUrl(e){return yf(e)}bypassSecurityTrustResourceUrl(e){return _f(e)}static \u0275fac=function(r){return new(r||t)(T(x))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ph;try{Ph=typeof Intl<"u"&&Intl.v8BreakIterator}catch(t){Ph=!1}var re=(()=>{class t{_platformId=d(_r);isBrowser=this._platformId?ob(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||Ph)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Lh;function Ib(){if(Lh==null){let t=typeof document<"u"?document.head:null;Lh=!!(t&&(t.createShadowRoot||t.attachShadow))}return Lh}function Vh(t){if(Ib()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function Ir(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function Be(t){return t.composedPath?t.composedPath()[0]:t.target}function jh(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Yc=new WeakMap,st=(()=>{class t{_appRef;_injector=d(O);_environmentInjector=d(ce);load(e){let r=this._appRef=this._appRef||this._injector.get(Qe),o=Yc.get(r);o||(o={loaders:new Set,refs:[]},Yc.set(r,o),r.onDestroy(()=>{Yc.get(r)?.refs.forEach(i=>i.destroy()),Yc.delete(r)})),o.loaders.has(e)||(o.loaders.add(e),o.refs.push(Rc(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function pe(t){return t==null?"":typeof t=="string"?t:`${t}px`}function ko(t){return Array.isArray(t)?t:[t]}function It(t,n=0){return Sb(t)?Number(t):arguments.length===2?n:0}function Sb(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function at(t){return t instanceof B?t.nativeElement:t}var FA=new g("cdk-dir-doc",{providedIn:"root",factory:()=>d(x)}),PA=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function Mb(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?PA.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var en=(()=>{class t{get value(){return this.valueSignal()}valueSignal=oe("ltr");change=new $;constructor(){let e=d(FA,{optional:!0});if(e){let r=e.body?e.body.dir:null,o=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(Mb(r||o||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var St=(function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t})(St||{}),Zc,Sr;function Kc(){if(Sr==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Sr=!1,Sr;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)Sr=!0;else{let t=Element.prototype.scrollTo;t?Sr=!/\{\s*\[native code\]\s*\}/.test(t.toString()):Sr=!1}}return Sr}function Fo(){if(typeof document!="object"||!document)return St.NORMAL;if(Zc==null){let t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let e=document.createElement("div"),r=e.style;r.width="2px",r.height="1px",t.appendChild(e),document.body.appendChild(t),Zc=St.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,Zc=t.scrollLeft===0?St.NEGATED:St.INVERTED),t.remove()}return Zc}var Xc=class{};function Tb(t){return t&&typeof t.connect=="function"&&!(t instanceof ti)}var Qc=class extends Xc{_data;constructor(n){super(),this._data=n}connect(){return jt(this._data)?this._data:fe(this._data)}disconnect(){}},cs=(function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t})(cs||{}),Jc=class{viewCacheSize=20;_viewCache=[];applyChanges(n,e,r,o,i){n.forEachOperation((s,a,c)=>{let l,u;if(s.previousIndex==null){let f=()=>r(s,a,c);l=this._insertView(f,c,e,o(s)),u=l?cs.INSERTED:cs.REPLACED}else c==null?(this._detachAndCacheView(a,e),u=cs.REMOVED):(l=this._moveView(a,c,e,o(s)),u=cs.MOVED);i&&i({context:l?.context,operation:u,record:s})})}detach(){for(let n of this._viewCache)n.destroy();this._viewCache=[]}_insertView(n,e,r,o){let i=this._insertViewFromCache(e,r);if(i){i.context.$implicit=o;return}let s=n();return r.createEmbeddedView(s.templateRef,s.context,s.index)}_detachAndCacheView(n,e){let r=e.detach(n);this._maybeCacheView(r,e)}_moveView(n,e,r,o){let i=r.get(n);return r.move(i,e),i.context.$implicit=o,i}_maybeCacheView(n,e){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(n);else{let r=e.indexOf(n);r===-1?n.destroy():e.remove(r)}}_insertViewFromCache(n,e){let r=this._viewCache.pop();return r&&e.insert(r,n),r||null}};var Je=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=q({type:t});static \u0275inj=G({})}return t})();var LA=["contentWrapper"],VA=["*"],Nb=new g("VIRTUAL_SCROLL_STRATEGY"),Bh=class{_scrolledIndexChange=new C;scrolledIndexChange=this._scrolledIndexChange.pipe(Wr());_viewport=null;_itemSize;_minBufferPx;_maxBufferPx;constructor(n,e,r){this._itemSize=n,this._minBufferPx=e,this._maxBufferPx=r}attach(n){this._viewport=n,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(n,e,r){r<e,this._itemSize=n,this._minBufferPx=e,this._maxBufferPx=r,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(n,e){this._viewport&&this._viewport.scrollToOffset(n*this._itemSize,e)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;let n=this._viewport.getRenderedRange(),e={start:n.start,end:n.end},r=this._viewport.getViewportSize(),o=this._viewport.getDataLength(),i=this._viewport.measureScrollOffset(),s=this._itemSize>0?i/this._itemSize:0;if(e.end>o){let c=Math.ceil(r/this._itemSize),l=Math.max(0,Math.min(s,o-c));s!=l&&(s=l,i=l*this._itemSize,e.start=Math.floor(s)),e.end=Math.max(0,Math.min(o,e.start+c))}let a=i-e.start*this._itemSize;if(a<this._minBufferPx&&e.start!=0){let c=Math.ceil((this._maxBufferPx-a)/this._itemSize);e.start=Math.max(0,e.start-c),e.end=Math.min(o,Math.ceil(s+(r+this._minBufferPx)/this._itemSize))}else{let c=e.end*this._itemSize-(i+r);if(c<this._minBufferPx&&e.end!=o){let l=Math.ceil((this._maxBufferPx-c)/this._itemSize);l>0&&(e.end=Math.min(o,e.end+l),e.start=Math.max(0,Math.floor(s-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(e),this._viewport.setRenderedContentOffset(Math.round(this._itemSize*e.start)),this._scrolledIndexChange.next(Math.floor(s))}};function jA(t){return t._scrollStrategy}var BA=(()=>{class t{get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=It(e)}_itemSize=20;get minBufferPx(){return this._minBufferPx}set minBufferPx(e){this._minBufferPx=It(e)}_minBufferPx=100;get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(e){this._maxBufferPx=It(e)}_maxBufferPx=200;_scrollStrategy=new Bh(this.itemSize,this.minBufferPx,this.maxBufferPx);ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=A({type:t,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[Re([{provide:Nb,useFactory:jA,deps:[we(()=>t)]}]),Le]})}return t})(),HA=20,ls=(()=>{class t{_ngZone=d(M);_platform=d(re);_renderer=d(Ee).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new C;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let r=this.scrollContainers.get(e);r&&(r.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=HA){return this._platform.isBrowser?new R(r=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let o=e>0?this._scrolled.pipe(li(e)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):fe()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(e,r){let o=this.getAncestorScrollContainers(e);return this.scrolled(r).pipe(_e(i=>!i||o.indexOf(i)>-1))}getAncestorScrollContainers(e){let r=[];return this.scrollContainers.forEach((o,i)=>{this._scrollableContainsElement(i,e)&&r.push(i)}),r}_scrollableContainsElement(e,r){let o=at(r),i=e.getElementRef().nativeElement;do if(o==i)return!0;while(o=o.parentElement);return!1}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),us=(()=>{class t{elementRef=d(B);scrollDispatcher=d(ls);ngZone=d(M);dir=d(en,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new C;_renderer=d(We);_cleanupScroll;_elementScrolled=new C;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let r=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=o?e.end:e.start),e.right==null&&(e.right=o?e.start:e.end),e.bottom!=null&&(e.top=r.scrollHeight-r.clientHeight-e.bottom),o&&Fo()!=St.NORMAL?(e.left!=null&&(e.right=r.scrollWidth-r.clientWidth-e.left),Fo()==St.INVERTED?e.left=e.right:Fo()==St.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=r.scrollWidth-r.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let r=this.elementRef.nativeElement;Kc()?r.scrollTo(e):(e.top!=null&&(r.scrollTop=e.top),e.left!=null&&(r.scrollLeft=e.left))}measureScrollOffset(e){let r="left",o="right",i=this.elementRef.nativeElement;if(e=="top")return i.scrollTop;if(e=="bottom")return i.scrollHeight-i.clientHeight-i.scrollTop;let s=this.dir&&this.dir.value=="rtl";return e=="start"?e=s?o:r:e=="end"&&(e=s?r:o),s&&Fo()==St.INVERTED?e==r?i.scrollWidth-i.clientWidth-i.scrollLeft:i.scrollLeft:s&&Fo()==St.NEGATED?e==r?i.scrollLeft+i.scrollWidth-i.clientWidth:-i.scrollLeft:e==r?i.scrollLeft:i.scrollWidth-i.clientWidth-i.scrollLeft}static \u0275fac=function(r){return new(r||t)};static \u0275dir=A({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return t})(),UA=20,Mr=(()=>{class t{_platform=d(re);_listeners;_viewportSize=null;_change=new C;_document=d(x);constructor(){let e=d(M),r=d(Ee).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let o=i=>this._change.next(i);this._listeners=[r.listen("window","resize",o),r.listen("window","orientationchange",o)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:r,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+r,height:o,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,r=this._getWindow(),o=e.documentElement,i=o.getBoundingClientRect(),s=-i.top||e.body?.scrollTop||r.scrollY||o.scrollTop||0,a=-i.left||e.body?.scrollLeft||r.scrollX||o.scrollLeft||0;return{top:s,left:a}}change(e=UA){return e>0?this._change.pipe(li(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ab=new g("VIRTUAL_SCROLLABLE"),$A=(()=>{class t extends us{constructor(){super()}measureViewportSize(e){let r=this.elementRef.nativeElement;return e==="horizontal"?r.clientWidth:r.clientHeight}static \u0275fac=function(r){return new(r||t)};static \u0275dir=A({type:t,features:[W]})}return t})();function zA(t,n){return t.start==n.start&&t.end==n.end}var GA=typeof requestAnimationFrame<"u"?nu:tu,Rb=new g("CDK_VIRTUAL_SCROLL_VIEWPORT"),WA=(()=>{class t extends $A{elementRef=d(B);_changeDetectorRef=d(Er);_scrollStrategy=d(Nb,{optional:!0});scrollable=d(Ab,{optional:!0});_platform=d(re);_detachedSubject=new C;_renderedRangeSubject=new C;_renderedContentOffsetSubject=new C;get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}_orientation="vertical";appendOnly=!1;scrolledIndexChange=new R(e=>this._scrollStrategy.scrolledIndexChange.subscribe(r=>Promise.resolve().then(()=>this.ngZone.run(()=>e.next(r)))));_contentWrapper;renderedRangeStream=this._renderedRangeSubject;renderedContentOffset=this._renderedContentOffsetSubject.pipe(_e(e=>e!==null),Wr());_totalContentSize=0;_totalContentWidth=oe("");_totalContentHeight=oe("");_renderedContentTransform;_renderedRange={start:0,end:0};_dataLength=0;_viewportSize=0;_forOf=null;_renderedContentOffset=0;_renderedContentOffsetNeedsRewrite=!1;_changeDetectionNeeded=oe(!1);_runAfterChangeDetection=[];_viewportChanges=j.EMPTY;_injector=d(O);_isDestroyed=!1;constructor(){super();let e=d(Mr);this._scrollStrategy,this._viewportChanges=e.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this);let r=fr(()=>{this._changeDetectionNeeded()&&this._doChangeDetection()},{injector:d(Qe).injector});d($e).onDestroy(()=>{r.destroy()})}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(At(null),li(0,GA),Bt(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),this._isDestroyed=!0,super.ngOnDestroy()}attach(e){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(Bt(this._detachedSubject)).subscribe(r=>{let o=r.length;o!==this._dataLength&&(this._dataLength=o,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(e){zA(this._renderedRange,e)||(this.appendOnly&&(e={start:0,end:Math.max(this._renderedRange.end,e.end)}),this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,r="to-start"){e=this.appendOnly&&r==="to-start"?0:e;let o=this.dir&&this.dir.value=="rtl",i=this.orientation=="horizontal",s=i?"X":"Y",c=`translate${s}(${Number((i&&o?-1:1)*e)}px)`;this._renderedContentOffset=e,r==="to-end"&&(c+=` translate${s}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=c&&(this._renderedContentTransform=c,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,r="auto"){let o={behavior:r};this.orientation==="horizontal"?o.start=e:o.top=e,this.scrollable.scrollTo(o)}scrollToIndex(e,r="auto"){this._scrollStrategy.scrollToIndex(e,r)}measureScrollOffset(e){let r;return this.scrollable==this?r=o=>super.measureScrollOffset(o):r=o=>this.scrollable.measureScrollOffset(o),Math.max(0,r(e??(this.orientation==="horizontal"?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let r,o="left",i="right",s=this.dir?.value=="rtl";e=="start"?r=s?i:o:e=="end"?r=s?o:i:e?r=e:r=this.orientation==="horizontal"?"left":"top";let a=this.scrollable.measureBoundingClientRectWithScrollOffset(r);return this.elementRef.nativeElement.getBoundingClientRect()[r]-a}measureRenderedContentSize(){let e=this._contentWrapper.nativeElement;return this.orientation==="horizontal"?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),!se(this._changeDetectionNeeded)&&this.ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this.ngZone.run(()=>{this._changeDetectionNeeded.set(!0)})})})}_doChangeDetection(){this._isDestroyed||this.ngZone.run(()=>{this._changeDetectorRef.markForCheck(),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this._renderedContentOffsetSubject.next(this.getOffsetToRenderedContentStart()),Ct(()=>{this._changeDetectionNeeded.set(!1);let e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(let r of e)r()},{injector:this._injector})})}_calculateSpacerSize(){this._totalContentHeight.set(this.orientation==="horizontal"?"":`${this._totalContentSize}px`),this._totalContentWidth.set(this.orientation==="horizontal"?`${this._totalContentSize}px`:"")}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ie({type:t,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(r,o){if(r&1&&Ao(LA,7),r&2){let i;Zi(i=Ki())&&(o._contentWrapper=i.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(r,o){r&2&&ye("cdk-virtual-scroll-orientation-horizontal",o.orientation==="horizontal")("cdk-virtual-scroll-orientation-vertical",o.orientation!=="horizontal")},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",ne]},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[Re([{provide:us,useFactory:()=>d(Ab,{optional:!0})||d(t)},{provide:Rb,useExisting:t}]),W],ngContentSelectors:VA,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(r,o){r&1&&(wt(),Xt(0,"div",1,0),Se(2),Qt(),qe(3,"div",2)),r&2&&(If(3),wc("width",o._totalContentWidth())("height",o._totalContentHeight()))},styles:[`cdk-virtual-scroll-viewport {
|
|
6
|
+
display: block;
|
|
7
|
+
position: relative;
|
|
8
|
+
transform: translateZ(0);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.cdk-virtual-scrollable {
|
|
12
|
+
overflow: auto;
|
|
13
|
+
will-change: scroll-position;
|
|
14
|
+
contain: strict;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.cdk-virtual-scroll-content-wrapper {
|
|
18
|
+
position: absolute;
|
|
19
|
+
top: 0;
|
|
20
|
+
left: 0;
|
|
21
|
+
contain: content;
|
|
22
|
+
}
|
|
23
|
+
[dir=rtl] .cdk-virtual-scroll-content-wrapper {
|
|
24
|
+
right: 0;
|
|
25
|
+
left: auto;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper {
|
|
29
|
+
min-height: 100%;
|
|
30
|
+
}
|
|
31
|
+
.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper > dl:not([cdkVirtualFor]), .cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper > ol:not([cdkVirtualFor]), .cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper > table:not([cdkVirtualFor]), .cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper > ul:not([cdkVirtualFor]) {
|
|
32
|
+
padding-left: 0;
|
|
33
|
+
padding-right: 0;
|
|
34
|
+
margin-left: 0;
|
|
35
|
+
margin-right: 0;
|
|
36
|
+
border-left-width: 0;
|
|
37
|
+
border-right-width: 0;
|
|
38
|
+
outline: none;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper {
|
|
42
|
+
min-width: 100%;
|
|
43
|
+
}
|
|
44
|
+
.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper > dl:not([cdkVirtualFor]), .cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper > ol:not([cdkVirtualFor]), .cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper > table:not([cdkVirtualFor]), .cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper > ul:not([cdkVirtualFor]) {
|
|
45
|
+
padding-top: 0;
|
|
46
|
+
padding-bottom: 0;
|
|
47
|
+
margin-top: 0;
|
|
48
|
+
margin-bottom: 0;
|
|
49
|
+
border-top-width: 0;
|
|
50
|
+
border-bottom-width: 0;
|
|
51
|
+
outline: none;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.cdk-virtual-scroll-spacer {
|
|
55
|
+
height: 1px;
|
|
56
|
+
transform-origin: 0 0;
|
|
57
|
+
flex: 0 0 auto;
|
|
58
|
+
}
|
|
59
|
+
[dir=rtl] .cdk-virtual-scroll-spacer {
|
|
60
|
+
transform-origin: 100% 0;
|
|
61
|
+
}
|
|
62
|
+
`],encapsulation:2,changeDetection:0})}return t})();function xb(t,n,e){let r=e;if(!r.getBoundingClientRect)return 0;let o=r.getBoundingClientRect();return t==="horizontal"?n==="start"?o.left:o.right:n==="start"?o.top:o.bottom}var qA=(()=>{class t{_viewContainerRef=d(je);_template=d(xe);_differs=d(Ji);_viewRepeater=new Jc;_viewport=d(Rb,{skipSelf:!0});viewChange=new C;_dataSourceChanges=new C;get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(e){this._cdkVirtualForOf=e,Tb(e)?this._dataSourceChanges.next(e):this._dataSourceChanges.next(new Qc(jt(e)?e:Array.from(e||[])))}_cdkVirtualForOf;get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(e){this._needsUpdate=!0,this._cdkVirtualForTrackBy=e?(r,o)=>e(r+(this._renderedRange?this._renderedRange.start:0),o):void 0}_cdkVirtualForTrackBy;set cdkVirtualForTemplate(e){e&&(this._needsUpdate=!0,this._template=e)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(e){this._viewRepeater.viewCacheSize=It(e)}dataStream=this._dataSourceChanges.pipe(At(null),cu(),Yr(([e,r])=>this._changeDataSource(e,r)),uu(1));_differ=null;_data=[];_renderedItems=[];_renderedRange={start:0,end:0};_needsUpdate=!1;_destroyed=new C;constructor(){let e=d(M);this.dataStream.subscribe(r=>{this._data=r,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(Bt(this._destroyed)).subscribe(r=>{this._renderedRange=r,this.viewChange.observers.length&&e.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(e,r){if(e.start>=e.end)return 0;e.start<this._renderedRange.start||e.end>this._renderedRange.end;let o=e.start-this._renderedRange.start,i=e.end-e.start,s,a;for(let c=0;c<i;c++){let l=this._viewContainerRef.get(c+o);if(l&&l.rootNodes.length){s=a=l.rootNodes[0];break}}for(let c=i-1;c>-1;c--){let l=this._viewContainerRef.get(c+o);if(l&&l.rootNodes.length){a=l.rootNodes[l.rootNodes.length-1];break}}return s&&a?xb(r,"end",a)-xb(r,"start",s):0}ngDoCheck(){if(this._differ&&this._needsUpdate){let e=this._differ.diff(this._renderedItems);e?this._applyChanges(e):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((e,r)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(e,r):r)),this._needsUpdate=!0)}_changeDataSource(e,r){return e&&e.disconnect(this),this._needsUpdate=!0,r?r.connect(this):fe()}_updateContext(){let e=this._data.length,r=this._viewContainerRef.length;for(;r--;){let o=this._viewContainerRef.get(r);o.context.index=this._renderedRange.start+r,o.context.count=e,this._updateComputedContextProperties(o.context),o.detectChanges()}}_applyChanges(e){this._viewRepeater.applyChanges(e,this._viewContainerRef,(i,s,a)=>this._getEmbeddedViewArgs(i,a),i=>i.item),e.forEachIdentityChange(i=>{let s=this._viewContainerRef.get(i.currentIndex);s.context.$implicit=i.item});let r=this._data.length,o=this._viewContainerRef.length;for(;o--;){let i=this._viewContainerRef.get(o);i.context.index=this._renderedRange.start+o,i.context.count=r,this._updateComputedContextProperties(i.context)}}_updateComputedContextProperties(e){e.first=e.index===0,e.last=e.index===e.count-1,e.even=e.index%2===0,e.odd=!e.even}_getEmbeddedViewArgs(e,r){return{templateRef:this._template,context:{$implicit:e.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:r}}static ngTemplateContextGuard(e,r){return!0}static \u0275fac=function(r){return new(r||t)};static \u0275dir=A({type:t,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"}})}return t})();var Hh=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=q({type:t});static \u0275inj=G({})}return t})(),Uh=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=q({type:t});static \u0275inj=G({imports:[Je,Hh,Je,Hh]})}return t})();var $h={},Lt=class t{_appId=d(Rn);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(n,e=!1){return this._appId!=="ng"&&(n+=this._appId),$h.hasOwnProperty(n)||($h[n]=0),`${n}${e?t._infix+"-":""}${$h[n]++}`}static \u0275fac=function(e){return new(e||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})};var ds=class{_attachedHost=null;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},Po=class extends ds{component;viewContainerRef;injector;projectableNodes;bindings;constructor(n,e,r,o,i){super(),this.component=n,this.viewContainerRef=e,this.injector=r,this.projectableNodes=o,this.bindings=i||null}},Pn=class extends ds{templateRef;viewContainerRef;context;injector;constructor(n,e,r,o){super(),this.templateRef=n,this.viewContainerRef=e,this.context=r,this.injector=o}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}},zh=class extends ds{element;constructor(n){super(),this.element=n instanceof B?n.nativeElement:n}},Lo=class{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof Po)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof Pn)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof zh)return this._attachedPortal=n,this.attachDomPortal(n)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},el=class extends Lo{outletElement;_appRef;_defaultInjector;constructor(n,e,r){super(),this.outletElement=n,this._appRef=e,this._defaultInjector=r}attachComponentPortal(n){let e;if(n.viewContainerRef){let r=n.injector||n.viewContainerRef.injector,o=r.get(Nn,null,{optional:!0})||void 0;e=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:r,ngModuleRef:o,projectableNodes:n.projectableNodes||void 0,bindings:n.bindings||void 0}),this.setDisposeFn(()=>e.destroy())}else{let r=this._appRef,o=n.injector||this._defaultInjector||O.NULL,i=o.get(ce,r.injector);e=Rc(n.component,{elementInjector:o,environmentInjector:i,projectableNodes:n.projectableNodes||void 0,bindings:n.bindings||void 0}),r.attachView(e.hostView),this.setDisposeFn(()=>{r.viewCount>0&&r.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=n,e}attachTemplatePortal(n){let e=n.viewContainerRef,r=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return r.rootNodes.forEach(o=>this.outletElement.appendChild(o)),r.detectChanges(),this.setDisposeFn(()=>{let o=e.indexOf(r);o!==-1&&e.remove(o)}),this._attachedPortal=n,r}attachDomPortal=n=>{let e=n.element;e.parentNode;let r=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(r,e),this.outletElement.appendChild(e),this._attachedPortal=n,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(e,r)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},b3=(()=>{class t extends Pn{constructor(){let e=d(xe),r=d(je);super(e,r)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=A({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[W]})}return t})(),fs=(()=>{class t extends Lo{_moduleRef=d(Nn,{optional:!0});_document=d(x);_viewContainerRef=d(je);_isInitialized=!1;_attachedRef=null;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new $;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let r=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,o=r.createComponent(e.component,{index:r.length,injector:e.injector||r.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0,bindings:e.bindings||void 0});return r!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=e,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(e){e.setAttachedHost(this);let r=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachDomPortal=e=>{let r=e.element;r.parentNode;let o=this._document.createComment("dom-portal");e.setAttachedHost(this),r.parentNode.insertBefore(o,r),this._getRootNode().appendChild(r),this._attachedPortal=e,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(r,o)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(r){return new(r||t)};static \u0275dir=A({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[W]})}return t})(),Tr=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=q({type:t});static \u0275inj=G({})}return t})();function Ln(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var Ob=Kc();function jo(t){return new tl(t.get(Mr),t.get(x))}var tl=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,e){this._viewportRuler=n,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=pe(-this._previousScrollPosition.left),n.style.top=pe(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,r=n.style,o=e.style,i=r.scrollBehavior||"",s=o.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),Ob&&(r.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Ob&&(r.scrollBehavior=i,o.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,r=this._viewportRuler.getViewportSize();return e.scrollHeight>r.height||e.scrollWidth>r.width}};function Bb(t,n){return new nl(t.get(ls),t.get(M),t.get(Mr),n)}var nl=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,e,r,o){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=r,this._config=o}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(_e(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}};var hs=class{enable(){}disable(){}attach(){}};function Gh(t,n){return n.some(e=>{let r=t.bottom<e.top,o=t.top>e.bottom,i=t.right<e.left,s=t.left>e.right;return r||o||i||s})}function kb(t,n){return n.some(e=>{let r=t.top<e.top,o=t.bottom>e.bottom,i=t.left<e.left,s=t.right>e.right;return r||o||i||s})}function Zh(t,n){return new rl(t.get(ls),t.get(Mr),t.get(M),n)}var rl=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,e,r,o){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=r,this._config=o}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:o}=this._viewportRuler.getViewportSize();Gh(e,[{width:r,height:o,bottom:o,right:r,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}},Hb=(()=>{class t{_injector=d(O);constructor(){}noop=()=>new hs;close=e=>Bb(this._injector,e);block=()=>jo(this._injector);reposition=e=>Zh(this._injector,e);static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),xr=class{positionStrategy;scrollStrategy=new hs;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;usePopover;eventPredicate;constructor(n){if(n){let e=Object.keys(n);for(let r of e)n[r]!==void 0&&(this[r]=n[r])}}};var ol=class{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}};var Ub=(()=>{class t{_attachedOverlays=[];_document=d(x);_isAttached=!1;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let r=this._attachedOverlays.indexOf(e);r>-1&&this._attachedOverlays.splice(r,1),this._attachedOverlays.length===0&&this.detach()}canReceiveEvent(e,r,o){return o.observers.length<1?!1:e.eventPredicate?e.eventPredicate(r):!0}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),$b=(()=>{class t extends Ub{_ngZone=d(M);_renderer=d(Ee).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let r=this._attachedOverlays;for(let o=r.length-1;o>-1;o--){let i=r[o];if(this.canReceiveEvent(i,e,i._keydownEvents)){this._ngZone.run(()=>i._keydownEvents.next(e));break}}};static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ie(t)))(o||t)}})();static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),zb=(()=>{class t extends Ub{_platform=d(re);_ngZone=d(M);_renderer=d(Ee).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget=null;_cleanups;add(e){if(super.add(e),!this._isAttached){let r=this._document.body,o={capture:!0},i=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[i.listen(r,"pointerdown",this._pointerDownListener,o),i.listen(r,"click",this._clickListener,o),i.listen(r,"auxclick",this._clickListener,o),i.listen(r,"contextmenu",this._clickListener,o)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=Be(e)};_clickListener=e=>{let r=Be(e),o=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:r;this._pointerDownEventTarget=null;let i=this._attachedOverlays.slice();for(let s=i.length-1;s>-1;s--){let a=i[s],c=a._outsidePointerEvents;if(!(!a.hasAttached()||!this.canReceiveEvent(a,e,c))){if(Fb(a.overlayElement,r)||Fb(a.overlayElement,o))break;this._ngZone?this._ngZone.run(()=>c.next(e)):c.next(e)}}};static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ie(t)))(o||t)}})();static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Fb(t,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,r=n;for(;r;){if(r===t)return!0;r=e&&r instanceof ShadowRoot?r.host:r.parentNode}return!1}var Gb=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ie({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(r,o){},styles:[`.cdk-overlay-container, .cdk-global-overlay-wrapper {
|
|
63
|
+
pointer-events: none;
|
|
64
|
+
top: 0;
|
|
65
|
+
left: 0;
|
|
66
|
+
height: 100%;
|
|
67
|
+
width: 100%;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.cdk-overlay-container {
|
|
71
|
+
position: fixed;
|
|
72
|
+
}
|
|
73
|
+
@layer cdk-overlay {
|
|
74
|
+
.cdk-overlay-container {
|
|
75
|
+
z-index: 1000;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
.cdk-overlay-container:empty {
|
|
79
|
+
display: none;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.cdk-global-overlay-wrapper {
|
|
83
|
+
display: flex;
|
|
84
|
+
position: absolute;
|
|
85
|
+
}
|
|
86
|
+
@layer cdk-overlay {
|
|
87
|
+
.cdk-global-overlay-wrapper {
|
|
88
|
+
z-index: 1000;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.cdk-overlay-pane {
|
|
93
|
+
position: absolute;
|
|
94
|
+
pointer-events: auto;
|
|
95
|
+
box-sizing: border-box;
|
|
96
|
+
display: flex;
|
|
97
|
+
max-width: 100%;
|
|
98
|
+
max-height: 100%;
|
|
99
|
+
}
|
|
100
|
+
@layer cdk-overlay {
|
|
101
|
+
.cdk-overlay-pane {
|
|
102
|
+
z-index: 1000;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.cdk-overlay-backdrop {
|
|
107
|
+
position: absolute;
|
|
108
|
+
top: 0;
|
|
109
|
+
bottom: 0;
|
|
110
|
+
left: 0;
|
|
111
|
+
right: 0;
|
|
112
|
+
pointer-events: auto;
|
|
113
|
+
-webkit-tap-highlight-color: transparent;
|
|
114
|
+
opacity: 0;
|
|
115
|
+
touch-action: manipulation;
|
|
116
|
+
}
|
|
117
|
+
@layer cdk-overlay {
|
|
118
|
+
.cdk-overlay-backdrop {
|
|
119
|
+
z-index: 1000;
|
|
120
|
+
transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
@media (prefers-reduced-motion) {
|
|
124
|
+
.cdk-overlay-backdrop {
|
|
125
|
+
transition-duration: 1ms;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.cdk-overlay-backdrop-showing {
|
|
130
|
+
opacity: 1;
|
|
131
|
+
}
|
|
132
|
+
@media (forced-colors: active) {
|
|
133
|
+
.cdk-overlay-backdrop-showing {
|
|
134
|
+
opacity: 0.6;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
@layer cdk-overlay {
|
|
139
|
+
.cdk-overlay-dark-backdrop {
|
|
140
|
+
background: rgba(0, 0, 0, 0.32);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.cdk-overlay-transparent-backdrop {
|
|
145
|
+
transition: visibility 1ms linear, opacity 1ms linear;
|
|
146
|
+
visibility: hidden;
|
|
147
|
+
opacity: 1;
|
|
148
|
+
}
|
|
149
|
+
.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing, .cdk-high-contrast-active .cdk-overlay-transparent-backdrop {
|
|
150
|
+
opacity: 0;
|
|
151
|
+
visibility: visible;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.cdk-overlay-backdrop-noop-animation {
|
|
155
|
+
transition: none;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.cdk-overlay-connected-position-bounding-box {
|
|
159
|
+
position: absolute;
|
|
160
|
+
display: flex;
|
|
161
|
+
flex-direction: column;
|
|
162
|
+
min-width: 1px;
|
|
163
|
+
min-height: 1px;
|
|
164
|
+
}
|
|
165
|
+
@layer cdk-overlay {
|
|
166
|
+
.cdk-overlay-connected-position-bounding-box {
|
|
167
|
+
z-index: 1000;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.cdk-global-scrollblock {
|
|
172
|
+
position: fixed;
|
|
173
|
+
width: 100%;
|
|
174
|
+
overflow-y: scroll;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.cdk-overlay-popover {
|
|
178
|
+
background: none;
|
|
179
|
+
border: none;
|
|
180
|
+
padding: 0;
|
|
181
|
+
outline: 0;
|
|
182
|
+
overflow: visible;
|
|
183
|
+
position: fixed;
|
|
184
|
+
pointer-events: none;
|
|
185
|
+
white-space: normal;
|
|
186
|
+
color: inherit;
|
|
187
|
+
text-decoration: none;
|
|
188
|
+
width: 100%;
|
|
189
|
+
height: 100%;
|
|
190
|
+
inset: auto;
|
|
191
|
+
top: 0;
|
|
192
|
+
left: 0;
|
|
193
|
+
}
|
|
194
|
+
.cdk-overlay-popover::backdrop {
|
|
195
|
+
display: none;
|
|
196
|
+
}
|
|
197
|
+
.cdk-overlay-popover .cdk-overlay-backdrop {
|
|
198
|
+
position: fixed;
|
|
199
|
+
z-index: auto;
|
|
200
|
+
}
|
|
201
|
+
`],encapsulation:2,changeDetection:0})}return t})(),ps=(()=>{class t{_platform=d(re);_containerElement;_document=d(x);_styleLoader=d(st);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||jh()){let o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let i=0;i<o.length;i++)o[i].remove()}let r=this._document.createElement("div");r.classList.add(e),jh()?r.setAttribute("platform","test"):this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}_loadStyles(){this._styleLoader.load(Gb)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Wh=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(n,e,r,o){this._renderer=e,this._ngZone=r,this.element=n.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",o)}detach(){this._ngZone.runOutsideAngular(()=>{let n=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(n,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),n.style.pointerEvents="none",n.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}};function Kh(t){return t&&t.nodeType===1}var Vo=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new C;_attachments=new C;_detachments=new C;_positionStrategy;_scrollStrategy;_locationChanges=j.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new C;_outsidePointerEvents=new C;_afterNextRenderRef;constructor(n,e,r,o,i,s,a,c,l,u=!1,f,h){this._portalOutlet=n,this._host=e,this._pane=r,this._config=o,this._ngZone=i,this._keyboardDispatcher=s,this._document=a,this._location=c,this._outsideClickDispatcher=l,this._animationsDisabled=u,this._injector=f,this._renderer=h,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}get eventPredicate(){return this._config?.eventPredicate||null}attach(n){if(this._disposed)return null;this._attachHost();let e=this._portalOutlet.attach(n);return this._positionStrategy?.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Ct(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){if(this._disposed)return;let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,n&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent(),this._disposed=!0}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(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=D(D({},this._config),n),this._updateElementSize()}setDirection(n){this._config=U(D({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=pe(this._config.width),n.height=pe(this._config.height),n.minWidth=pe(this._config.minWidth),n.minHeight=pe(this._config.minHeight),n.maxWidth=pe(this._config.maxWidth),n.maxHeight=pe(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachHost(){if(!this._host.parentElement){let n=this._config.usePopover?this._positionStrategy?.getPopoverInsertionPoint?.():null;Kh(n)?n.after(this._host):n?.type==="parent"?n.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host)}if(this._config.usePopover)try{this._host.showPopover()}catch(n){}}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new Wh(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._config.usePopover?this._host.prepend(this._backdropRef.element):this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(n))}):this._backdropRef.element.classList.add(n)}_updateStackingOrder(){!this._config.usePopover&&this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(n,e,r){let o=ko(e||[]).filter(i=>!!i);o.length&&(r?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenEmpty(){let n=!1;try{this._detachContentAfterRenderRef=Ct(()=>{n=!0,this._detachContent()},{injector:this._injector})}catch(e){if(n)throw e;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!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()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let n=this._scrollStrategy;n?.disable(),n?.detach?.()}},Pb="cdk-overlay-connected-position-bounding-box",ZA=/([A-Za-z%]+)$/;function Xh(t,n){return new il(n,t.get(Mr),t.get(x),t.get(re),t.get(ps))}var il=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender=!1;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed=!1;_boundingBox=null;_lastPosition=null;_lastScrollVisibility=null;_positionChanges=new C;_resizeSubscription=j.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation="global";positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,e,r,o,i){this._viewportRuler=e,this._document=r,this._platform=o,this._overlayContainer=i,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(Pb),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.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._getContainerRect();let n=this._originRect,e=this._overlayRect,r=this._viewportRect,o=this._containerRect,i=[],s;for(let a of this._preferredPositions){let c=this._getOriginPoint(n,o,a),l=this._getOverlayPoint(c,e,a),u=this._getOverlayFit(l,e,r,a);if(u.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,c);return}if(this._canFitWithFlexibleDimensions(u,l,r)){i.push({position:a,origin:c,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(c,a)});continue}(!s||s.overlayFit.visibleArea<u.visibleArea)&&(s={overlayFit:u,overlayPoint:l,originPoint:c,position:a,overlayRect:e})}if(i.length){let a=null,c=-1;for(let l of i){let u=l.boundingBoxRect.width*l.boundingBoxRect.height*(l.position.weight||1);u>c&&(c=u,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&&Ar(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Pb),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;n?(this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._getContainerRect(),this._applyPosition(n,this._getOriginPoint(this._originRect,this._containerRect,n))):this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}withPopoverLocation(n){return this._popoverLocation=n,this}getPopoverInsertionPoint(){return this._popoverLocation==="global"?null:this._popoverLocation!=="inline"?this._popoverLocation:this._origin instanceof B?this._origin.nativeElement:Kh(this._origin)?this._origin:null}_getOriginPoint(n,e,r){let o;if(r.originX=="center")o=n.left+n.width/2;else{let s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;o=r.originX=="start"?s:a}e.left<0&&(o-=e.left);let i;return r.originY=="center"?i=n.top+n.height/2:i=r.originY=="top"?n.top:n.bottom,e.top<0&&(i-=e.top),{x:o,y:i}}_getOverlayPoint(n,e,r){let o;r.overlayX=="center"?o=-e.width/2:r.overlayX==="start"?o=this._isRtl()?-e.width:0:o=this._isRtl()?0:-e.width;let i;return r.overlayY=="center"?i=-e.height/2:i=r.overlayY=="top"?0:-e.height,{x:n.x+o,y:n.y+i}}_getOverlayFit(n,e,r,o){let i=Vb(e),{x:s,y:a}=n,c=this._getOffset(o,"x"),l=this._getOffset(o,"y");c&&(s+=c),l&&(a+=l);let u=0-s,f=s+i.width-r.width,h=0-a,p=a+i.height-r.height,m=this._subtractOverflows(i.width,u,f),v=this._subtractOverflows(i.height,h,p),_=m*v;return{visibleArea:_,isCompletelyWithinViewport:i.width*i.height===_,fitsInViewportVertically:v===i.height,fitsInViewportHorizontally:m==i.width}}_canFitWithFlexibleDimensions(n,e,r){if(this._hasFlexibleDimensions){let o=r.bottom-e.y,i=r.right-e.x,s=Lb(this._overlayRef.getConfig().minHeight),a=Lb(this._overlayRef.getConfig().minWidth),c=n.fitsInViewportVertically||s!=null&&s<=o,l=n.fitsInViewportHorizontally||a!=null&&a<=i;return c&&l}return!1}_pushOverlayOnScreen(n,e,r){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let o=Vb(e),i=this._viewportRect,s=Math.max(n.x+o.width-i.width,0),a=Math.max(n.y+o.height-i.height,0),c=Math.max(i.top-r.top-n.y,0),l=Math.max(i.left-r.left-n.x,0),u=0,f=0;return o.width<=i.width?u=l||-s:u=n.x<this._getViewportMarginStart()?i.left-r.left-n.x:0,o.height<=i.height?f=c||-a:f=n.y<this._getViewportMarginTop()?i.top-r.top-n.y:0,this._previousPushAmount={x:u,y:f},{x:n.x+u,y:n.y+f}}_applyPosition(n,e){if(this._setTransformOrigin(n),this._setOverlayElementStyles(e,n),this._setBoundingBoxStyles(e,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){let r=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!KA(this._lastScrollVisibility,r)){let o=new ol(n,r);this._positionChanges.next(o)}this._lastScrollVisibility=r}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),r,o=n.overlayY;n.overlayX==="center"?r="center":this._isRtl()?r=n.overlayX==="start"?"right":"left":r=n.overlayX==="start"?"left":"right";for(let i=0;i<e.length;i++)e[i].style.transformOrigin=`${r} ${o}`}_calculateBoundingBoxRect(n,e){let r=this._viewportRect,o=this._isRtl(),i,s,a;if(e.overlayY==="top")s=n.y,i=r.height-s+this._getViewportMarginBottom();else if(e.overlayY==="bottom")a=r.height-n.y+this._getViewportMarginTop()+this._getViewportMarginBottom(),i=r.height-a+this._getViewportMarginTop();else{let p=Math.min(r.bottom-n.y+r.top,n.y),m=this._lastBoundingBoxSize.height;i=p*2,s=n.y-p,i>m&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-m/2)}let c=e.overlayX==="start"&&!o||e.overlayX==="end"&&o,l=e.overlayX==="end"&&!o||e.overlayX==="start"&&o,u,f,h;if(l)h=r.width-n.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),u=n.x-this._getViewportMarginStart();else if(c)f=n.x,u=r.right-n.x-this._getViewportMarginEnd();else{let p=Math.min(r.right-n.x+r.left,n.x),m=this._lastBoundingBoxSize.width;u=p*2,f=n.x-p,u>m&&!this._isInitialRender&&!this._growAfterOpen&&(f=n.x-m/2)}return{top:s,left:f,bottom:a,right:h,width:u,height:i}}_setBoundingBoxStyles(n,e){let r=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));let o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right="auto",o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{let i=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.width=pe(r.width),o.height=pe(r.height),o.top=pe(r.top)||"auto",o.bottom=pe(r.bottom)||"auto",o.left=pe(r.left)||"auto",o.right=pe(r.right)||"auto",e.overlayX==="center"?o.alignItems="center":o.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?o.justifyContent="center":o.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",i&&(o.maxHeight=pe(i)),s&&(o.maxWidth=pe(s))}this._lastBoundingBoxSize=r,Ar(this._boundingBox.style,o)}_resetBoundingBoxStyles(){Ar(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ar(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let r={},o=this._hasExactPosition(),i=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){let u=this._viewportRuler.getViewportScrollPosition();Ar(r,this._getExactOverlayY(e,n,u)),Ar(r,this._getExactOverlayX(e,n,u))}else r.position="static";let a="",c=this._getOffset(e,"x"),l=this._getOffset(e,"y");c&&(a+=`translateX(${c}px) `),l&&(a+=`translateY(${l}px)`),r.transform=a.trim(),s.maxHeight&&(o?r.maxHeight=pe(s.maxHeight):i&&(r.maxHeight="")),s.maxWidth&&(o?r.maxWidth=pe(s.maxWidth):i&&(r.maxWidth="")),Ar(this._pane.style,r)}_getExactOverlayY(n,e,r){let o={top:"",bottom:""},i=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,r)),n.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;o.bottom=`${s-(i.y+this._overlayRect.height)}px`}else o.top=pe(i.y);return o}_getExactOverlayX(n,e,r){let o={left:"",right:""},i=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,r));let s;if(this._isRtl()?s=n.overlayX==="end"?"left":"right":s=n.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;o.right=`${a-(i.x+this._overlayRect.width)}px`}else o.left=pe(i.x);return o}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),r=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:kb(n,r),isOriginOutsideView:Gh(n,r),isOverlayClipped:kb(e,r),isOverlayOutsideView:Gh(e,r)}}_subtractOverflows(n,...e){return e.reduce((r,o)=>r-Math.max(o,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._getViewportMarginTop(),left:r.left+this._getViewportMarginStart(),right:r.left+n-this._getViewportMarginEnd(),bottom:r.top+e-this._getViewportMarginBottom(),width:n-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:e-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&ko(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getViewportMarginStart(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.start??0}_getViewportMarginEnd(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.end??0}_getViewportMarginTop(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.top??0}_getViewportMarginBottom(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.bottom??0}_getOriginRect(){let n=this._origin;if(n instanceof B)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,r=n.height||0;return{top:n.y,bottom:n.y+r,left:n.x,right:n.x+e,height:r,width:e}}_getContainerRect(){let n=this._overlayRef.getConfig().usePopover&&this._popoverLocation!=="global",e=this._overlayContainer.getContainerElement();n&&(e.style.display="block");let r=e.getBoundingClientRect();return n&&(e.style.display=""),r}};function Ar(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function Lb(t){if(typeof t!="number"&&t!=null){let[n,e]=t.split(ZA);return!e||e==="px"?parseFloat(n):null}return t||null}function Vb(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}function KA(t,n){return t===n?!0:t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView}var jb="cdk-global-overlay-wrapper";function Bo(t){return new sl}var sl=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(jb),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:o,height:i,maxWidth:s,maxHeight:a}=r,c=(o==="100%"||o==="100vw")&&(!s||s==="100%"||s==="100vw"),l=(i==="100%"||i==="100vh")&&(!a||a==="100%"||a==="100vh"),u=this._xPosition,f=this._xOffset,h=this._overlayRef.getConfig().direction==="rtl",p="",m="",v="";c?v="flex-start":u==="center"?(v="center",h?m=f:p=f):h?u==="left"||u==="end"?(v="flex-end",p=f):(u==="right"||u==="start")&&(v="flex-start",m=f):u==="left"||u==="start"?(v="flex-start",p=f):(u==="right"||u==="end")&&(v="flex-end",m=f),n.position=this._cssPosition,n.marginLeft=c?"0":p,n.marginTop=l?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=c?"0":m,e.justifyContent=v,e.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,r=e.style;e.classList.remove(jb),r.justifyContent=r.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},Wb=(()=>{class t{_injector=d(O);constructor(){}global(){return Bo()}flexibleConnectedTo(e){return Xh(this._injector,e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Qh=new g("OVERLAY_DEFAULT_CONFIG");function ms(t,n){t.get(st).load(Gb);let e=t.get(ps),r=t.get(x),o=t.get(Lt),i=t.get(Qe),s=t.get(en),a=t.get(We,null,{optional:!0})||t.get(Ee).createRenderer(null,null),c=new xr(n),l=t.get(Qh,null,{optional:!0})?.usePopover??!0;c.direction=c.direction||s.value,"showPopover"in r.body?c.usePopover=n?.usePopover??l:c.usePopover=!1;let u=r.createElement("div"),f=r.createElement("div");u.id=o.getId("cdk-overlay-"),u.classList.add("cdk-overlay-pane"),f.appendChild(u),c.usePopover&&(f.setAttribute("popover","manual"),f.classList.add("cdk-overlay-popover"));let h=c.usePopover?c.positionStrategy?.getPopoverInsertionPoint?.():null;return Kh(h)?h.after(f):h?.type==="parent"?h.element.appendChild(f):e.getContainerElement().appendChild(f),new Vo(new el(u,i,t),f,u,c,t.get(M),t.get($b),r,t.get(kc),t.get(zb),n?.disableAnimations??t.get(Hi,null,{optional:!0})==="NoopAnimations",t.get(ce),a)}var qb=(()=>{class t{scrollStrategies=d(Hb);_positionBuilder=d(Wb);_injector=d(O);constructor(){}create(e){return ms(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),XA=[{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"}],QA=new g("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=d(O);return()=>Zh(t)}}),qh=(()=>{class t{elementRef=d(B);constructor(){}static \u0275fac=function(r){return new(r||t)};static \u0275dir=A({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return t})(),Yb=new g("cdk-connected-overlay-default-config"),JA=(()=>{class t{_dir=d(en,{optional:!0});_injector=d(O);_overlayRef;_templatePortal;_backdropSubscription=j.EMPTY;_attachSubscription=j.EMPTY;_detachSubscription=j.EMPTY;_positionSubscription=j.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=d(QA);_ngZone=d(M);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;disposeOnNavigation=!1;usePopover;matchWidth=!1;set _config(e){typeof e!="string"&&this._assignConfig(e)}backdropClick=new $;positionChange=new $;attach=new $;detach=new $;overlayKeydown=new $;overlayOutsideClick=new $;constructor(){let e=d(xe),r=d(je),o=d(Yb,{optional:!0}),i=d(Qh,{optional:!0});this.usePopover=i?.usePopover===!1?null:"global",this._templatePortal=new Pn(e,r),this.scrollStrategy=this._scrollStrategyFactory(),o&&this._assignConfig(o)}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?.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this._getWidth(),minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=XA);let e=this._overlayRef=ms(this._injector,this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(r=>{this.overlayKeydown.next(r),r.keyCode===27&&!this.disableClose&&!Ln(r)&&(r.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{let o=this._getOriginElement(),i=Be(r);(!o||o!==i&&!o.contains(i))&&this.overlayOutsideClick.next(r)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),r=new xr({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation,usePopover:!!this.usePopover});return(this.height||this.height===0)&&(r.height=this.height),(this.minWidth||this.minWidth===0)&&(r.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(r.minHeight=this.minHeight),this.backdropClass&&(r.backdropClass=this.backdropClass),this.panelClass&&(r.panelClass=this.panelClass),r}_updatePositionStrategy(e){let r=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 e.setOrigin(this._getOrigin()).withPositions(r).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector).withPopoverLocation(this.usePopover===null?"global":this.usePopover)}_createPositionStrategy(){let e=Xh(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof qh?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof qh?this.origin.elementRef.nativeElement:this.origin instanceof B?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_getWidth(){return this.width?this.width:this.matchWidth?this._getOriginElement()?.getBoundingClientRect?.().width:void 0}attachOverlay(){this._overlayRef||this._createOverlay();let e=this._overlayRef;e.getConfig().hasBackdrop=this.hasBackdrop,e.updateSize({width:this._getWidth()}),e.hasAttached()||e.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=e.backdropClick().subscribe(r=>this.backdropClick.emit(r)):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(du(()=>this.positionChange.observers.length>0)).subscribe(r=>{this._ngZone.run(()=>this.positionChange.emit(r)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}_assignConfig(e){this.origin=e.origin??this.origin,this.positions=e.positions??this.positions,this.positionStrategy=e.positionStrategy??this.positionStrategy,this.offsetX=e.offsetX??this.offsetX,this.offsetY=e.offsetY??this.offsetY,this.width=e.width??this.width,this.height=e.height??this.height,this.minWidth=e.minWidth??this.minWidth,this.minHeight=e.minHeight??this.minHeight,this.backdropClass=e.backdropClass??this.backdropClass,this.panelClass=e.panelClass??this.panelClass,this.viewportMargin=e.viewportMargin??this.viewportMargin,this.scrollStrategy=e.scrollStrategy??this.scrollStrategy,this.disableClose=e.disableClose??this.disableClose,this.transformOriginSelector=e.transformOriginSelector??this.transformOriginSelector,this.hasBackdrop=e.hasBackdrop??this.hasBackdrop,this.lockPosition=e.lockPosition??this.lockPosition,this.flexibleDimensions=e.flexibleDimensions??this.flexibleDimensions,this.growAfterOpen=e.growAfterOpen??this.growAfterOpen,this.push=e.push??this.push,this.disposeOnNavigation=e.disposeOnNavigation??this.disposeOnNavigation,this.usePopover=e.usePopover??this.usePopover,this.matchWidth=e.matchWidth??this.matchWidth}static \u0275fac=function(r){return new(r||t)};static \u0275dir=A({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",ne],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",ne],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",ne],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",ne],push:[2,"cdkConnectedOverlayPush","push",ne],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",ne],usePopover:[0,"cdkConnectedOverlayUsePopover","usePopover"],matchWidth:[2,"cdkConnectedOverlayMatchWidth","matchWidth",ne],_config:[0,"cdkConnectedOverlay","_config"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Le]})}return t})(),gs=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=q({type:t});static \u0275inj=G({providers:[qb],imports:[Je,Tr,Uh,Uh]})}return t})();function vs(t){return t.buttons===0||t.detail===0}function ys(t){let n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var _s;function Zb(){if(_s==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>_s=!0}))}finally{_s=_s||!1}return _s}function Ho(t){return Zb()?t:!!t.capture}var Kb=new g("cdk-input-modality-detector-options"),Xb={ignoreKeys:[18,17,224,91,16]},Qb=650,Jh={passive:!0,capture:!0},Jb=(()=>{class t{_platform=d(re);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new Kn(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(r=>r===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Be(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<Qb||(this._modality.next(vs(e)?"keyboard":"mouse"),this._mostRecentTarget=Be(e))};_onTouchstart=e=>{if(ys(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Be(e)};constructor(){let e=d(M),r=d(x),o=d(Kb,{optional:!0});if(this._options=D(D({},Xb),o),this.modalityDetected=this._modality.pipe(fi(1)),this.modalityChanged=this.modalityDetected.pipe(Wr()),this._platform.isBrowser){let i=d(Ee).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[i.listen(r,"keydown",this._onKeydown,Jh),i.listen(r,"mousedown",this._onMousedown,Jh),i.listen(r,"touchstart",this._onTouchstart,Jh)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),bs=(function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t})(bs||{}),eD=new g("cdk-focus-monitor-default-options"),al=Ho({passive:!0,capture:!0}),Uo=(()=>{class t{_ngZone=d(M);_platform=d(re);_inputModalityDetector=d(Jb);_origin=null;_lastFocusOrigin=null;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=d(x);_stopInputModalityDetector=new C;constructor(){let e=d(eD,{optional:!0});this._detectionMode=e?.detectionMode||bs.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let r=Be(e);for(let o=r;o;o=o.parentElement)e.type==="focus"?this._onFocus(e,o):this._onBlur(e,o)};monitor(e,r=!1){let o=at(e);if(!this._platform.isBrowser||o.nodeType!==1)return fe();let i=Vh(o)||this._document,s=this._elementInfo.get(o);if(s)return r&&(s.checkChildren=!0),s.subject;let a={checkChildren:r,subject:new C,rootNode:i};return this._elementInfo.set(o,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){let r=at(e),o=this._elementInfo.get(r);o&&(o.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(o))}focusVia(e,r,o){let i=at(e),s=this._document.activeElement;i===s?this._getClosestElementsInfo(i).forEach(([a,c])=>this._originChanged(a,r,c)):(this._setOrigin(r),typeof i.focus=="function"&&i.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,r)=>this.stopMonitoring(r))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===bs.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,r){e.classList.toggle("cdk-focused",!!r),e.classList.toggle("cdk-touch-focused",r==="touch"),e.classList.toggle("cdk-keyboard-focused",r==="keyboard"),e.classList.toggle("cdk-mouse-focused",r==="mouse"),e.classList.toggle("cdk-program-focused",r==="program")}_setOrigin(e,r=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&r,this._detectionMode===bs.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Qb:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(e,r){let o=this._elementInfo.get(r),i=Be(e);!o||!o.checkChildren&&r!==i||this._originChanged(r,this._getFocusOrigin(i),o)}_onBlur(e,r){let o=this._elementInfo.get(r);!o||o.checkChildren&&e.relatedTarget instanceof Node&&r.contains(e.relatedTarget)||(this._setClasses(r),this._emitOrigin(o,null))}_emitOrigin(e,r){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(r))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let r=e.rootNode,o=this._rootNodeFocusListenerCount.get(r)||0;o||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,al),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,al)}),this._rootNodeFocusListenerCount.set(r,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Bt(this._stopInputModalityDetector)).subscribe(i=>{this._setOrigin(i,!0)}))}_removeGlobalListeners(e){let r=e.rootNode;if(this._rootNodeFocusListenerCount.has(r)){let o=this._rootNodeFocusListenerCount.get(r);o>1?this._rootNodeFocusListenerCount.set(r,o-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,al),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,al),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,r,o){this._setClasses(e,r),this._emitOrigin(o,r),this._lastFocusOrigin=r}_getClosestElementsInfo(e){let r=[];return this._elementInfo.forEach((o,i)=>{(i===e||o.checkChildren&&i.contains(e))&&r.push([i,o])}),r}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:r,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!r||r===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let i=e.labels;if(i){for(let s=0;s<i.length;s++)if(i[s].contains(r))return!0}return!1}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ex=(()=>{class t{_elementRef=d(B);_focusMonitor=d(Uo);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new $;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(r=>{this._focusOrigin=r,this.cdkFocusChange.emit(r)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275dir=A({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})();var ll=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ie({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(r,o){},styles:[`.cdk-visually-hidden {
|
|
202
|
+
border: 0;
|
|
203
|
+
clip: rect(0 0 0 0);
|
|
204
|
+
height: 1px;
|
|
205
|
+
margin: -1px;
|
|
206
|
+
overflow: hidden;
|
|
207
|
+
padding: 0;
|
|
208
|
+
position: absolute;
|
|
209
|
+
width: 1px;
|
|
210
|
+
white-space: nowrap;
|
|
211
|
+
outline: 0;
|
|
212
|
+
-webkit-appearance: none;
|
|
213
|
+
-moz-appearance: none;
|
|
214
|
+
left: 0;
|
|
215
|
+
}
|
|
216
|
+
[dir=rtl] .cdk-visually-hidden {
|
|
217
|
+
left: auto;
|
|
218
|
+
right: 0;
|
|
219
|
+
}
|
|
220
|
+
`],encapsulation:2,changeDetection:0})}return t})(),cl;function tx(){if(cl===void 0&&(cl=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(cl=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return cl}function Nr(t){return tx()?.createHTML(t)||t}function tD(t,n,e){let r=e.sanitize(ve.HTML,n);t.innerHTML=Nr(r||"")}var nD=new Set,Rr,ul=(()=>{class t{_platform=d(re);_nonce=d(br,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):rx}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&nx(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function nx(t,n){if(!nD.has(t))try{Rr||(Rr=document.createElement("style"),n&&Rr.setAttribute("nonce",n),Rr.setAttribute("type","text/css"),document.head.appendChild(Rr)),Rr.sheet&&(Rr.sheet.insertRule(`@media ${t} {body{ }}`,0),nD.add(t))}catch(e){console.error(e)}}function rx(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var ep=(()=>{class t{_mediaMatcher=d(ul);_zone=d(M);_queries=new Map;_destroySubject=new C;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return rD(ko(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let o=rD(ko(e)).map(s=>this._registerQuery(s).observable),i=iu(o);return i=Gr(i.pipe(Ue(1)),i.pipe(fi(1),hn(0))),i.pipe(J(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:c,query:l})=>{a.matches=a.matches||c,a.breakpoints[l]=c}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let r=this._mediaMatcher.matchMedia(e),i={observable:new R(s=>{let a=c=>this._zone.run(()=>s.next(c));return r.addListener(a),()=>{r.removeListener(a)}}).pipe(At(r),J(({matches:s})=>({query:e,matches:s})),Bt(this._destroySubject)),mql:r};return this._queries.set(e,i),i}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function rD(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}function ox(t){if(t.type==="characterData"&&t.target instanceof Comment)return!0;if(t.type==="childList"){for(let n=0;n<t.addedNodes.length;n++)if(!(t.addedNodes[n]instanceof Comment))return!1;for(let n=0;n<t.removedNodes.length;n++)if(!(t.removedNodes[n]instanceof Comment))return!1;return!0}return!1}var oD=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),iD=(()=>{class t{_mutationObserverFactory=d(oD);_observedElements=new Map;_ngZone=d(M);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,r)=>this._cleanupObserver(r))}observe(e){let r=at(e);return new R(o=>{let s=this._observeElement(r).pipe(J(a=>a.filter(c=>!ox(c))),_e(a=>!!a.length)).subscribe(a=>{this._ngZone.run(()=>{o.next(a)})});return()=>{s.unsubscribe(),this._unobserveElement(r)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let r=new C,o=this._mutationObserverFactory.create(i=>r.next(i));o&&o.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:o,stream:r,count:1})}return this._observedElements.get(e).stream})}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:r,stream:o}=this._observedElements.get(e);r&&r.disconnect(),o.complete(),this._observedElements.delete(e)}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),X4=(()=>{class t{_contentObserver=d(iD);_elementRef=d(B);event=new $;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(e){this._debounce=It(e),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(hn(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275dir=A({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",ne],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return t})(),sD=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=q({type:t});static \u0275inj=G({providers:[oD]})}return t})();var fl=(()=>{class t{_platform=d(re);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return sx(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let r=ix(px(e));if(r&&(aD(r)===-1||!this.isVisible(r)))return!1;let o=e.nodeName.toLowerCase(),i=aD(e);return e.hasAttribute("contenteditable")?i!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!fx(e)?!1:o==="audio"?e.hasAttribute("controls")?i!==-1:!1:o==="video"?i===-1?!1:i!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,r){return hx(e)&&!this.isDisabled(e)&&(r?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ix(t){try{return t.frameElement}catch(n){return null}}function sx(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function ax(t){let n=t.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function cx(t){return ux(t)&&t.type=="hidden"}function lx(t){return dx(t)&&t.hasAttribute("href")}function ux(t){return t.nodeName.toLowerCase()=="input"}function dx(t){return t.nodeName.toLowerCase()=="a"}function uD(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let n=t.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function aD(t){if(!uD(t))return null;let n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function fx(t){let n=t.nodeName.toLowerCase(),e=n==="input"&&t.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function hx(t){return cx(t)?!1:ax(t)||lx(t)||t.hasAttribute("contenteditable")||uD(t)}function px(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var dl=class{_element;_checker;_ngZone;_document;_injector;_startAnchor=null;_endAnchor=null;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_enabled=!0;constructor(n,e,r,o,i=!1,s){this._element=n,this._checker=e,this._ngZone=r,this._document=o,this._injector=s,i||this.attachAnchors()}destroy(){let n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let r=this._getFirstTabbableElement(e);return r?.focus(n),!!r}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){let e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let r=0;r<e.length;r++){let o=e[r].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[r]):null;if(o)return o}return null}_getLastTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let r=e.length-1;r>=0;r--){let o=e[r].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[r]):null;if(o)return o}return null}_createAnchor(){let n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?Ct(n,{injector:this._injector}):setTimeout(n)}},hl=(()=>{class t{_checker=d(fl);_ngZone=d(M);_document=d(x);_injector=d(O);constructor(){d(st).load(ll)}create(e,r=!1){return new dl(e,this._checker,this._ngZone,this._document,r,this._injector)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),mx=(()=>{class t{_elementRef=d(B);_focusTrapFactory=d(hl);focusTrap=void 0;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e)}autoCapture=!1;constructor(){d(re).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(e){let r=e.autoCapture;r&&!r.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=Ir(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(r){return new(r||t)};static \u0275dir=A({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",ne],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",ne]},exportAs:["cdkTrapFocus"],features:[Le]})}return t})(),dD=new g("liveAnnouncerElement",{providedIn:"root",factory:()=>null}),fD=new g("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),gx=0,vx=(()=>{class t{_ngZone=d(M);_defaultOptions=d(fD,{optional:!0});_liveElement;_document=d(x);_sanitizer=d(as);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=d(dD,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...r){let o=this._defaultOptions,i,s;return r.length===1&&typeof r[0]=="number"?s=r[0]:[i,s]=r,this.clear(),clearTimeout(this._previousTimeout),i||(i=o&&o.politeness?o.politeness:"polite"),s==null&&o&&(s=o.duration),this._liveElement.setAttribute("aria-live",i),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{!e||typeof e=="string"?this._liveElement.textContent=e:tD(this._liveElement,e,this._sanitizer),typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",r=this._document.getElementsByClassName(e),o=this._document.createElement("div");for(let i=0;i<r.length;i++)r[i].remove();return o.classList.add(e),o.classList.add("cdk-visually-hidden"),o.setAttribute("aria-atomic","true"),o.setAttribute("aria-live","polite"),o.id=`cdk-live-announcer-${gx++}`,this._document.body.appendChild(o),o}_exposeAnnouncerToModals(e){let r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<r.length;o++){let i=r[o],s=i.getAttribute("aria-owns");s?s.indexOf(e)===-1&&i.setAttribute("aria-owns",s+" "+e):i.setAttribute("aria-owns",e)}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Vn=(function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t})(Vn||{}),cD="cdk-high-contrast-black-on-white",lD="cdk-high-contrast-white-on-black",tp="cdk-high-contrast-active",hD=(()=>{class t{_platform=d(re);_hasCheckedHighContrastMode=!1;_document=d(x);_breakpointSubscription;constructor(){this._breakpointSubscription=d(ep).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Vn.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let r=this._document.defaultView||window,o=r&&r.getComputedStyle?r.getComputedStyle(e):null,i=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),i){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Vn.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Vn.BLACK_ON_WHITE}return Vn.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(tp,cD,lD),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===Vn.BLACK_ON_WHITE?e.add(tp,cD):r===Vn.WHITE_ON_BLACK&&e.add(tp,lD)}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),np=(()=>{class t{constructor(){d(hD)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(r){return new(r||t)};static \u0275mod=q({type:t});static \u0275inj=G({imports:[sD]})}return t})();function yx(t,n){}var jn=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext};var op=(()=>{class t extends Lo{_elementRef=d(B);_focusTrapFactory=d(hl);_config;_interactivityChecker=d(fl);_ngZone=d(M);_focusMonitor=d(Uo);_renderer=d(We);_changeDetectorRef=d(Er);_injector=d(O);_platform=d(re);_document=d(x);_portalOutlet;_focusTrapped=new C;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=d(jn,{optional:!0})||new jn,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let r=this._ariaLabelledByQueue.indexOf(e);r>-1&&(this._ariaLabelledByQueue.splice(r,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let r=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),r}attachTemplatePortal(e){this._portalOutlet.hasAttached();let r=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),r}attachDomPortal=e=>{this._portalOutlet.hasAttached();let r=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),r};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,r){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{i(),s(),e.removeAttribute("tabindex")},i=this._renderer.listen(e,"blur",o),s=this._renderer.listen(e,"mousedown",o)})),e.focus(r)}_focusByCssSelector(e,r){let o=this._elementRef.nativeElement.querySelector(e);o&&this._forceFocus(o,r)}_trapFocus(e){this._isDestroyed||Ct(()=>{let r=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||r.focus(e);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(e)||this._focusDialogContainer(e);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',e);break;default:this._focusByCssSelector(this._config.autoFocus,e);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,r=null;if(typeof e=="string"?r=this._document.querySelector(e):typeof e=="boolean"?r=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(r=e),this._config.restoreFocus&&r&&typeof r.focus=="function"){let o=Ir(),i=this._elementRef.nativeElement;(!o||o===this._document.body||o===i||i.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(r,this._closeInteractionType),this._closeInteractionType=null):r.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(e){this._elementRef.nativeElement.focus?.(e)}_containsFocus(){let e=this._elementRef.nativeElement,r=Ir();return e===r||e.contains(r)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Ir()))}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ie({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(r,o){if(r&1&&Ao(fs,7),r&2){let i;Zi(i=Ki())&&(o._portalOutlet=i.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(r,o){r&2&&Ne("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},features:[W],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(r,o){r&1&&wo(0,yx,0,0,"ng-template",0)},dependencies:[fs],styles:[`.cdk-dialog-container {
|
|
221
|
+
display: block;
|
|
222
|
+
width: 100%;
|
|
223
|
+
height: 100%;
|
|
224
|
+
min-height: inherit;
|
|
225
|
+
max-height: inherit;
|
|
226
|
+
}
|
|
227
|
+
`],encapsulation:2})}return t})(),Ds=class{overlayRef;config;componentInstance=null;componentRef=null;containerInstance;disableClose;closed=new C;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(n,e){this.overlayRef=n,this.config=e,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(r=>{r.keyCode===27&&!this.disableClose&&!Ln(r)&&(r.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=n.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(n,e){if(this._canClose(n)){let r=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),r.next(n),r.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}_canClose(n){let e=this.config;return!!this.containerInstance&&(!e.closePredicate||e.closePredicate(n,e,this.componentInstance))}},_x=new g("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=d(O);return()=>jo(t)}}),bx=new g("DialogData"),Dx=new g("DefaultDialogConfig");function Ex(t){let n=oe(t),e=new $;return{valueSignal:n,get value(){return n()},change:e,ngOnDestroy(){e.complete()}}}var ip=(()=>{class t{_injector=d(O);_defaultOptions=d(Dx,{optional:!0});_parentDialog=d(t,{optional:!0,skipSelf:!0});_overlayContainer=d(ps);_idGenerator=d(Lt);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new C;_afterOpenedAtThisLevel=new C;_ariaHiddenElements=new Map;_scrollStrategy=d(_x);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=si(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(At(void 0)));constructor(){}open(e,r){let o=this._defaultOptions||new jn;r=D(D({},o),r),r.id=r.id||this._idGenerator.getId("cdk-dialog-"),r.id&&this.getDialogById(r.id);let i=this._getOverlayConfig(r),s=ms(this._injector,i),a=new Ds(s,r),c=this._attachContainer(s,a,r);if(a.containerInstance=c,!this.openDialogs.length){let l=this._overlayContainer.getContainerElement();c._focusTrapped?c._focusTrapped.pipe(Ue(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(l)}):this._hideNonDialogContentFromAssistiveTechnology(l)}return this._attachDialogContent(e,a,c,r),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){rp(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(r=>r.id===e)}ngOnDestroy(){rp(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),rp(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let r=new xr({positionStrategy:e.positionStrategy||Bo().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation,disableAnimations:e.disableAnimations});return e.backdropClass&&(r.backdropClass=e.backdropClass),r}_attachContainer(e,r,o){let i=o.injector||o.viewContainerRef?.injector,s=[{provide:jn,useValue:o},{provide:Ds,useValue:r},{provide:Vo,useValue:e}],a;o.container?typeof o.container=="function"?a=o.container:(a=o.container.type,s.push(...o.container.providers(o))):a=op;let c=new Po(a,o.viewContainerRef,O.create({parent:i||this._injector,providers:s}));return e.attach(c).instance}_attachDialogContent(e,r,o,i){if(e instanceof xe){let s=this._createInjector(i,r,o,void 0),a={$implicit:i.data,dialogRef:r};i.templateContext&&(a=D(D({},a),typeof i.templateContext=="function"?i.templateContext():i.templateContext)),o.attachTemplatePortal(new Pn(e,null,a,s))}else{let s=this._createInjector(i,r,o,this._injector),a=o.attachComponentPortal(new Po(e,i.viewContainerRef,s));r.componentRef=a,r.componentInstance=a.instance}}_createInjector(e,r,o,i){let s=e.injector||e.viewContainerRef?.injector,a=[{provide:bx,useValue:e.data},{provide:Ds,useValue:r}];return e.providers&&(typeof e.providers=="function"?a.push(...e.providers(r,e,o)):a.push(...e.providers)),e.direction&&(!s||!s.get(en,null,{optional:!0}))&&a.push({provide:en,useValue:Ex(e.direction)}),O.create({parent:s||i,providers:a})}_removeOpenDialog(e,r){let o=this.openDialogs.indexOf(e);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((i,s)=>{i?s.setAttribute("aria-hidden",i):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),r&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(e){if(e.parentElement){let r=e.parentElement.children;for(let o=r.length-1;o>-1;o--){let i=r[o];i!==e&&i.nodeName!=="SCRIPT"&&i.nodeName!=="STYLE"&&!i.hasAttribute("aria-live")&&!i.hasAttribute("popover")&&(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function rp(t,n){let e=t.length;for(;e--;)n(t[e])}var pD=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=q({type:t});static \u0275inj=G({providers:[ip],imports:[gs,Tr,np,Tr]})}return t})();function R5(t){return t!=null&&`${t}`!="false"}function O5(t,n=/\s+/){let e=[];if(t!=null){let r=Array.isArray(t)?t:`${t}`.split(n);for(let o of r){let i=`${o}`.trim();i&&e.push(i)}}return e}var P5={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var Cx=new g("MATERIAL_ANIMATIONS"),mD=null;function wx(){return d(Cx,{optional:!0})?.animationsDisabled||d(Hi,{optional:!0})==="NoopAnimations"?"di-disabled":(mD??=d(ul).matchMedia("(prefers-reduced-motion)").matches,mD?"reduced-motion":"enabled")}function tn(){return wx()!=="enabled"}var Ix=200,$o=class{_letterKeyStream=new C;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new C;selectedItem=this._selectedItem;constructor(n,e){let r=typeof e?.debounceInterval=="number"?e.debounceInterval:Ix;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(r)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(pn(e=>this._pressedLetters.push(e)),hn(n),_e(()=>this._pressedLetters.length>0),J(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let r=1;r<this._items.length+1;r++){let o=(this._selectedItemIndex+r)%this._items.length,i=this._items[o];if(!this._skipPredicateFn?.(i)&&i.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(i);break}}this._pressedLetters=[]})}};var zo=class{_items;_activeItemIndex=oe(-1);_activeItem=oe(null);_wrap=!1;_typeaheadSubscription=j.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal=null;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=n=>n.disabled;constructor(n,e){this._items=n,n instanceof Yt?this._itemChangesSubscription=n.changes.subscribe(r=>this._itemsChanged(r.toArray())):Mo(n)&&(this._effectRef=fr(()=>this._itemsChanged(n()),{injector:e}))}tabOut=new C;change=new C;skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new $o(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:r=>this._skipPredicateFn(r)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(r=>{this.setActiveItem(r)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem();this.updateActiveItem(n),this._activeItem()!==e&&this.change.next(this._activeItemIndex())}onKeydown(n){let e=n.keyCode,o=["altKey","ctrlKey","metaKey","shiftKey"].every(i=>!n[i]||this._allowedModifierKeys.indexOf(i)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&o){this.setNextItemActive();break}else return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&o){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&o){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&o){let i=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(i>0?i:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&o){let i=this._activeItemIndex()+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(i<s?i:s-1,-1);break}else return;default:(o||Ln(n,"shiftKey"))&&this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}get activeItemIndex(){return this._activeItemIndex()}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex()<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex()<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){let e=this._getItemsArray(),r=typeof n=="number"?n:e.indexOf(n),o=e[r];this._activeItem.set(o??null),this._activeItemIndex.set(r),this._typeahead?.setCurrentSelectedItemIndex(r)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){let e=this._getItemsArray();for(let r=1;r<=e.length;r++){let o=(this._activeItemIndex()+n*r+e.length)%e.length,i=e[o];if(!this._skipPredicateFn(i)){this.setActiveItem(o);return}}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex()+n,n)}_setActiveItemByIndex(n,e){let r=this._getItemsArray();if(r[n]){for(;this._skipPredicateFn(r[n]);)if(n+=e,!r[n])return;this.setActiveItem(n)}}_getItemsArray(){return Mo(this._items)?this._items():this._items instanceof Yt?this._items.toArray():this._items}_itemsChanged(n){this._typeahead?.setItems(n);let e=this._activeItem();if(e){let r=n.indexOf(e);r>-1&&r!==this._activeItemIndex()&&(this._activeItemIndex.set(r),this._typeahead?.setCurrentSelectedItemIndex(r))}}};var sp=class extends zo{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}};var ap=class extends zo{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};function cp(t){return jt(t)?t:fe(t)}var lp=class{_activeItemIndex=-1;_activeItem=null;_shouldActivationFollowFocus=!1;_horizontalOrientation="ltr";_skipPredicateFn=n=>!1;_trackByFn=n=>n;_items=[];_typeahead;_typeaheadSubscription=j.EMPTY;_hasInitialFocused=!1;_initializeFocus(){if(this._hasInitialFocused||this._items.length===0)return;let n=0;for(let r=0;r<this._items.length;r++)if(!this._skipPredicateFn(this._items[r])&&!this._isItemDisabled(this._items[r])){n=r;break}let e=this._items[n];e.makeFocusable?(this._activeItem?.unfocus(),this._activeItemIndex=n,this._activeItem=e,this._typeahead?.setCurrentSelectedItemIndex(n),e.makeFocusable()):this.focusItem(n),this._hasInitialFocused=!0}constructor(n,e){n instanceof Yt?(this._items=n.toArray(),n.changes.subscribe(r=>this._itemsChanged(r.toArray()))):jt(n)?n.subscribe(r=>this._itemsChanged(r)):(this._items=n,this._initializeFocus()),typeof e.shouldActivationFollowFocus=="boolean"&&(this._shouldActivationFollowFocus=e.shouldActivationFollowFocus),e.horizontalOrientation&&(this._horizontalOrientation=e.horizontalOrientation),e.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),e.trackBy&&(this._trackByFn=e.trackBy),typeof e.typeAheadDebounceInterval<"u"&&this._setTypeAhead(e.typeAheadDebounceInterval)}change=new C;destroy(){this._typeaheadSubscription.unsubscribe(),this._typeahead?.destroy(),this.change.complete()}onKeydown(n){switch(n.key){case"Tab":return;case"ArrowDown":this._focusNextItem();break;case"ArrowUp":this._focusPreviousItem();break;case"ArrowRight":this._horizontalOrientation==="rtl"?this._collapseCurrentItem():this._expandCurrentItem();break;case"ArrowLeft":this._horizontalOrientation==="rtl"?this._expandCurrentItem():this._collapseCurrentItem();break;case"Home":this._focusFirstItem();break;case"End":this._focusLastItem();break;case"Enter":case" ":this._activateCurrentItem();break;default:if(n.key==="*"){this._expandAllItemsAtCurrentItemLevel();break}this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}getActiveItemIndex(){return this._activeItemIndex}getActiveItem(){return this._activeItem}_itemsChanged(n){this._hasInitialFocused&&this._activeItem&&!n.includes(this._activeItem)&&(this._activeItem=null,this._hasInitialFocused=!1),this._items=n,this._typeahead?.setItems(this._items),this._updateActiveItemIndex(this._items),this._initializeFocus()}_focusFirstItem(){this.focusItem(this._findNextAvailableItemIndex(-1))}_focusLastItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._items.length))}_focusNextItem(){this.focusItem(this._findNextAvailableItemIndex(this._activeItemIndex))}_focusPreviousItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._activeItemIndex))}focusItem(n,e={}){e.emitChangeEvent??=!0;let r=typeof n=="number"?n:this._items.findIndex(s=>this._trackByFn(s)===this._trackByFn(n));if(r<0||r>=this._items.length)return;let o=this._items[r];if(this._activeItem!==null&&this._trackByFn(o)===this._trackByFn(this._activeItem))return;let i=this._activeItem;this._activeItem=o??null,this._activeItemIndex=r,this._typeahead?.setCurrentSelectedItemIndex(r),this._activeItem?.focus(),i?.unfocus(),e.emitChangeEvent&&this.change.next(this._activeItem),this._shouldActivationFollowFocus&&this._activateCurrentItem()}_updateActiveItemIndex(n){let e=this._activeItem;if(!e)return;let r=n.findIndex(o=>this._trackByFn(o)===this._trackByFn(e));r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r,this._typeahead?.setCurrentSelectedItemIndex(r))}_setTypeAhead(n){this._typeahead=new $o(this._items,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:e=>this._skipPredicateFn(e)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(e=>{this.focusItem(e)})}_findNextAvailableItemIndex(n){for(let e=n+1;e<this._items.length;e++)if(!this._skipPredicateFn(this._items[e]))return e;return n}_findPreviousAvailableItemIndex(n){for(let e=n-1;e>=0;e--)if(!this._skipPredicateFn(this._items[e]))return e;return n}_collapseCurrentItem(){if(this._activeItem)if(this._isCurrentItemExpanded())this._activeItem.collapse();else{let n=this._activeItem.getParent();if(!n||this._skipPredicateFn(n))return;this.focusItem(n)}}_expandCurrentItem(){this._activeItem&&(this._isCurrentItemExpanded()?cp(this._activeItem.getChildren()).pipe(Ue(1)).subscribe(n=>{let e=n.find(r=>!this._skipPredicateFn(r));e&&this.focusItem(e)}):this._activeItem.expand())}_isCurrentItemExpanded(){return this._activeItem?typeof this._activeItem.isExpanded=="boolean"?this._activeItem.isExpanded:this._activeItem.isExpanded():!1}_isItemDisabled(n){return typeof n.isDisabled=="boolean"?n.isDisabled:n.isDisabled?.()}_expandAllItemsAtCurrentItemLevel(){if(!this._activeItem)return;let n=this._activeItem.getParent(),e;n?e=cp(n.getChildren()):e=fe(this._items.filter(r=>r.getParent()===null)),e.pipe(Ue(1)).subscribe(r=>{for(let o of r)o.expand()})}_activateCurrentItem(){this._activeItem?.activate()}},bq=new g("tree-key-manager",{providedIn:"root",factory:()=>(t,n)=>new lp(t,n)});var vD=" ";function Sx(t,n,e){let r=ml(t,n);e=e.trim(),!r.some(o=>o.trim()===e)&&(r.push(e),t.setAttribute(n,r.join(vD)))}function Mx(t,n,e){let r=ml(t,n);e=e.trim();let o=r.filter(i=>i!==e);o.length?t.setAttribute(n,o.join(vD)):t.removeAttribute(n)}function ml(t,n){return t.getAttribute(n)?.match(/\S+/g)??[]}var yD="cdk-describedby-message",pl="cdk-describedby-host",dp=0,xq=(()=>{class t{_platform=d(re);_document=d(x);_messageRegistry=new Map;_messagesContainer=null;_id=`${dp++}`;constructor(){d(st).load(ll),this._id=d(Rn)+"-"+dp++}describe(e,r,o){if(!this._canBeDescribed(e,r))return;let i=up(r,o);typeof r!="string"?(gD(r,this._id),this._messageRegistry.set(i,{messageElement:r,referenceCount:0})):this._messageRegistry.has(i)||this._createMessageElement(r,o),this._isElementDescribedByMessage(e,i)||this._addMessageReference(e,i)}removeDescription(e,r,o){if(!r||!this._isElementNode(e))return;let i=up(r,o);if(this._isElementDescribedByMessage(e,i)&&this._removeMessageReference(e,i),typeof r=="string"){let s=this._messageRegistry.get(i);s&&s.referenceCount===0&&this._deleteMessageElement(i)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${pl}="${this._id}"]`);for(let r=0;r<e.length;r++)this._removeCdkDescribedByReferenceIds(e[r]),e[r].removeAttribute(pl);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,r){let o=this._document.createElement("div");gD(o,this._id),o.textContent=e,r&&o.setAttribute("role",r),this._createMessagesContainer(),this._messagesContainer.appendChild(o),this._messageRegistry.set(up(e,r),{messageElement:o,referenceCount:0})}_deleteMessageElement(e){this._messageRegistry.get(e)?.messageElement?.remove(),this._messageRegistry.delete(e)}_createMessagesContainer(){if(this._messagesContainer)return;let e="cdk-describedby-message-container",r=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let i=0;i<r.length;i++)r[i].remove();let o=this._document.createElement("div");o.style.visibility="hidden",o.classList.add(e),o.classList.add("cdk-visually-hidden"),this._platform.isBrowser||o.setAttribute("platform","server"),this._document.body.appendChild(o),this._messagesContainer=o}_removeCdkDescribedByReferenceIds(e){let r=ml(e,"aria-describedby").filter(o=>o.indexOf(yD)!=0);e.setAttribute("aria-describedby",r.join(" "))}_addMessageReference(e,r){let o=this._messageRegistry.get(r);Sx(e,"aria-describedby",o.messageElement.id),e.setAttribute(pl,this._id),o.referenceCount++}_removeMessageReference(e,r){let o=this._messageRegistry.get(r);o.referenceCount--,Mx(e,"aria-describedby",o.messageElement.id),e.removeAttribute(pl)}_isElementDescribedByMessage(e,r){let o=ml(e,"aria-describedby"),i=this._messageRegistry.get(r),s=i&&i.messageElement.id;return!!s&&o.indexOf(s)!=-1}_canBeDescribed(e,r){if(!this._isElementNode(e))return!1;if(r&&typeof r=="object")return!0;let o=r==null?"":`${r}`.trim(),i=e.getAttribute("aria-label");return o?!i||i.trim()!==o:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function up(t,n){return typeof t=="string"?`${n||""}/${t}`:t}function gD(t,n){t.id||(t.id=`${yD}-${n}-${dp++}`)}function Tx(t,n){}var vl=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration},fp="mdc-dialog--open",_D="mdc-dialog--opening",bD="mdc-dialog--closing",Ax=150,xx=75,Nx=(()=>{class t extends op{_animationStateChanged=new $;_animationsEnabled=!tn();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?ED(this._config.enterAnimationDuration)??Ax:0;_exitAnimationDuration=this._animationsEnabled?ED(this._config.exitAnimationDuration)??xx:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(DD,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(_D,fp)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(fp),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(fp),this._animationsEnabled?(this._hostElement.style.setProperty(DD,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(bD)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(_D,bD)}_waitForAnimationToComplete(e,r){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(r,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let r=super.attachComponentPortal(e);return r.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),r}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ie(t)))(o||t)}})();static \u0275cmp=ie({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(r,o){r&2&&(qi("id",o._config.id),Ne("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),ye("_mat-animation-noopable",!o._animationsEnabled)("mat-mdc-dialog-container-with-actions",o._actionSectionCount>0))},features:[W],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(r,o){r&1&&(yo(0,"div",0)(1,"div",1),wo(2,Tx,0,0,"ng-template",2),Wi()())},dependencies:[fs],styles:[`.mat-mdc-dialog-container {
|
|
228
|
+
width: 100%;
|
|
229
|
+
height: 100%;
|
|
230
|
+
display: block;
|
|
231
|
+
box-sizing: border-box;
|
|
232
|
+
max-height: inherit;
|
|
233
|
+
min-height: inherit;
|
|
234
|
+
min-width: inherit;
|
|
235
|
+
max-width: inherit;
|
|
236
|
+
outline: 0;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.cdk-overlay-pane.mat-mdc-dialog-panel {
|
|
240
|
+
max-width: var(--mat-dialog-container-max-width, 560px);
|
|
241
|
+
min-width: var(--mat-dialog-container-min-width, 280px);
|
|
242
|
+
}
|
|
243
|
+
@media (max-width: 599px) {
|
|
244
|
+
.cdk-overlay-pane.mat-mdc-dialog-panel {
|
|
245
|
+
max-width: var(--mat-dialog-container-small-max-width, calc(100vw - 32px));
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.mat-mdc-dialog-inner-container {
|
|
250
|
+
display: flex;
|
|
251
|
+
flex-direction: row;
|
|
252
|
+
align-items: center;
|
|
253
|
+
justify-content: space-around;
|
|
254
|
+
box-sizing: border-box;
|
|
255
|
+
height: 100%;
|
|
256
|
+
opacity: 0;
|
|
257
|
+
transition: opacity linear var(--mat-dialog-transition-duration, 0ms);
|
|
258
|
+
max-height: inherit;
|
|
259
|
+
min-height: inherit;
|
|
260
|
+
min-width: inherit;
|
|
261
|
+
max-width: inherit;
|
|
262
|
+
}
|
|
263
|
+
.mdc-dialog--closing .mat-mdc-dialog-inner-container {
|
|
264
|
+
transition: opacity 75ms linear;
|
|
265
|
+
transform: none;
|
|
266
|
+
}
|
|
267
|
+
.mdc-dialog--open .mat-mdc-dialog-inner-container {
|
|
268
|
+
opacity: 1;
|
|
269
|
+
}
|
|
270
|
+
._mat-animation-noopable .mat-mdc-dialog-inner-container {
|
|
271
|
+
transition: none;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.mat-mdc-dialog-surface {
|
|
275
|
+
display: flex;
|
|
276
|
+
flex-direction: column;
|
|
277
|
+
flex-grow: 0;
|
|
278
|
+
flex-shrink: 0;
|
|
279
|
+
box-sizing: border-box;
|
|
280
|
+
width: 100%;
|
|
281
|
+
height: 100%;
|
|
282
|
+
position: relative;
|
|
283
|
+
overflow-y: auto;
|
|
284
|
+
outline: 0;
|
|
285
|
+
transform: scale(0.8);
|
|
286
|
+
transition: transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);
|
|
287
|
+
max-height: inherit;
|
|
288
|
+
min-height: inherit;
|
|
289
|
+
min-width: inherit;
|
|
290
|
+
max-width: inherit;
|
|
291
|
+
box-shadow: var(--mat-dialog-container-elevation-shadow, none);
|
|
292
|
+
border-radius: var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));
|
|
293
|
+
background-color: var(--mat-dialog-container-color, var(--mat-sys-surface, white));
|
|
294
|
+
}
|
|
295
|
+
[dir=rtl] .mat-mdc-dialog-surface {
|
|
296
|
+
text-align: right;
|
|
297
|
+
}
|
|
298
|
+
.mdc-dialog--open .mat-mdc-dialog-surface, .mdc-dialog--closing .mat-mdc-dialog-surface {
|
|
299
|
+
transform: none;
|
|
300
|
+
}
|
|
301
|
+
._mat-animation-noopable .mat-mdc-dialog-surface {
|
|
302
|
+
transition: none;
|
|
303
|
+
}
|
|
304
|
+
.mat-mdc-dialog-surface::before {
|
|
305
|
+
position: absolute;
|
|
306
|
+
box-sizing: border-box;
|
|
307
|
+
width: 100%;
|
|
308
|
+
height: 100%;
|
|
309
|
+
top: 0;
|
|
310
|
+
left: 0;
|
|
311
|
+
border: 2px solid transparent;
|
|
312
|
+
border-radius: inherit;
|
|
313
|
+
content: "";
|
|
314
|
+
pointer-events: none;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.mat-mdc-dialog-title {
|
|
318
|
+
display: block;
|
|
319
|
+
position: relative;
|
|
320
|
+
flex-shrink: 0;
|
|
321
|
+
box-sizing: border-box;
|
|
322
|
+
margin: 0 0 1px;
|
|
323
|
+
padding: var(--mat-dialog-headline-padding, 6px 24px 13px);
|
|
324
|
+
}
|
|
325
|
+
.mat-mdc-dialog-title::before {
|
|
326
|
+
display: inline-block;
|
|
327
|
+
width: 0;
|
|
328
|
+
height: 40px;
|
|
329
|
+
content: "";
|
|
330
|
+
vertical-align: 0;
|
|
331
|
+
}
|
|
332
|
+
[dir=rtl] .mat-mdc-dialog-title {
|
|
333
|
+
text-align: right;
|
|
334
|
+
}
|
|
335
|
+
.mat-mdc-dialog-container .mat-mdc-dialog-title {
|
|
336
|
+
color: var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));
|
|
337
|
+
font-family: var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));
|
|
338
|
+
line-height: var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));
|
|
339
|
+
font-size: var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));
|
|
340
|
+
font-weight: var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));
|
|
341
|
+
letter-spacing: var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em));
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.mat-mdc-dialog-content {
|
|
345
|
+
display: block;
|
|
346
|
+
flex-grow: 1;
|
|
347
|
+
box-sizing: border-box;
|
|
348
|
+
margin: 0;
|
|
349
|
+
overflow: auto;
|
|
350
|
+
max-height: 65vh;
|
|
351
|
+
}
|
|
352
|
+
.mat-mdc-dialog-content > :first-child {
|
|
353
|
+
margin-top: 0;
|
|
354
|
+
}
|
|
355
|
+
.mat-mdc-dialog-content > :last-child {
|
|
356
|
+
margin-bottom: 0;
|
|
357
|
+
}
|
|
358
|
+
.mat-mdc-dialog-container .mat-mdc-dialog-content {
|
|
359
|
+
color: var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));
|
|
360
|
+
font-family: var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));
|
|
361
|
+
line-height: var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));
|
|
362
|
+
font-size: var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));
|
|
363
|
+
font-weight: var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));
|
|
364
|
+
letter-spacing: var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em));
|
|
365
|
+
}
|
|
366
|
+
.mat-mdc-dialog-container .mat-mdc-dialog-content {
|
|
367
|
+
padding: var(--mat-dialog-content-padding, 20px 24px);
|
|
368
|
+
}
|
|
369
|
+
.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content {
|
|
370
|
+
padding: var(--mat-dialog-with-actions-content-padding, 20px 24px 0);
|
|
371
|
+
}
|
|
372
|
+
.mat-mdc-dialog-container .mat-mdc-dialog-title + .mat-mdc-dialog-content {
|
|
373
|
+
padding-top: 0;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.mat-mdc-dialog-actions {
|
|
377
|
+
display: flex;
|
|
378
|
+
position: relative;
|
|
379
|
+
flex-shrink: 0;
|
|
380
|
+
flex-wrap: wrap;
|
|
381
|
+
align-items: center;
|
|
382
|
+
box-sizing: border-box;
|
|
383
|
+
min-height: 52px;
|
|
384
|
+
margin: 0;
|
|
385
|
+
border-top: 1px solid transparent;
|
|
386
|
+
padding: var(--mat-dialog-actions-padding, 16px 24px);
|
|
387
|
+
justify-content: var(--mat-dialog-actions-alignment, flex-end);
|
|
388
|
+
}
|
|
389
|
+
@media (forced-colors: active) {
|
|
390
|
+
.mat-mdc-dialog-actions {
|
|
391
|
+
border-top-color: CanvasText;
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start, .mat-mdc-dialog-actions[align=start] {
|
|
395
|
+
justify-content: start;
|
|
396
|
+
}
|
|
397
|
+
.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center, .mat-mdc-dialog-actions[align=center] {
|
|
398
|
+
justify-content: center;
|
|
399
|
+
}
|
|
400
|
+
.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end, .mat-mdc-dialog-actions[align=end] {
|
|
401
|
+
justify-content: flex-end;
|
|
402
|
+
}
|
|
403
|
+
.mat-mdc-dialog-actions .mat-button-base + .mat-button-base,
|
|
404
|
+
.mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base {
|
|
405
|
+
margin-left: 8px;
|
|
406
|
+
}
|
|
407
|
+
[dir=rtl] .mat-mdc-dialog-actions .mat-button-base + .mat-button-base,
|
|
408
|
+
[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base + .mat-mdc-button-base {
|
|
409
|
+
margin-left: 0;
|
|
410
|
+
margin-right: 8px;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
.mat-mdc-dialog-component-host {
|
|
414
|
+
display: contents;
|
|
415
|
+
}
|
|
416
|
+
`],encapsulation:2})}return t})(),DD="--mat-dialog-transition-duration";function ED(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?It(t.substring(0,t.length-2)):t.endsWith("s")?It(t.substring(0,t.length-1))*1e3:t==="0"?0:null}var gl=(function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t})(gl||{}),yl=class{_ref;_config;_containerInstance;componentInstance;componentRef=null;disableClose;id;_afterOpened=new un(1);_beforeClosed=new un(1);_result;_closeFallbackTimeout;_state=gl.OPEN;_closeInteractionType;constructor(n,e,r){this._ref=n,this._config=e,this._containerInstance=r,this.disableClose=e.disableClose,this.id=n.id,n.addPanelClass("mat-mdc-dialog-panel"),r._animationStateChanged.pipe(_e(o=>o.state==="opened"),Ue(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),r._animationStateChanged.pipe(_e(o=>o.state==="closed"),Ue(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),su(this.backdropClick(),this.keydownEvents().pipe(_e(o=>o.keyCode===27&&!this.disableClose&&!Ln(o)))).subscribe(o=>{this.disableClose||(o.preventDefault(),Rx(this,o.type==="keydown"?"keyboard":"mouse"))})}close(n){let e=this._config.closePredicate;e&&!e(n,this._config,this.componentInstance)||(this._result=n,this._containerInstance._animationStateChanged.pipe(_e(r=>r.state==="closing"),Ue(1)).subscribe(r=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),r.totalTime+100)}),this._state=gl.CLOSING,this._containerInstance._startExitAnimation())}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=gl.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function Rx(t,n,e){return t._closeInteractionType=n,t.close(e)}var Ox=new g("MatMdcDialogData"),kx=new g("mat-mdc-dialog-default-options"),Fx=new g("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=d(O);return()=>jo(t)}}),CD=(()=>{class t{_defaultOptions=d(kx,{optional:!0});_scrollStrategy=d(Fx);_parentDialog=d(t,{optional:!0,skipSelf:!0});_idGenerator=d(Lt);_injector=d(O);_dialog=d(ip);_animationsDisabled=tn();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new C;_afterOpenedAtThisLevel=new C;dialogConfigClass=vl;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=si(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(At(void 0)));constructor(){this._dialogRefConstructor=yl,this._dialogContainerType=Nx,this._dialogDataToken=Ox}open(e,r){let o;r=D(D({},this._defaultOptions||new vl),r),r.id=r.id||this._idGenerator.getId("mat-mdc-dialog-"),r.scrollStrategy=r.scrollStrategy||this._scrollStrategy();let i=this._dialog.open(e,U(D({},r),{positionStrategy:Bo(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||r.enterAnimationDuration?.toLocaleString()==="0"||r.exitAnimationDuration?.toString()==="0",container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:r},{provide:jn,useValue:r}]},templateContext:()=>({dialogRef:o}),providers:(s,a,c)=>(o=new this._dialogRefConstructor(s,r,c),o.updatePosition(r?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:a.data},{provide:this._dialogRefConstructor,useValue:o}])}));return o.componentRef=i.componentRef,o.componentInstance=i.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(o);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(r=>r.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let r=e.length;for(;r--;)e[r].close()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var wD=(()=>{class t{_dialogRef=d(yl,{optional:!0});_elementRef=d(B);_dialog=d(CD);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=Px(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(r){return new(r||t)};static \u0275dir=A({type:t})}return t})(),n6=(()=>{class t extends wD{id=d(Lt).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ie(t)))(o||t)}})();static \u0275dir=A({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(r,o){r&2&&qi("id",o.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[W]})}return t})(),r6=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275dir=A({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[Zf([us])]})}return t})(),o6=(()=>{class t extends wD{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ie(t)))(o||t)}})();static \u0275dir=A({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(r,o){r&2&&ye("mat-mdc-dialog-actions-align-start",o.align==="start")("mat-mdc-dialog-actions-align-center",o.align==="center")("mat-mdc-dialog-actions-align-end",o.align==="end")},inputs:{align:"align"},features:[W]})}return t})();function Px(t,n){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?n.find(r=>r.id===e.id):null}var i6=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=q({type:t});static \u0275inj=G({providers:[CD],imports:[pD,gs,Tr,Je]})}return t})();var Go,ID=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function c6(){if(Go)return Go;if(typeof document!="object"||!document)return Go=new Set(ID),Go;let t=document.createElement("input");return Go=new Set(ID.filter(n=>(t.setAttribute("type",n),t.type===n))),Go}var ct=(function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t})(ct||{}),hp=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=ct.HIDDEN;constructor(n,e,r,o=!1){this._renderer=n,this.element=e,this.config=r,this._animationForciblyDisabledThroughCss=o}fadeOut(){this._renderer.fadeOutRipple(this)}},SD=Ho({passive:!0,capture:!0}),pp=class{_events=new Map;addHandler(n,e,r,o){let i=this._events.get(e);if(i){let s=i.get(r);s?s.add(o):i.set(r,new Set([o]))}else this._events.set(e,new Map([[r,new Set([o])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,SD)})}removeHandler(n,e,r){let o=this._events.get(n);if(!o)return;let i=o.get(e);i&&(i.delete(r),i.size===0&&o.delete(e),o.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,SD)))}_delegateEventHandler=n=>{let e=Be(n);e&&this._events.get(n.type)?.forEach((r,o)=>{(o===e||o.contains(e))&&r.forEach(i=>i.handleEvent(n))})}},Es={enterDuration:225,exitDuration:150},Lx=800,MD=Ho({passive:!0,capture:!0}),TD=["mousedown","touchstart"],AD=["mouseup","mouseleave","touchend","touchcancel"],Vx=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ie({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(r,o){},styles:[`.mat-ripple {
|
|
417
|
+
overflow: hidden;
|
|
418
|
+
position: relative;
|
|
419
|
+
}
|
|
420
|
+
.mat-ripple:not(:empty) {
|
|
421
|
+
transform: translateZ(0);
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.mat-ripple.mat-ripple-unbounded {
|
|
425
|
+
overflow: visible;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.mat-ripple-element {
|
|
429
|
+
position: absolute;
|
|
430
|
+
border-radius: 50%;
|
|
431
|
+
pointer-events: none;
|
|
432
|
+
transition: opacity, transform 0ms cubic-bezier(0, 0, 0.2, 1);
|
|
433
|
+
transform: scale3d(0, 0, 0);
|
|
434
|
+
background-color: var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent));
|
|
435
|
+
}
|
|
436
|
+
@media (forced-colors: active) {
|
|
437
|
+
.mat-ripple-element {
|
|
438
|
+
display: none;
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
.cdk-drag-preview .mat-ripple-element, .cdk-drag-placeholder .mat-ripple-element {
|
|
442
|
+
display: none;
|
|
443
|
+
}
|
|
444
|
+
`],encapsulation:2,changeDetection:0})}return t})(),Cs=class t{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new pp;constructor(n,e,r,o,i){this._target=n,this._ngZone=e,this._platform=o,o.isBrowser&&(this._containerElement=at(r)),i&&i.get(st).load(Vx)}fadeInRipple(n,e,r={}){let o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i=D(D({},Es),r.animation);r.centered&&(n=o.left+o.width/2,e=o.top+o.height/2);let s=r.radius||jx(n,e,o),a=n-o.left,c=e-o.top,l=i.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=`${a-s}px`,u.style.top=`${c-s}px`,u.style.height=`${s*2}px`,u.style.width=`${s*2}px`,r.color!=null&&(u.style.backgroundColor=r.color),u.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(u);let f=window.getComputedStyle(u),h=f.transitionProperty,p=f.transitionDuration,m=h==="none"||p==="0s"||p==="0s, 0s"||o.width===0&&o.height===0,v=new hp(this,u,r,m);u.style.transform="scale3d(1, 1, 1)",v.state=ct.FADING_IN,r.persistent||(this._mostRecentTransientRipple=v);let _=null;return!m&&(l||i.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let b=()=>{_&&(_.fallbackTimer=null),clearTimeout(Ce),this._finishRippleTransition(v)},k=()=>this._destroyRipple(v),Ce=setTimeout(k,l+100);u.addEventListener("transitionend",b),u.addEventListener("transitioncancel",k),_={onTransitionEnd:b,onTransitionCancel:k,fallbackTimer:Ce}}),this._activeRipples.set(v,_),(m||!l)&&this._finishRippleTransition(v),v}fadeOutRipple(n){if(n.state===ct.FADING_OUT||n.state===ct.HIDDEN)return;let e=n.element,r=D(D({},Es),n.config.animation);e.style.transitionDuration=`${r.exitDuration}ms`,e.style.opacity="0",n.state=ct.FADING_OUT,(n._animationForciblyDisabledThroughCss||!r.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=at(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,TD.forEach(r=>{t._eventManager.addHandler(this._ngZone,r,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{AD.forEach(e=>{this._triggerElement.addEventListener(e,this,MD)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===ct.FADING_IN?this._startFadeOutTransition(n):n.state===ct.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:r}=n.config;n.state=ct.VISIBLE,!r&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=ct.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=vs(n),r=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+Lx;!this._target.rippleDisabled&&!e&&!r&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!ys(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=n.changedTouches;if(e)for(let r=0;r<e.length;r++)this.fadeInRipple(e[r].clientX,e[r].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{let e=n.state===ct.VISIBLE||n.config.terminateOnPointerUp&&n.state===ct.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(TD.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(AD.forEach(e=>n.removeEventListener(e,this,MD)),this._pointerUpEventsRegistered=!1))}};function jx(t,n,e){let r=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),o=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(r*r+o*o)}var mp=new g("mat-ripple-global-options"),w6=(()=>{class t{_elementRef=d(B);_animationsDisabled=tn();color;unbounded=!1;centered=!1;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=d(M),r=d(re),o=d(mp,{optional:!0}),i=d(O);this._globalOptions=o||{},this._rippleRenderer=new Cs(this,e,this._elementRef,r,i)}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:D(D(D({},this._globalOptions.animation),this._animationsDisabled?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,r=0,o){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,r,D(D({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,D(D({},this.rippleConfig),e))}static \u0275fac=function(r){return new(r||t)};static \u0275dir=A({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(r,o){r&2&&ye("mat-ripple-unbounded",o.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return t})();var Bx={capture:!0},Hx=["focus","mousedown","mouseenter","touchstart"],gp="mat-ripple-loader-uninitialized",vp="mat-ripple-loader-class-name",xD="mat-ripple-loader-centered",_l="mat-ripple-loader-disabled",ND=(()=>{class t{_document=d(x);_animationsDisabled=tn();_globalRippleOptions=d(mp,{optional:!0});_platform=d(re);_ngZone=d(M);_injector=d(O);_eventCleanups;_hosts=new Map;constructor(){let e=d(Ee).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>Hx.map(r=>e.listen(this._document,r,this._onInteraction,Bx)))}ngOnDestroy(){let e=this._hosts.keys();for(let r of e)this.destroyRipple(r);this._eventCleanups.forEach(r=>r())}configureRipple(e,r){e.setAttribute(gp,this._globalRippleOptions?.namespace??""),(r.className||!e.hasAttribute(vp))&&e.setAttribute(vp,r.className||""),r.centered&&e.setAttribute(xD,""),r.disabled&&e.setAttribute(_l,"")}setDisabled(e,r){let o=this._hosts.get(e);o?(o.target.rippleDisabled=r,!r&&!o.hasSetUpEvents&&(o.hasSetUpEvents=!0,o.renderer.setupTriggerEvents(e))):r?e.setAttribute(_l,""):e.removeAttribute(_l)}_onInteraction=e=>{let r=Be(e);if(r instanceof HTMLElement){let o=r.closest(`[${gp}="${this._globalRippleOptions?.namespace??""}"]`);o&&this._createRipple(o)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let r=this._document.createElement("span");r.classList.add("mat-ripple",e.getAttribute(vp)),e.append(r);let o=this._globalRippleOptions,i=this._animationsDisabled?0:o?.animation?.enterDuration??Es.enterDuration,s=this._animationsDisabled?0:o?.animation?.exitDuration??Es.exitDuration,a={rippleDisabled:this._animationsDisabled||o?.disabled||e.hasAttribute(_l),rippleConfig:{centered:e.hasAttribute(xD),terminateOnPointerUp:o?.terminateOnPointerUp,animation:{enterDuration:i,exitDuration:s}}},c=new Cs(a,this._ngZone,r,this._platform,this._injector),l=!a.rippleDisabled;l&&c.setupTriggerEvents(e),this._hosts.set(e,{target:a,renderer:c,hasSetUpEvents:l}),e.removeAttribute(gp)}destroyRipple(e){let r=this._hosts.get(e);r&&(r.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var RD=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ie({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(r,o){},styles:[`.mat-focus-indicator {
|
|
445
|
+
position: relative;
|
|
446
|
+
}
|
|
447
|
+
.mat-focus-indicator::before {
|
|
448
|
+
top: 0;
|
|
449
|
+
left: 0;
|
|
450
|
+
right: 0;
|
|
451
|
+
bottom: 0;
|
|
452
|
+
position: absolute;
|
|
453
|
+
box-sizing: border-box;
|
|
454
|
+
pointer-events: none;
|
|
455
|
+
display: var(--mat-focus-indicator-display, none);
|
|
456
|
+
border-width: var(--mat-focus-indicator-border-width, 3px);
|
|
457
|
+
border-style: var(--mat-focus-indicator-border-style, solid);
|
|
458
|
+
border-color: var(--mat-focus-indicator-border-color, transparent);
|
|
459
|
+
border-radius: var(--mat-focus-indicator-border-radius, 4px);
|
|
460
|
+
}
|
|
461
|
+
.mat-focus-indicator:focus-visible::before {
|
|
462
|
+
content: "";
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
@media (forced-colors: active) {
|
|
466
|
+
html {
|
|
467
|
+
--mat-focus-indicator-display: block;
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
`],encapsulation:2,changeDetection:0})}return t})();var Ux=["mat-icon-button",""],$x=["*"],zx=new g("MAT_BUTTON_CONFIG");function OD(t){return t==null?void 0:W_(t)}var ws=(()=>{class t{_elementRef=d(B);_ngZone=d(M);_animationsDisabled=tn();_config=d(zx,{optional:!0});_focusMonitor=d(Uo);_cleanupClick;_renderer=d(We);_rippleLoader=d(ND);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(e){this.tabIndex=e}constructor(){d(st).load(RD);let e=this._elementRef.nativeElement;this._isAnchor=e.tagName==="A",this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(e,{className:"mat-mdc-button-ripple"})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",r){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,r):this._elementRef.nativeElement.focus(r)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this._isAnchor?this.disabled||null:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}_getTabIndex(){return this._isAnchor?this.disabled&&!this.disabledInteractive?-1:this.tabIndex:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}))}static \u0275fac=function(r){return new(r||t)};static \u0275dir=A({type:t,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(r,o){r&2&&(Ne("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled())("tabindex",o._getTabIndex()),Xi(o.color?"mat-"+o.color:""),ye("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("mat-unthemed",!o.color)("_mat-animation-noopable",o._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",ne],disabled:[2,"disabled","disabled",ne],ariaDisabled:[2,"aria-disabled","ariaDisabled",ne],disabledInteractive:[2,"disabledInteractive","disabledInteractive",ne],tabIndex:[2,"tabIndex","tabIndex",OD],_tabindex:[2,"tabindex","_tabindex",OD]}})}return t})(),Gx=(()=>{class t extends ws{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ie({type:t,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[W],attrs:Ux,ngContentSelectors:$x,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,o){r&1&&(wt(),qe(0,"span",0),Se(1),qe(2,"span",1)(3,"span",2))},styles:[`.mat-mdc-icon-button {
|
|
471
|
+
-webkit-user-select: none;
|
|
472
|
+
user-select: none;
|
|
473
|
+
display: inline-block;
|
|
474
|
+
position: relative;
|
|
475
|
+
box-sizing: border-box;
|
|
476
|
+
border: none;
|
|
477
|
+
outline: none;
|
|
478
|
+
background-color: transparent;
|
|
479
|
+
fill: currentColor;
|
|
480
|
+
text-decoration: none;
|
|
481
|
+
cursor: pointer;
|
|
482
|
+
z-index: 0;
|
|
483
|
+
overflow: visible;
|
|
484
|
+
border-radius: var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%));
|
|
485
|
+
flex-shrink: 0;
|
|
486
|
+
text-align: center;
|
|
487
|
+
width: var(--mat-icon-button-state-layer-size, 40px);
|
|
488
|
+
height: var(--mat-icon-button-state-layer-size, 40px);
|
|
489
|
+
padding: calc(calc(var(--mat-icon-button-state-layer-size, 40px) - var(--mat-icon-button-icon-size, 24px)) / 2);
|
|
490
|
+
font-size: var(--mat-icon-button-icon-size, 24px);
|
|
491
|
+
color: var(--mat-icon-button-icon-color, var(--mat-sys-on-surface-variant));
|
|
492
|
+
-webkit-tap-highlight-color: transparent;
|
|
493
|
+
}
|
|
494
|
+
.mat-mdc-icon-button .mat-mdc-button-ripple,
|
|
495
|
+
.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,
|
|
496
|
+
.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before {
|
|
497
|
+
top: 0;
|
|
498
|
+
left: 0;
|
|
499
|
+
right: 0;
|
|
500
|
+
bottom: 0;
|
|
501
|
+
position: absolute;
|
|
502
|
+
pointer-events: none;
|
|
503
|
+
border-radius: inherit;
|
|
504
|
+
}
|
|
505
|
+
.mat-mdc-icon-button .mat-mdc-button-ripple {
|
|
506
|
+
overflow: hidden;
|
|
507
|
+
}
|
|
508
|
+
.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before {
|
|
509
|
+
content: "";
|
|
510
|
+
opacity: 0;
|
|
511
|
+
}
|
|
512
|
+
.mat-mdc-icon-button .mdc-button__label,
|
|
513
|
+
.mat-mdc-icon-button .mat-icon {
|
|
514
|
+
z-index: 1;
|
|
515
|
+
position: relative;
|
|
516
|
+
}
|
|
517
|
+
.mat-mdc-icon-button .mat-focus-indicator {
|
|
518
|
+
top: 0;
|
|
519
|
+
left: 0;
|
|
520
|
+
right: 0;
|
|
521
|
+
bottom: 0;
|
|
522
|
+
position: absolute;
|
|
523
|
+
border-radius: inherit;
|
|
524
|
+
}
|
|
525
|
+
.mat-mdc-icon-button:focus-visible > .mat-focus-indicator::before {
|
|
526
|
+
content: "";
|
|
527
|
+
border-radius: inherit;
|
|
528
|
+
}
|
|
529
|
+
.mat-mdc-icon-button .mat-ripple-element {
|
|
530
|
+
background-color: var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));
|
|
531
|
+
}
|
|
532
|
+
.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before {
|
|
533
|
+
background-color: var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant));
|
|
534
|
+
}
|
|
535
|
+
.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
|
|
536
|
+
background-color: var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant));
|
|
537
|
+
}
|
|
538
|
+
.mat-mdc-icon-button:hover > .mat-mdc-button-persistent-ripple::before {
|
|
539
|
+
opacity: var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
|
|
540
|
+
}
|
|
541
|
+
.mat-mdc-icon-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-icon-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {
|
|
542
|
+
opacity: var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
|
|
543
|
+
}
|
|
544
|
+
.mat-mdc-icon-button:active > .mat-mdc-button-persistent-ripple::before {
|
|
545
|
+
opacity: var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
|
|
546
|
+
}
|
|
547
|
+
.mat-mdc-icon-button .mat-mdc-button-touch-target {
|
|
548
|
+
position: absolute;
|
|
549
|
+
top: 50%;
|
|
550
|
+
height: var(--mat-icon-button-touch-target-size, 48px);
|
|
551
|
+
display: var(--mat-icon-button-touch-target-display, block);
|
|
552
|
+
left: 50%;
|
|
553
|
+
width: var(--mat-icon-button-touch-target-size, 48px);
|
|
554
|
+
transform: translate(-50%, -50%);
|
|
555
|
+
}
|
|
556
|
+
.mat-mdc-icon-button._mat-animation-noopable {
|
|
557
|
+
transition: none !important;
|
|
558
|
+
animation: none !important;
|
|
559
|
+
}
|
|
560
|
+
.mat-mdc-icon-button[disabled], .mat-mdc-icon-button.mat-mdc-button-disabled {
|
|
561
|
+
cursor: default;
|
|
562
|
+
pointer-events: none;
|
|
563
|
+
color: var(--mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
|
|
564
|
+
}
|
|
565
|
+
.mat-mdc-icon-button.mat-mdc-button-disabled-interactive {
|
|
566
|
+
pointer-events: auto;
|
|
567
|
+
}
|
|
568
|
+
.mat-mdc-icon-button img,
|
|
569
|
+
.mat-mdc-icon-button svg {
|
|
570
|
+
width: var(--mat-icon-button-icon-size, 24px);
|
|
571
|
+
height: var(--mat-icon-button-icon-size, 24px);
|
|
572
|
+
vertical-align: baseline;
|
|
573
|
+
}
|
|
574
|
+
.mat-mdc-icon-button .mat-mdc-button-persistent-ripple {
|
|
575
|
+
border-radius: var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%));
|
|
576
|
+
}
|
|
577
|
+
.mat-mdc-icon-button[hidden] {
|
|
578
|
+
display: none;
|
|
579
|
+
}
|
|
580
|
+
.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before {
|
|
581
|
+
background: transparent;
|
|
582
|
+
opacity: 1;
|
|
583
|
+
}
|
|
584
|
+
`,`@media (forced-colors: active) {
|
|
585
|
+
.mat-mdc-button:not(.mdc-button--outlined),
|
|
586
|
+
.mat-mdc-unelevated-button:not(.mdc-button--outlined),
|
|
587
|
+
.mat-mdc-raised-button:not(.mdc-button--outlined),
|
|
588
|
+
.mat-mdc-outlined-button:not(.mdc-button--outlined),
|
|
589
|
+
.mat-mdc-button-base.mat-tonal-button,
|
|
590
|
+
.mat-mdc-icon-button.mat-mdc-icon-button,
|
|
591
|
+
.mat-mdc-outlined-button .mdc-button__ripple {
|
|
592
|
+
outline: solid 1px;
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
`],encapsulation:2,changeDetection:0})}return t})();var kD=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=q({type:t});static \u0275inj=G({imports:[Je]})}return t})();var Wx=["matButton",""],yp=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],_p=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],qx=["mat-fab",""],Yx=["mat-mini-fab",""],Zx=`.mat-mdc-fab-base {
|
|
596
|
+
-webkit-user-select: none;
|
|
597
|
+
user-select: none;
|
|
598
|
+
position: relative;
|
|
599
|
+
display: inline-flex;
|
|
600
|
+
align-items: center;
|
|
601
|
+
justify-content: center;
|
|
602
|
+
box-sizing: border-box;
|
|
603
|
+
width: 56px;
|
|
604
|
+
height: 56px;
|
|
605
|
+
padding: 0;
|
|
606
|
+
border: none;
|
|
607
|
+
fill: currentColor;
|
|
608
|
+
text-decoration: none;
|
|
609
|
+
cursor: pointer;
|
|
610
|
+
-moz-appearance: none;
|
|
611
|
+
-webkit-appearance: none;
|
|
612
|
+
overflow: visible;
|
|
613
|
+
transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1), opacity 15ms linear 30ms, transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);
|
|
614
|
+
flex-shrink: 0;
|
|
615
|
+
-webkit-tap-highlight-color: transparent;
|
|
616
|
+
}
|
|
617
|
+
.mat-mdc-fab-base .mat-mdc-button-ripple,
|
|
618
|
+
.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,
|
|
619
|
+
.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before {
|
|
620
|
+
top: 0;
|
|
621
|
+
left: 0;
|
|
622
|
+
right: 0;
|
|
623
|
+
bottom: 0;
|
|
624
|
+
position: absolute;
|
|
625
|
+
pointer-events: none;
|
|
626
|
+
border-radius: inherit;
|
|
627
|
+
}
|
|
628
|
+
.mat-mdc-fab-base .mat-mdc-button-ripple {
|
|
629
|
+
overflow: hidden;
|
|
630
|
+
}
|
|
631
|
+
.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before {
|
|
632
|
+
content: "";
|
|
633
|
+
opacity: 0;
|
|
634
|
+
}
|
|
635
|
+
.mat-mdc-fab-base .mdc-button__label,
|
|
636
|
+
.mat-mdc-fab-base .mat-icon {
|
|
637
|
+
z-index: 1;
|
|
638
|
+
position: relative;
|
|
639
|
+
}
|
|
640
|
+
.mat-mdc-fab-base .mat-focus-indicator {
|
|
641
|
+
top: 0;
|
|
642
|
+
left: 0;
|
|
643
|
+
right: 0;
|
|
644
|
+
bottom: 0;
|
|
645
|
+
position: absolute;
|
|
646
|
+
}
|
|
647
|
+
.mat-mdc-fab-base:focus-visible > .mat-focus-indicator::before {
|
|
648
|
+
content: "";
|
|
649
|
+
}
|
|
650
|
+
.mat-mdc-fab-base._mat-animation-noopable {
|
|
651
|
+
transition: none !important;
|
|
652
|
+
animation: none !important;
|
|
653
|
+
}
|
|
654
|
+
.mat-mdc-fab-base::before {
|
|
655
|
+
position: absolute;
|
|
656
|
+
box-sizing: border-box;
|
|
657
|
+
width: 100%;
|
|
658
|
+
height: 100%;
|
|
659
|
+
top: 0;
|
|
660
|
+
left: 0;
|
|
661
|
+
border: 1px solid transparent;
|
|
662
|
+
border-radius: inherit;
|
|
663
|
+
content: "";
|
|
664
|
+
pointer-events: none;
|
|
665
|
+
}
|
|
666
|
+
.mat-mdc-fab-base[hidden] {
|
|
667
|
+
display: none;
|
|
668
|
+
}
|
|
669
|
+
.mat-mdc-fab-base::-moz-focus-inner {
|
|
670
|
+
padding: 0;
|
|
671
|
+
border: 0;
|
|
672
|
+
}
|
|
673
|
+
.mat-mdc-fab-base:active, .mat-mdc-fab-base:focus {
|
|
674
|
+
outline: none;
|
|
675
|
+
}
|
|
676
|
+
.mat-mdc-fab-base:hover {
|
|
677
|
+
cursor: pointer;
|
|
678
|
+
}
|
|
679
|
+
.mat-mdc-fab-base > svg {
|
|
680
|
+
width: 100%;
|
|
681
|
+
}
|
|
682
|
+
.mat-mdc-fab-base .mat-icon, .mat-mdc-fab-base .material-icons {
|
|
683
|
+
transition: transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);
|
|
684
|
+
fill: currentColor;
|
|
685
|
+
will-change: transform;
|
|
686
|
+
}
|
|
687
|
+
.mat-mdc-fab-base .mat-focus-indicator::before {
|
|
688
|
+
margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1);
|
|
689
|
+
}
|
|
690
|
+
.mat-mdc-fab-base[disabled], .mat-mdc-fab-base.mat-mdc-button-disabled {
|
|
691
|
+
cursor: default;
|
|
692
|
+
pointer-events: none;
|
|
693
|
+
}
|
|
694
|
+
.mat-mdc-fab-base[disabled], .mat-mdc-fab-base[disabled]:focus, .mat-mdc-fab-base.mat-mdc-button-disabled, .mat-mdc-fab-base.mat-mdc-button-disabled:focus {
|
|
695
|
+
box-shadow: none;
|
|
696
|
+
}
|
|
697
|
+
.mat-mdc-fab-base.mat-mdc-button-disabled-interactive {
|
|
698
|
+
pointer-events: auto;
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
.mat-mdc-fab {
|
|
702
|
+
background-color: var(--mat-fab-container-color, var(--mat-sys-primary-container));
|
|
703
|
+
border-radius: var(--mat-fab-container-shape, var(--mat-sys-corner-large));
|
|
704
|
+
color: var(--mat-fab-foreground-color, var(--mat-sys-on-primary-container, inherit));
|
|
705
|
+
box-shadow: var(--mat-fab-container-elevation-shadow, var(--mat-sys-level3));
|
|
706
|
+
}
|
|
707
|
+
@media (hover: hover) {
|
|
708
|
+
.mat-mdc-fab:hover {
|
|
709
|
+
box-shadow: var(--mat-fab-hover-container-elevation-shadow, var(--mat-sys-level4));
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
.mat-mdc-fab:focus {
|
|
713
|
+
box-shadow: var(--mat-fab-focus-container-elevation-shadow, var(--mat-sys-level3));
|
|
714
|
+
}
|
|
715
|
+
.mat-mdc-fab:active, .mat-mdc-fab:focus:active {
|
|
716
|
+
box-shadow: var(--mat-fab-pressed-container-elevation-shadow, var(--mat-sys-level3));
|
|
717
|
+
}
|
|
718
|
+
.mat-mdc-fab[disabled], .mat-mdc-fab.mat-mdc-button-disabled {
|
|
719
|
+
cursor: default;
|
|
720
|
+
pointer-events: none;
|
|
721
|
+
color: var(--mat-fab-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
|
|
722
|
+
background-color: var(--mat-fab-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
|
|
723
|
+
}
|
|
724
|
+
.mat-mdc-fab.mat-mdc-button-disabled-interactive {
|
|
725
|
+
pointer-events: auto;
|
|
726
|
+
}
|
|
727
|
+
.mat-mdc-fab .mat-mdc-button-touch-target {
|
|
728
|
+
position: absolute;
|
|
729
|
+
top: 50%;
|
|
730
|
+
height: var(--mat-fab-touch-target-size, 48px);
|
|
731
|
+
display: var(--mat-fab-touch-target-display, block);
|
|
732
|
+
left: 50%;
|
|
733
|
+
width: var(--mat-fab-touch-target-size, 48px);
|
|
734
|
+
transform: translate(-50%, -50%);
|
|
735
|
+
}
|
|
736
|
+
.mat-mdc-fab .mat-ripple-element {
|
|
737
|
+
background-color: var(--mat-fab-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));
|
|
738
|
+
}
|
|
739
|
+
.mat-mdc-fab .mat-mdc-button-persistent-ripple::before {
|
|
740
|
+
background-color: var(--mat-fab-state-layer-color, var(--mat-sys-on-primary-container));
|
|
741
|
+
}
|
|
742
|
+
.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
|
|
743
|
+
background-color: var(--mat-fab-disabled-state-layer-color);
|
|
744
|
+
}
|
|
745
|
+
.mat-mdc-fab:hover > .mat-mdc-button-persistent-ripple::before {
|
|
746
|
+
opacity: var(--mat-fab-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
|
|
747
|
+
}
|
|
748
|
+
.mat-mdc-fab.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-fab.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-fab.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {
|
|
749
|
+
opacity: var(--mat-fab-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
|
|
750
|
+
}
|
|
751
|
+
.mat-mdc-fab:active > .mat-mdc-button-persistent-ripple::before {
|
|
752
|
+
opacity: var(--mat-fab-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
.mat-mdc-mini-fab {
|
|
756
|
+
width: 40px;
|
|
757
|
+
height: 40px;
|
|
758
|
+
background-color: var(--mat-fab-small-container-color, var(--mat-sys-primary-container));
|
|
759
|
+
border-radius: var(--mat-fab-small-container-shape, var(--mat-sys-corner-medium));
|
|
760
|
+
color: var(--mat-fab-small-foreground-color, var(--mat-sys-on-primary-container, inherit));
|
|
761
|
+
box-shadow: var(--mat-fab-small-container-elevation-shadow, var(--mat-sys-level3));
|
|
762
|
+
}
|
|
763
|
+
@media (hover: hover) {
|
|
764
|
+
.mat-mdc-mini-fab:hover {
|
|
765
|
+
box-shadow: var(--mat-fab-small-hover-container-elevation-shadow, var(--mat-sys-level4));
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
.mat-mdc-mini-fab:focus {
|
|
769
|
+
box-shadow: var(--mat-fab-small-focus-container-elevation-shadow, var(--mat-sys-level3));
|
|
770
|
+
}
|
|
771
|
+
.mat-mdc-mini-fab:active, .mat-mdc-mini-fab:focus:active {
|
|
772
|
+
box-shadow: var(--mat-fab-small-pressed-container-elevation-shadow, var(--mat-sys-level3));
|
|
773
|
+
}
|
|
774
|
+
.mat-mdc-mini-fab[disabled], .mat-mdc-mini-fab.mat-mdc-button-disabled {
|
|
775
|
+
cursor: default;
|
|
776
|
+
pointer-events: none;
|
|
777
|
+
color: var(--mat-fab-small-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
|
|
778
|
+
background-color: var(--mat-fab-small-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
|
|
779
|
+
}
|
|
780
|
+
.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive {
|
|
781
|
+
pointer-events: auto;
|
|
782
|
+
}
|
|
783
|
+
.mat-mdc-mini-fab .mat-mdc-button-touch-target {
|
|
784
|
+
position: absolute;
|
|
785
|
+
top: 50%;
|
|
786
|
+
height: var(--mat-fab-small-touch-target-size, 48px);
|
|
787
|
+
display: var(--mat-fab-small-touch-target-display);
|
|
788
|
+
left: 50%;
|
|
789
|
+
width: var(--mat-fab-small-touch-target-size, 48px);
|
|
790
|
+
transform: translate(-50%, -50%);
|
|
791
|
+
}
|
|
792
|
+
.mat-mdc-mini-fab .mat-ripple-element {
|
|
793
|
+
background-color: var(--mat-fab-small-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));
|
|
794
|
+
}
|
|
795
|
+
.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before {
|
|
796
|
+
background-color: var(--mat-fab-small-state-layer-color, var(--mat-sys-on-primary-container));
|
|
797
|
+
}
|
|
798
|
+
.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
|
|
799
|
+
background-color: var(--mat-fab-small-disabled-state-layer-color);
|
|
800
|
+
}
|
|
801
|
+
.mat-mdc-mini-fab:hover > .mat-mdc-button-persistent-ripple::before {
|
|
802
|
+
opacity: var(--mat-fab-small-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
|
|
803
|
+
}
|
|
804
|
+
.mat-mdc-mini-fab.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-mini-fab.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {
|
|
805
|
+
opacity: var(--mat-fab-small-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
|
|
806
|
+
}
|
|
807
|
+
.mat-mdc-mini-fab:active > .mat-mdc-button-persistent-ripple::before {
|
|
808
|
+
opacity: var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
.mat-mdc-extended-fab {
|
|
812
|
+
-moz-osx-font-smoothing: grayscale;
|
|
813
|
+
-webkit-font-smoothing: antialiased;
|
|
814
|
+
padding-left: 20px;
|
|
815
|
+
padding-right: 20px;
|
|
816
|
+
width: auto;
|
|
817
|
+
max-width: 100%;
|
|
818
|
+
line-height: normal;
|
|
819
|
+
box-shadow: var(--mat-fab-extended-container-elevation-shadow, var(--mat-sys-level3));
|
|
820
|
+
height: var(--mat-fab-extended-container-height, 56px);
|
|
821
|
+
border-radius: var(--mat-fab-extended-container-shape, var(--mat-sys-corner-large));
|
|
822
|
+
font-family: var(--mat-fab-extended-label-text-font, var(--mat-sys-label-large-font));
|
|
823
|
+
font-size: var(--mat-fab-extended-label-text-size, var(--mat-sys-label-large-size));
|
|
824
|
+
font-weight: var(--mat-fab-extended-label-text-weight, var(--mat-sys-label-large-weight));
|
|
825
|
+
letter-spacing: var(--mat-fab-extended-label-text-tracking, var(--mat-sys-label-large-tracking));
|
|
826
|
+
}
|
|
827
|
+
@media (hover: hover) {
|
|
828
|
+
.mat-mdc-extended-fab:hover {
|
|
829
|
+
box-shadow: var(--mat-fab-extended-hover-container-elevation-shadow, var(--mat-sys-level4));
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
.mat-mdc-extended-fab:focus {
|
|
833
|
+
box-shadow: var(--mat-fab-extended-focus-container-elevation-shadow, var(--mat-sys-level3));
|
|
834
|
+
}
|
|
835
|
+
.mat-mdc-extended-fab:active, .mat-mdc-extended-fab:focus:active {
|
|
836
|
+
box-shadow: var(--mat-fab-extended-pressed-container-elevation-shadow, var(--mat-sys-level3));
|
|
837
|
+
}
|
|
838
|
+
.mat-mdc-extended-fab[disabled], .mat-mdc-extended-fab.mat-mdc-button-disabled {
|
|
839
|
+
cursor: default;
|
|
840
|
+
pointer-events: none;
|
|
841
|
+
}
|
|
842
|
+
.mat-mdc-extended-fab[disabled], .mat-mdc-extended-fab[disabled]:focus, .mat-mdc-extended-fab.mat-mdc-button-disabled, .mat-mdc-extended-fab.mat-mdc-button-disabled:focus {
|
|
843
|
+
box-shadow: none;
|
|
844
|
+
}
|
|
845
|
+
.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive {
|
|
846
|
+
pointer-events: auto;
|
|
847
|
+
}
|
|
848
|
+
[dir=rtl] .mat-mdc-extended-fab .mdc-button__label + .mat-icon, [dir=rtl] .mat-mdc-extended-fab .mdc-button__label + .material-icons,
|
|
849
|
+
.mat-mdc-extended-fab > .mat-icon,
|
|
850
|
+
.mat-mdc-extended-fab > .material-icons {
|
|
851
|
+
margin-left: -8px;
|
|
852
|
+
margin-right: 12px;
|
|
853
|
+
}
|
|
854
|
+
.mat-mdc-extended-fab .mdc-button__label + .mat-icon,
|
|
855
|
+
.mat-mdc-extended-fab .mdc-button__label + .material-icons, [dir=rtl] .mat-mdc-extended-fab > .mat-icon, [dir=rtl] .mat-mdc-extended-fab > .material-icons {
|
|
856
|
+
margin-left: 12px;
|
|
857
|
+
margin-right: -8px;
|
|
858
|
+
}
|
|
859
|
+
.mat-mdc-extended-fab .mat-mdc-button-touch-target {
|
|
860
|
+
width: 100%;
|
|
861
|
+
}
|
|
862
|
+
`,FD=new Map([["text",["mat-mdc-button"]],["filled",["mdc-button--unelevated","mat-mdc-unelevated-button"]],["elevated",["mdc-button--raised","mat-mdc-raised-button"]],["outlined",["mdc-button--outlined","mat-mdc-outlined-button"]],["tonal",["mat-tonal-button"]]]),r9=(()=>{class t extends ws{get appearance(){return this._appearance}set appearance(e){this.setAppearance(e||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();let e=Kx(this._elementRef.nativeElement);e&&this.setAppearance(e)}setAppearance(e){if(e===this._appearance)return;let r=this._elementRef.nativeElement.classList,o=this._appearance?FD.get(this._appearance):null,i=FD.get(e);o&&r.remove(...o),r.add(...i),this._appearance=e}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ie({type:t,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]},exportAs:["matButton","matAnchor"],features:[W],attrs:Wx,ngContentSelectors:_p,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,o){r&1&&(wt(yp),qe(0,"span",0),Se(1),Xt(2,"span",1),Se(3,1),Qt(),Se(4,2),qe(5,"span",2)(6,"span",3)),r&2&&ye("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[`.mat-mdc-button-base {
|
|
863
|
+
text-decoration: none;
|
|
864
|
+
}
|
|
865
|
+
.mat-mdc-button-base .mat-icon {
|
|
866
|
+
min-height: fit-content;
|
|
867
|
+
flex-shrink: 0;
|
|
868
|
+
}
|
|
869
|
+
@media (hover: none) {
|
|
870
|
+
.mat-mdc-button-base:hover > span.mat-mdc-button-persistent-ripple::before {
|
|
871
|
+
opacity: 0;
|
|
872
|
+
}
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
.mdc-button {
|
|
876
|
+
-webkit-user-select: none;
|
|
877
|
+
user-select: none;
|
|
878
|
+
position: relative;
|
|
879
|
+
display: inline-flex;
|
|
880
|
+
align-items: center;
|
|
881
|
+
justify-content: center;
|
|
882
|
+
box-sizing: border-box;
|
|
883
|
+
min-width: 64px;
|
|
884
|
+
border: none;
|
|
885
|
+
outline: none;
|
|
886
|
+
line-height: inherit;
|
|
887
|
+
-webkit-appearance: none;
|
|
888
|
+
overflow: visible;
|
|
889
|
+
vertical-align: middle;
|
|
890
|
+
background: transparent;
|
|
891
|
+
padding: 0 8px;
|
|
892
|
+
}
|
|
893
|
+
.mdc-button::-moz-focus-inner {
|
|
894
|
+
padding: 0;
|
|
895
|
+
border: 0;
|
|
896
|
+
}
|
|
897
|
+
.mdc-button:active {
|
|
898
|
+
outline: none;
|
|
899
|
+
}
|
|
900
|
+
.mdc-button:hover {
|
|
901
|
+
cursor: pointer;
|
|
902
|
+
}
|
|
903
|
+
.mdc-button:disabled {
|
|
904
|
+
cursor: default;
|
|
905
|
+
pointer-events: none;
|
|
906
|
+
}
|
|
907
|
+
.mdc-button[hidden] {
|
|
908
|
+
display: none;
|
|
909
|
+
}
|
|
910
|
+
.mdc-button .mdc-button__label {
|
|
911
|
+
position: relative;
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
.mat-mdc-button {
|
|
915
|
+
padding: 0 var(--mat-button-text-horizontal-padding, 12px);
|
|
916
|
+
height: var(--mat-button-text-container-height, 40px);
|
|
917
|
+
font-family: var(--mat-button-text-label-text-font, var(--mat-sys-label-large-font));
|
|
918
|
+
font-size: var(--mat-button-text-label-text-size, var(--mat-sys-label-large-size));
|
|
919
|
+
letter-spacing: var(--mat-button-text-label-text-tracking, var(--mat-sys-label-large-tracking));
|
|
920
|
+
text-transform: var(--mat-button-text-label-text-transform);
|
|
921
|
+
font-weight: var(--mat-button-text-label-text-weight, var(--mat-sys-label-large-weight));
|
|
922
|
+
}
|
|
923
|
+
.mat-mdc-button, .mat-mdc-button .mdc-button__ripple {
|
|
924
|
+
border-radius: var(--mat-button-text-container-shape, var(--mat-sys-corner-full));
|
|
925
|
+
}
|
|
926
|
+
.mat-mdc-button:not(:disabled) {
|
|
927
|
+
color: var(--mat-button-text-label-text-color, var(--mat-sys-primary));
|
|
928
|
+
}
|
|
929
|
+
.mat-mdc-button[disabled], .mat-mdc-button.mat-mdc-button-disabled {
|
|
930
|
+
cursor: default;
|
|
931
|
+
pointer-events: none;
|
|
932
|
+
color: var(--mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
|
|
933
|
+
}
|
|
934
|
+
.mat-mdc-button.mat-mdc-button-disabled-interactive {
|
|
935
|
+
pointer-events: auto;
|
|
936
|
+
}
|
|
937
|
+
.mat-mdc-button:has(.material-icons, mat-icon, [matButtonIcon]) {
|
|
938
|
+
padding: 0 var(--mat-button-text-with-icon-horizontal-padding, 16px);
|
|
939
|
+
}
|
|
940
|
+
.mat-mdc-button > .mat-icon {
|
|
941
|
+
margin-right: var(--mat-button-text-icon-spacing, 8px);
|
|
942
|
+
margin-left: var(--mat-button-text-icon-offset, -4px);
|
|
943
|
+
}
|
|
944
|
+
[dir=rtl] .mat-mdc-button > .mat-icon {
|
|
945
|
+
margin-right: var(--mat-button-text-icon-offset, -4px);
|
|
946
|
+
margin-left: var(--mat-button-text-icon-spacing, 8px);
|
|
947
|
+
}
|
|
948
|
+
.mat-mdc-button .mdc-button__label + .mat-icon {
|
|
949
|
+
margin-right: var(--mat-button-text-icon-offset, -4px);
|
|
950
|
+
margin-left: var(--mat-button-text-icon-spacing, 8px);
|
|
951
|
+
}
|
|
952
|
+
[dir=rtl] .mat-mdc-button .mdc-button__label + .mat-icon {
|
|
953
|
+
margin-right: var(--mat-button-text-icon-spacing, 8px);
|
|
954
|
+
margin-left: var(--mat-button-text-icon-offset, -4px);
|
|
955
|
+
}
|
|
956
|
+
.mat-mdc-button .mat-ripple-element {
|
|
957
|
+
background-color: var(--mat-button-text-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));
|
|
958
|
+
}
|
|
959
|
+
.mat-mdc-button .mat-mdc-button-persistent-ripple::before {
|
|
960
|
+
background-color: var(--mat-button-text-state-layer-color, var(--mat-sys-primary));
|
|
961
|
+
}
|
|
962
|
+
.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
|
|
963
|
+
background-color: var(--mat-button-text-disabled-state-layer-color, var(--mat-sys-on-surface-variant));
|
|
964
|
+
}
|
|
965
|
+
.mat-mdc-button:hover > .mat-mdc-button-persistent-ripple::before {
|
|
966
|
+
opacity: var(--mat-button-text-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
|
|
967
|
+
}
|
|
968
|
+
.mat-mdc-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {
|
|
969
|
+
opacity: var(--mat-button-text-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
|
|
970
|
+
}
|
|
971
|
+
.mat-mdc-button:active > .mat-mdc-button-persistent-ripple::before {
|
|
972
|
+
opacity: var(--mat-button-text-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
|
|
973
|
+
}
|
|
974
|
+
.mat-mdc-button .mat-mdc-button-touch-target {
|
|
975
|
+
position: absolute;
|
|
976
|
+
top: 50%;
|
|
977
|
+
height: var(--mat-button-text-touch-target-size, 48px);
|
|
978
|
+
display: var(--mat-button-text-touch-target-display, block);
|
|
979
|
+
left: 0;
|
|
980
|
+
right: 0;
|
|
981
|
+
transform: translateY(-50%);
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
.mat-mdc-unelevated-button {
|
|
985
|
+
transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
986
|
+
height: var(--mat-button-filled-container-height, 40px);
|
|
987
|
+
font-family: var(--mat-button-filled-label-text-font, var(--mat-sys-label-large-font));
|
|
988
|
+
font-size: var(--mat-button-filled-label-text-size, var(--mat-sys-label-large-size));
|
|
989
|
+
letter-spacing: var(--mat-button-filled-label-text-tracking, var(--mat-sys-label-large-tracking));
|
|
990
|
+
text-transform: var(--mat-button-filled-label-text-transform);
|
|
991
|
+
font-weight: var(--mat-button-filled-label-text-weight, var(--mat-sys-label-large-weight));
|
|
992
|
+
padding: 0 var(--mat-button-filled-horizontal-padding, 24px);
|
|
993
|
+
}
|
|
994
|
+
.mat-mdc-unelevated-button > .mat-icon {
|
|
995
|
+
margin-right: var(--mat-button-filled-icon-spacing, 8px);
|
|
996
|
+
margin-left: var(--mat-button-filled-icon-offset, -8px);
|
|
997
|
+
}
|
|
998
|
+
[dir=rtl] .mat-mdc-unelevated-button > .mat-icon {
|
|
999
|
+
margin-right: var(--mat-button-filled-icon-offset, -8px);
|
|
1000
|
+
margin-left: var(--mat-button-filled-icon-spacing, 8px);
|
|
1001
|
+
}
|
|
1002
|
+
.mat-mdc-unelevated-button .mdc-button__label + .mat-icon {
|
|
1003
|
+
margin-right: var(--mat-button-filled-icon-offset, -8px);
|
|
1004
|
+
margin-left: var(--mat-button-filled-icon-spacing, 8px);
|
|
1005
|
+
}
|
|
1006
|
+
[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label + .mat-icon {
|
|
1007
|
+
margin-right: var(--mat-button-filled-icon-spacing, 8px);
|
|
1008
|
+
margin-left: var(--mat-button-filled-icon-offset, -8px);
|
|
1009
|
+
}
|
|
1010
|
+
.mat-mdc-unelevated-button .mat-ripple-element {
|
|
1011
|
+
background-color: var(--mat-button-filled-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));
|
|
1012
|
+
}
|
|
1013
|
+
.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before {
|
|
1014
|
+
background-color: var(--mat-button-filled-state-layer-color, var(--mat-sys-on-primary));
|
|
1015
|
+
}
|
|
1016
|
+
.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
|
|
1017
|
+
background-color: var(--mat-button-filled-disabled-state-layer-color, var(--mat-sys-on-surface-variant));
|
|
1018
|
+
}
|
|
1019
|
+
.mat-mdc-unelevated-button:hover > .mat-mdc-button-persistent-ripple::before {
|
|
1020
|
+
opacity: var(--mat-button-filled-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
|
|
1021
|
+
}
|
|
1022
|
+
.mat-mdc-unelevated-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-unelevated-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {
|
|
1023
|
+
opacity: var(--mat-button-filled-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
|
|
1024
|
+
}
|
|
1025
|
+
.mat-mdc-unelevated-button:active > .mat-mdc-button-persistent-ripple::before {
|
|
1026
|
+
opacity: var(--mat-button-filled-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
|
|
1027
|
+
}
|
|
1028
|
+
.mat-mdc-unelevated-button .mat-mdc-button-touch-target {
|
|
1029
|
+
position: absolute;
|
|
1030
|
+
top: 50%;
|
|
1031
|
+
height: var(--mat-button-filled-touch-target-size, 48px);
|
|
1032
|
+
display: var(--mat-button-filled-touch-target-display, block);
|
|
1033
|
+
left: 0;
|
|
1034
|
+
right: 0;
|
|
1035
|
+
transform: translateY(-50%);
|
|
1036
|
+
}
|
|
1037
|
+
.mat-mdc-unelevated-button:not(:disabled) {
|
|
1038
|
+
color: var(--mat-button-filled-label-text-color, var(--mat-sys-on-primary));
|
|
1039
|
+
background-color: var(--mat-button-filled-container-color, var(--mat-sys-primary));
|
|
1040
|
+
}
|
|
1041
|
+
.mat-mdc-unelevated-button, .mat-mdc-unelevated-button .mdc-button__ripple {
|
|
1042
|
+
border-radius: var(--mat-button-filled-container-shape, var(--mat-sys-corner-full));
|
|
1043
|
+
}
|
|
1044
|
+
.mat-mdc-unelevated-button[disabled], .mat-mdc-unelevated-button.mat-mdc-button-disabled {
|
|
1045
|
+
cursor: default;
|
|
1046
|
+
pointer-events: none;
|
|
1047
|
+
color: var(--mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
|
|
1048
|
+
background-color: var(--mat-button-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
|
|
1049
|
+
}
|
|
1050
|
+
.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive {
|
|
1051
|
+
pointer-events: auto;
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
.mat-mdc-raised-button {
|
|
1055
|
+
transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
1056
|
+
box-shadow: var(--mat-button-protected-container-elevation-shadow, var(--mat-sys-level1));
|
|
1057
|
+
height: var(--mat-button-protected-container-height, 40px);
|
|
1058
|
+
font-family: var(--mat-button-protected-label-text-font, var(--mat-sys-label-large-font));
|
|
1059
|
+
font-size: var(--mat-button-protected-label-text-size, var(--mat-sys-label-large-size));
|
|
1060
|
+
letter-spacing: var(--mat-button-protected-label-text-tracking, var(--mat-sys-label-large-tracking));
|
|
1061
|
+
text-transform: var(--mat-button-protected-label-text-transform);
|
|
1062
|
+
font-weight: var(--mat-button-protected-label-text-weight, var(--mat-sys-label-large-weight));
|
|
1063
|
+
padding: 0 var(--mat-button-protected-horizontal-padding, 24px);
|
|
1064
|
+
}
|
|
1065
|
+
.mat-mdc-raised-button > .mat-icon {
|
|
1066
|
+
margin-right: var(--mat-button-protected-icon-spacing, 8px);
|
|
1067
|
+
margin-left: var(--mat-button-protected-icon-offset, -8px);
|
|
1068
|
+
}
|
|
1069
|
+
[dir=rtl] .mat-mdc-raised-button > .mat-icon {
|
|
1070
|
+
margin-right: var(--mat-button-protected-icon-offset, -8px);
|
|
1071
|
+
margin-left: var(--mat-button-protected-icon-spacing, 8px);
|
|
1072
|
+
}
|
|
1073
|
+
.mat-mdc-raised-button .mdc-button__label + .mat-icon {
|
|
1074
|
+
margin-right: var(--mat-button-protected-icon-offset, -8px);
|
|
1075
|
+
margin-left: var(--mat-button-protected-icon-spacing, 8px);
|
|
1076
|
+
}
|
|
1077
|
+
[dir=rtl] .mat-mdc-raised-button .mdc-button__label + .mat-icon {
|
|
1078
|
+
margin-right: var(--mat-button-protected-icon-spacing, 8px);
|
|
1079
|
+
margin-left: var(--mat-button-protected-icon-offset, -8px);
|
|
1080
|
+
}
|
|
1081
|
+
.mat-mdc-raised-button .mat-ripple-element {
|
|
1082
|
+
background-color: var(--mat-button-protected-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));
|
|
1083
|
+
}
|
|
1084
|
+
.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before {
|
|
1085
|
+
background-color: var(--mat-button-protected-state-layer-color, var(--mat-sys-primary));
|
|
1086
|
+
}
|
|
1087
|
+
.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
|
|
1088
|
+
background-color: var(--mat-button-protected-disabled-state-layer-color, var(--mat-sys-on-surface-variant));
|
|
1089
|
+
}
|
|
1090
|
+
.mat-mdc-raised-button:hover > .mat-mdc-button-persistent-ripple::before {
|
|
1091
|
+
opacity: var(--mat-button-protected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
|
|
1092
|
+
}
|
|
1093
|
+
.mat-mdc-raised-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-raised-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {
|
|
1094
|
+
opacity: var(--mat-button-protected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
|
|
1095
|
+
}
|
|
1096
|
+
.mat-mdc-raised-button:active > .mat-mdc-button-persistent-ripple::before {
|
|
1097
|
+
opacity: var(--mat-button-protected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
|
|
1098
|
+
}
|
|
1099
|
+
.mat-mdc-raised-button .mat-mdc-button-touch-target {
|
|
1100
|
+
position: absolute;
|
|
1101
|
+
top: 50%;
|
|
1102
|
+
height: var(--mat-button-protected-touch-target-size, 48px);
|
|
1103
|
+
display: var(--mat-button-protected-touch-target-display, block);
|
|
1104
|
+
left: 0;
|
|
1105
|
+
right: 0;
|
|
1106
|
+
transform: translateY(-50%);
|
|
1107
|
+
}
|
|
1108
|
+
.mat-mdc-raised-button:not(:disabled) {
|
|
1109
|
+
color: var(--mat-button-protected-label-text-color, var(--mat-sys-primary));
|
|
1110
|
+
background-color: var(--mat-button-protected-container-color, var(--mat-sys-surface));
|
|
1111
|
+
}
|
|
1112
|
+
.mat-mdc-raised-button, .mat-mdc-raised-button .mdc-button__ripple {
|
|
1113
|
+
border-radius: var(--mat-button-protected-container-shape, var(--mat-sys-corner-full));
|
|
1114
|
+
}
|
|
1115
|
+
@media (hover: hover) {
|
|
1116
|
+
.mat-mdc-raised-button:hover {
|
|
1117
|
+
box-shadow: var(--mat-button-protected-hover-container-elevation-shadow, var(--mat-sys-level2));
|
|
1118
|
+
}
|
|
1119
|
+
}
|
|
1120
|
+
.mat-mdc-raised-button:focus {
|
|
1121
|
+
box-shadow: var(--mat-button-protected-focus-container-elevation-shadow, var(--mat-sys-level1));
|
|
1122
|
+
}
|
|
1123
|
+
.mat-mdc-raised-button:active, .mat-mdc-raised-button:focus:active {
|
|
1124
|
+
box-shadow: var(--mat-button-protected-pressed-container-elevation-shadow, var(--mat-sys-level1));
|
|
1125
|
+
}
|
|
1126
|
+
.mat-mdc-raised-button[disabled], .mat-mdc-raised-button.mat-mdc-button-disabled {
|
|
1127
|
+
cursor: default;
|
|
1128
|
+
pointer-events: none;
|
|
1129
|
+
color: var(--mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
|
|
1130
|
+
background-color: var(--mat-button-protected-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
|
|
1131
|
+
}
|
|
1132
|
+
.mat-mdc-raised-button[disabled].mat-mdc-button-disabled, .mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled {
|
|
1133
|
+
box-shadow: var(--mat-button-protected-disabled-container-elevation-shadow, var(--mat-sys-level0));
|
|
1134
|
+
}
|
|
1135
|
+
.mat-mdc-raised-button.mat-mdc-button-disabled-interactive {
|
|
1136
|
+
pointer-events: auto;
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
.mat-mdc-outlined-button {
|
|
1140
|
+
border-style: solid;
|
|
1141
|
+
transition: border 280ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
1142
|
+
height: var(--mat-button-outlined-container-height, 40px);
|
|
1143
|
+
font-family: var(--mat-button-outlined-label-text-font, var(--mat-sys-label-large-font));
|
|
1144
|
+
font-size: var(--mat-button-outlined-label-text-size, var(--mat-sys-label-large-size));
|
|
1145
|
+
letter-spacing: var(--mat-button-outlined-label-text-tracking, var(--mat-sys-label-large-tracking));
|
|
1146
|
+
text-transform: var(--mat-button-outlined-label-text-transform);
|
|
1147
|
+
font-weight: var(--mat-button-outlined-label-text-weight, var(--mat-sys-label-large-weight));
|
|
1148
|
+
border-radius: var(--mat-button-outlined-container-shape, var(--mat-sys-corner-full));
|
|
1149
|
+
border-width: var(--mat-button-outlined-outline-width, 1px);
|
|
1150
|
+
padding: 0 var(--mat-button-outlined-horizontal-padding, 24px);
|
|
1151
|
+
}
|
|
1152
|
+
.mat-mdc-outlined-button > .mat-icon {
|
|
1153
|
+
margin-right: var(--mat-button-outlined-icon-spacing, 8px);
|
|
1154
|
+
margin-left: var(--mat-button-outlined-icon-offset, -8px);
|
|
1155
|
+
}
|
|
1156
|
+
[dir=rtl] .mat-mdc-outlined-button > .mat-icon {
|
|
1157
|
+
margin-right: var(--mat-button-outlined-icon-offset, -8px);
|
|
1158
|
+
margin-left: var(--mat-button-outlined-icon-spacing, 8px);
|
|
1159
|
+
}
|
|
1160
|
+
.mat-mdc-outlined-button .mdc-button__label + .mat-icon {
|
|
1161
|
+
margin-right: var(--mat-button-outlined-icon-offset, -8px);
|
|
1162
|
+
margin-left: var(--mat-button-outlined-icon-spacing, 8px);
|
|
1163
|
+
}
|
|
1164
|
+
[dir=rtl] .mat-mdc-outlined-button .mdc-button__label + .mat-icon {
|
|
1165
|
+
margin-right: var(--mat-button-outlined-icon-spacing, 8px);
|
|
1166
|
+
margin-left: var(--mat-button-outlined-icon-offset, -8px);
|
|
1167
|
+
}
|
|
1168
|
+
.mat-mdc-outlined-button .mat-ripple-element {
|
|
1169
|
+
background-color: var(--mat-button-outlined-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));
|
|
1170
|
+
}
|
|
1171
|
+
.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before {
|
|
1172
|
+
background-color: var(--mat-button-outlined-state-layer-color, var(--mat-sys-primary));
|
|
1173
|
+
}
|
|
1174
|
+
.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
|
|
1175
|
+
background-color: var(--mat-button-outlined-disabled-state-layer-color, var(--mat-sys-on-surface-variant));
|
|
1176
|
+
}
|
|
1177
|
+
.mat-mdc-outlined-button:hover > .mat-mdc-button-persistent-ripple::before {
|
|
1178
|
+
opacity: var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
|
|
1179
|
+
}
|
|
1180
|
+
.mat-mdc-outlined-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-outlined-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {
|
|
1181
|
+
opacity: var(--mat-button-outlined-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
|
|
1182
|
+
}
|
|
1183
|
+
.mat-mdc-outlined-button:active > .mat-mdc-button-persistent-ripple::before {
|
|
1184
|
+
opacity: var(--mat-button-outlined-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
|
|
1185
|
+
}
|
|
1186
|
+
.mat-mdc-outlined-button .mat-mdc-button-touch-target {
|
|
1187
|
+
position: absolute;
|
|
1188
|
+
top: 50%;
|
|
1189
|
+
height: var(--mat-button-outlined-touch-target-size, 48px);
|
|
1190
|
+
display: var(--mat-button-outlined-touch-target-display, block);
|
|
1191
|
+
left: 0;
|
|
1192
|
+
right: 0;
|
|
1193
|
+
transform: translateY(-50%);
|
|
1194
|
+
}
|
|
1195
|
+
.mat-mdc-outlined-button:not(:disabled) {
|
|
1196
|
+
color: var(--mat-button-outlined-label-text-color, var(--mat-sys-primary));
|
|
1197
|
+
border-color: var(--mat-button-outlined-outline-color, var(--mat-sys-outline));
|
|
1198
|
+
}
|
|
1199
|
+
.mat-mdc-outlined-button[disabled], .mat-mdc-outlined-button.mat-mdc-button-disabled {
|
|
1200
|
+
cursor: default;
|
|
1201
|
+
pointer-events: none;
|
|
1202
|
+
color: var(--mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
|
|
1203
|
+
border-color: var(--mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
|
|
1204
|
+
}
|
|
1205
|
+
.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive {
|
|
1206
|
+
pointer-events: auto;
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
.mat-tonal-button {
|
|
1210
|
+
transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
1211
|
+
height: var(--mat-button-tonal-container-height, 40px);
|
|
1212
|
+
font-family: var(--mat-button-tonal-label-text-font, var(--mat-sys-label-large-font));
|
|
1213
|
+
font-size: var(--mat-button-tonal-label-text-size, var(--mat-sys-label-large-size));
|
|
1214
|
+
letter-spacing: var(--mat-button-tonal-label-text-tracking, var(--mat-sys-label-large-tracking));
|
|
1215
|
+
text-transform: var(--mat-button-tonal-label-text-transform);
|
|
1216
|
+
font-weight: var(--mat-button-tonal-label-text-weight, var(--mat-sys-label-large-weight));
|
|
1217
|
+
padding: 0 var(--mat-button-tonal-horizontal-padding, 24px);
|
|
1218
|
+
}
|
|
1219
|
+
.mat-tonal-button:not(:disabled) {
|
|
1220
|
+
color: var(--mat-button-tonal-label-text-color, var(--mat-sys-on-secondary-container));
|
|
1221
|
+
background-color: var(--mat-button-tonal-container-color, var(--mat-sys-secondary-container));
|
|
1222
|
+
}
|
|
1223
|
+
.mat-tonal-button, .mat-tonal-button .mdc-button__ripple {
|
|
1224
|
+
border-radius: var(--mat-button-tonal-container-shape, var(--mat-sys-corner-full));
|
|
1225
|
+
}
|
|
1226
|
+
.mat-tonal-button[disabled], .mat-tonal-button.mat-mdc-button-disabled {
|
|
1227
|
+
cursor: default;
|
|
1228
|
+
pointer-events: none;
|
|
1229
|
+
color: var(--mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
|
|
1230
|
+
background-color: var(--mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
|
|
1231
|
+
}
|
|
1232
|
+
.mat-tonal-button.mat-mdc-button-disabled-interactive {
|
|
1233
|
+
pointer-events: auto;
|
|
1234
|
+
}
|
|
1235
|
+
.mat-tonal-button > .mat-icon {
|
|
1236
|
+
margin-right: var(--mat-button-tonal-icon-spacing, 8px);
|
|
1237
|
+
margin-left: var(--mat-button-tonal-icon-offset, -8px);
|
|
1238
|
+
}
|
|
1239
|
+
[dir=rtl] .mat-tonal-button > .mat-icon {
|
|
1240
|
+
margin-right: var(--mat-button-tonal-icon-offset, -8px);
|
|
1241
|
+
margin-left: var(--mat-button-tonal-icon-spacing, 8px);
|
|
1242
|
+
}
|
|
1243
|
+
.mat-tonal-button .mdc-button__label + .mat-icon {
|
|
1244
|
+
margin-right: var(--mat-button-tonal-icon-offset, -8px);
|
|
1245
|
+
margin-left: var(--mat-button-tonal-icon-spacing, 8px);
|
|
1246
|
+
}
|
|
1247
|
+
[dir=rtl] .mat-tonal-button .mdc-button__label + .mat-icon {
|
|
1248
|
+
margin-right: var(--mat-button-tonal-icon-spacing, 8px);
|
|
1249
|
+
margin-left: var(--mat-button-tonal-icon-offset, -8px);
|
|
1250
|
+
}
|
|
1251
|
+
.mat-tonal-button .mat-ripple-element {
|
|
1252
|
+
background-color: var(--mat-button-tonal-ripple-color, color-mix(in srgb, var(--mat-sys-on-secondary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));
|
|
1253
|
+
}
|
|
1254
|
+
.mat-tonal-button .mat-mdc-button-persistent-ripple::before {
|
|
1255
|
+
background-color: var(--mat-button-tonal-state-layer-color, var(--mat-sys-on-secondary-container));
|
|
1256
|
+
}
|
|
1257
|
+
.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
|
|
1258
|
+
background-color: var(--mat-button-tonal-disabled-state-layer-color, var(--mat-sys-on-surface-variant));
|
|
1259
|
+
}
|
|
1260
|
+
.mat-tonal-button:hover > .mat-mdc-button-persistent-ripple::before {
|
|
1261
|
+
opacity: var(--mat-button-tonal-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
|
|
1262
|
+
}
|
|
1263
|
+
.mat-tonal-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-tonal-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-tonal-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {
|
|
1264
|
+
opacity: var(--mat-button-tonal-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
|
|
1265
|
+
}
|
|
1266
|
+
.mat-tonal-button:active > .mat-mdc-button-persistent-ripple::before {
|
|
1267
|
+
opacity: var(--mat-button-tonal-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
|
|
1268
|
+
}
|
|
1269
|
+
.mat-tonal-button .mat-mdc-button-touch-target {
|
|
1270
|
+
position: absolute;
|
|
1271
|
+
top: 50%;
|
|
1272
|
+
height: var(--mat-button-tonal-touch-target-size, 48px);
|
|
1273
|
+
display: var(--mat-button-tonal-touch-target-display, block);
|
|
1274
|
+
left: 0;
|
|
1275
|
+
right: 0;
|
|
1276
|
+
transform: translateY(-50%);
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
.mat-mdc-button,
|
|
1280
|
+
.mat-mdc-unelevated-button,
|
|
1281
|
+
.mat-mdc-raised-button,
|
|
1282
|
+
.mat-mdc-outlined-button,
|
|
1283
|
+
.mat-tonal-button {
|
|
1284
|
+
-webkit-tap-highlight-color: transparent;
|
|
1285
|
+
}
|
|
1286
|
+
.mat-mdc-button .mat-mdc-button-ripple,
|
|
1287
|
+
.mat-mdc-button .mat-mdc-button-persistent-ripple,
|
|
1288
|
+
.mat-mdc-button .mat-mdc-button-persistent-ripple::before,
|
|
1289
|
+
.mat-mdc-unelevated-button .mat-mdc-button-ripple,
|
|
1290
|
+
.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,
|
|
1291
|
+
.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,
|
|
1292
|
+
.mat-mdc-raised-button .mat-mdc-button-ripple,
|
|
1293
|
+
.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,
|
|
1294
|
+
.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,
|
|
1295
|
+
.mat-mdc-outlined-button .mat-mdc-button-ripple,
|
|
1296
|
+
.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,
|
|
1297
|
+
.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,
|
|
1298
|
+
.mat-tonal-button .mat-mdc-button-ripple,
|
|
1299
|
+
.mat-tonal-button .mat-mdc-button-persistent-ripple,
|
|
1300
|
+
.mat-tonal-button .mat-mdc-button-persistent-ripple::before {
|
|
1301
|
+
top: 0;
|
|
1302
|
+
left: 0;
|
|
1303
|
+
right: 0;
|
|
1304
|
+
bottom: 0;
|
|
1305
|
+
position: absolute;
|
|
1306
|
+
pointer-events: none;
|
|
1307
|
+
border-radius: inherit;
|
|
1308
|
+
}
|
|
1309
|
+
.mat-mdc-button .mat-mdc-button-ripple,
|
|
1310
|
+
.mat-mdc-unelevated-button .mat-mdc-button-ripple,
|
|
1311
|
+
.mat-mdc-raised-button .mat-mdc-button-ripple,
|
|
1312
|
+
.mat-mdc-outlined-button .mat-mdc-button-ripple,
|
|
1313
|
+
.mat-tonal-button .mat-mdc-button-ripple {
|
|
1314
|
+
overflow: hidden;
|
|
1315
|
+
}
|
|
1316
|
+
.mat-mdc-button .mat-mdc-button-persistent-ripple::before,
|
|
1317
|
+
.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,
|
|
1318
|
+
.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,
|
|
1319
|
+
.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,
|
|
1320
|
+
.mat-tonal-button .mat-mdc-button-persistent-ripple::before {
|
|
1321
|
+
content: "";
|
|
1322
|
+
opacity: 0;
|
|
1323
|
+
}
|
|
1324
|
+
.mat-mdc-button .mdc-button__label,
|
|
1325
|
+
.mat-mdc-button .mat-icon,
|
|
1326
|
+
.mat-mdc-unelevated-button .mdc-button__label,
|
|
1327
|
+
.mat-mdc-unelevated-button .mat-icon,
|
|
1328
|
+
.mat-mdc-raised-button .mdc-button__label,
|
|
1329
|
+
.mat-mdc-raised-button .mat-icon,
|
|
1330
|
+
.mat-mdc-outlined-button .mdc-button__label,
|
|
1331
|
+
.mat-mdc-outlined-button .mat-icon,
|
|
1332
|
+
.mat-tonal-button .mdc-button__label,
|
|
1333
|
+
.mat-tonal-button .mat-icon {
|
|
1334
|
+
z-index: 1;
|
|
1335
|
+
position: relative;
|
|
1336
|
+
}
|
|
1337
|
+
.mat-mdc-button .mat-focus-indicator,
|
|
1338
|
+
.mat-mdc-unelevated-button .mat-focus-indicator,
|
|
1339
|
+
.mat-mdc-raised-button .mat-focus-indicator,
|
|
1340
|
+
.mat-mdc-outlined-button .mat-focus-indicator,
|
|
1341
|
+
.mat-tonal-button .mat-focus-indicator {
|
|
1342
|
+
top: 0;
|
|
1343
|
+
left: 0;
|
|
1344
|
+
right: 0;
|
|
1345
|
+
bottom: 0;
|
|
1346
|
+
position: absolute;
|
|
1347
|
+
border-radius: inherit;
|
|
1348
|
+
}
|
|
1349
|
+
.mat-mdc-button:focus-visible > .mat-focus-indicator::before,
|
|
1350
|
+
.mat-mdc-unelevated-button:focus-visible > .mat-focus-indicator::before,
|
|
1351
|
+
.mat-mdc-raised-button:focus-visible > .mat-focus-indicator::before,
|
|
1352
|
+
.mat-mdc-outlined-button:focus-visible > .mat-focus-indicator::before,
|
|
1353
|
+
.mat-tonal-button:focus-visible > .mat-focus-indicator::before {
|
|
1354
|
+
content: "";
|
|
1355
|
+
border-radius: inherit;
|
|
1356
|
+
}
|
|
1357
|
+
.mat-mdc-button._mat-animation-noopable,
|
|
1358
|
+
.mat-mdc-unelevated-button._mat-animation-noopable,
|
|
1359
|
+
.mat-mdc-raised-button._mat-animation-noopable,
|
|
1360
|
+
.mat-mdc-outlined-button._mat-animation-noopable,
|
|
1361
|
+
.mat-tonal-button._mat-animation-noopable {
|
|
1362
|
+
transition: none !important;
|
|
1363
|
+
animation: none !important;
|
|
1364
|
+
}
|
|
1365
|
+
.mat-mdc-button > .mat-icon,
|
|
1366
|
+
.mat-mdc-unelevated-button > .mat-icon,
|
|
1367
|
+
.mat-mdc-raised-button > .mat-icon,
|
|
1368
|
+
.mat-mdc-outlined-button > .mat-icon,
|
|
1369
|
+
.mat-tonal-button > .mat-icon {
|
|
1370
|
+
display: inline-block;
|
|
1371
|
+
position: relative;
|
|
1372
|
+
vertical-align: top;
|
|
1373
|
+
font-size: 1.125rem;
|
|
1374
|
+
height: 1.125rem;
|
|
1375
|
+
width: 1.125rem;
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
.mat-mdc-outlined-button .mat-mdc-button-ripple,
|
|
1379
|
+
.mat-mdc-outlined-button .mdc-button__ripple {
|
|
1380
|
+
top: -1px;
|
|
1381
|
+
left: -1px;
|
|
1382
|
+
bottom: -1px;
|
|
1383
|
+
right: -1px;
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1386
|
+
.mat-mdc-unelevated-button .mat-focus-indicator::before,
|
|
1387
|
+
.mat-tonal-button .mat-focus-indicator::before,
|
|
1388
|
+
.mat-mdc-raised-button .mat-focus-indicator::before {
|
|
1389
|
+
margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1);
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1392
|
+
.mat-mdc-outlined-button .mat-focus-indicator::before {
|
|
1393
|
+
margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1);
|
|
1394
|
+
}
|
|
1395
|
+
`,`@media (forced-colors: active) {
|
|
1396
|
+
.mat-mdc-button:not(.mdc-button--outlined),
|
|
1397
|
+
.mat-mdc-unelevated-button:not(.mdc-button--outlined),
|
|
1398
|
+
.mat-mdc-raised-button:not(.mdc-button--outlined),
|
|
1399
|
+
.mat-mdc-outlined-button:not(.mdc-button--outlined),
|
|
1400
|
+
.mat-mdc-button-base.mat-tonal-button,
|
|
1401
|
+
.mat-mdc-icon-button.mat-mdc-icon-button,
|
|
1402
|
+
.mat-mdc-outlined-button .mdc-button__ripple {
|
|
1403
|
+
outline: solid 1px;
|
|
1404
|
+
}
|
|
1405
|
+
}
|
|
1406
|
+
`],encapsulation:2,changeDetection:0})}return t})();function Kx(t){return t.hasAttribute("mat-raised-button")?"elevated":t.hasAttribute("mat-stroked-button")?"outlined":t.hasAttribute("mat-flat-button")?"filled":t.hasAttribute("mat-button")?"text":null}var PD=new g("mat-mdc-fab-default-options",{providedIn:"root",factory:()=>Is}),Is={color:"accent"},o9=(()=>{class t extends ws{_options=d(PD,{optional:!0});_isFab=!0;extended=!1;constructor(){super(),this._options=this._options||Is,this.color=this._options.color||Is.color}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ie({type:t,selectors:[["button","mat-fab",""],["a","mat-fab",""],["button","matFab",""],["a","matFab",""]],hostAttrs:[1,"mdc-fab","mat-mdc-fab-base","mat-mdc-fab"],hostVars:4,hostBindings:function(r,o){r&2&&ye("mdc-fab--extended",o.extended)("mat-mdc-extended-fab",o.extended)},inputs:{extended:[2,"extended","extended",ne]},exportAs:["matButton","matAnchor"],features:[W],attrs:qx,ngContentSelectors:_p,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,o){r&1&&(wt(yp),qe(0,"span",0),Se(1),Xt(2,"span",1),Se(3,1),Qt(),Se(4,2),qe(5,"span",2)(6,"span",3)),r&2&&ye("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[`.mat-mdc-fab-base {
|
|
1407
|
+
-webkit-user-select: none;
|
|
1408
|
+
user-select: none;
|
|
1409
|
+
position: relative;
|
|
1410
|
+
display: inline-flex;
|
|
1411
|
+
align-items: center;
|
|
1412
|
+
justify-content: center;
|
|
1413
|
+
box-sizing: border-box;
|
|
1414
|
+
width: 56px;
|
|
1415
|
+
height: 56px;
|
|
1416
|
+
padding: 0;
|
|
1417
|
+
border: none;
|
|
1418
|
+
fill: currentColor;
|
|
1419
|
+
text-decoration: none;
|
|
1420
|
+
cursor: pointer;
|
|
1421
|
+
-moz-appearance: none;
|
|
1422
|
+
-webkit-appearance: none;
|
|
1423
|
+
overflow: visible;
|
|
1424
|
+
transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1), opacity 15ms linear 30ms, transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);
|
|
1425
|
+
flex-shrink: 0;
|
|
1426
|
+
-webkit-tap-highlight-color: transparent;
|
|
1427
|
+
}
|
|
1428
|
+
.mat-mdc-fab-base .mat-mdc-button-ripple,
|
|
1429
|
+
.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,
|
|
1430
|
+
.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before {
|
|
1431
|
+
top: 0;
|
|
1432
|
+
left: 0;
|
|
1433
|
+
right: 0;
|
|
1434
|
+
bottom: 0;
|
|
1435
|
+
position: absolute;
|
|
1436
|
+
pointer-events: none;
|
|
1437
|
+
border-radius: inherit;
|
|
1438
|
+
}
|
|
1439
|
+
.mat-mdc-fab-base .mat-mdc-button-ripple {
|
|
1440
|
+
overflow: hidden;
|
|
1441
|
+
}
|
|
1442
|
+
.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before {
|
|
1443
|
+
content: "";
|
|
1444
|
+
opacity: 0;
|
|
1445
|
+
}
|
|
1446
|
+
.mat-mdc-fab-base .mdc-button__label,
|
|
1447
|
+
.mat-mdc-fab-base .mat-icon {
|
|
1448
|
+
z-index: 1;
|
|
1449
|
+
position: relative;
|
|
1450
|
+
}
|
|
1451
|
+
.mat-mdc-fab-base .mat-focus-indicator {
|
|
1452
|
+
top: 0;
|
|
1453
|
+
left: 0;
|
|
1454
|
+
right: 0;
|
|
1455
|
+
bottom: 0;
|
|
1456
|
+
position: absolute;
|
|
1457
|
+
}
|
|
1458
|
+
.mat-mdc-fab-base:focus-visible > .mat-focus-indicator::before {
|
|
1459
|
+
content: "";
|
|
1460
|
+
}
|
|
1461
|
+
.mat-mdc-fab-base._mat-animation-noopable {
|
|
1462
|
+
transition: none !important;
|
|
1463
|
+
animation: none !important;
|
|
1464
|
+
}
|
|
1465
|
+
.mat-mdc-fab-base::before {
|
|
1466
|
+
position: absolute;
|
|
1467
|
+
box-sizing: border-box;
|
|
1468
|
+
width: 100%;
|
|
1469
|
+
height: 100%;
|
|
1470
|
+
top: 0;
|
|
1471
|
+
left: 0;
|
|
1472
|
+
border: 1px solid transparent;
|
|
1473
|
+
border-radius: inherit;
|
|
1474
|
+
content: "";
|
|
1475
|
+
pointer-events: none;
|
|
1476
|
+
}
|
|
1477
|
+
.mat-mdc-fab-base[hidden] {
|
|
1478
|
+
display: none;
|
|
1479
|
+
}
|
|
1480
|
+
.mat-mdc-fab-base::-moz-focus-inner {
|
|
1481
|
+
padding: 0;
|
|
1482
|
+
border: 0;
|
|
1483
|
+
}
|
|
1484
|
+
.mat-mdc-fab-base:active, .mat-mdc-fab-base:focus {
|
|
1485
|
+
outline: none;
|
|
1486
|
+
}
|
|
1487
|
+
.mat-mdc-fab-base:hover {
|
|
1488
|
+
cursor: pointer;
|
|
1489
|
+
}
|
|
1490
|
+
.mat-mdc-fab-base > svg {
|
|
1491
|
+
width: 100%;
|
|
1492
|
+
}
|
|
1493
|
+
.mat-mdc-fab-base .mat-icon, .mat-mdc-fab-base .material-icons {
|
|
1494
|
+
transition: transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);
|
|
1495
|
+
fill: currentColor;
|
|
1496
|
+
will-change: transform;
|
|
1497
|
+
}
|
|
1498
|
+
.mat-mdc-fab-base .mat-focus-indicator::before {
|
|
1499
|
+
margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1);
|
|
1500
|
+
}
|
|
1501
|
+
.mat-mdc-fab-base[disabled], .mat-mdc-fab-base.mat-mdc-button-disabled {
|
|
1502
|
+
cursor: default;
|
|
1503
|
+
pointer-events: none;
|
|
1504
|
+
}
|
|
1505
|
+
.mat-mdc-fab-base[disabled], .mat-mdc-fab-base[disabled]:focus, .mat-mdc-fab-base.mat-mdc-button-disabled, .mat-mdc-fab-base.mat-mdc-button-disabled:focus {
|
|
1506
|
+
box-shadow: none;
|
|
1507
|
+
}
|
|
1508
|
+
.mat-mdc-fab-base.mat-mdc-button-disabled-interactive {
|
|
1509
|
+
pointer-events: auto;
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
.mat-mdc-fab {
|
|
1513
|
+
background-color: var(--mat-fab-container-color, var(--mat-sys-primary-container));
|
|
1514
|
+
border-radius: var(--mat-fab-container-shape, var(--mat-sys-corner-large));
|
|
1515
|
+
color: var(--mat-fab-foreground-color, var(--mat-sys-on-primary-container, inherit));
|
|
1516
|
+
box-shadow: var(--mat-fab-container-elevation-shadow, var(--mat-sys-level3));
|
|
1517
|
+
}
|
|
1518
|
+
@media (hover: hover) {
|
|
1519
|
+
.mat-mdc-fab:hover {
|
|
1520
|
+
box-shadow: var(--mat-fab-hover-container-elevation-shadow, var(--mat-sys-level4));
|
|
1521
|
+
}
|
|
1522
|
+
}
|
|
1523
|
+
.mat-mdc-fab:focus {
|
|
1524
|
+
box-shadow: var(--mat-fab-focus-container-elevation-shadow, var(--mat-sys-level3));
|
|
1525
|
+
}
|
|
1526
|
+
.mat-mdc-fab:active, .mat-mdc-fab:focus:active {
|
|
1527
|
+
box-shadow: var(--mat-fab-pressed-container-elevation-shadow, var(--mat-sys-level3));
|
|
1528
|
+
}
|
|
1529
|
+
.mat-mdc-fab[disabled], .mat-mdc-fab.mat-mdc-button-disabled {
|
|
1530
|
+
cursor: default;
|
|
1531
|
+
pointer-events: none;
|
|
1532
|
+
color: var(--mat-fab-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
|
|
1533
|
+
background-color: var(--mat-fab-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
|
|
1534
|
+
}
|
|
1535
|
+
.mat-mdc-fab.mat-mdc-button-disabled-interactive {
|
|
1536
|
+
pointer-events: auto;
|
|
1537
|
+
}
|
|
1538
|
+
.mat-mdc-fab .mat-mdc-button-touch-target {
|
|
1539
|
+
position: absolute;
|
|
1540
|
+
top: 50%;
|
|
1541
|
+
height: var(--mat-fab-touch-target-size, 48px);
|
|
1542
|
+
display: var(--mat-fab-touch-target-display, block);
|
|
1543
|
+
left: 50%;
|
|
1544
|
+
width: var(--mat-fab-touch-target-size, 48px);
|
|
1545
|
+
transform: translate(-50%, -50%);
|
|
1546
|
+
}
|
|
1547
|
+
.mat-mdc-fab .mat-ripple-element {
|
|
1548
|
+
background-color: var(--mat-fab-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));
|
|
1549
|
+
}
|
|
1550
|
+
.mat-mdc-fab .mat-mdc-button-persistent-ripple::before {
|
|
1551
|
+
background-color: var(--mat-fab-state-layer-color, var(--mat-sys-on-primary-container));
|
|
1552
|
+
}
|
|
1553
|
+
.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
|
|
1554
|
+
background-color: var(--mat-fab-disabled-state-layer-color);
|
|
1555
|
+
}
|
|
1556
|
+
.mat-mdc-fab:hover > .mat-mdc-button-persistent-ripple::before {
|
|
1557
|
+
opacity: var(--mat-fab-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
|
|
1558
|
+
}
|
|
1559
|
+
.mat-mdc-fab.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-fab.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-fab.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {
|
|
1560
|
+
opacity: var(--mat-fab-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
|
|
1561
|
+
}
|
|
1562
|
+
.mat-mdc-fab:active > .mat-mdc-button-persistent-ripple::before {
|
|
1563
|
+
opacity: var(--mat-fab-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1566
|
+
.mat-mdc-mini-fab {
|
|
1567
|
+
width: 40px;
|
|
1568
|
+
height: 40px;
|
|
1569
|
+
background-color: var(--mat-fab-small-container-color, var(--mat-sys-primary-container));
|
|
1570
|
+
border-radius: var(--mat-fab-small-container-shape, var(--mat-sys-corner-medium));
|
|
1571
|
+
color: var(--mat-fab-small-foreground-color, var(--mat-sys-on-primary-container, inherit));
|
|
1572
|
+
box-shadow: var(--mat-fab-small-container-elevation-shadow, var(--mat-sys-level3));
|
|
1573
|
+
}
|
|
1574
|
+
@media (hover: hover) {
|
|
1575
|
+
.mat-mdc-mini-fab:hover {
|
|
1576
|
+
box-shadow: var(--mat-fab-small-hover-container-elevation-shadow, var(--mat-sys-level4));
|
|
1577
|
+
}
|
|
1578
|
+
}
|
|
1579
|
+
.mat-mdc-mini-fab:focus {
|
|
1580
|
+
box-shadow: var(--mat-fab-small-focus-container-elevation-shadow, var(--mat-sys-level3));
|
|
1581
|
+
}
|
|
1582
|
+
.mat-mdc-mini-fab:active, .mat-mdc-mini-fab:focus:active {
|
|
1583
|
+
box-shadow: var(--mat-fab-small-pressed-container-elevation-shadow, var(--mat-sys-level3));
|
|
1584
|
+
}
|
|
1585
|
+
.mat-mdc-mini-fab[disabled], .mat-mdc-mini-fab.mat-mdc-button-disabled {
|
|
1586
|
+
cursor: default;
|
|
1587
|
+
pointer-events: none;
|
|
1588
|
+
color: var(--mat-fab-small-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
|
|
1589
|
+
background-color: var(--mat-fab-small-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
|
|
1590
|
+
}
|
|
1591
|
+
.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive {
|
|
1592
|
+
pointer-events: auto;
|
|
1593
|
+
}
|
|
1594
|
+
.mat-mdc-mini-fab .mat-mdc-button-touch-target {
|
|
1595
|
+
position: absolute;
|
|
1596
|
+
top: 50%;
|
|
1597
|
+
height: var(--mat-fab-small-touch-target-size, 48px);
|
|
1598
|
+
display: var(--mat-fab-small-touch-target-display);
|
|
1599
|
+
left: 50%;
|
|
1600
|
+
width: var(--mat-fab-small-touch-target-size, 48px);
|
|
1601
|
+
transform: translate(-50%, -50%);
|
|
1602
|
+
}
|
|
1603
|
+
.mat-mdc-mini-fab .mat-ripple-element {
|
|
1604
|
+
background-color: var(--mat-fab-small-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent));
|
|
1605
|
+
}
|
|
1606
|
+
.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before {
|
|
1607
|
+
background-color: var(--mat-fab-small-state-layer-color, var(--mat-sys-on-primary-container));
|
|
1608
|
+
}
|
|
1609
|
+
.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
|
|
1610
|
+
background-color: var(--mat-fab-small-disabled-state-layer-color);
|
|
1611
|
+
}
|
|
1612
|
+
.mat-mdc-mini-fab:hover > .mat-mdc-button-persistent-ripple::before {
|
|
1613
|
+
opacity: var(--mat-fab-small-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
|
|
1614
|
+
}
|
|
1615
|
+
.mat-mdc-mini-fab.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-mini-fab.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before {
|
|
1616
|
+
opacity: var(--mat-fab-small-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
|
|
1617
|
+
}
|
|
1618
|
+
.mat-mdc-mini-fab:active > .mat-mdc-button-persistent-ripple::before {
|
|
1619
|
+
opacity: var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));
|
|
1620
|
+
}
|
|
1621
|
+
|
|
1622
|
+
.mat-mdc-extended-fab {
|
|
1623
|
+
-moz-osx-font-smoothing: grayscale;
|
|
1624
|
+
-webkit-font-smoothing: antialiased;
|
|
1625
|
+
padding-left: 20px;
|
|
1626
|
+
padding-right: 20px;
|
|
1627
|
+
width: auto;
|
|
1628
|
+
max-width: 100%;
|
|
1629
|
+
line-height: normal;
|
|
1630
|
+
box-shadow: var(--mat-fab-extended-container-elevation-shadow, var(--mat-sys-level3));
|
|
1631
|
+
height: var(--mat-fab-extended-container-height, 56px);
|
|
1632
|
+
border-radius: var(--mat-fab-extended-container-shape, var(--mat-sys-corner-large));
|
|
1633
|
+
font-family: var(--mat-fab-extended-label-text-font, var(--mat-sys-label-large-font));
|
|
1634
|
+
font-size: var(--mat-fab-extended-label-text-size, var(--mat-sys-label-large-size));
|
|
1635
|
+
font-weight: var(--mat-fab-extended-label-text-weight, var(--mat-sys-label-large-weight));
|
|
1636
|
+
letter-spacing: var(--mat-fab-extended-label-text-tracking, var(--mat-sys-label-large-tracking));
|
|
1637
|
+
}
|
|
1638
|
+
@media (hover: hover) {
|
|
1639
|
+
.mat-mdc-extended-fab:hover {
|
|
1640
|
+
box-shadow: var(--mat-fab-extended-hover-container-elevation-shadow, var(--mat-sys-level4));
|
|
1641
|
+
}
|
|
1642
|
+
}
|
|
1643
|
+
.mat-mdc-extended-fab:focus {
|
|
1644
|
+
box-shadow: var(--mat-fab-extended-focus-container-elevation-shadow, var(--mat-sys-level3));
|
|
1645
|
+
}
|
|
1646
|
+
.mat-mdc-extended-fab:active, .mat-mdc-extended-fab:focus:active {
|
|
1647
|
+
box-shadow: var(--mat-fab-extended-pressed-container-elevation-shadow, var(--mat-sys-level3));
|
|
1648
|
+
}
|
|
1649
|
+
.mat-mdc-extended-fab[disabled], .mat-mdc-extended-fab.mat-mdc-button-disabled {
|
|
1650
|
+
cursor: default;
|
|
1651
|
+
pointer-events: none;
|
|
1652
|
+
}
|
|
1653
|
+
.mat-mdc-extended-fab[disabled], .mat-mdc-extended-fab[disabled]:focus, .mat-mdc-extended-fab.mat-mdc-button-disabled, .mat-mdc-extended-fab.mat-mdc-button-disabled:focus {
|
|
1654
|
+
box-shadow: none;
|
|
1655
|
+
}
|
|
1656
|
+
.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive {
|
|
1657
|
+
pointer-events: auto;
|
|
1658
|
+
}
|
|
1659
|
+
[dir=rtl] .mat-mdc-extended-fab .mdc-button__label + .mat-icon, [dir=rtl] .mat-mdc-extended-fab .mdc-button__label + .material-icons,
|
|
1660
|
+
.mat-mdc-extended-fab > .mat-icon,
|
|
1661
|
+
.mat-mdc-extended-fab > .material-icons {
|
|
1662
|
+
margin-left: -8px;
|
|
1663
|
+
margin-right: 12px;
|
|
1664
|
+
}
|
|
1665
|
+
.mat-mdc-extended-fab .mdc-button__label + .mat-icon,
|
|
1666
|
+
.mat-mdc-extended-fab .mdc-button__label + .material-icons, [dir=rtl] .mat-mdc-extended-fab > .mat-icon, [dir=rtl] .mat-mdc-extended-fab > .material-icons {
|
|
1667
|
+
margin-left: 12px;
|
|
1668
|
+
margin-right: -8px;
|
|
1669
|
+
}
|
|
1670
|
+
.mat-mdc-extended-fab .mat-mdc-button-touch-target {
|
|
1671
|
+
width: 100%;
|
|
1672
|
+
}
|
|
1673
|
+
`],encapsulation:2,changeDetection:0})}return t})(),i9=(()=>{class t extends ws{_options=d(PD,{optional:!0});_isFab=!0;constructor(){super(),this._options=this._options||Is,this.color=this._options.color||Is.color}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ie({type:t,selectors:[["button","mat-mini-fab",""],["a","mat-mini-fab",""],["button","matMiniFab",""],["a","matMiniFab",""]],hostAttrs:[1,"mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"],exportAs:["matButton","matAnchor"],features:[W],attrs:Yx,ngContentSelectors:_p,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,o){r&1&&(wt(yp),qe(0,"span",0),Se(1),Xt(2,"span",1),Se(3,1),Qt(),Se(4,2),qe(5,"span",2)(6,"span",3)),r&2&&ye("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[Zx],encapsulation:2,changeDetection:0})}return t})();var s9=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=q({type:t});static \u0275inj=G({imports:[kD,Je]})}return t})();function LD(t){return Error(`Unable to find icon with the name "${t}"`)}function Xx(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function VD(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function jD(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}var nn=class{url;svgText;options;svgElement=null;constructor(n,e,r){this.url=n,this.svgText=e,this.options=r}},HD=(()=>{class t{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(e,r,o,i){this._httpClient=e,this._sanitizer=r,this._errorHandler=i,this._document=o}addSvgIcon(e,r,o){return this.addSvgIconInNamespace("",e,r,o)}addSvgIconLiteral(e,r,o){return this.addSvgIconLiteralInNamespace("",e,r,o)}addSvgIconInNamespace(e,r,o,i){return this._addSvgIconConfig(e,r,new nn(o,null,i))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,r,o,i){let s=this._sanitizer.sanitize(ve.HTML,o);if(!s)throw jD(o);let a=Nr(s);return this._addSvgIconConfig(e,r,new nn("",a,i))}addSvgIconSet(e,r){return this.addSvgIconSetInNamespace("",e,r)}addSvgIconSetLiteral(e,r){return this.addSvgIconSetLiteralInNamespace("",e,r)}addSvgIconSetInNamespace(e,r,o){return this._addSvgIconSetConfig(e,new nn(r,null,o))}addSvgIconSetLiteralInNamespace(e,r,o){let i=this._sanitizer.sanitize(ve.HTML,r);if(!i)throw jD(r);let s=Nr(i);return this._addSvgIconSetConfig(e,new nn("",s,o))}registerFontClassAlias(e,r=e){return this._fontCssClassesByAlias.set(e,r),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let r=this._sanitizer.sanitize(ve.RESOURCE_URL,e);if(!r)throw VD(e);let o=this._cachedIconsByUrl.get(r);return o?fe(bl(o)):this._loadSvgIconFromConfig(new nn(e,null)).pipe(pn(i=>this._cachedIconsByUrl.set(r,i)),J(i=>bl(i)))}getNamedSvgIcon(e,r=""){let o=BD(r,e),i=this._svgIconConfigs.get(o);if(i)return this._getSvgFromConfig(i);if(i=this._getIconConfigFromResolvers(r,e),i)return this._svgIconConfigs.set(o,i),this._getSvgFromConfig(i);let s=this._iconSetConfigs.get(r);return s?this._getSvgFromIconSetConfigs(e,s):ou(LD(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?fe(bl(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(J(r=>bl(r)))}_getSvgFromIconSetConfigs(e,r){let o=this._extractIconWithNameFromAnySet(e,r);if(o)return fe(o);let i=r.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(ui(a=>{let l=`Loading icon set URL: ${this._sanitizer.sanitize(ve.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(l)),fe(null)})));return ai(i).pipe(J(()=>{let s=this._extractIconWithNameFromAnySet(e,r);if(!s)throw LD(e);return s}))}_extractIconWithNameFromAnySet(e,r){for(let o=r.length-1;o>=0;o--){let i=r[o];if(i.svgText&&i.svgText.toString().indexOf(e)>-1){let s=this._svgElementFromConfig(i),a=this._extractSvgIconFromSet(s,e,i.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(pn(r=>e.svgText=r),J(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?fe(null):this._fetchIcon(e).pipe(pn(r=>e.svgText=r))}_extractSvgIconFromSet(e,r,o){let i=e.querySelector(`[id="${r}"]`);if(!i)return null;let s=i.cloneNode(!0);if(s.removeAttribute("id"),s.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(s,o);if(s.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(s),o);let a=this._svgElementFromString(Nr("<svg></svg>"));return a.appendChild(s),this._setSvgAttributes(a,o)}_svgElementFromString(e){let r=this._document.createElement("DIV");r.innerHTML=e;let o=r.querySelector("svg");if(!o)throw Error("<svg> tag not found");return o}_toSvgElement(e){let r=this._svgElementFromString(Nr("<svg></svg>")),o=e.attributes;for(let i=0;i<o.length;i++){let{name:s,value:a}=o[i];s!=="id"&&r.setAttribute(s,a)}for(let i=0;i<e.childNodes.length;i++)e.childNodes[i].nodeType===this._document.ELEMENT_NODE&&r.appendChild(e.childNodes[i].cloneNode(!0));return r}_setSvgAttributes(e,r){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),r&&r.viewBox&&e.setAttribute("viewBox",r.viewBox),e}_fetchIcon(e){let{url:r,options:o}=e,i=o?.withCredentials??!1;if(!this._httpClient)throw Xx();if(r==null)throw Error(`Cannot fetch icon from URL "${r}".`);let s=this._sanitizer.sanitize(ve.RESOURCE_URL,r);if(!s)throw VD(r);let a=this._inProgressUrlFetches.get(s);if(a)return a;let c=this._httpClient.get(s,{responseType:"text",withCredentials:i}).pipe(J(l=>Nr(l)),qr(()=>this._inProgressUrlFetches.delete(s)),di());return this._inProgressUrlFetches.set(s,c),c}_addSvgIconConfig(e,r,o){return this._svgIconConfigs.set(BD(e,r),o),this}_addSvgIconSetConfig(e,r){let o=this._iconSetConfigs.get(e);return o?o.push(r):this._iconSetConfigs.set(e,[r]),this}_svgElementFromConfig(e){if(!e.svgElement){let r=this._svgElementFromString(e.svgText);this._setSvgAttributes(r,e.options),e.svgElement=r}return e.svgElement}_getIconConfigFromResolvers(e,r){for(let o=0;o<this._resolvers.length;o++){let i=this._resolvers[o](r,e);if(i)return Qx(i)?new nn(i.url,null,i.options):new nn(i,null)}}static \u0275fac=function(r){return new(r||t)(T(qc,8),T(as),T(x,8),T(Ae))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function bl(t){return t.cloneNode(!0)}function BD(t,n){return t+":"+n}function Qx(t){return!!(t.url&&t.options)}var Jx=["*"],eN=new g("MAT_ICON_DEFAULT_OPTIONS"),tN=new g("mat-icon-location",{providedIn:"root",factory:()=>{let t=d(x),n=t?t.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}}),UD=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],nN=UD.map(t=>`[${t}]`).join(", "),rN=/^url\(['"]?#(.*?)['"]?\)$/,S9=(()=>{class t{_elementRef=d(B);_iconRegistry=d(HD);_location=d(tN);_errorHandler=d(Ae);_defaultColor;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(e){let r=this._cleanupFontValue(e);r!==this._fontSet&&(this._fontSet=r,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let r=this._cleanupFontValue(e);r!==this._fontIcon&&(this._fontIcon=r,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName=null;_svgNamespace=null;_previousPath;_elementsWithExternalReferences;_currentIconFetch=j.EMPTY;constructor(){let e=d(new xc("aria-hidden"),{optional:!0}),r=d(eN,{optional:!0});r&&(r.color&&(this.color=this._defaultColor=r.color),r.fontSet&&(this.fontSet=r.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let r=e.split(":");switch(r.length){case 1:return["",r[0]];case 2:return r;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let r=this._location.getPathname();r!==this._previousPath&&(this._previousPath=r,this._prependPathToReferences(r))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(r),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,r=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){let o=e.childNodes[r];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,r=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>e.classList.remove(o)),r.forEach(o=>e.classList.add(o)),this._previousFontSetClass=r,this.fontIcon!==this._previousFontIconClass&&!r.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let r=this._elementsWithExternalReferences;r&&r.forEach((o,i)=>{o.forEach(s=>{i.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){let r=e.querySelectorAll(nN),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let i=0;i<r.length;i++)UD.forEach(s=>{let a=r[i],c=a.getAttribute(s),l=c?c.match(rN):null;if(l){let u=o.get(a);u||(u=[],o.set(a,u)),u.push({name:s,value:l[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[r,o]=this._splitIconName(e);r&&(this._svgNamespace=r),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,r).pipe(Ue(1)).subscribe(i=>this._setSvgElement(i),i=>{let s=`Error retrieving icon ${r}:${o}! ${i.message}`;this._errorHandler.handleError(new Error(s))})}}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ie({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(r,o){r&2&&(Ne("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),Xi(o.color?"mat-"+o.color:""),ye("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",ne],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:Jx,decls:1,vars:0,template:function(r,o){r&1&&(wt(),Se(0))},styles:[`mat-icon, mat-icon.mat-primary, mat-icon.mat-accent, mat-icon.mat-warn {
|
|
1674
|
+
color: var(--mat-icon-color, inherit);
|
|
1675
|
+
}
|
|
1676
|
+
|
|
1677
|
+
.mat-icon {
|
|
1678
|
+
-webkit-user-select: none;
|
|
1679
|
+
user-select: none;
|
|
1680
|
+
background-repeat: no-repeat;
|
|
1681
|
+
display: inline-block;
|
|
1682
|
+
fill: currentColor;
|
|
1683
|
+
height: 24px;
|
|
1684
|
+
width: 24px;
|
|
1685
|
+
overflow: hidden;
|
|
1686
|
+
}
|
|
1687
|
+
.mat-icon.mat-icon-inline {
|
|
1688
|
+
font-size: inherit;
|
|
1689
|
+
height: inherit;
|
|
1690
|
+
line-height: inherit;
|
|
1691
|
+
width: inherit;
|
|
1692
|
+
}
|
|
1693
|
+
.mat-icon.mat-ligature-font[fontIcon]::before {
|
|
1694
|
+
content: attr(fontIcon);
|
|
1695
|
+
}
|
|
1696
|
+
|
|
1697
|
+
[dir=rtl] .mat-icon-rtl-mirror {
|
|
1698
|
+
transform: scale(-1, 1);
|
|
1699
|
+
}
|
|
1700
|
+
|
|
1701
|
+
.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,
|
|
1702
|
+
.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon {
|
|
1703
|
+
display: block;
|
|
1704
|
+
}
|
|
1705
|
+
.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,
|
|
1706
|
+
.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon {
|
|
1707
|
+
margin: auto;
|
|
1708
|
+
}
|
|
1709
|
+
`],encapsulation:2,changeDetection:0})}return t})(),M9=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=q({type:t});static \u0275inj=G({imports:[Je]})}return t})();var KD=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,r){this._renderer=e,this._elementRef=r}setProperty(e,r){this._renderer.setProperty(this._elementRef.nativeElement,e,r)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(r){return new(r||t)(H(We),H(B))};static \u0275dir=A({type:t})}return t})(),XD=(()=>{class t extends KD{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ie(t)))(o||t)}})();static \u0275dir=A({type:t,features:[W]})}return t})(),Ol=new g("");var oN={provide:Ol,useExisting:we(()=>QD),multi:!0};function iN(){let t=it()?it().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var sN=new g(""),QD=(()=>{class t extends KD{_compositionMode;_composing=!1;constructor(e,r,o){super(e,r),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!iN())}writeValue(e){let r=e??"";this.setProperty("value",r)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(r){return new(r||t)(H(We),H(B),H(sN,8))};static \u0275dir=A({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){r&1&&On("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},standalone:!1,features:[Re([oN]),W]})}return t})();function Ep(t){return t==null||Cp(t)===0}function Cp(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var Hn=new g(""),kl=new g(""),aN=/^(?=.{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])?)*$/,$D=class{static min(n){return JD(n)}static max(n){return eE(n)}static required(n){return tE(n)}static requiredTrue(n){return cN(n)}static email(n){return lN(n)}static minLength(n){return uN(n)}static maxLength(n){return dN(n)}static pattern(n){return nE(n)}static nullValidator(n){return El()}static compose(n){return cE(n)}static composeAsync(n){return lE(n)}};function JD(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e<t?{min:{min:t,actual:n.value}}:null}}function eE(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}function tE(t){return Ep(t.value)?{required:!0}:null}function cN(t){return t.value===!0?null:{required:!0}}function lN(t){return Ep(t.value)||aN.test(t.value)?null:{email:!0}}function uN(t){return n=>{let e=n.value?.length??Cp(n.value);return e===null||e===0?null:e<t?{minlength:{requiredLength:t,actualLength:e}}:null}}function dN(t){return n=>{let e=n.value?.length??Cp(n.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function nE(t){if(!t)return El;let n,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),r=>{if(Ep(r.value))return null;let o=r.value;return n.test(o)?null:{pattern:{requiredPattern:e,actualValue:o}}}}function El(t){return null}function rE(t){return t!=null}function oE(t){return To(t)?et(t):t}function iE(t){let n={};return t.forEach(e=>{n=e!=null?D(D({},n),e):n}),Object.keys(n).length===0?null:n}function sE(t,n){return n.map(e=>e(t))}function fN(t){return!t.validate}function aE(t){return t.map(n=>fN(n)?n:e=>n.validate(e))}function cE(t){if(!t)return null;let n=t.filter(rE);return n.length==0?null:function(e){return iE(sE(e,n))}}function wp(t){return t!=null?cE(aE(t)):null}function lE(t){if(!t)return null;let n=t.filter(rE);return n.length==0?null:function(e){let r=sE(e,n).map(oE);return ai(r).pipe(J(iE))}}function Ip(t){return t!=null?lE(aE(t)):null}function zD(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function uE(t){return t._rawValidators}function dE(t){return t._rawAsyncValidators}function bp(t){return t?Array.isArray(t)?t:[t]:[]}function Cl(t,n){return Array.isArray(t)?t.includes(n):t===n}function GD(t,n){let e=bp(n);return bp(t).forEach(o=>{Cl(e,o)||e.push(o)}),e}function WD(t,n){return bp(n).filter(e=>!Cl(t,e))}var wl=class{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}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=wp(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Ip(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control?.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},Or=class extends wl{name;get formDirective(){return null}get path(){return null}},kr=class extends wl{_parent=null;name=null;valueAccessor=null},Dp=class{_cd;constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}};var z9=(()=>{class t extends Dp{constructor(e){super(e)}static \u0275fac=function(r){return new(r||t)(H(kr,2))};static \u0275dir=A({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&ye("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)},standalone:!1,features:[W]})}return t})();var Ss="VALID",Dl="INVALID",Wo="PENDING",Ms="DISABLED",Bn=class{},Il=class extends Bn{value;source;constructor(n,e){super(),this.value=n,this.source=e}},As=class extends Bn{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}},xs=class extends Bn{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}},qo=class extends Bn{status;source;constructor(n,e){super(),this.status=n,this.source=e}},Sl=class extends Bn{source;constructor(n){super(),this.source=n}},Ml=class extends Bn{source;constructor(n){super(),this.source=n}};function fE(t){return(Fl(t)?t.validators:t)||null}function hN(t){return Array.isArray(t)?wp(t):t||null}function hE(t,n){return(Fl(n)?n.asyncValidators:t)||null}function pN(t){return Array.isArray(t)?Ip(t):t||null}function Fl(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function mN(t,n,e){let r=t.controls;if(!(n?Object.keys(r):r).length)throw new E(1e3,"");if(!r[e])throw new E(1001,"")}function gN(t,n,e){t._forEachChild((r,o)=>{if(e[o]===void 0)throw new E(-1002,"")})}var Tl=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,e){this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return se(this.statusReactive)}set status(n){se(()=>this.statusReactive.set(n))}_status=Ye(()=>this.statusReactive());statusReactive=oe(void 0);get valid(){return this.status===Ss}get invalid(){return this.status===Dl}get pending(){return this.status===Wo}get disabled(){return this.status===Ms}get enabled(){return this.status!==Ms}errors;get pristine(){return se(this.pristineReactive)}set pristine(n){se(()=>this.pristineReactive.set(n))}_pristine=Ye(()=>this.pristineReactive());pristineReactive=oe(!0);get dirty(){return!this.pristine}get touched(){return se(this.touchedReactive)}set touched(n){se(()=>this.touchedReactive.set(n))}_touched=Ye(()=>this.touchedReactive());touchedReactive=oe(!1);get untouched(){return!this.touched}_events=new C;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(GD(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(GD(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(WD(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(WD(n,this._rawAsyncValidators))}hasValidator(n){return Cl(this._rawValidators,n)}hasAsyncValidator(n){return Cl(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let r=n.sourceControl??this;n.onlySelf||this._parent?.markAsTouched(U(D({},n),{sourceControl:r})),e&&n.emitEvent!==!1&&this._events.next(new xs(!0,r))}markAllAsDirty(n={}){this.markAsDirty({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(n))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=n.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:r})}),n.onlySelf||this._parent?._updateTouched(n,r),e&&n.emitEvent!==!1&&this._events.next(new xs(!1,r))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let r=n.sourceControl??this;n.onlySelf||this._parent?.markAsDirty(U(D({},n),{sourceControl:r})),e&&n.emitEvent!==!1&&this._events.next(new As(!1,r))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=n.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),n.onlySelf||this._parent?._updatePristine(n,r),e&&n.emitEvent!==!1&&this._events.next(new As(!0,r))}markAsPending(n={}){this.status=Wo;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new qo(this.status,e)),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.markAsPending(U(D({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Ms,this.errors=null,this._forEachChild(o=>{o.disable(U(D({},n),{onlySelf:!0}))}),this._updateValue();let r=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Il(this.value,r)),this._events.next(new qo(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(U(D({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Ss,this._forEachChild(r=>{r.enable(U(D({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(U(D({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n,e){n.onlySelf||(this._parent?.updateValueAndValidity(n),n.skipPristineCheck||this._parent?._updatePristine({},e),this._parent?._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ss||this.status===Wo)&&this._runAsyncValidator(r,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Il(this.value,e)),this._events.next(new qo(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.updateValueAndValidity(U(D({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ms:Ss}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=Wo,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:n!==!1};let r=oE(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((r,o)=>r&&r._find(o),this)}getError(n,e){let r=e?this.get(e):this;return r?.errors?r.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,r){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||r)&&this._events.next(new qo(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,r)}_initObservables(){this.valueChanges=new $,this.statusChanges=new $}_calculateStatus(){return this._allControlsDisabled()?Ms:this.errors?Dl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Wo)?Wo:this._anyControlsHaveStatus(Dl)?Dl:Ss}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let r=!this._anyControlsDirty(),o=this.pristine!==r;this.pristine=r,n.onlySelf||this._parent?._updatePristine(n,e),o&&this._events.next(new As(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new xs(this.touched,e)),n.onlySelf||this._parent?._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Fl(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=hN(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=pN(this._rawAsyncValidators)}},Al=class extends Tl{constructor(n,e,r){super(fE(e),hE(r,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,r={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){gN(this,!0,n),Object.keys(n).forEach(r=>{mN(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(r=>{let o=this.controls[r];o&&o.patchValue(n[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((r,o)=>{r.reset(n?n[o]:null,U(D({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new Ml(this))}getRawValue(){return this._reduceChildren({},(n,e,r)=>(n[r]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,r)=>r._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let r=this.controls[e];r&&n(r,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,r]of Object.entries(this.controls))if(this.contains(e)&&n(r))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,r,o)=>((r.enabled||this.disabled)&&(e[o]=r.value),e))}_reduceChildren(n,e){let r=n;return this._forEachChild((o,i)=>{r=e(r,o,i)}),r}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var Yo=new g("",{factory:()=>Pl}),Pl="always";function vN(t,n){return[...n.path,t]}function Ns(t,n,e=Pl){Sp(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),_N(t,n),DN(t,n),bN(t,n),yN(t,n)}function xl(t,n,e=!0){let r=()=>{};n?.valueAccessor?.registerOnChange(r),n?.valueAccessor?.registerOnTouched(r),Rl(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Nl(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function yN(t,n){if(n.valueAccessor.setDisabledState){let e=r=>{n.valueAccessor.setDisabledState(r)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function Sp(t,n){let e=uE(t);n.validator!==null?t.setValidators(zD(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let r=dE(t);n.asyncValidator!==null?t.setAsyncValidators(zD(r,n.asyncValidator)):typeof r=="function"&&t.setAsyncValidators([r]);let o=()=>t.updateValueAndValidity();Nl(n._rawValidators,o),Nl(n._rawAsyncValidators,o)}function Rl(t,n){let e=!1;if(t!==null){if(n.validator!==null){let o=uE(t);if(Array.isArray(o)&&o.length>0){let i=o.filter(s=>s!==n.validator);i.length!==o.length&&(e=!0,t.setValidators(i))}}if(n.asyncValidator!==null){let o=dE(t);if(Array.isArray(o)&&o.length>0){let i=o.filter(s=>s!==n.asyncValidator);i.length!==o.length&&(e=!0,t.setAsyncValidators(i))}}}let r=()=>{};return Nl(n._rawValidators,r),Nl(n._rawAsyncValidators,r),e}function _N(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&pE(t,n)})}function bN(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&pE(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function pE(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function DN(t,n){let e=(r,o)=>{n.valueAccessor.writeValue(r),o&&n.viewToModelUpdate(r)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function mE(t,n){t==null,Sp(t,n)}function EN(t,n){return Rl(t,n)}function gE(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function CN(t){return Object.getPrototypeOf(t.constructor)===XD}function vE(t,n){t._syncPendingControls(),n.forEach(e=>{let r=e.control;r.updateOn==="submit"&&r._pendingChange&&(e.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function yE(t,n){if(!n)return null;Array.isArray(n);let e,r,o;return n.forEach(i=>{i.constructor===QD?e=i:CN(i)?r=i:o=i}),o||r||e||null}function wN(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}var IN={provide:Or,useExisting:we(()=>SN)},Ts=Promise.resolve(),SN=(()=>{class t extends Or{callSetDisabledState;get submitted(){return se(this.submittedReactive)}_submitted=Ye(()=>this.submittedReactive());submittedReactive=oe(!1);_directives=new Set;form;ngSubmit=new $;options;constructor(e,r,o){super(),this.callSetDisabledState=o,this.form=new Al({},wp(e),Ip(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Ts.then(()=>{let r=this._findContainer(e.path);e.control=r.registerControl(e.name,e.control),Ns(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Ts.then(()=>{this._findContainer(e.path)?.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Ts.then(()=>{let r=this._findContainer(e.path),o=new Al({});mE(o,e),r.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Ts.then(()=>{this._findContainer(e.path)?.removeControl?.(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,r){Ts.then(()=>{this.form.get(e.path).setValue(r)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),vE(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new Sl(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(r){return new(r||t)(H(Hn,10),H(kl,10),H(Yo,8))};static \u0275dir=A({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,o){r&1&&On("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Re([IN]),W]})}return t})();function qD(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function YD(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var _E=class extends Tl{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,r){super(fE(e),hE(r,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Fl(e)&&(e.nonNullable||e.initialValueIsDefault)&&(YD(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),e.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,e?.emitEvent!==!1&&this._events.next(new Ml(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){qD(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){qD(this._onDisabledChange,n)}_forEachChild(n){}_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(n){YD(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var MN=t=>t instanceof _E;var TN={provide:kr,useExisting:we(()=>AN)},ZD=Promise.resolve(),AN=(()=>{class t extends kr{_changeDetectorRef;callSetDisabledState;control=new _E;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new $;constructor(e,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=e,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=yE(this,i)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let r=e.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),gE(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective?.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Ns(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){ZD.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let r=e.isDisabled.currentValue,o=r!==0&&ne(r);ZD.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?vN(e,this._parent):[e]}static \u0275fac=function(r){return new(r||t)(H(Or,9),H(Hn,10),H(kl,10),H(Ol,10),H(Er,8),H(Yo,8))};static \u0275dir=A({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[Re([TN]),W,Le]})}return t})();var xN={provide:Ol,useExisting:we(()=>NN),multi:!0},NN=(()=>{class t extends XD{writeValue(e){let r=e??"";this.setProperty("value",r)}registerOnChange(e){this.onChange=r=>{e(r==""?null:parseFloat(r))}}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ie(t)))(o||t)}})();static \u0275dir=A({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(r,o){r&1&&On("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},standalone:!1,features:[Re([xN]),W]})}return t})();var RN=(()=>{class t extends Or{callSetDisabledState;get submitted(){return se(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Ye(()=>this._submittedReactive());_submittedReactive=oe(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(e,r,o){super(),this.callSetDisabledState=o,this._setValidators(e),this._setAsyncValidators(r)}ngOnChanges(e){this.onChanges(e)}ngOnDestroy(){this.onDestroy()}onChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(Rl(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(e){let r=this.form.get(e.path);return Ns(r,e,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),r}getControl(e){return this.form.get(e.path)}removeControl(e){xl(e.control||null,e,!1),wN(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}getFormArray(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}updateModel(e,r){this.form.get(e.path).setValue(r)}onReset(){this.resetForm()}resetForm(e=void 0,r={}){this.form.reset(e,r),this._submittedReactive.set(!1)}onSubmit(e){return this.submitted=!0,vE(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new Sl(this.control)),e?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(e=>{let r=e.control,o=this.form.get(e.path);r!==o&&(xl(r||null,e),MN(o)&&(Ns(o,e,this.callSetDisabledState),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let r=this.form.get(e.path);mE(r,e),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){let r=this.form?.get(e.path);r&&EN(r,e)&&r.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){Sp(this.form,this),this._oldForm&&Rl(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(r){return new(r||t)(H(Hn,10),H(kl,10),H(Yo,8))};static \u0275dir=A({type:t,features:[W,Le]})}return t})();var bE=new g(""),ON={provide:kr,useExisting:we(()=>kN)},kN=(()=>{class t extends kr{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new $;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,r,o,i,s){super(),this._ngModelWarningConfig=i,this.callSetDisabledState=s,this._setValidators(e),this._setAsyncValidators(r),this.valueAccessor=yE(this,o)}ngOnChanges(e){if(this._isControlChanged(e)){let r=e.form.previousValue;r&&xl(r,this,!1),Ns(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}gE(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&xl(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static \u0275fac=function(r){return new(r||t)(H(Hn,10),H(kl,10),H(Ol,10),H(bE,8),H(Yo,8))};static \u0275dir=A({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[Re([ON]),W,Le]})}return t})();var FN={provide:Or,useExisting:we(()=>PN)},PN=(()=>{class t extends RN{form=null;ngSubmit=new $;get control(){return this.form}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ie(t)))(o||t)}})();static \u0275dir=A({type:t,selectors:[["","formGroup",""]],hostBindings:function(r,o){r&1&&On("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Re([FN]),W]})}return t})();function DE(t){return typeof t=="number"?t:parseFloat(t)}var Ll=(()=>{class t{_validator=El;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let r=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):El,this._onChange?.()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(r){return new(r||t)};static \u0275dir=A({type:t,features:[Le]})}return t})(),LN={provide:Hn,useExisting:we(()=>VN),multi:!0},VN=(()=>{class t extends Ll{max;inputName="max";normalizeInput=e=>DE(e);createValidator=e=>eE(e);static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ie(t)))(o||t)}})();static \u0275dir=A({type:t,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&Ne("max",o._enabled?o.max:null)},inputs:{max:"max"},standalone:!1,features:[Re([LN]),W]})}return t})(),jN={provide:Hn,useExisting:we(()=>BN),multi:!0},BN=(()=>{class t extends Ll{min;inputName="min";normalizeInput=e=>DE(e);createValidator=e=>JD(e);static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ie(t)))(o||t)}})();static \u0275dir=A({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&Ne("min",o._enabled?o.min:null)},inputs:{min:"min"},standalone:!1,features:[Re([jN]),W]})}return t})(),HN={provide:Hn,useExisting:we(()=>UN),multi:!0};var UN=(()=>{class t extends Ll{required;inputName="required";normalizeInput=ne;createValidator=e=>tE;enabled(e){return e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ie(t)))(o||t)}})();static \u0275dir=A({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(r,o){r&2&&Ne("required",o._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[Re([HN]),W]})}return t})();var $N={provide:Hn,useExisting:we(()=>zN),multi:!0},zN=(()=>{class t extends Ll{pattern;inputName="pattern";normalizeInput=e=>e;createValidator=e=>nE(e);static \u0275fac=(()=>{let e;return function(o){return(e||(e=Ie(t)))(o||t)}})();static \u0275dir=A({type:t,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&Ne("pattern",o._enabled?o.pattern:null)},inputs:{pattern:"pattern"},standalone:!1,features:[Re([$N]),W]})}return t})();var EE=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=q({type:t});static \u0275inj=G({})}return t})();var W9=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Yo,useValue:e.callSetDisabledState??Pl}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=q({type:t});static \u0275inj=G({imports:[EE]})}return t})(),q9=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:bE,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Yo,useValue:e.callSetDisabledState??Pl}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=q({type:t});static \u0275inj=G({imports:[EE]})}return t})();export{j as a,R as b,C as c,Kn as d,Ql as e,nu as f,ii as g,fe as h,jt as i,GE as j,J as k,iu as l,Gr as m,si as n,ai as o,ci as p,eC as q,su as r,_e as s,ui as t,tC as u,au as v,hn as w,Ue as x,nC as y,Wr as z,oC as A,cu as B,uu as C,fi as D,At as E,Yr as F,Bt as G,pn as H,we as I,y as J,G as K,g as L,T as M,d as N,Bm as O,Hm as P,Jm as Q,eg as R,O as S,x as T,$e as U,$ as V,M as W,oe as X,fr as Y,Le as Z,Ie as _,cf as $,B as aa,Yt as ba,ve as ca,Kw as da,Xw as ea,Qw as fa,Jw as ga,If as ha,Ct as ia,xe as ja,Ee as ka,We as la,H as ma,pS as na,je as oa,ie as pa,q as qa,A as ra,Yf as sa,W as ta,wo as ua,jy as va,Mo as wa,Qe as xa,VM as ya,jM as za,Xy as Aa,Ne as Ba,HM as Ca,UM as Da,$M as Ea,zM as Fa,GM as Ga,WM as Ha,Qy as Ia,yo as Ja,Wi as Ka,Jy as La,Xt as Ma,Qt as Na,qe as Oa,nh as Pa,rh as Qa,t_ as Ra,QM as Sa,qi as Ta,On as Ua,r_ as Va,eT as Wa,wt as Xa,Se as Ya,i_ as Za,Ao as _a,Zi as $a,Ki as ab,s_ as bb,a_ as cb,rT as db,oT as eb,wc as fb,ye as gb,vT as hb,Xi as ib,TT as jb,b_ as kb,oh as lb,D_ as mb,C_ as nb,NT as ob,w_ as pb,S_ as qb,RT as rb,OT as sb,kT as tb,Re as ub,VT as vb,jT as wb,BT as xb,HT as yb,UT as zb,$T as Ab,GT as Bb,WT as Cb,qT as Db,YT as Eb,Ic as Fb,Ye as Gb,ah as Hb,XT as Ib,xc as Jb,mz as Kb,gz as Lb,vz as Mb,yz as Nb,_z as Ob,bz as Pb,Dz as Qb,Ez as Rb,Cz as Sb,Er as Tb,Ji as Ub,ne as Vb,W_ as Wb,Iz as Xb,B0 as Yb,nb as Zb,H0 as _b,U0 as $b,$0 as ac,rb as bc,nA as cc,Fn as dc,qc as ec,xA as fc,NA as gc,as as hc,re as ic,Vh as jc,Ir as kc,Be as lc,st as mc,ko as nc,It as oc,at as pc,en as qc,Tb as rc,Je as sc,BA as tc,ls as uc,us as vc,Mr as wc,WA as xc,qA as yc,Hh as zc,Uh as Ac,Lt as Bc,Po as Cc,Pn as Dc,Lo as Ec,el as Fc,b3 as Gc,fs as Hc,Tr as Ic,Ln as Jc,jo as Kc,Zh as Lc,xr as Mc,ps as Nc,Xh as Oc,il as Pc,Bo as Qc,Qh as Rc,ms as Sc,qh as Tc,JA as Uc,gs as Vc,vs as Wc,ys as Xc,Uo as Yc,ex as Zc,ll as _c,ul as $c,ep as ad,X4 as bd,sD as cd,fl as dd,hl as ed,mx as fd,vx as gd,np as hd,op as id,ip as jd,pD as kd,R5 as ld,O5 as md,P5 as nd,wx as od,tn as pd,sp as qd,ap as rd,cp as sd,bq as td,Sx as ud,Mx as vd,xq as wd,yl as xd,Ox as yd,CD as zd,n6 as Ad,r6 as Bd,o6 as Cd,i6 as Dd,c6 as Ed,ct as Fd,Cs as Gd,mp as Hd,w6 as Id,ND as Jd,RD as Kd,Gx as Ld,kD as Md,r9 as Nd,o9 as Od,i9 as Pd,s9 as Qd,HD as Rd,S9 as Sd,M9 as Td,Ol as Ud,QD as Vd,Hn as Wd,$D as Xd,Or as Yd,kr as Zd,z9 as _d,SN as $d,_E as ae,AN as be,NN as ce,kN as de,PN as ee,VN as fe,BN as ge,UN as he,zN as ie,W9 as je,q9 as ke};
|