@tilde-nlp/ngx-common 8.0.8 → 8.0.9
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/package.json +1 -1
- package/web-components/3rdpartylicenses.txt +508 -0
- package/web-components/index.html +15 -0
- package/web-components/main.js +41 -0
- package/web-components/media/material-icons-outlined.woff2 +0 -0
- package/web-components/media/material-icons.woff2 +0 -0
- package/web-components/polyfills.js +4 -0
- package/web-components/prerendered-routes.json +3 -0
- package/web-components/styles.css +1 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
var Kw=Object.defineProperty,JP=Object.defineProperties;var e1=Object.getOwnPropertyDescriptors;var Eu=Object.getOwnPropertySymbols;var Yw=Object.prototype.hasOwnProperty,Qw=Object.prototype.propertyIsEnumerable;var Zw=n=>{throw TypeError(n)};var qw=(n,t,e)=>t in n?Kw(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e,b=(n,t)=>{for(var e in t||={})Yw.call(t,e)&&qw(n,e,t[e]);if(Eu)for(var e of Eu(t))Qw.call(t,e)&&qw(n,e,t[e]);return n},J=(n,t)=>JP(n,e1(t));var pg=(n,t)=>{var e={};for(var i in n)Yw.call(n,i)&&t.indexOf(i)<0&&(e[i]=n[i]);if(n!=null&&Eu)for(var i of Eu(n))t.indexOf(i)<0&&Qw.call(n,i)&&(e[i]=n[i]);return e};var f=(n,t)=>()=>(n&&(t=n(n=0)),t);var t1=(n,t)=>()=>(t||n((t={exports:{}}).exports,t),t.exports),n1=(n,t)=>{for(var e in t)Kw(n,e,{get:t[e],enumerable:!0})};var mg=(n,t,e)=>t.has(n)||Zw("Cannot "+e);var ye=(n,t,e)=>(mg(n,t,"read from private field"),e?e.call(n):t.get(n)),tt=(n,t,e)=>t.has(n)?Zw("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(n):t.set(n,e),kt=(n,t,e,i)=>(mg(n,t,"write to private field"),i?i.call(n,e):t.set(n,e),e),Lt=(n,t,e)=>(mg(n,t,"access private method"),e);var Er=(n,t,e)=>new Promise((i,r)=>{var o=l=>{try{a(e.next(l))}catch(c){r(c)}},s=l=>{try{a(e.throw(l))}catch(c){r(c)}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(o,s);a((e=e.apply(n,t)).next())});function wu(){return gg}function ci(n){let t=gg;return gg=n,t}function Ws(n){return n===Xw||n?.name==="\u0275NotFound"}var gg,Xw,yg=f(()=>{"use strict";Xw=Symbol("NotFound")});function Tu(n,t){return Object.is(n,t)}function ie(n){let t=Pt;return Pt=n,t}function Mu(){return Pt}function So(n){if(Du)throw new Error("");if(Pt===null)return;Pt.consumerOnSignalRead(n);let t=Pt.producersTail;if(t!==void 0&&t.producer===n)return;let e,i=Pt.recomputing;if(i&&(e=t!==void 0?t.nextProducer:Pt.producers,e!==void 0&&e.producer===n)){Pt.producersTail=e,e.lastReadVersion=n.version;return}let r=n.consumersTail;if(r!==void 0&&r.consumer===Pt&&(!i||o1(r,Pt)))return;let o=qs(Pt),s={producer:n,consumer:Pt,nextProducer:e,prevConsumer:r,lastReadVersion:n.version,nextConsumer:void 0};Pt.producersTail=s,t!==void 0?t.nextProducer=s:Pt.producers=s,o&&e0(n,s)}function Jw(){vg++}function Ru(n){if(!(qs(n)&&!n.dirty)&&!(!n.dirty&&n.lastCleanEpoch===vg)){if(!n.producerMustRecompute(n)&&!Io(n)){Au(n);return}n.producerRecomputeValue(n),Au(n)}}function _g(n){if(n.consumers===void 0)return;let t=Du;Du=!0;try{for(let e=n.consumers;e!==void 0;e=e.nextConsumer){let i=e.consumer;i.dirty||r1(i)}}finally{Du=t}}function bg(){return Pt?.consumerAllowSignalWrites!==!1}function r1(n){n.dirty=!0,_g(n),n.consumerMarkedDirty?.(n)}function Au(n){n.dirty=!1,n.lastCleanEpoch=vg}function Li(n){return n&&(n.producersTail=void 0,n.recomputing=!0),ie(n)}function Dr(n,t){if(ie(t),!n)return;n.recomputing=!1;let e=n.producersTail,i=e!==void 0?e.nextProducer:n.producers;if(i!==void 0){if(qs(n))do i=xg(i);while(i!==void 0);e!==void 0?e.nextProducer=void 0:n.producers=void 0}}function Io(n){for(let t=n.producers;t!==void 0;t=t.nextProducer){let e=t.producer,i=t.lastReadVersion;if(i!==e.version||(Ru(e),i!==e.version))return!0}return!1}function Sr(n){if(qs(n)){let t=n.producers;for(;t!==void 0;)t=xg(t)}n.producers=void 0,n.producersTail=void 0,n.consumers=void 0,n.consumersTail=void 0}function e0(n,t){let e=n.consumersTail,i=qs(n);if(e!==void 0?(t.nextConsumer=e.nextConsumer,e.nextConsumer=t):(t.nextConsumer=void 0,n.consumers=t),t.prevConsumer=e,n.consumersTail=t,!i)for(let r=n.producers;r!==void 0;r=r.nextProducer)e0(r.producer,r)}function xg(n){let t=n.producer,e=n.nextProducer,i=n.nextConsumer,r=n.prevConsumer;if(n.nextConsumer=void 0,n.prevConsumer=void 0,i!==void 0?i.prevConsumer=r:t.consumersTail=r,r!==void 0)r.nextConsumer=i;else if(t.consumers=i,!qs(t)){let o=t.producers;for(;o!==void 0;)o=xg(o)}return e}function qs(n){return n.consumerIsAlwaysLive||n.consumers!==void 0}function Ou(n){i1?.(n)}function o1(n,t){let e=t.producersTail;if(e!==void 0){let i=t.producers;do{if(i===n)return!0;if(i===e)break;i=i.nextProducer}while(i!==void 0)}return!1}function kl(n,t){let e=Object.create(s1);e.computation=n,t!==void 0&&(e.equal=t);let i=()=>{if(Ru(e),So(e),e.value===Fl)throw e.error;return e.value};return i[gt]=e,Ou(e),i}function a1(){throw new Error}function n0(n){t0(n)}function Cg(n){t0=n}function Eg(n,t){let e=Object.create(Ll);e.value=n,t!==void 0&&(e.equal=t);let i=()=>i0(e);return i[gt]=e,Ou(e),[i,s=>Ks(e,s),s=>wg(e,s)]}function i0(n){return So(n),n.value}function Ks(n,t){bg()||n0(n),n.equal(n.value,t)||(n.value=t,c1(n))}function wg(n,t){bg()||n0(n),Ks(n,t(n.value))}function c1(n){n.version++,Jw(),_g(n),l1?.(n)}var Pt,Du,vg,i1,gt,wr,Su,Iu,Fl,s1,t0,l1,Ll,Ao=f(()=>{"use strict";Pt=null,Du=!1,vg=1,i1=null,gt=Symbol("SIGNAL");wr={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:()=>{}};Su=Symbol("UNSET"),Iu=Symbol("COMPUTING"),Fl=Symbol("ERRORED"),s1=J(b({},wr),{value:Su,dirty:!0,error:null,equal:Tu,kind:"computed",producerMustRecompute(n){return n.value===Su||n.value===Iu},producerRecomputeValue(n){if(n.value===Iu)throw new Error("");let t=n.value;n.value=Iu;let e=Li(n),i,r=!1;try{i=n.computation(),ie(null),r=t!==Su&&t!==Fl&&i!==Fl&&n.equal(t,i)}catch(o){i=Fl,n.error=o}finally{Dr(n,e)}if(r){n.value=t;return}n.value=i,n.version++}});t0=a1;l1=null;Ll=J(b({},wr),{equal:Tu,value:void 0,kind:"signal"})});function Q(n){return typeof n=="function"}var ut=f(()=>{"use strict"});function Ys(n){let e=n(i=>{Error.call(i),i.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Nu=f(()=>{"use strict"});var Fu,r0=f(()=>{"use strict";Nu();Fu=Ys(n=>function(e){n(this),this.message=e?`${e.length} errors occurred during unsubscription:
|
|
2
|
+
${e.map((i,r)=>`${r+1}) ${i.toString()}`).join(`
|
|
3
|
+
`)}`:"",this.name="UnsubscriptionError",this.errors=e})});function To(n,t){if(n){let e=n.indexOf(t);0<=e&&n.splice(e,1)}}var ku=f(()=>{"use strict"});function Lu(n){return n instanceof Ce||n&&"closed"in n&&Q(n.remove)&&Q(n.add)&&Q(n.unsubscribe)}function o0(n){Q(n)?n():n.unsubscribe()}var Ce,Dg,Mo=f(()=>{"use strict";ut();r0();ku();Ce=class n{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let o of e)o.remove(this);else e.remove(this);let{initialTeardown:i}=this;if(Q(i))try{i()}catch(o){t=o instanceof Fu?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{o0(o)}catch(s){t=t??[],s instanceof Fu?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Fu(t)}}add(t){var e;if(t&&t!==this)if(this.closed)o0(t);else{if(t instanceof n){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(t)}}_hasParent(t){let{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){let{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&To(e,t)}remove(t){let{_finalizers:e}=this;e&&To(e,t),t instanceof n&&t._removeParent(this)}};Ce.EMPTY=(()=>{let n=new Ce;return n.closed=!0,n})();Dg=Ce.EMPTY});var jn,Pl=f(()=>{"use strict";jn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}});var Qs,Sg=f(()=>{"use strict";Qs={setTimeout(n,t,...e){let{delegate:i}=Qs;return i?.setTimeout?i.setTimeout(n,t,...e):setTimeout(n,t,...e)},clearTimeout(n){let{delegate:t}=Qs;return(t?.clearTimeout||clearTimeout)(n)},delegate:void 0}});function Pu(n){Qs.setTimeout(()=>{let{onUnhandledError:t}=jn;if(t)t(n);else throw n})}var Ig=f(()=>{"use strict";Pl();Sg()});function jl(){}var Ag=f(()=>{"use strict"});function a0(n){return Tg("E",void 0,n)}function l0(n){return Tg("N",n,void 0)}function Tg(n,t,e){return{kind:n,value:t,error:e}}var s0,c0=f(()=>{"use strict";s0=Tg("C",void 0,void 0)});function Zs(n){if(jn.useDeprecatedSynchronousErrorHandling){let t=!Ro;if(t&&(Ro={errorThrown:!1,error:null}),n(),t){let{errorThrown:e,error:i}=Ro;if(Ro=null,e)throw i}}else n()}function d0(n){jn.useDeprecatedSynchronousErrorHandling&&Ro&&(Ro.errorThrown=!0,Ro.error=n)}var Ro,ju=f(()=>{"use strict";Pl();Ro=null});function Mg(n,t){return d1.call(n,t)}function Vu(n){jn.useDeprecatedSynchronousErrorHandling?d0(n):Pu(n)}function u1(n){throw n}function Rg(n,t){let{onStoppedNotification:e}=jn;e&&Qs.setTimeout(()=>e(n,t))}var Oo,d1,Og,Pi,f1,Bu=f(()=>{"use strict";ut();Mo();Pl();Ig();Ag();c0();Sg();ju();Oo=class extends Ce{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Lu(t)&&t.add(this)):this.destination=f1}static create(t,e,i){return new Pi(t,e,i)}next(t){this.isStopped?Rg(l0(t),this):this._next(t)}error(t){this.isStopped?Rg(a0(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Rg(s0,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},d1=Function.prototype.bind;Og=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(i){Vu(i)}}error(t){let{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(i){Vu(i)}else Vu(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(e){Vu(e)}}},Pi=class extends Oo{constructor(t,e,i){super();let r;if(Q(t)||!t)r={next:t??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&jn.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&Mg(t.next,o),error:t.error&&Mg(t.error,o),complete:t.complete&&Mg(t.complete,o)}):r=t}this.destination=new Og(r)}};f1={closed:!0,next:jl,error:u1,complete:jl}});var Xs,Uu=f(()=>{"use strict";Xs=typeof Symbol=="function"&&Symbol.observable||"@@observable"});function zt(n){return n}var Ir=f(()=>{"use strict"});function Ng(...n){return Fg(n)}function Fg(n){return n.length===0?zt:n.length===1?n[0]:function(e){return n.reduce((i,r)=>r(i),e)}}var kg=f(()=>{"use strict";Ir()});function u0(n){var t;return(t=n??jn.Promise)!==null&&t!==void 0?t:Promise}function h1(n){return n&&Q(n.next)&&Q(n.error)&&Q(n.complete)}function p1(n){return n&&n instanceof Oo||h1(n)&&Lu(n)}var Z,jt=f(()=>{"use strict";Bu();Mo();Uu();kg();Pl();ut();ju();Z=(()=>{class n{constructor(e){e&&(this._subscribe=e)}lift(e){let i=new n;return i.source=this,i.operator=e,i}subscribe(e,i,r){let o=p1(e)?e:new Pi(e,i,r);return Zs(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return i=u0(i),new i((r,o)=>{let s=new Pi({next:a=>{try{e(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(e){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(e)}[Xs](){return this}pipe(...e){return Fg(e)(this)}toPromise(e){return e=u0(e),new e((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return n.create=t=>new n(t),n})()});function Lg(n){return Q(n?.lift)}function oe(n){return t=>{if(Lg(t))return t.lift(function(e){try{return n(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}var Qe=f(()=>{"use strict";ut()});function re(n,t,e,i,r){return new Pg(n,t,e,i,r)}var Pg,nt=f(()=>{"use strict";Bu();Pg=class extends Oo{constructor(t,e,i,r,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){t.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}}});function Js(){return oe((n,t)=>{let e=null;n._refCount++;let i=re(t,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount){e=null;return}let r=n._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),t.unsubscribe()});n.subscribe(i),i.closed||(e=n.connect())})}var jg=f(()=>{"use strict";Qe();nt()});var ea,f0=f(()=>{"use strict";jt();Mo();jg();nt();Qe();ea=class extends Z{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Lg(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new Ce;let e=this.getSubject();t.add(this.source.subscribe(re(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),t.closed&&(this._connection=null,t=Ce.EMPTY)}return t}refCount(){return Js()(this)}}});var h0,p0=f(()=>{"use strict";Nu();h0=Ys(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"})});var M,Hu,Vl=f(()=>{"use strict";jt();Mo();p0();ku();ju();M=(()=>{class n extends Z{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let i=new Hu(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new h0}next(e){Zs(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(e)}})}error(e){Zs(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){Zs(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:i,isStopped:r,observers:o}=this;return i||r?Dg:(this.currentObservers=null,o.push(e),new Ce(()=>{this.currentObservers=null,To(o,e)}))}_checkFinalizedStatuses(e){let{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){let e=new Z;return e.source=this,e}}return n.create=(t,e)=>new Hu(t,e),n})(),Hu=class extends M{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.next)===null||i===void 0||i.call(e,t)}error(t){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.error)===null||i===void 0||i.call(e,t)}complete(){var t,e;(e=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||e===void 0||e.call(t)}_subscribe(t){var e,i;return(i=(e=this.source)===null||e===void 0?void 0:e.subscribe(t))!==null&&i!==void 0?i:Dg}}});var at,m0=f(()=>{"use strict";Vl();at=class extends M{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){let{hasError:t,thrownError:e,_value:i}=this;if(t)throw e;return this._throwIfClosed(),i}next(t){super.next(this._value=t)}}});var Bl,Vg=f(()=>{"use strict";Bl={now(){return(Bl.delegate||Date).now()},delegate:void 0}});var No,Bg=f(()=>{"use strict";Vl();Vg();No=class extends M{constructor(t=1/0,e=1/0,i=Bl){super(),this._bufferSize=t,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,e)}next(t){let{isStopped:e,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;e||(i.push(t),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(t),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;s<o.length&&!t.closed;s+=i?1:2)t.next(o[s]);return this._checkFinalizedStatuses(t),e}_trimBuffer(){let{_bufferSize:t,_timestampProvider:e,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*t;if(t<1/0&&o<i.length&&i.splice(0,i.length-o),!r){let s=e.now(),a=0;for(let l=1;l<i.length&&i[l]<=s;l+=2)a=l;a&&i.splice(0,a+1)}}}});var zu,g0=f(()=>{"use strict";Mo();zu=class extends Ce{constructor(t,e){super()}schedule(t,e=0){return this}}});var Ul,y0=f(()=>{"use strict";Ul={setInterval(n,t,...e){let{delegate:i}=Ul;return i?.setInterval?i.setInterval(n,t,...e):setInterval(n,t,...e)},clearInterval(n){let{delegate:t}=Ul;return(t?.clearInterval||clearInterval)(n)},delegate:void 0}});var $u,v0=f(()=>{"use strict";g0();y0();ku();$u=class extends zu{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){var i;if(this.closed)return this;this.state=t;let r=this.id,o=this.scheduler;return r!=null&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(o,this.id,e),this}requestAsyncId(t,e,i=0){return Ul.setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,e,i=0){if(i!=null&&this.delay===i&&this.pending===!1)return e;e!=null&&Ul.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let i=this._execute(t,e);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let i=!1,r;try{this.work(t)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){let{id:t,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,To(i,this),t!=null&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}}});var ta,_0=f(()=>{"use strict";Vg();ta=class n{constructor(t,e=n.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,i){return new this.schedulerActionCtor(this,t).schedule(i,e)}};ta.now=Bl.now});var Gu,b0=f(()=>{"use strict";_0();Gu=class extends ta{constructor(t,e=ta.now){super(t,e),this.actions=[],this._active=!1}flush(t){let{actions:e}=this;if(this._active){e.push(t);return}let i;this._active=!0;do if(i=t.execute(t.state,t.delay))break;while(t=e.shift());if(this._active=!1,i){for(;t=e.shift();)t.unsubscribe();throw i}}}});var Hl,x0,Wu=f(()=>{"use strict";v0();b0();Hl=new Gu($u),x0=Hl});var Vt,zl=f(()=>{"use strict";jt();Vt=new Z(n=>n.complete())});function qu(n){return n&&Q(n.schedule)}var Ug=f(()=>{"use strict";ut()});function Hg(n){return n[n.length-1]}function Ku(n){return Q(Hg(n))?n.pop():void 0}function di(n){return qu(Hg(n))?n.pop():void 0}function C0(n,t){return typeof Hg(n)=="number"?n.pop():t}var Fo=f(()=>{"use strict";ut();Ug()});function w0(n,t,e,i){function r(o){return o instanceof e?o:new e(function(s){s(o)})}return new(e||(e=Promise))(function(o,s){function a(d){try{c(i.next(d))}catch(h){s(h)}}function l(d){try{c(i.throw(d))}catch(h){s(h)}}function c(d){d.done?o(d.value):r(d.value).then(a,l)}c((i=i.apply(n,t||[])).next())})}function E0(n){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&n[t],i=0;if(e)return e.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&i>=n.length&&(n=void 0),{value:n&&n[i++],done:!n}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ko(n){return this instanceof ko?(this.v=n,this):new ko(n)}function D0(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=e.apply(n,t||[]),r,o=[];return r=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),r[Symbol.asyncIterator]=function(){return this},r;function s(p){return function(g){return Promise.resolve(g).then(p,h)}}function a(p,g){i[p]&&(r[p]=function(y){return new Promise(function(E,D){o.push([p,y,E,D])>1||l(p,y)})},g&&(r[p]=g(r[p])))}function l(p,g){try{c(i[p](g))}catch(y){m(o[0][3],y)}}function c(p){p.value instanceof ko?Promise.resolve(p.value.v).then(d,h):m(o[0][2],p)}function d(p){l("next",p)}function h(p){l("throw",p)}function m(p,g){p(g),o.shift(),o.length&&l(o[0][0],o[0][1])}}function S0(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=n[Symbol.asyncIterator],e;return t?t.call(n):(n=typeof E0=="function"?E0(n):n[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=n[o]&&function(s){return new Promise(function(a,l){s=n[o](s),r(a,l,s.done,s.value)})}}function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}}var zg=f(()=>{"use strict"});var na,Yu=f(()=>{"use strict";na=n=>n&&typeof n.length=="number"&&typeof n!="function"});function Qu(n){return Q(n?.then)}var $g=f(()=>{"use strict";ut()});function Zu(n){return Q(n[Xs])}var Gg=f(()=>{"use strict";Uu();ut()});function Xu(n){return Symbol.asyncIterator&&Q(n?.[Symbol.asyncIterator])}var Wg=f(()=>{"use strict";ut()});function Ju(n){return new TypeError(`You provided ${n!==null&&typeof n=="object"?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}var qg=f(()=>{"use strict"});function m1(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ef,Kg=f(()=>{"use strict";ef=m1()});function tf(n){return Q(n?.[ef])}var Yg=f(()=>{"use strict";Kg();ut()});function nf(n){return D0(this,arguments,function*(){let e=n.getReader();try{for(;;){let{value:i,done:r}=yield ko(e.read());if(r)return yield ko(void 0);yield yield ko(i)}}finally{e.releaseLock()}})}function rf(n){return Q(n?.getReader)}var of=f(()=>{"use strict";zg();ut()});function Ne(n){if(n instanceof Z)return n;if(n!=null){if(Zu(n))return g1(n);if(na(n))return y1(n);if(Qu(n))return v1(n);if(Xu(n))return I0(n);if(tf(n))return _1(n);if(rf(n))return b1(n)}throw Ju(n)}function g1(n){return new Z(t=>{let e=n[Xs]();if(Q(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function y1(n){return new Z(t=>{for(let e=0;e<n.length&&!t.closed;e++)t.next(n[e]);t.complete()})}function v1(n){return new Z(t=>{n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,Pu)})}function _1(n){return new Z(t=>{for(let e of n)if(t.next(e),t.closed)return;t.complete()})}function I0(n){return new Z(t=>{x1(n,t).catch(e=>t.error(e))})}function b1(n){return I0(nf(n))}function x1(n,t){var e,i,r,o;return w0(this,void 0,void 0,function*(){try{for(e=S0(n);i=yield e.next(),!i.done;){let s=i.value;if(t.next(s),t.closed)return}}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}t.complete()})}var $t=f(()=>{"use strict";zg();Yu();$g();jt();Gg();Wg();qg();Yg();of();ut();Ig();Uu()});function rn(n,t,e,i=0,r=!1){let o=t.schedule(function(){e(),r?n.add(this.schedule(null,i)):this.unsubscribe()},i);if(n.add(o),!r)return o}var ia=f(()=>{"use strict"});function sf(n,t=0){return oe((e,i)=>{e.subscribe(re(i,r=>rn(i,n,()=>i.next(r),t),()=>rn(i,n,()=>i.complete(),t),r=>rn(i,n,()=>i.error(r),t)))})}var Qg=f(()=>{"use strict";ia();Qe();nt()});function af(n,t=0){return oe((e,i)=>{i.add(n.schedule(()=>e.subscribe(i),t))})}var Zg=f(()=>{"use strict";Qe()});function A0(n,t){return Ne(n).pipe(af(t),sf(t))}var T0=f(()=>{"use strict";$t();Qg();Zg()});function M0(n,t){return Ne(n).pipe(af(t),sf(t))}var R0=f(()=>{"use strict";$t();Qg();Zg()});function O0(n,t){return new Z(e=>{let i=0;return t.schedule(function(){i===n.length?e.complete():(e.next(n[i++]),e.closed||this.schedule())})})}var N0=f(()=>{"use strict";jt()});function F0(n,t){return new Z(e=>{let i;return rn(e,t,()=>{i=n[ef](),rn(e,t,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){e.error(s);return}o?e.complete():e.next(r)},0,!0)}),()=>Q(i?.return)&&i.return()})}var k0=f(()=>{"use strict";jt();Kg();ut();ia()});function lf(n,t){if(!n)throw new Error("Iterable cannot be null");return new Z(e=>{rn(e,t,()=>{let i=n[Symbol.asyncIterator]();rn(e,t,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}var Xg=f(()=>{"use strict";jt();ia()});function L0(n,t){return lf(nf(n),t)}var P0=f(()=>{"use strict";Xg();of()});function j0(n,t){if(n!=null){if(Zu(n))return A0(n,t);if(na(n))return O0(n,t);if(Qu(n))return M0(n,t);if(Xu(n))return lf(n,t);if(tf(n))return F0(n,t);if(rf(n))return L0(n,t)}throw Ju(n)}var V0=f(()=>{"use strict";T0();R0();N0();k0();Xg();Gg();$g();Yu();Yg();Wg();qg();of();P0()});function Pe(n,t){return t?j0(n,t):Ne(n)}var ra=f(()=>{"use strict";V0();$t()});function N(...n){let t=di(n);return Pe(n,t)}var B0=f(()=>{"use strict";Fo();ra()});function Ar(n,t){let e=Q(n)?n:()=>n,i=r=>r.error(e());return new Z(t?r=>t.schedule(i,0,r):i)}var U0=f(()=>{"use strict";jt();ut()});function Vn(n){return!!n&&(n instanceof Z||Q(n.lift)&&Q(n.subscribe))}var H0=f(()=>{"use strict";jt();ut()});var ji,$l=f(()=>{"use strict";Nu();ji=Ys(n=>function(){n(this),this.name="EmptyError",this.message="no elements in sequence"})});function z0(n){return n instanceof Date&&!isNaN(n)}var $0=f(()=>{"use strict"});function V(n,t){return oe((e,i)=>{let r=0;e.subscribe(re(i,o=>{i.next(n.call(t,o,r++))}))})}var Gl=f(()=>{"use strict";Qe();nt()});function E1(n,t){return C1(t)?n(...t):n(t)}function oa(n){return V(t=>E1(n,t))}var C1,cf=f(()=>{"use strict";Gl();({isArray:C1}=Array)});function df(n){if(n.length===1){let t=n[0];if(w1(t))return{args:t,keys:null};if(A1(t)){let e=I1(t);return{args:e.map(i=>t[i]),keys:e}}}return{args:n,keys:null}}function A1(n){return n&&typeof n=="object"&&D1(n)===S1}var w1,D1,S1,I1,Jg=f(()=>{"use strict";({isArray:w1}=Array),{getPrototypeOf:D1,prototype:S1,keys:I1}=Object});function uf(n,t){return n.reduce((e,i,r)=>(e[i]=t[r],e),{})}var ey=f(()=>{"use strict"});function Lo(...n){let t=di(n),e=Ku(n),{args:i,keys:r}=df(n);if(i.length===0)return Pe([],t);let o=new Z(T1(i,t,r?s=>uf(r,s):zt));return e?o.pipe(oa(e)):o}function T1(n,t,e=zt){return i=>{G0(t,()=>{let{length:r}=n,o=new Array(r),s=r,a=r;for(let l=0;l<r;l++)G0(t,()=>{let c=Pe(n[l],t),d=!1;c.subscribe(re(i,h=>{o[l]=h,d||(d=!0,a--),a||i.next(e(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}function G0(n,t,e){n?rn(e,n,t):t()}var W0=f(()=>{"use strict";jt();Jg();ra();Ir();cf();Fo();ey();nt();ia()});function q0(n,t,e,i,r,o,s,a){let l=[],c=0,d=0,h=!1,m=()=>{h&&!l.length&&!c&&t.complete()},p=y=>c<i?g(y):l.push(y),g=y=>{o&&t.next(y),c++;let E=!1;Ne(e(y,d++)).subscribe(re(t,D=>{r?.(D),o?p(D):t.next(D)},()=>{E=!0},void 0,()=>{if(E)try{for(c--;l.length&&c<i;){let D=l.shift();s?rn(t,s,()=>g(D)):g(D)}m()}catch(D){t.error(D)}}))};return n.subscribe(re(t,p,()=>{h=!0,m()})),()=>{a?.()}}var K0=f(()=>{"use strict";$t();ia();nt()});function Ke(n,t,e=1/0){return Q(t)?Ke((i,r)=>V((o,s)=>t(i,o,r,s))(Ne(n(i,r))),e):(typeof t=="number"&&(e=t),oe((i,r)=>q0(i,r,n,e)))}var sa=f(()=>{"use strict";Gl();$t();Qe();K0();ut()});function Tr(n=1/0){return Ke(zt,n)}var ff=f(()=>{"use strict";sa();Ir()});function Y0(){return Tr(1)}var Q0=f(()=>{"use strict";ff()});function Bn(...n){return Y0()(Pe(n,di(n)))}var ty=f(()=>{"use strict";Q0();Fo();ra()});function on(n){return new Z(t=>{Ne(n()).subscribe(t)})}var Z0=f(()=>{"use strict";jt();$t()});function Po(...n){let t=Ku(n),{args:e,keys:i}=df(n),r=new Z(o=>{let{length:s}=e;if(!s){o.complete();return}let a=new Array(s),l=s,c=s;for(let d=0;d<s;d++){let h=!1;Ne(e[d]).subscribe(re(o,m=>{h||(h=!0,c--),a[d]=m},()=>l--,void 0,()=>{(!l||!h)&&(c||o.next(i?uf(i,a):a),o.complete())}))}});return t?r.pipe(oa(t)):r}var X0=f(()=>{"use strict";jt();Jg();$t();Fo();nt();cf();ey()});function aa(n,t,e,i){if(Q(e)&&(i=e,e=void 0),i)return aa(n,t,e).pipe(oa(i));let[r,o]=k1(n)?R1.map(s=>a=>n[s](t,a,e)):N1(n)?M1.map(J0(n,t)):F1(n)?O1.map(J0(n,t)):[];if(!r&&na(n))return Ke(s=>aa(s,t,e))(Ne(n));if(!r)throw new TypeError("Invalid event target");return new Z(s=>{let a=(...l)=>s.next(1<l.length?l:l[0]);return r(a),()=>o(a)})}function J0(n,t){return e=>i=>n[e](t,i)}function N1(n){return Q(n.addListener)&&Q(n.removeListener)}function F1(n){return Q(n.on)&&Q(n.off)}function k1(n){return Q(n.addEventListener)&&Q(n.removeEventListener)}var M1,R1,O1,eD=f(()=>{"use strict";$t();jt();sa();Yu();ut();cf();M1=["addListener","removeListener"],R1=["addEventListener","removeEventListener"],O1=["on","off"]});function tD(n=0,t,e=x0){let i=-1;return t!=null&&(qu(t)?e=t:i=t),new Z(r=>{let o=z0(n)?+n-e.now():n;o<0&&(o=0);let s=0;return e.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}var nD=f(()=>{"use strict";jt();Wu();Ug();$0()});function sn(...n){let t=di(n),e=C0(n,1/0),i=n;return i.length?i.length===1?Ne(i[0]):Tr(e)(Pe(i,t)):Vt}var iD=f(()=>{"use strict";ff();$t();zl();Fo();ra()});function ue(n,t){return oe((e,i)=>{let r=0;e.subscribe(re(i,o=>n.call(t,o,r++)&&i.next(o)))})}var Wl=f(()=>{"use strict";Qe();nt()});var rD=f(()=>{"use strict"});function oD(n){return oe((t,e)=>{let i=!1,r=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;let c=r;r=null,e.next(c)}s&&e.complete()},l=()=>{o=null,s&&e.complete()};t.subscribe(re(e,c=>{i=!0,r=c,o||Ne(n(c)).subscribe(o=re(e,a,l))},()=>{s=!0,(!i||!o||o.closed)&&e.complete()}))})}var sD=f(()=>{"use strict";Qe();$t();nt()});function hf(n,t=Hl){return oD(()=>tD(n,t))}var aD=f(()=>{"use strict";Wu();sD();nD()});function an(n){return oe((t,e)=>{let i=null,r=!1,o;i=t.subscribe(re(e,void 0,void 0,s=>{o=Ne(n(s,an(n)(t))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}var ny=f(()=>{"use strict";$t();nt();Qe()});function lD(n,t,e,i,r){return(o,s)=>{let a=e,l=t,c=0;o.subscribe(re(s,d=>{let h=c++;l=a?n(l,d,h):(a=!0,d),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}var cD=f(()=>{"use strict";nt()});function Sn(n,t){return Q(t)?Ke(n,t,1):Ke(n,1)}var dD=f(()=>{"use strict";sa();ut()});function Vi(n,t=Hl){return oe((e,i)=>{let r=null,o=null,s=null,a=()=>{if(r){r.unsubscribe(),r=null;let c=o;o=null,i.next(c)}};function l(){let c=s+n,d=t.now();if(d<c){r=this.schedule(void 0,c-d),i.add(r);return}a()}e.subscribe(re(i,c=>{o=c,s=t.now(),r||(r=t.schedule(l,n),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}var iy=f(()=>{"use strict";Wu();Qe();nt()});function Mr(n){return oe((t,e)=>{let i=!1;t.subscribe(re(e,r=>{i=!0,e.next(r)},()=>{i||e.next(n),e.complete()}))})}var pf=f(()=>{"use strict";Qe();nt()});function He(n){return n<=0?()=>Vt:oe((t,e)=>{let i=0;t.subscribe(re(e,r=>{++i<=n&&(e.next(r),n<=i&&e.complete())}))})}var ry=f(()=>{"use strict";zl();Qe();nt()});function ql(n,t=zt){return n=n??L1,oe((e,i)=>{let r,o=!0;e.subscribe(re(i,s=>{let a=t(s);(o||!n(r,a))&&(o=!1,r=a,i.next(s))}))})}function L1(n,t){return n===t}var uD=f(()=>{"use strict";Ir();Qe();nt()});function mf(n=P1){return oe((t,e)=>{let i=!1;t.subscribe(re(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(n())))})}function P1(){return new ji}var oy=f(()=>{"use strict";$l();Qe();nt()});function ln(n){return oe((t,e)=>{try{t.subscribe(e)}finally{e.add(n)}})}var sy=f(()=>{"use strict";Qe()});function Bi(n,t){let e=arguments.length>=2;return i=>i.pipe(n?ue((r,o)=>n(r,o,i)):zt,He(1),e?Mr(t):mf(()=>new ji))}var fD=f(()=>{"use strict";$l();Wl();ry();pf();oy();Ir()});function la(n){return n<=0?()=>Vt:oe((t,e)=>{let i=[];t.subscribe(re(e,r=>{i.push(r),n<i.length&&i.shift()},()=>{for(let r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}var ay=f(()=>{"use strict";zl();Qe();nt()});function ly(n,t){let e=arguments.length>=2;return i=>i.pipe(n?ue((r,o)=>n(r,o,i)):zt,la(1),e?Mr(t):mf(()=>new ji))}var hD=f(()=>{"use strict";$l();Wl();ay();oy();pf();Ir()});function gf(){return oe((n,t)=>{let e,i=!1;n.subscribe(re(t,r=>{let o=e;e=r,i&&t.next([o,r]),i=!0}))})}var pD=f(()=>{"use strict";Qe();nt()});function cy(n,t){return oe(lD(n,t,arguments.length>=2,!0))}var mD=f(()=>{"use strict";Qe();cD()});function Kl(n={}){let{connector:t=()=>new M,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=n;return o=>{let s,a,l,c=0,d=!1,h=!1,m=()=>{a?.unsubscribe(),a=void 0},p=()=>{m(),s=l=void 0,d=h=!1},g=()=>{let y=s;p(),y?.unsubscribe()};return oe((y,E)=>{c++,!h&&!d&&m();let D=l=l??t();E.add(()=>{c--,c===0&&!h&&!d&&(a=dy(g,r))}),D.subscribe(E),!s&&c>0&&(s=new Pi({next:k=>D.next(k),error:k=>{h=!0,m(),a=dy(p,e,k),D.error(k)},complete:()=>{d=!0,m(),a=dy(p,i),D.complete()}}),Ne(y).subscribe(s))})(o)}}function dy(n,t,...e){if(t===!0){n();return}if(t===!1)return;let i=new Pi({next:()=>{i.unsubscribe(),n()}});return Ne(t(...e)).subscribe(i)}var uy=f(()=>{"use strict";$t();Vl();Bu();Qe()});function jo(n,t,e){let i,r=!1;return n&&typeof n=="object"?{bufferSize:i=1/0,windowTime:t=1/0,refCount:r=!1,scheduler:e}=n:i=n??1/0,Kl({connector:()=>new No(i,t,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}var gD=f(()=>{"use strict";Bg();uy()});function Yl(n){return ue((t,e)=>n<=e)}var yD=f(()=>{"use strict";Wl()});function Gt(...n){let t=di(n);return oe((e,i)=>{(t?Bn(n,e,t):Bn(n,e)).subscribe(i)})}var vD=f(()=>{"use strict";ty();Fo();Qe()});function ze(n,t){return oe((e,i)=>{let r=null,o=0,s=!1,a=()=>s&&!r&&i.complete();e.subscribe(re(i,l=>{r?.unsubscribe();let c=0,d=o++;Ne(n(l,d)).subscribe(r=re(i,h=>i.next(t?t(l,h,d,c++):h),()=>{r=null,a()}))},()=>{s=!0,a()}))})}var _D=f(()=>{"use strict";$t();Qe();nt()});function Ee(n){return oe((t,e)=>{Ne(n).subscribe(re(e,()=>e.complete(),jl)),!e.closed&&t.subscribe(e)})}var fy=f(()=>{"use strict";Qe();nt();$t();Ag()});function hy(n,t=!1){return oe((e,i)=>{let r=0;e.subscribe(re(i,o=>{let s=n(o,r++);(s||t)&&i.next(o),!s&&i.complete()}))})}var bD=f(()=>{"use strict";Qe();nt()});function Fe(n,t,e){let i=Q(n)||t||e?{next:n,error:t,complete:e}:n;return i?oe((r,o)=>{var s;(s=i.subscribe)===null||s===void 0||s.call(i);let a=!0;r.subscribe(re(o,l=>{var c;(c=i.next)===null||c===void 0||c.call(i,l),o.next(l)},()=>{var l;a=!1,(l=i.complete)===null||l===void 0||l.call(i),o.complete()},l=>{var c;a=!1,(c=i.error)===null||c===void 0||c.call(i,l),o.error(l)},()=>{var l,c;a&&((l=i.unsubscribe)===null||l===void 0||l.call(i)),(c=i.finalize)===null||c===void 0||c.call(i)}))}):zt}var py=f(()=>{"use strict";ut();Qe();nt();Ir()});var we=f(()=>{"use strict";jt();f0();Vl();m0();Bg();Mo();kg();H0();$l();W0();ty();Z0();X0();ra();eD();iD();B0();U0();zl();rD();ny();iy();sy();Gl();sa();fy();py()});function xD(n){let t=ie(null);try{return n()}finally{ie(t)}}var CD=f(()=>{"use strict";Ao();});var my=f(()=>{"use strict";Ao();});var ED=f(()=>{"use strict";yg();});function j1(n){return`NG0${Math.abs(n)}`}function ui(n,t){return`${j1(n)}${t?": "+t:""}`}function Me(n){for(let t in n)if(n[t]===Me)return t;throw Error("")}function SD(n,t){for(let e in t)t.hasOwnProperty(e)&&!n.hasOwnProperty(e)&&(n[e]=t[e])}function Hi(n){if(typeof n=="string")return n;if(Array.isArray(n))return`[${n.map(Hi).join(", ")}]`;if(n==null)return""+n;let t=n.overriddenName||n.name;if(t)return`${t}`;let e=n.toString();if(e==null)return""+e;let i=e.indexOf(`
|
|
4
|
+
`);return i>=0?e.slice(0,i):e}function Cf(n,t){return n?t?`${n} ${t}`:n:t||""}function Un(n){return n.__forward_ref__=Un,n.toString=function(){return Hi(this())},n}function yt(n){return Iy(n)?n():n}function Iy(n){return typeof n=="function"&&n.hasOwnProperty(V1)&&n.__forward_ref__===Un}function ID(n,t){n==null&&Ay(t,n,null,"!=")}function Ay(n,t,e,i){throw new Error(`ASSERTION ERROR: ${n}`+(i==null?"":` [Expected=> ${e} ${i} ${t} <=Actual]`))}function v(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function F(n){return{providers:n.providers||[],imports:n.imports||[]}}function tc(n){return B1(n,Ef)}function Ty(n){return tc(n)!==null}function B1(n,t){return n.hasOwnProperty(t)&&n[t]||null}function U1(n){let t=n?.[Ef]??null;return t||null}function yy(n){return n&&n.hasOwnProperty(vf)?n[vf]:null}function My(n){return n&&!!n.\u0275providers}function Fr(n){return typeof n=="string"?n:n==null?"":String(n)}function _f(n){return typeof n=="function"?n.name||n.toString():typeof n=="object"&&n!=null&&typeof n.type=="function"?n.type.name||n.type.toString():Fr(n)}function Ly(n,t){return TD("",-200,t)}function wf(n,t){throw new w(-201,!1)}function H1(n,t){n[Zl]??=[];let e=n[Zl],i;typeof t=="object"&&"multi"in t&&t?.multi===!0?(ID(t.provide,"Token with multi: true should have a provide property"),i=_f(t.provide)):i=_f(t),e[0]!==i&&n[Zl].unshift(i)}function z1(n,t){let e=n[Zl],i=n[ky],r=n[AD]||n.message;return n.message=G1(r,i,e,t),n}function TD(n,t,e){let i=new w(t,n);return i[ky]=t,i[AD]=n,e&&(i[Zl]=e),i}function $1(n){return n[ky]}function G1(n,t,e=[],i=null){let r="";e&&e.length>1&&(r=` Path: ${e.join(" -> ")}.`);let o=i?` Source: ${i}.`:"";return ui(t,`${n}${o}${r}`)}function MD(){return vy}function Wt(n){let t=vy;return vy=n,t}function Py(n,t,e){let i=tc(n);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(e&8)return null;if(t!==void 0)return t;wf(n,"Injector")}function q1(n,t=0){let e=wu();if(e===void 0)throw new w(-203,!1);if(e===null)return Py(n,void 0,t);{let i=K1(t),r=e.retrieve(n,i);if(Ws(r)){if(i.optional)return null;throw r}return r}}function S(n,t=0){return(MD()||q1)(yt(n),t)}function u(n,t){return S(n,Bo(t))}function Bo(n){return typeof n>"u"||typeof n=="number"?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function K1(n){return{optional:!!(n&8),host:!!(n&1),self:!!(n&2),skipSelf:!!(n&4)}}function xy(n){let t=[];for(let e=0;e<n.length;e++){let i=yt(n[e]);if(Array.isArray(i)){if(i.length===0)throw new w(900,!1);let r,o=0;for(let s=0;s<i.length;s++){let a=i[s],l=Y1(a);typeof l=="number"?l===-1?r=a.token:o|=l:r=a}t.push(S(r,o))}else t.push(S(i))}return t}function jy(n,t){return n[_y]=t,n.prototype[_y]=t,n}function Y1(n){return n[_y]}function Rr(n,t){let e=n.hasOwnProperty(Xl);return e?n[Xl]:null}function RD(n,t,e){if(n.length!==t.length)return!1;for(let i=0;i<n.length;i++){let r=n[i],o=t[i];if(e&&(r=e(r),o=e(o)),o!==r)return!1}return!0}function OD(n){return n.flat(Number.POSITIVE_INFINITY)}function Df(n,t){n.forEach(e=>Array.isArray(e)?Df(e,t):t(e))}function Vy(n,t,e){t>=n.length?n.push(e):n.splice(t,0,e)}function nc(n,t){return t>=n.length-1?n.pop():n.splice(t,1)[0]}function ND(n,t){let e=[];for(let i=0;i<n;i++)e.push(t);return e}function FD(n,t,e,i){let r=n.length;if(r==t)n.push(e,i);else if(r===1)n.push(i,n[0]),n[0]=e;else{for(r--,n.push(n[r-1],n[r]);r>t;){let o=r-2;n[r]=n[o],r--}n[t]=e,n[t+1]=i}}function Sf(n,t,e){let i=da(n,t);return i>=0?n[i|1]=e:(i=~i,FD(n,i,t,e)),i}function If(n,t){let e=da(n,t);if(e>=0)return n[e|1]}function da(n,t){return Q1(n,t,1)}function Q1(n,t,e){let i=0,r=n.length>>e;for(;r!==i;){let o=i+(r-i>>1),s=n[o<<e];if(t===s)return o<<e;s>t?r=o:i=o+1}return~(r<<e)}function Hy(n){return n[Fy]||null}function fi(n){return n[Ry]||null}function Af(n){return n[Oy]||null}function kD(n){return n[Ny]||null}function $o(n){return{\u0275providers:n}}function Tf(...n){return{\u0275providers:zy(!0,n),\u0275fromNgModule:!0}}function zy(n,...t){let e=[],i=new Set,r,o=s=>{e.push(s)};return Df(t,s=>{let a=s;bf(a,o,[],i)&&(r||=[],r.push(a))}),r!==void 0&&LD(r,o),e}function LD(n,t){for(let e=0;e<n.length;e++){let{ngModule:i,providers:r}=n[e];$y(r,o=>{t(o,i)})}}function bf(n,t,e,i){if(n=yt(n),!n)return!1;let r=null,o=yy(n),s=!o&&fi(n);if(!o&&!s){let l=n.ngModule;if(o=yy(l),o)r=l;else return!1}else{if(s&&!s.standalone)return!1;r=n}let a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)bf(c,t,e,i)}}else if(o){if(o.imports!=null&&!a){i.add(r);let c;try{Df(o.imports,d=>{bf(d,t,e,i)&&(c||=[],c.push(d))})}finally{}c!==void 0&&LD(c,t)}if(!a){let c=Rr(r)||(()=>new r);t({provide:r,useFactory:c,deps:Bt},r),t({provide:Uy,useValue:r,multi:!0},r),t({provide:zi,useValue:()=>S(r),multi:!0},r)}let l=o.providers;if(l!=null&&!a){let c=n;$y(l,d=>{t(d,c)})}}else return!1;return r!==n&&n.providers!==void 0}function $y(n,t){for(let e of n)My(e)&&(e=e.\u0275providers),Array.isArray(e)?$y(e,t):t(e)}function PD(n){return n!==null&&typeof n=="object"&&Z1 in n}function X1(n){return!!(n&&n.useExisting)}function J1(n){return!!(n&&n.useFactory)}function Uo(n){return typeof n=="function"}function jD(n){return!!n.useClass}function ua(){return gy===void 0&&(gy=new Jl),gy}function Cy(n){let t=tc(n),e=t!==null?t.factory:Rr(n);if(e!==null)return e;if(n instanceof x)throw new w(204,!1);if(n instanceof Function)return ej(n);throw new w(204,!1)}function ej(n){if(n.length>0)throw new w(204,!1);let e=U1(n);return e!==null?()=>e.factory(n):()=>new n}function tj(n){if(PD(n))return ca(void 0,n.useValue);{let t=Gy(n);return ca(t,yf)}}function Gy(n,t,e){let i;if(Uo(n)){let r=yt(n);return Rr(r)||Cy(r)}else if(PD(n))i=()=>yt(n.useValue);else if(J1(n))i=()=>n.useFactory(...xy(n.deps||[]));else if(X1(n))i=(r,o)=>S(yt(n.useExisting),o!==void 0&&o&8?8:void 0);else{let r=yt(n&&(n.useClass||n.provide));if(nj(n))i=()=>new r(...xy(n.deps));else return Rr(r)||Cy(r)}return i}function Ql(n){if(n.destroyed)throw new w(205,!1)}function ca(n,t,e=!1){return{factory:n,value:t,multi:e?[]:void 0}}function nj(n){return!!n.deps}function ij(n){return n!==null&&typeof n=="object"&&typeof n.ngOnDestroy=="function"}function rj(n){return typeof n=="function"||typeof n=="object"&&n.ngMetadataName==="InjectionToken"}function Ey(n,t){for(let e of n)Array.isArray(e)?Ey(e,t):e&&My(e)?Ey(e.\u0275providers,t):t(e)}function xt(n,t){let e;n instanceof Ho?(Ql(n),e=n):e=new by(n);let i,r=ci(e),o=Wt(void 0);try{return t()}finally{ci(r),Wt(o)}}function VD(){return MD()!==void 0||wu()!=null}function mi(n){return Array.isArray(n)&&typeof n[BD]=="object"}function $n(n){return Array.isArray(n)&&n[BD]===!0}function Yy(n){return(n.flags&4)!==0}function Pr(n){return n.componentOffset>-1}function pa(n){return(n.flags&1)===1}function Gn(n){return!!n.template}function ma(n){return(n[ee]&512)!==0}function Zo(n){return(n[ee]&256)===256}function An(n){for(;Array.isArray(n);)n=n[zn];return n}function Zy(n,t){return An(t[n])}function Wn(n,t){return An(t[n.index])}function sc(n,t){return n.data[t]}function Rf(n,t){return n[t]}function Xy(n,t,e,i){e>=n.data.length&&(n.data[e]=null,n.blueprint[e]=null),t[e]=i}function Tn(n,t){let e=t[n];return mi(e)?e:e[zn]}function HD(n){return(n[ee]&4)===4}function Of(n){return(n[ee]&128)===128}function zD(n){return $n(n[vt])}function Mn(n,t){return t==null?null:n[t]}function Jy(n){n[Ko]=0}function Nf(n){n[ee]&1024||(n[ee]|=1024,Of(n)&&jr(n))}function $D(n,t){for(;n>0;)t=t[qo],n--;return t}function ga(n){return!!(n[ee]&9216||n[_n]?.dirty)}function Ff(n){n[hi].changeDetectionScheduler?.notify(8),n[ee]&64&&(n[ee]|=1024),ga(n)&&jr(n)}function jr(n){n[hi].changeDetectionScheduler?.notify(0);let t=Or(n);for(;t!==null&&!(t[ee]&8192||(t[ee]|=8192,!Of(t)));)t=Or(t)}function ev(n,t){if(Zo(n))throw new w(911,!1);n[Ui]===null&&(n[Ui]=[]),n[Ui].push(t)}function GD(n,t){if(n[Ui]===null)return;let e=n[Ui].indexOf(t);e!==-1&&n[Ui].splice(e,1)}function Or(n){let t=n[vt];return $n(t)?t[vt]:t}function tv(n){return n[fa]??=[]}function nv(n){return n.cleanup??=[]}function WD(n,t,e,i){let r=tv(t);r.push(e),n.firstCreatePass&&nv(n).push(i,r.length-1)}function qD(){return le.lFrame.elementDepthCount}function KD(){le.lFrame.elementDepthCount++}function iv(){le.lFrame.elementDepthCount--}function kf(){return le.bindingsEnabled}function rv(){return le.skipHydrationRootTNode!==null}function ov(n){return le.skipHydrationRootTNode===n}function sv(){le.skipHydrationRootTNode=null}function Y(){return le.lFrame.lView}function Xe(){return le.lFrame.tView}function ve(n){return le.lFrame.contextLView=n,n[lt]}function _e(n){return le.lFrame.contextLView=null,n}function _t(){let n=av();for(;n!==null&&n.type===64;)n=n.parent;return n}function av(){return le.lFrame.currentTNode}function YD(){let n=le.lFrame,t=n.currentTNode;return n.isParent?t:t.parent}function ya(n,t){let e=le.lFrame;e.currentTNode=n,e.isParent=t}function lv(){return le.lFrame.isParent}function cv(){le.lFrame.isParent=!1}function QD(){return le.lFrame.contextLView}function dv(n){Ay("Must never be called in production mode"),oj=n}function uv(){return wy}function va(n){let t=wy;return wy=n,t}function Xo(){let n=le.lFrame,t=n.bindingRootIndex;return t===-1&&(t=n.bindingRootIndex=n.tView.bindingStartIndex),t}function ZD(){return le.lFrame.bindingIndex}function XD(n){return le.lFrame.bindingIndex=n}function Vr(){return le.lFrame.bindingIndex++}function Lf(n){let t=le.lFrame,e=t.bindingIndex;return t.bindingIndex=t.bindingIndex+n,e}function JD(){return le.lFrame.inI18n}function eS(n,t){let e=le.lFrame;e.bindingIndex=e.bindingRootIndex=n,Pf(t)}function tS(){return le.lFrame.currentDirectiveIndex}function Pf(n){le.lFrame.currentDirectiveIndex=n}function nS(n){let t=le.lFrame.currentDirectiveIndex;return t===-1?null:n[t]}function jf(){return le.lFrame.currentQueryIndex}function lc(n){le.lFrame.currentQueryIndex=n}function sj(n){let t=n[K];return t.type===2?t.declTNode:t.type===1?n[qt]:null}function fv(n,t,e){if(e&4){let r=t,o=n;for(;r=r.parent,r===null&&!(e&1);)if(r=sj(o),r===null||(o=o[qo],r.type&10))break;if(r===null)return!1;t=r,n=o}let i=le.lFrame=iS();return i.currentTNode=t,i.lView=n,!0}function Vf(n){let t=iS(),e=n[K];le.lFrame=t,t.currentTNode=e.firstChild,t.lView=n,t.tView=e,t.contextLView=n,t.bindingIndex=e.bindingStartIndex,t.inI18n=!1}function iS(){let n=le.lFrame,t=n===null?null:n.child;return t===null?rS(n):t}function rS(n){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return n!==null&&(n.child=t),t}function oS(){let n=le.lFrame;return le.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}function Bf(){let n=oS();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function sS(n){return(le.lFrame.contextLView=$D(n,le.lFrame.contextLView))[lt]}function gi(){return le.lFrame.selectedIndex}function Br(n){le.lFrame.selectedIndex=n}function cc(){let n=le.lFrame;return sc(n.tView,n.selectedIndex)}function Jo(){le.lFrame.currentNamespace=Qy}function Uf(){aj()}function aj(){le.lFrame.currentNamespace=null}function aS(){return le.lFrame.currentNamespace}function Hf(){return lS}function dc(n){lS=n}function zf(){return lj}function Dy(n,t=null,e=null,i){let r=pv(n,t,e,i);return r.resolveInjectorInitializers(),r}function pv(n,t=null,e=null,i,r=new Set){let o=[e||Bt,Tf(n)];return i=i||(typeof n=="object"?void 0:Hi(n)),new Ho(o,t||ua(),i||null,r)}function cj(){return new ec(Y())}function Ur(n){return typeof n=="function"&&n[gt]!==void 0}function Ae(n,t){let[e,i,r]=Eg(n,t?.equal),o=e,s=o[gt];return o.set=i,o.update=r,o.asReadonly=mv.bind(o),o}function mv(){let n=this[gt];if(n.readonlyFn===void 0){let t=()=>this();t[gt]=n,n.readonlyFn=t}return n.readonlyFn}function gv(n){return Ur(n)&&typeof n.set=="function"}function dj(){return new es(Y(),_t())}function ts(...n){}var xf,w,Nr,V1,Ef,vf,x,Ry,Oy,Ny,Fy,Xl,zo,wD,ky,AD,Zl,vy,W1,Vo,_y,by,Hn,Bt,zi,By,Uy,Jl,Z1,ic,yf,DD,gy,$e,Ho,zn,K,ee,vt,In,qt,Go,fa,lt,Wo,hi,Ge,ha,Wy,qo,Kt,kr,Ko,pi,rc,qy,Ui,Mf,$i,_n,Yo,Ze,BD,Ky,Lr,oc,Qo,Ct,Qy,UD,le,ac,oj,wy,hv,lS,lj,G,U,bn,ec,Mt,dn,cS,cn,uc,yv,vv,es,yi,fc,hc,Sy,pc=f(()=>{"use strict";yg();Ao();we();my();ED();xf="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",w=class extends Error{code;constructor(t,e){super(ui(t,e)),this.code=t}};Nr=globalThis;V1=Me({__forward_ref__:Me});Ef=Me({\u0275prov:Me}),vf=Me({\u0275inj:Me}),x=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,e){this._desc=t,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=v({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};Ry=Me({\u0275cmp:Me}),Oy=Me({\u0275dir:Me}),Ny=Me({\u0275pipe:Me}),Fy=Me({\u0275mod:Me}),Xl=Me({\u0275fac:Me}),zo=Me({__NG_ELEMENT_ID__:Me}),wD=Me({__NG_ENV_ID__:Me});ky=Me({ngErrorCode:Me}),AD=Me({ngErrorMessage:Me}),Zl=Me({ngTokenPath:Me});W1={},Vo=W1,_y="__NG_DI_FLAG__",by=class{injector;constructor(t){this.injector=t}retrieve(t,e){let i=Bo(e)||0;try{return this.injector.get(t,i&8?null:Vo,i)}catch(r){if(Ws(r))return r;throw r}}};Hn={},Bt=[],zi=new x(""),By=new x("",-1),Uy=new x(""),Jl=class{get(t,e=Vo){if(e===Vo){let r=TD("",-201);throw r.name="\u0275NotFound",r}return e}};Z1=Me({provide:String,useValue:Me});ic=new x(""),yf={},DD={};$e=class{},Ho=class extends $e{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,Ey(t,s=>this.processProvider(s)),this.records.set(By,ca(void 0,this)),r.has("environment")&&this.records.set($e,ca(void 0,this));let o=this.records.get(ic);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Uy,Bt,{self:!0}))}retrieve(t,e){let i=Bo(e)||0;try{return this.get(t,Vo,i)}catch(r){if(Ws(r))return r;throw r}}destroy(){Ql(this),this._destroyed=!0;let t=ie(null);try{for(let i of this._ngOnDestroyHooks)i.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),ie(t)}}onDestroy(t){return Ql(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Ql(this);let e=ci(this),i=Wt(void 0),r;try{return t()}finally{ci(e),Wt(i)}}get(t,e=Vo,i){if(Ql(this),t.hasOwnProperty(wD))return t[wD](this);let r=Bo(i),o,s=ci(this),a=Wt(void 0);try{if(!(r&4)){let c=this.records.get(t);if(c===void 0){let d=rj(t)&&tc(t);d&&this.injectableDefInScope(d)?c=ca(Cy(t),yf):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c,r)}let l=r&2?ua():this.parent;return e=r&8&&e===Vo?null:e,l.get(t,e)}catch(l){let c=$1(l);throw c===-200||c===-201?new w(c,null):l}finally{Wt(a),ci(s)}}resolveInjectorInitializers(){let t=ie(null),e=ci(this),i=Wt(void 0),r;try{let o=this.get(zi,Bt,{self:!0});for(let s of o)s()}finally{ci(e),Wt(i),ie(t)}}toString(){let t=[],e=this.records;for(let i of e.keys())t.push(Hi(i));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=yt(t);let e=Uo(t)?t:yt(t&&t.provide),i=tj(t);if(!Uo(t)&&t.multi===!0){let r=this.records.get(e);r||(r=ca(void 0,yf,!0),r.factory=()=>xy(r.multi),this.records.set(e,r)),e=t,r.multi.push(t)}this.records.set(e,i)}hydrate(t,e,i){let r=ie(null);try{if(e.value===DD)throw Ly(Hi(t));return e.value===yf&&(e.value=DD,e.value=e.factory(void 0,i)),typeof e.value=="object"&&e.value&&ij(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{ie(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let e=yt(t.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(t){let e=this._onDestroyHooks.indexOf(t);e!==-1&&this._onDestroyHooks.splice(e,1)}};zn=0,K=1,ee=2,vt=3,In=4,qt=5,Go=6,fa=7,lt=8,Wo=9,hi=10,Ge=11,ha=12,Wy=13,qo=14,Kt=15,kr=16,Ko=17,pi=18,rc=19,qy=20,Ui=21,Mf=22,$i=23,_n=24,Yo=25,Ze=26,BD=1,Ky=6,Lr=7,oc=8,Qo=9,Ct=10;Qy="svg",UD="math";le={lFrame:rS(null),bindingsEnabled:!0,skipHydrationRootTNode:null},ac=(function(n){return n[n.Off=0]="Off",n[n.Exhaustive=1]="Exhaustive",n[n.OnlyDirtyViews=2]="OnlyDirtyViews",n})(ac||{}),oj=0,wy=!1;hv=oS;lS=!0;lj={elements:void 0};G=class n{static THROW_IF_NOT_FOUND=Vo;static NULL=new Jl;static create(t,e){if(Array.isArray(t))return Dy({name:""},e,t,"");{let i=t.name??"";return Dy({name:i},t.parent,t.providers,i)}}static \u0275prov=v({token:n,providedIn:"any",factory:()=>S(By)});static __NG_ELEMENT_ID__=-1},U=new x(""),bn=(()=>{class n{static __NG_ELEMENT_ID__=cj;static __NG_ENV_ID__=e=>e}return n})(),ec=class extends bn{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Zo(this._lView)}onDestroy(t){let e=this._lView;return ev(e,t),()=>GD(e,t)}};Mt=class{_console=console;handleError(t){this._console.error("ERROR",t)}},dn=new x("",{providedIn:"root",factory:()=>{let n=u($e),t;return e=>{n.destroyed&&!t?setTimeout(()=>{throw e}):(t??=n.get(Mt),t.handleError(e))}}}),cS={provide:zi,useValue:()=>void u(Mt),multi:!0};cn=class{},uc=new x("",{providedIn:"root",factory:()=>!1}),yv=new x(""),vv=new x(""),es=(()=>{class n{view;node;constructor(e,i){this.view=e,this.node=i}static __NG_ELEMENT_ID__=dj}return n})();yi=(()=>{class n{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new at(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new Z(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),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(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=v({token:n,providedIn:"root",factory:()=>new n})}return n})(),fc=(()=>{class n{internalPendingTasks=u(yi);scheduler=u(cn);errorHandler=u(dn);add(){let e=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(e)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(e))}}run(e){let i=this.add();e().catch(this.errorHandler).finally(i)}static \u0275prov=v({token:n,providedIn:"root",factory:()=>new n})}return n})();hc=(()=>{class n{static \u0275prov=v({token:n,providedIn:"root",factory:()=>new Sy})}return n})(),Sy=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let e=t.zone,i=this.queues.get(e);i.has(t)&&(i.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let e=t.zone;this.queues.has(e)||this.queues.set(e,new Set);let i=this.queues.get(e);i.has(t)||i.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[e,i]of this.queues)e===null?t||=this.flushQueue(i):t||=e.run(()=>this.flushQueue(i));t||(this.dirtyEffectCount=0)}}flushQueue(t){let e=!1;for(let i of t)i.dirty&&(this.dirtyEffectCount--,e=!0,i.run());return e}}});var it=f(()=>{"use strict";aD();ny();dD();iy();pf();uD();Wl();sy();fD();hD();Gl();ff();sa();pD();jg();mD();uy();gD();yD();vD();_D();ry();ay();fy();bD();py()});function Da(n){return{toString:n}.toString()}function gj(n){return function(...e){if(n){let i=n(...e);for(let r in i)this[r]=i[r]}}}function GS(n,t,e){return Da(()=>{let i=gj(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;let s=new r(...o);return a.annotation=s,a;function a(l,c,d){let h=l.hasOwnProperty($f)?l[$f]:Object.defineProperty(l,$f,{value:[]})[$f];for(;h.length<=d;)h.push(null);return(h[d]=h[d]||[]).push(s),l}}return r.prototype.ngMetadataName=n,r.annotationCls=r,r})}function yj(n){return typeof n=="function"}function WS(n,t,e,i){t!==null?t.applyValueToInputSignal(t,i):n[e]=i}function qS(n){return n.type.prototype.ngOnChanges&&(n.setInput=_j),vj}function vj(){let n=YS(this),t=n?.current;if(t){let e=n.previous;if(e===Hn)n.previous=t;else for(let i in t)e[i]=t[i];n.current=null,this.ngOnChanges(t)}}function _j(n,t,e,i,r){let o=this.declaredInputs[i],s=YS(n)||bj(n,{previous:Hn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new Jf(c&&c.currentValue,e,l===Hn),WS(n,t,r,e)}function YS(n){return n[KS]||null}function bj(n,t){return n[KS]=t}function xj(n,t,e){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){let s=qS(t);(e.preOrderHooks??=[]).push(n,s),(e.preOrderCheckHooks??=[]).push(n,s)}r&&(e.preOrderHooks??=[]).push(0-n,r),o&&((e.preOrderHooks??=[]).push(n,o),(e.preOrderCheckHooks??=[]).push(n,o))}function QS(n,t){for(let e=t.directiveStart,i=t.directiveEnd;e<i;e++){let o=n.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=o;s&&(n.contentHooks??=[]).push(-e,s),a&&((n.contentHooks??=[]).push(e,a),(n.contentCheckHooks??=[]).push(e,a)),l&&(n.viewHooks??=[]).push(-e,l),c&&((n.viewHooks??=[]).push(e,c),(n.viewCheckHooks??=[]).push(e,c)),d!=null&&(n.destroyHooks??=[]).push(e,d)}}function Yf(n,t,e){ZS(n,t,3,e)}function Qf(n,t,e,i){(n[ee]&3)===e&&ZS(n,t,e,i)}function _v(n,t){let e=n[ee];(e&3)===t&&(e&=16383,e+=1,n[ee]=e)}function ZS(n,t,e,i){let r=i!==void 0?n[Ko]&65535:0,o=i??-1,s=t.length-1,a=0;for(let l=r;l<s;l++)if(typeof t[l+1]=="number"){if(a=t[l],i!=null&&a>=i)break}else t[l]<0&&(n[Ko]+=65536),(a<o||o==-1)&&(Cj(n,e,t,l),n[Ko]=(n[Ko]&4294901760)+l+2),l++}function uS(n,t){ke(4,n,t);let e=ie(null);try{t.call(n)}finally{ie(e),ke(5,n,t)}}function Cj(n,t,e,i){let r=e[i]<0,o=e[i+1],s=r?-e[i]:e[i],a=n[s];r?n[ee]>>14<n[Ko]>>16&&(n[ee]&3)===t&&(n[ee]+=16384,uS(a,o)):uS(a,o)}function Ej(n){return(n.flags&8)!==0}function wj(n){return(n.flags&16)!==0}function Dj(n,t,e){let i=0;for(;i<e.length;){let r=e[i];if(typeof r=="number"){if(r!==0)break;i++;let o=e[i++],s=e[i++],a=e[i++];n.setAttribute(t,s,a,o)}else{let o=r,s=e[++i];Sj(o)?n.setProperty(t,o,s):n.setAttribute(t,o,s),i++}}return i}function XS(n){return n===3||n===4||n===6}function Sj(n){return n.charCodeAt(0)===64}function xa(n,t){if(!(t===null||t.length===0))if(n===null||n.length===0)n=t.slice();else{let e=-1;for(let i=0;i<t.length;i++){let r=t[i];typeof r=="number"?e=r:e===0||(e===-1||e===2?fS(n,e,r,null,t[++i]):fS(n,e,r,null,null))}}return n}function fS(n,t,e,i,r){let o=0,s=n.length;if(t===-1)s=-1;else for(;o<n.length;){let a=n[o++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=o-1;break}}}for(;o<n.length;){let a=n[o];if(typeof a=="number")break;if(a===e){r!==null&&(n[o+1]=r);return}o++,r!==null&&o++}s!==-1&&(n.splice(s,0,t),o=s+1),n.splice(o++,0,e),r!==null&&n.splice(o++,0,r)}function JS(n){return n!==ba}function eh(n){return n&32767}function Ij(n){return n>>16}function th(n,t){let e=Ij(n),i=t;for(;e>0;)i=i[qo],e--;return i}function nh(n){let t=Mv;return Mv=n,t}function Mj(n,t,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty(zo)&&(i=e[zo]),i==null&&(i=e[zo]=Tj++);let r=i&eI,o=1<<r;t.data[n+(r>>tI)]|=o}function ih(n,t){let e=nI(n,t);if(e!==-1)return e;let i=t[K];i.firstCreatePass&&(n.injectorIndex=t.length,bv(i.data,n),bv(t,null),bv(i.blueprint,null));let r=g_(n,t),o=n.injectorIndex;if(JS(r)){let s=eh(r),a=th(r,t),l=a[K].data;for(let c=0;c<8;c++)t[o+c]=a[s+c]|l[s+c]}return t[o+8]=r,o}function bv(n,t){n.push(0,0,0,0,0,0,0,0,t)}function nI(n,t){return n.injectorIndex===-1||n.parent&&n.parent.injectorIndex===n.injectorIndex||t[n.injectorIndex+8]===null?-1:n.injectorIndex}function g_(n,t){if(n.parent&&n.parent.injectorIndex!==-1)return n.parent.injectorIndex;let e=0,i=null,r=t;for(;r!==null;){if(i=aI(r),i===null)return ba;if(e++,r=r[qo],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return ba}function Rv(n,t,e){Mj(n,t,e)}function Rj(n,t){if(t==="class")return n.classes;if(t==="style")return n.styles;let e=n.attrs;if(e){let i=e.length,r=0;for(;r<i;){let o=e[r];if(XS(o))break;if(o===0)r=r+2;else if(typeof o=="number")for(r++;r<i&&typeof e[r]=="string";)r++;else{if(o===t)return e[r+1];r=r+2}}}return null}function iI(n,t,e){if(e&8||n!==void 0)return n;wf(t,"NodeInjector")}function rI(n,t,e,i){if(e&8&&i===void 0&&(i=null),(e&3)===0){let r=n[Wo],o=Wt(void 0);try{return r?r.get(t,i,e&8):Py(t,i,e&8)}finally{Wt(o)}}return iI(i,t,e)}function oI(n,t,e,i=0,r){if(n!==null){if(t[ee]&2048&&!(i&2)){let s=kj(n,t,e,i,vi);if(s!==vi)return s}let o=sI(n,t,e,i,vi);if(o!==vi)return o}return rI(t,e,i,r)}function sI(n,t,e,i,r){let o=Nj(e);if(typeof o=="function"){if(!fv(t,n,i))return i&1?iI(r,e,i):rI(t,e,i,r);try{let s;if(s=o(i),s==null&&!(i&8))wf(e);else return s}finally{hv()}}else if(typeof o=="number"){let s=null,a=nI(n,t),l=ba,c=i&1?t[Kt][qt]:null;for((a===-1||i&4)&&(l=a===-1?g_(n,t):t[a+8],l===ba||!pS(i,!1)?a=-1:(s=t[K],a=eh(l),t=th(l,t)));a!==-1;){let d=t[K];if(hS(o,a,d.data)){let h=Oj(a,t,e,s,i,c);if(h!==vi)return h}l=t[a+8],l!==ba&&pS(i,t[K].data[a+8]===c)&&hS(o,a,t)?(s=d,a=eh(l),t=th(l,t)):a=-1}}return r}function Oj(n,t,e,i,r,o){let s=t[K],a=s.data[n+8],l=i==null?Pr(a)&&Mv:i!=s&&(a.type&3)!==0,c=r&1&&o===a,d=Zf(a,s,e,l,c);return d!==null?yc(t,s,d,a,r):vi}function Zf(n,t,e,i,r){let o=n.providerIndexes,s=t.data,a=o&1048575,l=n.directiveStart,c=n.directiveEnd,d=o>>20,h=i?a:a+d,m=r?a+d:c;for(let p=h;p<m;p++){let g=s[p];if(p<l&&e===g||p>=l&&g.type===e)return p}if(r){let p=s[l];if(p&&Gn(p)&&p.type===e)return l}return null}function yc(n,t,e,i,r){let o=n[e],s=t.data;if(o instanceof is){let a=o;if(a.resolving){let p=_f(s[e]);throw Ly(p)}let l=nh(a.canSeeViewProviders);a.resolving=!0;let c=s[e].type||s[e],d,h=a.injectImpl?Wt(a.injectImpl):null,m=fv(n,i,0);try{o=n[e]=a.factory(void 0,r,s,n,i),t.firstCreatePass&&e>=i.directiveStart&&xj(e,s[e],t)}finally{h!==null&&Wt(h),nh(l),a.resolving=!1,hv()}}return o}function Nj(n){if(typeof n=="string")return n.charCodeAt(0)||0;let t=n.hasOwnProperty(zo)?n[zo]:void 0;return typeof t=="number"?t>=0?t&eI:Fj:t}function hS(n,t,e){let i=1<<n;return!!(e[t+(n>>tI)]&i)}function pS(n,t){return!(n&2)&&!(n&1&&t)}function Fj(){return new ns(_t(),Y())}function Ve(n){return Da(()=>{let t=n.prototype.constructor,e=t[Xl]||Ov(t),i=Object.prototype,r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){let o=r[Xl]||Ov(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Ov(n){return Iy(n)?()=>{let t=Ov(yt(n));return t&&t()}:Rr(n)}function kj(n,t,e,i,r){let o=n,s=t;for(;o!==null&&s!==null&&s[ee]&2048&&!ma(s);){let a=sI(o,s,e,i|2,vi);if(a!==vi)return a;let l=o.parent;if(!l){let c=s[qy];if(c){let d=c.get(e,vi,i);if(d!==vi)return d}l=aI(s),s=s[qo]}o=l}return r}function aI(n){let t=n[K],e=t.type;return e===2?t.declTNode:e===1?n[qt]:null}function Dc(n){return Rj(_t(),n)}function Lj(){return Sa(_t(),Y())}function Sa(n,t){return new H(Wn(n,t))}function lI(n){return n instanceof H?n.nativeElement:n}function Pj(){return this._results[Symbol.iterator]()}function cI(n){return(n.flags&128)===128}function Vj(){return jj++}function Bj(n){dI.set(n[rc],n)}function Nv(n){dI.delete(n[rc])}function Ca(n,t){mi(t)?(n[mS]=t[rc],Bj(t)):n[mS]=t}function uI(n){return hI(n[ha])}function fI(n){return hI(n[In])}function hI(n){for(;n!==null&&!$n(n);)n=n[In];return n}function v_(n){Fv=n}function __(){if(Fv!==void 0)return Fv;if(typeof document<"u")return document;throw new w(210,!1)}function Gj(n,t,e,i){$j(n,t,e,i)}function bh(n){return(n.flags&32)===32}function vI(n,t,e=!1){return Wj(n,t,e)}function _I(n,t){let e=n.contentQueries;if(e!==null){let i=ie(null);try{for(let r=0;r<e.length;r+=2){let o=e[r],s=e[r+1];if(s!==-1){let a=n.data[s];lc(o),a.contentQueries(2,t[s],s)}}}finally{ie(i)}}}function kv(n,t,e){lc(0);let i=ie(null);try{t(n,e)}finally{ie(i)}}function b_(n,t,e){if(Yy(t)){let i=ie(null);try{let r=t.directiveStart,o=t.directiveEnd;for(let s=r;s<o;s++){let a=n.data[s];if(a.contentQueries){let l=e[s];a.contentQueries(1,l,s)}}}finally{ie(i)}}}function qj(){if(Gf===void 0&&(Gf=null,Nr.trustedTypes))try{Gf=Nr.trustedTypes.createPolicy("angular",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Gf}function xh(n){return qj()?.createHTML(n)||n}function bI(){if(Wf===void 0&&(Wf=null,Nr.trustedTypes))try{Wf=Nr.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Wf}function gS(n){return bI()?.createHTML(n)||n}function yS(n){return bI()?.createScriptURL(n)||n}function Cn(n){return n instanceof Wi?n.changingThisBreaksApplicationSecurity:n}function xi(n,t){let e=xI(n);if(e!=null&&e!==t){if(e==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${e} (see ${xf})`)}return e===t}function xI(n){return n instanceof Wi&&n.getTypeName()||null}function x_(n){return new Lv(n)}function C_(n){return new Pv(n)}function E_(n){return new jv(n)}function w_(n){return new Vv(n)}function D_(n){return new Bv(n)}function Kj(n){let t=new Hv(n);return Yj()?new Uv(t):t}function Yj(){try{return!!new window.DOMParser().parseFromString(xh(""),"text/html")}catch{return!1}}function Sc(n){return n=String(n),n.match(Qj)?n:"unsafe:"+n}function qi(n){let t={};for(let e of n.split(","))t[e]=!0;return t}function Ic(...n){let t={};for(let e of n)for(let i in e)e.hasOwnProperty(i)&&(t[i]=!0);return t}function rV(n,t){return(n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function oV(n){let t=n.nextSibling;if(t&&n!==t.previousSibling)throw SI(t);return t}function sV(n){let t=n.firstChild;if(t&&rV(n,t))throw SI(t);return t}function _S(n){let t=n.nodeName;return typeof t=="string"?t:"FORM"}function SI(n){return new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`)}function bS(n){return n.replace(/&/g,"&").replace(aV,function(t){let e=t.charCodeAt(0),i=t.charCodeAt(1);return"&#"+((e-55296)*1024+(i-56320)+65536)+";"}).replace(lV,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function Ch(n,t){let e=null;try{qf=qf||Kj(n);let i=t?String(t):"";e=qf.getInertBodyElement(i);let r=5,o=i;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=qf.getInertBodyElement(i)}while(i!==o);let a=new zv().sanitizeChildren(xS(e)||e);return xh(a)}finally{if(e){let i=xS(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function xS(n){return"content"in n&&cV(n)?n.content:null}function cV(n){return n.nodeType===Node.ELEMENT_NODE&&n.nodeName==="TEMPLATE"}function Ci(n){let t=I_();return t?gS(t.sanitize(Et.HTML,n)||""):xi(n,"HTML")?gS(Cn(n)):Ch(__(),Fr(n))}function Eh(n){let t=I_();return t?t.sanitize(Et.URL,n)||"":xi(n,"URL")?Cn(n):Sc(Fr(n))}function II(n){let t=I_();if(t)return yS(t.sanitize(Et.RESOURCE_URL,n)||"");if(xi(n,"ResourceURL"))return yS(Cn(n));throw new w(904,!1)}function dV(n,t){return t==="src"&&(n==="embed"||n==="frame"||n==="iframe"||n==="media"||n==="script")||t==="href"&&(n==="base"||n==="link")?II:Eh}function S_(n,t,e){return dV(t,e)(n)}function I_(){let n=Y();return n&&n[hi].sanitizer}function pV(n){return n.replace(uV,t=>t.replace(fV,hV))}function AI(n){return n instanceof Function?n():n}function mV(n,t,e){let i=n.length;for(;;){let r=n.indexOf(t,e);if(r===-1)return r;if(r===0||n.charCodeAt(r-1)<=32){let o=t.length;if(r+o===i||n.charCodeAt(r+o)<=32)return r}e=r+1}}function gV(n,t,e,i){let r=0;if(i){for(;r<t.length&&typeof t[r]=="string";r+=2)if(t[r]==="class"&&mV(t[r+1].toLowerCase(),e,0)!==-1)return!0}else if(A_(n))return!1;if(r=t.indexOf(1,r),r>-1){let o;for(;++r<t.length&&typeof(o=t[r])=="string";)if(o.toLowerCase()===e)return!0}return!1}function A_(n){return n.type===4&&n.value!==TI}function yV(n,t,e){let i=n.type===4&&!e?TI:n.value;return t===i}function vV(n,t,e){let i=4,r=n.attrs,o=r!==null?xV(r):0,s=!1;for(let a=0;a<t.length;a++){let l=t[a];if(typeof l=="number"){if(!s&&!qn(i)&&!qn(l))return!1;if(s&&qn(l))continue;s=!1,i=l|i&1;continue}if(!s)if(i&4){if(i=2|i&1,l!==""&&!yV(n,l,e)||l===""&&t.length===1){if(qn(i))return!1;s=!0}}else if(i&8){if(r===null||!gV(n,r,l,e)){if(qn(i))return!1;s=!0}}else{let c=t[++a],d=_V(l,r,A_(n),e);if(d===-1){if(qn(i))return!1;s=!0;continue}if(c!==""){let h;if(d>o?h="":h=r[d+1].toLowerCase(),i&2&&c!==h){if(qn(i))return!1;s=!0}}}}return qn(i)||s}function qn(n){return(n&1)===0}function _V(n,t,e,i){if(t===null)return-1;let r=0;if(i||!e){let o=!1;for(;r<t.length;){let s=t[r];if(s===n)return r;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=t[++r];for(;typeof a=="string";)a=t[++r];continue}else{if(s===4)break;if(s===0){r+=4;continue}}r+=o?1:2}return-1}else return CV(t,n)}function MI(n,t,e=!1){for(let i=0;i<t.length;i++)if(vV(n,t[i],e))return!0;return!1}function bV(n){let t=n.attrs;if(t!=null){let e=t.indexOf(5);if((e&1)===0)return t[e+1]}return null}function xV(n){for(let t=0;t<n.length;t++){let e=n[t];if(XS(e))return t}return n.length}function CV(n,t){let e=n.indexOf(4);if(e>-1)for(e++;e<n.length;){let i=n[e];if(typeof i=="number")return-1;if(i===t)return e;e++}return-1}function EV(n,t){e:for(let e=0;e<t.length;e++){let i=t[e];if(n.length===i.length){for(let r=0;r<n.length;r++)if(n[r]!==i[r])continue e;return!0}}return!1}function CS(n,t){return n?":not("+t.trim()+")":t}function wV(n){let t=n[0],e=1,i=2,r="",o=!1;for(;e<n.length;){let s=n[e];if(typeof s=="string")if(i&2){let a=n[++e];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else i&8?r+="."+s:i&4&&(r+=" "+s);else r!==""&&!qn(s)&&(t+=CS(o,r),r=""),i=s,o=o||!qn(i);e++}return r!==""&&(t+=CS(o,r)),t}function DV(n){return n.map(wV).join(",")}function SV(n){let t=[],e=[],i=1,r=2;for(;i<n.length;){let o=n[i];if(typeof o=="string")r===2?o!==""&&t.push(o,n[++i]):r===8&&e.push(o);else{if(!qn(r))break;r=o}i++}return e.length&&t.push(1,...e),t}function IV(n,t){return n.createText(t)}function AV(n,t,e){n.setValue(t,e)}function TV(n,t){return n.createComment(pV(t))}function RI(n,t,e){return n.createElement(t,e)}function rh(n,t,e,i,r){n.insertBefore(t,e,i,r)}function OI(n,t,e){n.appendChild(t,e)}function ES(n,t,e,i,r){i!==null?rh(n,t,e,i,r):OI(n,t,e)}function NI(n,t,e){n.removeChild(null,t,e)}function MV(n,t,e){n.setAttribute(t,"style",e)}function RV(n,t,e){e===""?n.removeAttribute(t,"class"):n.setAttribute(t,"class",e)}function FI(n,t,e){let{mergedAttrs:i,classes:r,styles:o}=e;i!==null&&Dj(n,t,i),r!==null&&RV(n,t,r),o!==null&&MV(n,t,o)}function T_(n,t,e,i,r,o,s,a,l,c,d){let h=Ze+i,m=h+r,p=OV(h,m),g=typeof c=="function"?c():c;return p[K]={type:n,blueprint:p,template:e,queries:null,viewQuery:a,declTNode:t,data:p.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:m,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 o=="function"?o():o,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:l,consts:g,incompleteFirstPass:!1,ssrId:d}}function OV(n,t){let e=[];for(let i=0;i<t;i++)e.push(i<n?null:Yt);return e}function NV(n){let t=n.tView;return t===null||t.incompleteFirstPass?n.tView=T_(1,null,n.template,n.decls,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery,n.schemas,n.consts,n.id):t}function M_(n,t,e,i,r,o,s,a,l,c,d){let h=t.blueprint.slice();return h[zn]=r,h[ee]=i|4|128|8|64|1024,(c!==null||n&&n[ee]&2048)&&(h[ee]|=2048),Jy(h),h[vt]=h[qo]=n,h[lt]=e,h[hi]=s||n&&n[hi],h[Ge]=a||n&&n[Ge],h[Wo]=l||n&&n[Wo]||null,h[qt]=o,h[rc]=Vj(),h[Go]=d,h[qy]=c,h[Kt]=t.type==2?n[Kt]:h,h}function FV(n,t,e){let i=Wn(t,n),r=NV(e),o=n[hi].rendererFactory,s=R_(n,M_(n,r,null,kI(e),i,t,null,o.createRenderer(i,e),null,null,null));return n[t.index]=s}function kI(n){let t=16;return n.signals?t=4096:n.onPush&&(t=64),t}function LI(n,t,e,i){if(e===0)return-1;let r=t.length;for(let o=0;o<e;o++)t.push(i),n.blueprint.push(i),n.data.push(null);return r}function R_(n,t){return n[ha]?n[Wy][In]=t:n[ha]=t,n[Wy]=t,t}function C(n=1){PI(Xe(),Y(),gi()+n,!1)}function PI(n,t,e,i){if(!i)if((t[ee]&3)===3){let o=n.preOrderCheckHooks;o!==null&&Yf(t,o,e)}else{let o=n.preOrderHooks;o!==null&&Qf(t,o,0,e)}Br(e)}function $v(n,t,e,i){let r=ie(null);try{let[o,s,a]=n.inputs[e],l=null;(s&wh.SignalBased)!==0&&(l=t[o][gt]),l!==null&&l.transformFn!==void 0?i=l.transformFn(i):a!==null&&(i=a.call(t,i)),n.setInput!==null?n.setInput(t,l,i,e,o):WS(t,l,o,i)}finally{ie(r)}}function O_(n,t){return kV(n,t)}function _a(n,t,e,i,r){if(i!=null){let o,s=!1;$n(i)?o=i:mi(i)&&(s=!0,i=i[zn]);let a=An(i);n===0&&e!==null?r==null?OI(t,e,a):rh(t,e,a,r||null,!0):n===1&&e!==null?rh(t,e,a,r||null,!0):n===2?NI(t,a,s):n===3&&t.destroyNode(a),o!=null&&GV(t,n,o,e,r)}}function LV(n,t){jI(n,t),t[zn]=null,t[qt]=null}function PV(n,t,e,i,r,o){i[zn]=r,i[qt]=t,Sh(n,i,e,1,r,o)}function jI(n,t){t[hi].changeDetectionScheduler?.notify(9),Sh(n,t,t[Ge],2,null,null)}function jV(n){let t=n[ha];if(!t)return xv(n[K],n);for(;t;){let e=null;if(mi(t))e=t[ha];else{let i=t[Ct];i&&(e=i)}if(!e){for(;t&&!t[In]&&t!==n;)mi(t)&&xv(t[K],t),t=t[vt];t===null&&(t=n),mi(t)&&xv(t[K],t),e=t&&t[In]}t=e}}function N_(n,t){let e=n[Qo],i=e.indexOf(t);e.splice(i,1)}function Dh(n,t){if(Zo(t))return;let e=t[Ge];e.destroyNode&&Sh(n,t,e,3,null,null),jV(t)}function xv(n,t){if(Zo(t))return;let e=ie(null);try{t[ee]&=-129,t[ee]|=256,t[_n]&&Sr(t[_n]),BV(n,t),VV(n,t),t[K].type===1&&t[Ge].destroy();let i=t[kr];if(i!==null&&$n(t[vt])){i!==t[vt]&&N_(i,t);let r=t[pi];r!==null&&r.detachView(n)}Nv(t)}finally{ie(e)}}function VV(n,t){let e=n.cleanup,i=t[fa];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?i[a]():i[-a].unsubscribe(),s+=2}else{let a=i[e[s+1]];e[s].call(a)}i!==null&&(t[fa]=null);let r=t[Ui];if(r!==null){t[Ui]=null;for(let s=0;s<r.length;s++){let a=r[s];a()}}let o=t[$i];if(o!==null){t[$i]=null;for(let s of o)s.destroy()}}function BV(n,t){let e;if(n!=null&&(e=n.destroyHooks)!=null)for(let i=0;i<e.length;i+=2){let r=t[e[i]];if(!(r instanceof is)){let o=e[i+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=r[o[s]],l=o[s+1];ke(4,a,l);try{l.call(a)}finally{ke(5,a,l)}}else{ke(4,r,o);try{o.call(r)}finally{ke(5,r,o)}}}}}function VI(n,t,e){return UV(n,t.parent,e)}function UV(n,t,e){let i=t;for(;i!==null&&i.type&168;)t=i,i=t.parent;if(i===null)return e[zn];if(Pr(i)){let{encapsulation:r}=n.data[i.directiveStart+i.componentOffset];if(r===Gi.None||r===Gi.Emulated)return null}return Wn(i,e)}function BI(n,t,e){return zV(n,t,e)}function HV(n,t,e){return n.type&40?Wn(n,e):null}function F_(n,t,e,i){let r=VI(n,i,t),o=t[Ge],s=i.parent||t[qt],a=BI(s,i,t);if(r!=null)if(Array.isArray(e))for(let l=0;l<e.length;l++)ES(o,r,e[l],a,!1);else ES(o,r,e,a,!1);wS!==void 0&&wS(o,i,t,e,r)}function mc(n,t){if(t!==null){let e=t.type;if(e&3)return Wn(t,n);if(e&4)return Gv(-1,n[t.index]);if(e&8){let i=t.child;if(i!==null)return mc(n,i);{let r=n[t.index];return $n(r)?Gv(-1,r):An(r)}}else{if(e&128)return mc(n,t.next);if(e&32)return O_(t,n)()||An(n[t.index]);{let i=UI(n,t);if(i!==null){if(Array.isArray(i))return i[0];let r=Or(n[Kt]);return mc(r,i)}else return mc(n,t.next)}}}return null}function UI(n,t){if(t!==null){let i=n[Kt][qt],r=t.projection;return i.projection[r]}return null}function Gv(n,t){let e=Ct+n+1;if(e<t.length){let i=t[e],r=i[K].firstChild;if(r!==null)return mc(i,r)}return t[Lr]}function k_(n,t,e,i,r,o,s){for(;e!=null;){if(e.type===128){e=e.next;continue}let a=i[e.index],l=e.type;if(s&&t===0&&(a&&Ca(An(a),i),e.flags|=2),!bh(e))if(l&8)k_(n,t,e.child,i,r,o,!1),_a(t,n,r,a,o);else if(l&32){let c=O_(e,i),d;for(;d=c();)_a(t,n,r,d,o);_a(t,n,r,a,o)}else l&16?HI(n,t,i,e,r,o):_a(t,n,r,a,o);e=s?e.projectionNext:e.next}}function Sh(n,t,e,i,r,o){k_(e,i,n.firstChild,t,r,o,!1)}function $V(n,t,e){let i=t[Ge],r=VI(n,e,t),o=e.parent||t[qt],s=BI(o,e,t);HI(i,0,t,e,r,s)}function HI(n,t,e,i,r,o){let s=e[Kt],l=s[qt].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let d=l[c];_a(t,n,r,d,o)}else{let c=l,d=s[vt];cI(i)&&(c.flags|=128),k_(n,t,c,d,r,o,!0)}}function GV(n,t,e,i,r){let o=e[Lr],s=An(e);o!==s&&_a(t,n,i,o,r);for(let a=Ct;a<e.length;a++){let l=e[a];Sh(l[K],l,n,t,i,o)}}function WV(n,t,e,i,r){if(t)r?n.addClass(e,i):n.removeClass(e,i);else{let o=i.indexOf("-")===-1?void 0:_i.DashCase;r==null?n.removeStyle(e,i,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=_i.Important),n.setStyle(e,i,r,o))}}function zI(n,t,e,i,r){let o=gi(),s=i&2;try{Br(-1),s&&t.length>Ze&&PI(n,t,Ze,!1),ke(s?2:0,r,e),e(i,r)}finally{Br(o),ke(s?3:1,r,e)}}function Ih(n,t,e){XV(n,t,e),(e.flags&64)===64&&JV(n,t,e)}function Ac(n,t,e=Wn){let i=t.localNames;if(i!==null){let r=t.index+1;for(let o=0;o<i.length;o+=2){let s=i[o+1],a=s===-1?e(t,n):n[s];n[r++]=a}}}function qV(n,t,e,i){let o=i.get(yI,gI)||e===Gi.ShadowDom,s=n.selectRootElement(t,o);return KV(s),s}function KV(n){YV(n)}function QV(n){return n==="class"?"className":n==="for"?"htmlFor":n==="formaction"?"formAction":n==="innerHtml"?"innerHTML":n==="readonly"?"readOnly":n==="tabindex"?"tabIndex":n}function $I(n,t,e,i,r,o){let s=t[K];if(V_(n,s,t,e,i)){Pr(n)&&ZV(t,n.index);return}n.type&3&&(e=QV(e)),GI(n,t,e,i,r,o)}function GI(n,t,e,i,r,o){if(n.type&3){let s=Wn(n,t);i=o!=null?o(i,n.value||"",e):i,r.setProperty(s,e,i)}else n.type&12}function ZV(n,t){let e=Tn(t,n);e[ee]&16||(e[ee]|=64)}function XV(n,t,e){let i=e.directiveStart,r=e.directiveEnd;Pr(e)&&FV(t,e,n.data[i+e.componentOffset]),n.firstCreatePass||ih(e,t);let o=e.initialInputs;for(let s=i;s<r;s++){let a=n.data[s],l=yc(t,n,s,e);if(Ca(l,t),o!==null&&iB(t,s-i,l,a,e,o),Gn(a)){let c=Tn(e.index,t);c[lt]=yc(t,n,s,e)}}}function JV(n,t,e){let i=e.directiveStart,r=e.directiveEnd,o=e.index,s=tS();try{Br(o);for(let a=i;a<r;a++){let l=n.data[a],c=t[a];Pf(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&eB(l,c)}}finally{Br(-1),Pf(s)}}function eB(n,t){n.hostBindings!==null&&n.hostBindings(1,t)}function L_(n,t){let e=n.directiveRegistry,i=null;if(e)for(let r=0;r<e.length;r++){let o=e[r];MI(t,o.selectors,!1)&&(i??=[],Gn(o)?i.unshift(o):i.push(o))}return i}function tB(n,t,e,i,r,o){let s=Wn(n,t);nB(t[Ge],s,o,n.value,e,i,r)}function nB(n,t,e,i,r,o,s){if(o==null)n.removeAttribute(t,r,e);else{let a=s==null?Fr(o):s(o,i||"",r);n.setAttribute(t,r,a,e)}}function iB(n,t,e,i,r,o){let s=o[t];if(s!==null)for(let a=0;a<s.length;a+=2){let l=s[a],c=s[a+1];$v(i,e,l,c)}}function P_(n,t,e,i,r){let o=Ze+e,s=t[K],a=r(s,t,n,i,e);t[o]=a,ya(n,!0);let l=n.type===2;return l?(FI(t[Ge],a,n),(qD()===0||pa(n))&&Ca(a,t),KD()):Ca(a,t),Hf()&&(!l||!bh(n))&&F_(s,t,a,n),n}function j_(n){let t=n;return lv()?cv():(t=t.parent,ya(t,!1)),t}function rB(n,t){let e=n[Wo];if(!e)return;e.get(dn,null)?.(t)}function V_(n,t,e,i,r){let o=n.inputs?.[i],s=n.hostDirectiveInputs?.[i],a=!1;if(s)for(let l=0;l<s.length;l+=2){let c=s[l],d=s[l+1],h=t.data[c];$v(h,e[c],d,r),a=!0}if(o)for(let l of o){let c=e[l],d=t.data[l];$v(d,c,i,r),a=!0}return a}function oB(n,t){let e=Tn(t,n),i=e[K];sB(i,e);let r=e[zn];r!==null&&e[Go]===null&&(e[Go]=vI(r,e[Wo])),ke(18),B_(i,e,e[lt]),ke(19,e[lt])}function sB(n,t){for(let e=t.length;e<n.blueprint.length;e++)t.push(n.blueprint[e])}function B_(n,t,e){Vf(t);try{let i=n.viewQuery;i!==null&&kv(1,i,e);let r=n.template;r!==null&&zI(n,t,r,1,e),n.firstCreatePass&&(n.firstCreatePass=!1),t[pi]?.finishViewCreation(n),n.staticContentQueries&&_I(n,t),n.staticViewQueries&&kv(2,n.viewQuery,e);let o=n.components;o!==null&&aB(t,o)}catch(i){throw n.firstCreatePass&&(n.incompleteFirstPass=!0,n.firstCreatePass=!1),i}finally{t[ee]&=-5,Bf()}}function aB(n,t){for(let e=0;e<t.length;e++)oB(n,t[e])}function Tc(n,t,e,i){let r=ie(null);try{let o=t.tView,a=n[ee]&4096?4096:16,l=M_(n,o,e,a,null,t,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),c=n[t.index];l[kr]=c;let d=n[pi];return d!==null&&(l[pi]=d.createEmbeddedView(o)),B_(o,l,e),l}finally{ie(r)}}function Ea(n,t){return!t||t.firstChild===null||cI(n)}function vc(n,t,e,i,r=!1){for(;e!==null;){if(e.type===128){e=r?e.projectionNext:e.next;continue}let o=t[e.index];o!==null&&i.push(An(o)),$n(o)&&WI(o,i);let s=e.type;if(s&8)vc(n,t,e.child,i);else if(s&32){let a=O_(e,t),l;for(;l=a();)i.push(l)}else if(s&16){let a=UI(t,e);if(Array.isArray(a))i.push(...a);else{let l=Or(t[Kt]);vc(l[K],l,a,i,!0)}}e=r?e.projectionNext:e.next}return i}function WI(n,t){for(let e=Ct;e<n.length;e++){let i=n[e],r=i[K].firstChild;r!==null&&vc(i[K],i,r,t)}n[Lr]!==n[zn]&&t.push(n[Lr])}function qI(n){if(n[Yo]!==null){for(let t of n[Yo])t.impl.addSequence(t);n[Yo].length=0}}function cB(n){return n[_n]??dB(n)}function dB(n){let t=KI.pop()??Object.create(fB);return t.lView=n,t}function uB(n){n.lView[_n]!==n&&(n.lView=null,KI.push(n))}function hB(n){let t=n[_n]??Object.create(pB);return t.lView=n,t}function YI(n){return n.type!==2}function QI(n){if(n[$i]===null)return;let t=!0;for(;t;){let e=!1;for(let i of n[$i])i.dirty&&(e=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));t=e&&!!(n[ee]&8192)}}function U_(n,t=0){let i=n[hi].rendererFactory,r=!1;r||i.begin?.();try{gB(n,t)}finally{r||i.end?.()}}function gB(n,t){let e=uv();try{va(!0),Wv(n,t);let i=0;for(;ga(n);){if(i===mB)throw new w(103,!1);i++,Wv(n,1)}}finally{va(e)}}function ZI(n,t){dv(t?ac.Exhaustive:ac.OnlyDirtyViews);try{U_(n)}finally{dv(ac.Off)}}function yB(n,t,e,i){if(Zo(t))return;let r=t[ee],o=!1,s=!1;Vf(t);let a=!0,l=null,c=null;o||(YI(n)?(c=cB(t),l=Li(c)):Mu()===null?(a=!1,c=hB(t),l=Li(c)):t[_n]&&(Sr(t[_n]),t[_n]=null));try{Jy(t),XD(n.bindingStartIndex),e!==null&&zI(n,t,e,2,i);let d=(r&3)===3;if(!o)if(d){let p=n.preOrderCheckHooks;p!==null&&Yf(t,p,null)}else{let p=n.preOrderHooks;p!==null&&Qf(t,p,0,null),_v(t,0)}if(s||vB(t),QI(t),XI(t,0),n.contentQueries!==null&&_I(n,t),!o)if(d){let p=n.contentCheckHooks;p!==null&&Yf(t,p)}else{let p=n.contentHooks;p!==null&&Qf(t,p,1),_v(t,1)}bB(n,t);let h=n.components;h!==null&&eA(t,h,0);let m=n.viewQuery;if(m!==null&&kv(2,m,i),!o)if(d){let p=n.viewCheckHooks;p!==null&&Yf(t,p)}else{let p=n.viewHooks;p!==null&&Qf(t,p,2),_v(t,2)}if(n.firstUpdatePass===!0&&(n.firstUpdatePass=!1),t[Mf]){for(let p of t[Mf])p();t[Mf]=null}o||(qI(t),t[ee]&=-73)}catch(d){throw o||jr(t),d}finally{c!==null&&(Dr(c,l),a&&uB(c)),Bf()}}function XI(n,t){for(let e=uI(n);e!==null;e=fI(e))for(let i=Ct;i<e.length;i++){let r=e[i];JI(r,t)}}function vB(n){for(let t=uI(n);t!==null;t=fI(t)){if(!(t[ee]&2))continue;let e=t[Qo];for(let i=0;i<e.length;i++){let r=e[i];Nf(r)}}}function _B(n,t,e){ke(18);let i=Tn(t,n);JI(i,e),ke(19,i[lt])}function JI(n,t){Of(n)&&Wv(n,t)}function Wv(n,t){let i=n[K],r=n[ee],o=n[_n],s=!!(t===0&&r&16);if(s||=!!(r&64&&t===0),s||=!!(r&1024),s||=!!(o?.dirty&&Io(o)),s||=!1,o&&(o.dirty=!1),n[ee]&=-9217,s)yB(i,n,i.template,n[lt]);else if(r&8192){let a=ie(null);try{QI(n),XI(n,1);let l=i.components;l!==null&&eA(n,l,1),qI(n)}finally{ie(a)}}}function eA(n,t,e){for(let i=0;i<t.length;i++)_B(n,t[i],e)}function bB(n,t){let e=n.hostBindingOpCodes;if(e!==null)try{for(let i=0;i<e.length;i++){let r=e[i];if(r<0)Br(~r);else{let o=r,s=e[++i],a=e[++i];eS(s,o);let l=t[o];ke(24,l),a(2,l),ke(25,l)}}}finally{Br(-1)}}function H_(n,t){let e=uv()?64:1088;for(n[hi].changeDetectionScheduler?.notify(t);n;){n[ee]|=e;let i=Or(n);if(ma(n)&&!i)return n;n=i}return null}function tA(n,t,e,i){return[n,!0,0,t,null,i,null,e,null,null]}function nA(n,t){let e=Ct+t;if(e<n.length)return n[e]}function Mc(n,t,e,i=!0){let r=t[K];if(xB(r,t,n,e),i){let s=Gv(e,n),a=t[Ge],l=a.parentNode(n[Lr]);l!==null&&PV(r,n[qt],a,t,l,s)}let o=t[Go];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function iA(n,t){let e=_c(n,t);return e!==void 0&&Dh(e[K],e),e}function _c(n,t){if(n.length<=Ct)return;let e=Ct+t,i=n[e];if(i){let r=i[kr];r!==null&&r!==n&&N_(r,i),t>0&&(n[e-1][In]=i[In]);let o=nc(n,Ct+t);LV(i[K],i);let s=o[pi];s!==null&&s.detachView(o[K]),i[vt]=null,i[In]=null,i[ee]&=-129}return i}function xB(n,t,e,i){let r=Ct+i,o=e.length;i>0&&(e[r-1][In]=t),i<o-Ct?(t[In]=e[r],Vy(e,Ct+i,t)):(e.push(t),t[In]=null),t[vt]=e;let s=t[kr];s!==null&&e!==s&&rA(s,t);let a=t[pi];a!==null&&a.insertView(n),Ff(t),t[ee]|=128}function rA(n,t){let e=n[Qo],i=t[vt];if(mi(i))n[ee]|=2;else{let r=i[vt][Kt];t[Kt]!==r&&(n[ee]|=2)}e===null?n[Qo]=[t]:e.push(t)}function z_(n){return ga(n._lView)||!!(n._lView[ee]&64)}function $_(n){Nf(n._lView)}function CB(){return Ah(_t(),Y())}function Ah(n,t){return n.type&4?new un(t,n,Sa(n,t)):null}function Ia(n,t,e,i,r){let o=n.data[t];if(o===null)o=EB(n,t,e,i,r),JD()&&(o.flags|=32);else if(o.type&64){o.type=e,o.value=i,o.attrs=r;let s=YD();o.injectorIndex=s===null?-1:s.injectorIndex}return ya(o,!0),o}function EB(n,t,e,i,r){let o=av(),s=lv(),a=s?o:o&&o.parent,l=n.data[t]=DB(n,a,e,t,i,r);return wB(n,l,o,s),l}function wB(n,t,e,i){n.firstChild===null&&(n.firstChild=t),e!==null&&(i?e.child==null&&t.parent!==null&&(e.child=t):e.next===null&&(e.next=t,t.prev=e))}function DB(n,t,e,i,r,o){let s=t?t.injectorIndex:-1,a=0;return rv()&&(a|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function SB(n){let t=n[Ky]??[],i=n[vt][Ge],r=[];for(let o of t)o.data[mI]!==void 0?r.push(o):IB(o,i);n[Ky]=r}function IB(n,t){let e=0,i=n.firstChild;if(i){let r=n.data[pI];for(;e<r;){let o=i.nextSibling;NI(t,i,!1),i=o,e++}}}function oh(n,t){return AB(n,t)}function oA(n,t,e){return TB(n,t,e)}function MB(){let n=Y(),t=_t(),e=Tn(t.index,n);return(mi(e)?e:n)[Ge]}function sh(n,t,e){let i=e?n.styles:null,r=e?n.classes:null,o=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")o=a;else if(o==1)r=Cf(r,a);else if(o==2){let l=a,c=t[++s];i=Cf(i,l+": "+c+";")}}e?n.styles=i:n.stylesWithoutHost=i,e?n.classes=r:n.classesWithoutHost=r}function T(n,t=0){let e=Y();if(e===null)return S(n,t);let i=_t();return oI(i,e,yt(n),t)}function Rc(){let n="invalid";throw new Error(n)}function lA(n,t,e,i,r){let o=i===null?null:{"":-1},s=r(n,e);if(s!==null){let a=s,l=null,c=null;for(let d of s)if(d.resolveHostDirectives!==null){[a,l,c]=d.resolveHostDirectives(s);break}NB(n,t,e,a,o,l,c)}o!==null&&i!==null&&RB(e,i,o)}function RB(n,t,e){let i=n.localNames=[];for(let r=0;r<t.length;r+=2){let o=e[t[r+1]];if(o==null)throw new w(-301,!1);i.push(t[r],o)}}function OB(n,t,e){t.componentOffset=e,(n.components??=[]).push(t.index)}function NB(n,t,e,i,r,o,s){let a=i.length,l=!1;for(let m=0;m<a;m++){let p=i[m];!l&&Gn(p)&&(l=!0,OB(n,e,m)),Rv(ih(e,t),n,p.type)}VB(e,n.data.length,a);for(let m=0;m<a;m++){let p=i[m];p.providersResolver&&p.providersResolver(p)}let c=!1,d=!1,h=LI(n,t,a,null);a>0&&(e.directiveToIndex=new Map);for(let m=0;m<a;m++){let p=i[m];if(e.mergedAttrs=xa(e.mergedAttrs,p.hostAttrs),kB(n,e,t,h,p),jB(h,p,r),s!==null&&s.has(p)){let[y,E]=s.get(p);e.directiveToIndex.set(p.type,[h,y+e.directiveStart,E+e.directiveStart])}else(o===null||!o.has(p))&&e.directiveToIndex.set(p.type,h);p.contentQueries!==null&&(e.flags|=4),(p.hostBindings!==null||p.hostAttrs!==null||p.hostVars!==0)&&(e.flags|=64);let g=p.type.prototype;!c&&(g.ngOnChanges||g.ngOnInit||g.ngDoCheck)&&((n.preOrderHooks??=[]).push(e.index),c=!0),!d&&(g.ngOnChanges||g.ngDoCheck)&&((n.preOrderCheckHooks??=[]).push(e.index),d=!0),h++}FB(n,e,o)}function FB(n,t,e){for(let i=t.directiveStart;i<t.directiveEnd;i++){let r=n.data[i];if(e===null||!e.has(r))SS(0,t,r,i),SS(1,t,r,i),AS(t,i,!1);else{let o=e.get(r);IS(0,t,o,i),IS(1,t,o,i),AS(t,i,!0)}}}function SS(n,t,e,i){let r=n===0?e.inputs:e.outputs;for(let o in r)if(r.hasOwnProperty(o)){let s;n===0?s=t.inputs??={}:s=t.outputs??={},s[o]??=[],s[o].push(i),cA(t,o)}}function IS(n,t,e,i){let r=n===0?e.inputs:e.outputs;for(let o in r)if(r.hasOwnProperty(o)){let s=r[o],a;n===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(i,o),cA(t,s)}}function cA(n,t){t==="class"?n.flags|=8:t==="style"&&(n.flags|=16)}function AS(n,t,e){let{attrs:i,inputs:r,hostDirectiveInputs:o}=n;if(i===null||!e&&r===null||e&&o===null||A_(n)){n.initialInputs??=[],n.initialInputs.push(null);return}let s=null,a=0;for(;a<i.length;){let l=i[a];if(l===0){a+=4;continue}else if(l===5){a+=2;continue}else if(typeof l=="number")break;if(!e&&r.hasOwnProperty(l)){let c=r[l];for(let d of c)if(d===t){s??=[],s.push(l,i[a+1]);break}}else if(e&&o.hasOwnProperty(l)){let c=o[l];for(let d=0;d<c.length;d+=2)if(c[d]===t){s??=[],s.push(c[d+1],i[a+1]);break}}a+=2}n.initialInputs??=[],n.initialInputs.push(s)}function kB(n,t,e,i,r){n.data[i]=r;let o=r.factory||(r.factory=Rr(r.type,!0)),s=new is(o,Gn(r),T,null);n.blueprint[i]=s,e[i]=s,LB(n,t,i,LI(n,e,r.hostVars,Yt),r)}function LB(n,t,e,i,r){let o=r.hostBindings;if(o){let s=n.hostBindingOpCodes;s===null&&(s=n.hostBindingOpCodes=[]);let a=~t.index;PB(s)!=a&&s.push(a),s.push(e,i,o)}}function PB(n){let t=n.length;for(;t>0;){let e=n[--t];if(typeof e=="number"&&e<0)return e}return 0}function jB(n,t,e){if(e){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)e[t.exportAs[i]]=n;Gn(t)&&(e[""]=n)}}function VB(n,t,e){n.flags|=1,n.directiveStart=t,n.directiveEnd=t+e,n.providerIndexes=t}function G_(n,t,e,i,r,o,s,a){let l=t[K],c=l.consts,d=Mn(c,s),h=Ia(l,n,e,i,d);return o&&lA(l,t,h,Mn(c,a),r),h.mergedAttrs=xa(h.mergedAttrs,h.attrs),h.attrs!==null&&sh(h,h.attrs,!1),h.mergedAttrs!==null&&sh(h,h.mergedAttrs,!0),l.queries!==null&&l.queries.elementStart(l,h),h}function W_(n,t){QS(n,t),Yy(t)&&n.queries.elementEnd(t)}function BB(n,t,e,i,r,o){let s=t.consts,a=Mn(s,r),l=Ia(t,n,e,i,a);if(l.mergedAttrs=xa(l.mergedAttrs,l.attrs),o!=null){let c=Mn(s,o);l.localNames=[];for(let d=0;d<c.length;d+=2)l.localNames.push(c[d],-1)}return l.attrs!==null&&sh(l,l.attrs,!1),l.mergedAttrs!==null&&sh(l,l.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,l),l}function q_(n){return uA(n)?Array.isArray(n)||!(n instanceof Map)&&Symbol.iterator in n:!1}function dA(n,t){if(Array.isArray(n))for(let e=0;e<n.length;e++)t(n[e]);else{let e=n[Symbol.iterator](),i;for(;!(i=e.next()).done;)t(i.value)}}function uA(n){return n!==null&&(typeof n=="function"||typeof n=="object")}function Mh(n,t,e){return n[t]=e}function UB(n,t){return n[t]}function xn(n,t,e){if(e===Yt)return!1;let i=n[t];return Object.is(i,e)?!1:(n[t]=e,!0)}function K_(n,t,e,i){let r=xn(n,t,e);return xn(n,t+1,i)||r}function HB(n,t,e,i,r){let o=K_(n,t,e,i);return xn(n,t+2,r)||o}function Cv(n,t,e){return function i(r){let o=Pr(n)?Tn(n.index,t):t;H_(o,5);let s=t[lt],a=TS(t,s,e,r),l=i.__ngNextListenerFn__;for(;l;)a=TS(t,s,l,r)&&a,l=l.__ngNextListenerFn__;return a}}function TS(n,t,e,i){let r=ie(null);try{return ke(6,t,e),e(i)!==!1}catch(o){return rB(n,o),!1}finally{ke(7,t,e),ie(r)}}function zB(n,t,e,i,r,o,s,a){let l=pa(n),c=!1,d=null;if(!i&&l&&(d=$B(t,e,o,n.index)),d!==null){let h=d.__ngLastListenerFn__||d;h.__ngNextListenerFn__=s,d.__ngLastListenerFn__=s,c=!0}else{let h=Wn(n,e),m=i?i(h):h;Gj(e,m,o,a);let p=r.listen(m,o,a),g=i?y=>i(An(y[n.index])):n.index;fA(g,t,e,o,a,p,!1)}return c}function $B(n,t,e,i){let r=n.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let s=r[o];if(s===e&&r[o+1]===i){let a=t[fa],l=r[o+2];return a&&a.length>l?a[l]:null}typeof s=="string"&&(o+=2)}return null}function fA(n,t,e,i,r,o,s){let a=t.firstCreatePass?nv(t):null,l=tv(e),c=l.length;l.push(r,o),a&&a.push(i,n,c,(c+1)*(s?-1:1))}function MS(n,t,e,i,r,o){let s=t[e],a=t[K],c=a.data[e].outputs[i],h=s[c].subscribe(o);fA(n.index,a,t,r,o,h,!0)}function GB(n){return Object.keys(n).map(t=>{let[e,i,r]=n[t],o={propName:e,templateName:t,isSignal:(i&wh.SignalBased)!==0};return r&&(o.transform=r),o})}function WB(n){return Object.keys(n).map(t=>({propName:n[t],templateName:t}))}function qB(n,t,e){let i=t instanceof $e?t:t?.injector;return i&&n.getStandaloneInjector!==null&&(i=n.getStandaloneInjector(i)||i),i?new Kv(e,i):e}function KB(n){let t=n.get(ft,null);if(t===null)throw new w(407,!1);let e=n.get(aA,null),i=n.get(cn,null);return{rendererFactory:t,sanitizer:e,changeDetectionScheduler:i,ngReflect:!1}}function YB(n,t){let e=hA(n);return RI(t,e,e==="svg"?Qy:e==="math"?UD:null)}function hA(n){return(n.selectors[0][0]||"div").toLowerCase()}function QB(n,t,e,i){let r=n?["ng-version","20.2.1"]:SV(t.selectors[0]),o=null,s=null,a=0;if(e)for(let d of e)a+=d[Yv].requiredVars,d.create&&(d.targetIdx=0,(o??=[]).push(d)),d.update&&(d.targetIdx=0,(s??=[]).push(d));if(i)for(let d=0;d<i.length;d++){let h=i[d];if(typeof h!="function")for(let m of h.bindings){a+=m[Yv].requiredVars;let p=d+1;m.create&&(m.targetIdx=p,(o??=[]).push(m)),m.update&&(m.targetIdx=p,(s??=[]).push(m))}}let l=[t];if(i)for(let d of i){let h=typeof d=="function"?d:d.type,m=Af(h);l.push(m)}return T_(0,null,ZB(o,s),1,a,l,null,null,null,[r],null)}function ZB(n,t){return!n&&!t?null:e=>{if(e&1&&n)for(let i of n)i.create();if(e&2&&t)for(let i of t)i.update()}}function RS(n){let t=n[Yv].kind;return t==="input"||t==="twoWay"}function XB(n,t,e){let i=n.projection=[];for(let r=0;r<t.length;r++){let o=e[r];i.push(o!=null&&o.length?Array.from(o):null)}}function JB(){let n=_t();return mA(n,Y())}function OS(n){return n[oc]}function Ev(n){return n[oc]||(n[oc]=[])}function mA(n,t){let e,i=t[n.index];return $n(i)?e=i:(e=tA(i,t,null,n),t[n.index]=e,R_(t,e)),n2(e,t,n,i),new pA(e,n,t)}function t2(n,t){let e=n[Ge],i=e.createComment(""),r=Wn(t,n),o=e.parentNode(r);return rh(e,o,i,e.nextSibling(r),!1),i}function r2(n,t,e){return i2(n,t,e)}function o2(n,t,e,i){if(n[Lr])return;let r;e.type&8?r=An(i):r=t2(t,e),n[Lr]=r}function s2(n,t){let e=n.localNames;if(e!==null){for(let i=0;i<e.length;i+=2)if(e[i]===t)return e[i+1]}return null}function a2(n,t){return n.type&11?Sa(n,t):n.type&4?Ah(n,t):null}function l2(n,t,e,i){return e===-1?a2(t,n):e===-2?c2(n,t,i):yc(n,n[K],e,t)}function c2(n,t,e){if(e===H)return Sa(t,n);if(e===un)return Ah(t,n);if(e===Rt)return mA(t,n)}function gA(n,t,e,i){let r=t[pi].queries[i];if(r.matches===null){let o=n.data,s=e.matches,a=[];for(let l=0;s!==null&&l<s.length;l+=2){let c=s[l];if(c<0)a.push(null);else{let d=o[c];a.push(l2(t,d,s[l+1],e.metadata.read))}}r.matches=a}return r.matches}function e_(n,t,e,i){let r=n.queries.getByIndex(e),o=r.matches;if(o!==null){let s=gA(n,t,r,e);for(let a=0;a<o.length;a+=2){let l=o[a];if(l>0)i.push(s[a/2]);else{let c=o[a+1],d=t[-l];for(let h=Ct;h<d.length;h++){let m=d[h];m[kr]===m[vt]&&e_(m[K],m,c,i)}if(d[Qo]!==null){let h=d[Qo];for(let m=0;m<h.length;m++){let p=h[m];e_(p[K],p,c,i)}}}}}return i}function Y_(n,t){return n[pi].queries[t].queryList}function yA(n,t,e){let i=new rs((e&4)===4);return WD(n,t,i,i.destroy),(t[pi]??=new Zv).queries.push(new Qv(i))-1}function vA(n,t,e){let i=Xe();return i.firstCreatePass&&(bA(i,new ch(n,t,e),-1),(t&2)===2&&(i.staticViewQueries=!0)),yA(i,Y(),t)}function _A(n,t,e,i){let r=Xe();if(r.firstCreatePass){let o=_t();bA(r,new ch(t,e,i),o.index),u2(r,n),(e&2)===2&&(r.staticContentQueries=!0)}return yA(r,Y(),e)}function d2(n){return n.split(",").map(t=>t.trim())}function bA(n,t,e){n.queries===null&&(n.queries=new Xv),n.queries.track(new Jv(t,e))}function u2(n,t){let e=n.contentQueries||(n.contentQueries=[]),i=e.length?e[e.length-1]:-1;t!==i&&e.push(n.queries.length-1,t)}function Q_(n,t){return n.queries.getByIndex(t)}function xA(n,t){let e=n[K],i=Q_(e,t);return i.crossesNgTemplate?e_(e,n,t,[]):gA(e,n,i,t)}function CA(n,t,e){let i,r=kl(()=>{i._dirtyCounter();let o=f2(i,n);if(t&&o===void 0)throw new w(-951,!1);return o});return i=r[gt],i._dirtyCounter=Ae(0),i._flatValue=void 0,r}function Z_(n){return CA(!0,!1,n)}function X_(n){return CA(!0,!0,n)}function EA(n,t){let e=n[gt];e._lView=Y(),e._queryIndex=t,e._queryList=Y_(e._lView,t),e._queryList.onDirty(()=>e._dirtyCounter.update(i=>i+1))}function f2(n,t){let e=n._lView,i=n._queryIndex;if(e===void 0||i===void 0||e[ee]&4)return t?void 0:Bt;let r=Y_(e,i),o=xA(e,i);return r.reset(o,lI),t?r.first:r._changesDetected||n._flatValue===void 0?n._flatValue=r.toArray():n._flatValue}function Rn(n){NS.has(n)||(NS.add(n),performance?.mark?.("mark_feature_usage",{detail:{feature:n}}))}function Aa(n,t,e=null){return new bc({providers:n,parent:t,debugName:e,runEnvironmentInitializers:!0}).injector}function $(n){return Da(()=>{let t=wA(n),e=J(b({},t),{decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===y_.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&n.dependencies||null,getStandaloneInjector:t.standalone?r=>r.get(h2).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:n.signals??!1,data:n.data||{},encapsulation:n.encapsulation||Gi.Emulated,styles:n.styles||Bt,_:null,schemas:n.schemas||null,tView:null,id:""});t.standalone&&Rn("NgStandalone"),DA(e);let i=n.dependencies;return e.directiveDefs=FS(i,p2),e.pipeDefs=FS(i,kD),e.id=y2(e),e})}function p2(n){return fi(n)||Af(n)}function L(n){return Da(()=>({type:n.type,bootstrap:n.bootstrap||Bt,declarations:n.declarations||Bt,imports:n.imports||Bt,exports:n.exports||Bt,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function m2(n,t){if(n==null)return Hn;let e={};for(let i in n)if(n.hasOwnProperty(i)){let r=n[i],o,s,a,l;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o,l=r[3]||null):(o=r,s=r,a=wh.None,l=null),e[o]=[i,a,l],t[o]=s}return e}function g2(n){if(n==null)return Hn;let t={};for(let e in n)n.hasOwnProperty(e)&&(t[n[e]]=e);return t}function j(n){return Da(()=>{let t=wA(n);return DA(t),t})}function ss(n){return{type:n.type,name:n.name,factory:null,pure:n.pure!==!1,standalone:n.standalone??!0,onDestroy:n.type.prototype.ngOnDestroy||null}}function wA(n){let t={};return{type:n.type,providersResolver:null,factory:null,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:t,inputConfig:n.inputs||Hn,exportAs:n.exportAs||null,standalone:n.standalone??!0,signals:n.signals===!0,selectors:n.selectors||Bt,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:m2(n.inputs,t),outputs:g2(n.outputs),debugInfo:null}}function DA(n){n.features?.forEach(t=>t(n))}function FS(n,t){return n?()=>{let e=typeof n=="function"?n():n,i=[];for(let r of e){let o=t(r);o!==null&&i.push(o)}return i}:null}function y2(n){let t=0,e=typeof n.consts=="function"?"":n.consts,i=[n.selectors,n.ngContentSelectors,n.hostVars,n.hostAttrs,e,n.vars,n.decls,n.encapsulation,n.standalone,n.signals,n.exportAs,JSON.stringify(n.inputs),JSON.stringify(n.outputs),Object.getOwnPropertyNames(n.type.prototype),!!n.contentQueries,!!n.viewQuery];for(let o of i.join("|"))t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function v2(n){return Object.getPrototypeOf(n.prototype).constructor}function fe(n){let t=v2(n.type),e=!0,i=[n];for(;t;){let r;if(Gn(n))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new w(903,!1);r=t.\u0275dir}if(r){if(e){i.push(r);let s=n;s.inputs=wv(n.inputs),s.declaredInputs=wv(n.declaredInputs),s.outputs=wv(n.outputs);let a=r.hostBindings;a&&E2(n,a);let l=r.viewQuery,c=r.contentQueries;if(l&&x2(n,l),c&&C2(n,c),_2(n,r),SD(n.outputs,r.outputs),Gn(r)&&r.data.animation){let d=n.data;d.animation=(d.animation||[]).concat(r.data.animation)}}let o=r.features;if(o)for(let s=0;s<o.length;s++){let a=o[s];a&&a.ngInherit&&a(n),a===fe&&(e=!1)}}t=Object.getPrototypeOf(t)}b2(i)}function _2(n,t){for(let e in t.inputs){if(!t.inputs.hasOwnProperty(e)||n.inputs.hasOwnProperty(e))continue;let i=t.inputs[e];i!==void 0&&(n.inputs[e]=i,n.declaredInputs[e]=t.declaredInputs[e])}}function b2(n){let t=0,e=null;for(let i=n.length-1;i>=0;i--){let r=n[i];r.hostVars=t+=r.hostVars,r.hostAttrs=xa(r.hostAttrs,e=xa(e,r.hostAttrs))}}function wv(n){return n===Hn?{}:n===Bt?[]:n}function x2(n,t){let e=n.viewQuery;e?n.viewQuery=(i,r)=>{t(i,r),e(i,r)}:n.viewQuery=t}function C2(n,t){let e=n.contentQueries;e?n.contentQueries=(i,r,o)=>{t(i,r,o),e(i,r,o)}:n.contentQueries=t}function E2(n,t){let e=n.hostBindings;e?n.hostBindings=(i,r)=>{t(i,r),e(i,r)}:n.hostBindings=t}function J_(n){let t=e=>{let i=Array.isArray(n);e.hostDirectives===null?(e.resolveHostDirectives=w2,e.hostDirectives=i?n.map(t_):[n]):i?e.hostDirectives.unshift(...n.map(t_)):e.hostDirectives.unshift(n)};return t.ngInherit=!0,t}function w2(n){let t=[],e=!1,i=null,r=null;for(let o=0;o<n.length;o++){let s=n[o];if(s.hostDirectives!==null){let a=t.length;i??=new Map,r??=new Map,SA(s,t,i),r.set(s,[a,t.length-1])}o===0&&Gn(s)&&(e=!0,t.push(s))}for(let o=e?1:0;o<n.length;o++)t.push(n[o]);return[t,i,r]}function SA(n,t,e){if(n.hostDirectives!==null)for(let i of n.hostDirectives)if(typeof i=="function"){let r=i();for(let o of r)kS(t_(o),t,e)}else kS(i,t,e)}function kS(n,t,e){let i=Af(n.directive);D2(i.declaredInputs,n.inputs),SA(i,t,e),e.set(i,n),t.push(i)}function t_(n){return typeof n=="function"?{directive:yt(n),inputs:Hn,outputs:Hn}:{directive:yt(n.directive),inputs:LS(n.inputs),outputs:LS(n.outputs)}}function LS(n){if(n===void 0||n.length===0)return Hn;let t={};for(let e=0;e<n.length;e+=2)t[n[e]]=n[e+1];return t}function D2(n,t){for(let e in t)if(t.hasOwnProperty(e)){let i=t[e],r=n[e];n[i]=r}}function IA(n,t,e,i,r,o,s,a){if(e.firstCreatePass){n.mergedAttrs=xa(n.mergedAttrs,n.attrs);let d=n.tView=T_(2,n,r,o,s,e.directiveRegistry,e.pipeRegistry,null,e.schemas,e.consts,null);e.queries!==null&&(e.queries.template(e,n),d.queries=e.queries.embeddedTView(n))}a&&(n.flags|=a),ya(n,!1);let l=I2(e,t,n,i);Hf()&&F_(e,t,l,n),Ca(l,t);let c=tA(l,t,l,n);t[i+Ze]=c,R_(t,c),r2(c,n,t)}function S2(n,t,e,i,r,o,s,a,l,c,d){let h=e+Ze,m;return t.firstCreatePass?(m=Ia(t,h,4,s||null,a||null),kf()&&lA(t,n,m,Mn(t.consts,c),L_),QS(t,m)):m=t.data[h],IA(m,n,t,e,i,r,o,l),pa(m)&&Ih(t,n,m),c!=null&&Ac(n,m,d),m}function xc(n,t,e,i,r,o,s,a,l,c,d){let h=e+Ze,m;if(t.firstCreatePass){if(m=Ia(t,h,4,s||null,a||null),c!=null){let p=Mn(t.consts,c);m.localNames=[];for(let g=0;g<p.length;g+=2)m.localNames.push(p[g],-1)}}else m=t.data[h];return IA(m,n,t,e,i,r,o,l),c!=null&&Ac(n,m,d),m}function Te(n,t,e,i,r,o,s,a){let l=Y(),c=Xe(),d=Mn(c.consts,o);return S2(l,c,n,t,e,i,r,d,void 0,s,a),Te}function A2(n,t,e,i){return dc(!0),t[Ge].createComment("")}function TA(n){let t,e;function i(){n=ts;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{n(),i()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{n(),i()})),()=>i()}function PS(n){return queueMicrotask(()=>n()),()=>{n=ts}}function tb(n){if(n._nesting==0&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function R2(n){if(n.isCheckStableRunning||n.callbackScheduled)return;n.callbackScheduled=!0;function t(){TA(()=>{n.callbackScheduled=!1,i_(n),n.isCheckStableRunning=!0,tb(n),n.isCheckStableRunning=!1})}n.scheduleInRootZone?Zone.root.run(()=>{t()}):n._outer.run(()=>{t()}),i_(n)}function O2(n){let t=()=>{R2(n)},e=T2++;n._inner=n._inner.fork({name:"angular",properties:{[eb]:!0,[fh]:e,[fh+e]:!0},onInvokeTask:(i,r,o,s,a,l)=>{if(N2(l))return i.invokeTask(o,s,a,l);try{return jS(n),i.invokeTask(o,s,a,l)}finally{(n.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||n.shouldCoalesceRunChangeDetection)&&t(),VS(n)}},onInvoke:(i,r,o,s,a,l,c)=>{try{return jS(n),i.invoke(o,s,a,l,c)}finally{n.shouldCoalesceRunChangeDetection&&!n.callbackScheduled&&!F2(l)&&t(),VS(n)}},onHasTask:(i,r,o,s)=>{i.hasTask(o,s),r===o&&(s.change=="microTask"?(n._hasPendingMicrotasks=s.microTask,i_(n),tb(n)):s.change=="macroTask"&&(n.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,r,o,s)=>(i.handleError(o,s),n.runOutsideAngular(()=>n.onError.emit(s)),!1)})}function i_(n){n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&n.callbackScheduled===!0?n.hasPendingMicrotasks=!0:n.hasPendingMicrotasks=!1}function jS(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function VS(n){n._nesting--,tb(n)}function N2(n){return MA(n,"__ignore_ng_zone__")}function F2(n){return MA(n,"__scheduler_tick__")}function MA(n,t){return!Array.isArray(n)||n.length!==1?!1:n[0]?.data?.[t]===!0}function Qt(n,t){let e=t?.injector??u(G);return Rn("NgAfterNextRender"),L2(n,e,t,!0)}function k2(n){return n instanceof Function?[void 0,void 0,n,void 0]:[n.earlyRead,n.write,n.mixedReadWrite,n.read]}function L2(n,t,e,i){let r=t.get(Nh);r.impl??=t.get(ib);let o=t.get(Kr,null,{optional:!0}),s=e?.manualCleanup!==!0?t.get(bn):null,a=t.get(es,null,{optional:!0}),l=new Cc(r.impl,k2(n),a?.view,i,s,o?.snapshot(null));return r.impl.register(l),l}function Yr(n){return!!n&&typeof n.then=="function"}function ob(n){return!!n&&typeof n.subscribe=="function"}function kh(n){return $o([{provide:sb,multi:!0,useValue:n}])}function RA(){Cg(()=>{let n="";throw new w(600,n)})}function OA(n){return n.isBoundToModule}function gc(n,t){let e=n.indexOf(t);e>-1&&n.splice(e,1)}function De(n,t,e,i){let r=Y(),o=Vr();if(xn(r,o,t)){let s=Xe(),a=cc();tB(a,r,n,t,e,i)}return De}function Dv(n,t,e,i,r){return n===e&&Object.is(t,i)?1:Object.is(r(n,t),r(e,i))?-1:0}function V2(n,t,e){let i,r,o=0,s=n.length-1,a=void 0;if(Array.isArray(t)){let l=t.length-1;for(;o<=s&&o<=l;){let c=n.at(o),d=t[o],h=Dv(o,c,o,d,e);if(h!==0){h<0&&n.updateValue(o,d),o++;continue}let m=n.at(s),p=t[l],g=Dv(s,m,l,p,e);if(g!==0){g<0&&n.updateValue(s,p),s--,l--;continue}let y=e(o,c),E=e(s,m),D=e(o,d);if(Object.is(D,E)){let k=e(l,p);Object.is(k,y)?(n.swap(o,s),n.updateValue(s,p),l--,s--):n.move(s,o),n.updateValue(o,d),o++;continue}if(i??=new ph,r??=US(n,o,s,e),o_(n,i,o,D))n.updateValue(o,d),o++,s++;else if(r.has(D))i.set(y,n.detach(o)),s--;else{let k=n.create(o,t[o]);n.attach(o,k),o++,s++}}for(;o<=l;)BS(n,i,e,o,t[o]),o++}else if(t!=null){let l=t[Symbol.iterator](),c=l.next();for(;!c.done&&o<=s;){let d=n.at(o),h=c.value,m=Dv(o,d,o,h,e);if(m!==0)m<0&&n.updateValue(o,h),o++,c=l.next();else{i??=new ph,r??=US(n,o,s,e);let p=e(o,h);if(o_(n,i,o,p))n.updateValue(o,h),o++,s++,c=l.next();else if(!r.has(p))n.attach(o,n.create(o,h)),o++,s++,c=l.next();else{let g=e(o,d);i.set(g,n.detach(o)),s--}}}for(;!c.done;)BS(n,i,e,n.length,c.value),c=l.next()}for(;o<=s;)n.destroy(n.detach(s--));i?.forEach(l=>{n.destroy(l)})}function o_(n,t,e,i){return t!==void 0&&t.has(i)?(n.attach(e,t.get(i)),t.delete(i),!0):!1}function BS(n,t,e,i,r){if(o_(n,t,i,e(i,r)))n.updateValue(i,r);else{let o=n.create(i,r);n.attach(i,o)}}function US(n,t,e,i){let r=new Set;for(let o=t;o<=e;o++)r.add(i(o,n.at(o)));return r}function ot(n,t,e,i,r,o,s,a){Rn("NgControlFlow");let l=Y(),c=Xe(),d=Mn(c.consts,o);return xc(l,c,n,t,e,i,r,d,256,s,a),db}function db(n,t,e,i,r,o,s,a){Rn("NgControlFlow");let l=Y(),c=Xe(),d=Mn(c.consts,o);return xc(l,c,n,t,e,i,r,d,512,s,a),db}function st(n,t){Rn("NgControlFlow");let e=Y(),i=Vr(),r=e[i]!==Yt?e[i]:-1,o=r!==-1?mh(e,Ze+r):void 0,s=0;if(xn(e,i,n)){let a=ie(null);try{if(o!==void 0&&iA(o,s),n!==-1){let l=Ze+n,c=mh(e,l),d=c_(e[K],l),h=oA(c,d,e),m=Tc(e,d,t,{dehydratedView:h});Mc(c,m,s,Ea(d,h))}}finally{ie(a)}}else if(o!==void 0){let a=nA(o,s);a!==void 0&&(a[lt]=t)}}function ub(n){return n}function fb(n,t,e,i,r,o,s,a,l,c,d,h,m){Rn("NgControlFlow");let p=Y(),g=Xe(),y=l!==void 0,E=Y(),D=a?s.bind(E[Kt][lt]):s,k=new a_(y,D);E[Ze+n]=k,xc(p,g,n+1,t,e,i,r,Mn(g.consts,o),256),y&&xc(p,g,n+2,l,c,d,h,Mn(g.consts,m),512)}function hb(n){let t=ie(null),e=gi();try{let i=Y(),r=i[K],o=i[e],s=e+1,a=mh(i,s);if(o.liveCollection===void 0){let c=c_(r,s);o.liveCollection=new l_(a,i,c)}else o.liveCollection.reset();let l=o.liveCollection;if(V2(l,n,o.trackByFn),l.updateIndexes(),o.hasEmptyBlock){let c=Vr(),d=l.length===0;if(xn(i,c,d)){let h=e+2,m=mh(i,h);if(d){let p=c_(r,h),g=oA(m,p,i),y=Tc(i,p,void 0,{dehydratedView:g});Mc(m,y,0,Ea(p,g))}else r.firstUpdatePass&&SB(m),iA(m,0)}}}finally{ie(t)}}function mh(n,t){return n[t]}function B2(n,t){return _c(n,t)}function U2(n,t){return nA(n,t)}function c_(n,t){return sc(n,t)}function A(n,t,e){let i=Y(),r=Vr();if(xn(i,r,t)){let o=Xe(),s=cc();$I(s,i,n,t,i[Ge],e)}return A}function d_(n,t,e,i,r){V_(t,n,e,r?"class":"style",i)}function I(n,t,e,i){let r=Y(),o=r[K],s=n+Ze,a=o.firstCreatePass?G_(s,r,2,t,L_,kf(),e,i):o.data[s];if(P_(a,r,n,t,NA),pa(a)){let l=r[K];Ih(l,r,a),b_(l,a,r)}return i!=null&&Ac(r,a),I}function R(){let n=Xe(),t=_t(),e=j_(t);return n.firstCreatePass&&W_(n,e),ov(e)&&sv(),iv(),e.classesWithoutHost!=null&&Ej(e)&&d_(n,e,Y(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&wj(e)&&d_(n,e,Y(),e.stylesWithoutHost,!1),R}function ce(n,t,e,i){return I(n,t,e,i),R(),ce}function Ki(n,t,e,i){let r=Y(),o=r[K],s=n+Ze,a=o.firstCreatePass?BB(s,o,2,t,e,i):o.data[s];return P_(a,r,n,t,NA),i!=null&&Ac(r,a),Ki}function Yi(){let n=_t(),t=j_(n);return ov(t)&&sv(),iv(),Yi}function On(n,t,e,i){return Ki(n,t,e,i),Yi(),On}function pb(n,t,e){let i=Y(),r=i[K],o=n+Ze,s=r.firstCreatePass?G_(o,i,8,"ng-container",L_,kf(),t,e):r.data[o];if(P_(s,i,n,"ng-container",H2),pa(s)){let a=i[K];Ih(a,i,s),b_(a,s,i)}return e!=null&&Ac(i,s),pb}function mb(){let n=Xe(),t=_t(),e=j_(t);return n.firstCreatePass&&W_(n,e),mb}function Ma(n,t,e){return pb(n,t,e),mb(),Ma}function Re(){return Y()}function Qi(n,t,e){let i=Y(),r=Vr();if(xn(i,r,t)){let o=Xe(),s=cc();GI(s,i,n,t,i[Ge],e)}return Qi}function FA(n){typeof n=="string"&&(z2=n.toLowerCase().replace(/_/g,"-"))}function te(n,t,e){let i=Y(),r=Xe(),o=_t();return kA(r,i,i[Ge],o,n,t,e),te}function kA(n,t,e,i,r,o,s){let a=!0,l=null;if((i.type&3||s)&&(l??=Cv(i,t,o),zB(i,n,t,s,e,r,o,l)&&(a=!1)),a){let c=i.outputs?.[r],d=i.hostDirectiveOutputs?.[r];if(d&&d.length)for(let h=0;h<d.length;h+=2){let m=d[h],p=d[h+1];l??=Cv(i,t,o),MS(i,t,m,p,r,l)}if(c&&c.length)for(let h of c)l??=Cv(i,t,o),MS(i,t,h,r,r,l)}}function W(n=1){return sS(n)}function $2(n,t){let e=null,i=bV(n);for(let r=0;r<t.length;r++){let o=t[r];if(o==="*"){e=r;continue}if(i===null?MI(n,o,!0):EV(i,o))return r}return e}function Zt(n){let t=Y()[Kt][qt];if(!t.projection){let e=n?n.length:1,i=t.projection=ND(e,null),r=i.slice(),o=t.child;for(;o!==null;){if(o.type!==128){let s=n?$2(o,n):0;s!==null&&(r[s]?r[s].projectionNext=o:i[s]=o,r[s]=o)}o=o.next}}}function We(n,t=0,e,i,r,o){let s=Y(),a=Xe(),l=i?n+1:null;l!==null&&xc(s,a,l,i,r,o,null,e);let c=Ia(a,Ze+n,16,null,e||null);c.projection===null&&(c.projection=t),cv();let h=!s[Go]||rv();s[Kt][qt].projection[c.projection]===null&&l!==null?G2(s,a,l):h&&!bh(c)&&$V(a,s,c)}function G2(n,t,e){let i=Ze+e,r=t.data[i],o=n[i],s=oh(o,r.tView.ssrId),a=Tc(n,r,void 0,{dehydratedView:s});Mc(o,a,0,Ea(r,s))}function Nn(n,t,e,i){_A(n,t,e,i)}function Be(n,t,e){vA(n,t,e)}function be(n){let t=Y(),e=Xe(),i=jf();lc(i+1);let r=Q_(e,i);if(n.dirty&&HD(t)===((r.metadata.flags&2)===2)){if(r.matches===null)n.reset([]);else{let o=xA(t,i);n.reset(o,lI),n.notifyOnChanges()}return!0}return!1}function xe(){return Y_(Y(),jf())}function gb(n,t,e,i,r){EA(t,_A(n,e,i,r))}function Ra(n,t,e,i){EA(n,vA(t,e,i))}function Lh(n=1){lc(jf()+n)}function Xt(n){let t=QD();return Rf(t,Ze+n)}function Kf(n,t){return n<<17|t<<2}function os(n){return n>>17&32767}function W2(n){return(n&2)==2}function q2(n,t){return n&131071|t<<17}function u_(n){return n|2}function wa(n){return(n&131068)>>2}function Sv(n,t){return n&-131069|t<<2}function K2(n){return(n&1)===1}function f_(n){return n|1}function Y2(n,t,e,i,r,o){let s=o?t.classBindings:t.styleBindings,a=os(s),l=wa(s);n[i]=e;let c=!1,d;if(Array.isArray(e)){let h=e;d=h[1],(d===null||da(h,d)>0)&&(c=!0)}else d=e;if(r)if(l!==0){let m=os(n[a+1]);n[i+1]=Kf(m,a),m!==0&&(n[m+1]=Sv(n[m+1],i)),n[a+1]=q2(n[a+1],i)}else n[i+1]=Kf(a,0),a!==0&&(n[a+1]=Sv(n[a+1],i)),a=i;else n[i+1]=Kf(l,0),a===0?a=i:n[l+1]=Sv(n[l+1],i),l=i;c&&(n[i+1]=u_(n[i+1])),HS(n,d,i,!0),HS(n,d,i,!1),Q2(t,d,n,i,o),s=Kf(a,l),o?t.classBindings=s:t.styleBindings=s}function Q2(n,t,e,i,r){let o=r?n.residualClasses:n.residualStyles;o!=null&&typeof t=="string"&&da(o,t)>=0&&(e[i+1]=f_(e[i+1]))}function HS(n,t,e,i){let r=n[e+1],o=t===null,s=i?os(r):wa(r),a=!1;for(;s!==0&&(a===!1||o);){let l=n[s],c=n[s+1];Z2(l,t)&&(a=!0,n[s+1]=i?f_(c):u_(c)),s=i?os(c):wa(c)}a&&(n[e+1]=i?u_(r):f_(r))}function Z2(n,t){return n===null||t==null||(Array.isArray(n)?n[1]:n)===t?!0:Array.isArray(n)&&typeof t=="string"?da(n,t)>=0:!1}function X2(n){return n.substring(Kn.key,Kn.keyEnd)}function J2(n){return eU(n),LA(n,PA(n,0,Kn.textEnd))}function LA(n,t){let e=Kn.textEnd;return e===t?-1:(t=Kn.keyEnd=tU(n,Kn.key=t,e),PA(n,t,e))}function eU(n){Kn.key=0,Kn.keyEnd=0,Kn.value=0,Kn.valueEnd=0,Kn.textEnd=n.length}function PA(n,t,e){for(;t<e&&n.charCodeAt(t)<=32;)t++;return t}function tU(n,t,e){for(;t<e&&n.charCodeAt(t)>32;)t++;return t}function as(n,t,e){return jA(n,t,e,!1),as}function ne(n,t){return jA(n,t,null,!0),ne}function Yn(n){iU(cU,nU,n,!0)}function nU(n,t){for(let e=J2(t);e>=0;e=LA(t,e))Sf(n,X2(t),!0)}function jA(n,t,e,i){let r=Y(),o=Xe(),s=Lf(2);if(o.firstUpdatePass&&BA(o,n,s,i),t!==Yt&&xn(r,s,t)){let a=o.data[gi()];UA(o,a,r,r[Ge],n,r[s+1]=uU(t,e),i,s)}}function iU(n,t,e,i){let r=Xe(),o=Lf(2);r.firstUpdatePass&&BA(r,null,o,i);let s=Y();if(e!==Yt&&xn(s,o,e)){let a=r.data[gi()];if(HA(a,i)&&!VA(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(e=Cf(l,e||"")),d_(r,a,s,e,i)}else dU(r,a,s,s[Ge],s[o+1],s[o+1]=lU(n,t,e),i,o)}}function VA(n,t){return t>=n.expandoStartIndex}function BA(n,t,e,i){let r=n.data;if(r[e+1]===null){let o=r[gi()],s=VA(n,e);HA(o,i)&&t===null&&!s&&(t=!1),t=rU(r,o,t,i),Y2(r,o,t,e,s,i)}}function rU(n,t,e,i){let r=nS(n),o=i?t.residualClasses:t.residualStyles;if(r===null)(i?t.classBindings:t.styleBindings)===0&&(e=Iv(null,n,t,e,i),e=Ec(e,t.attrs,i),o=null);else{let s=t.directiveStylingLast;if(s===-1||n[s]!==r)if(e=Iv(r,n,t,e,i),o===null){let l=oU(n,t,i);l!==void 0&&Array.isArray(l)&&(l=Iv(null,n,t,l[1],i),l=Ec(l,t.attrs,i),sU(n,t,i,l))}else o=aU(n,t,i)}return o!==void 0&&(i?t.residualClasses=o:t.residualStyles=o),e}function oU(n,t,e){let i=e?t.classBindings:t.styleBindings;if(wa(i)!==0)return n[os(i)]}function sU(n,t,e,i){let r=e?t.classBindings:t.styleBindings;n[os(r)]=i}function aU(n,t,e){let i,r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<r;o++){let s=n[o].hostAttrs;i=Ec(i,s,e)}return Ec(i,t.attrs,e)}function Iv(n,t,e,i,r){let o=null,s=e.directiveEnd,a=e.directiveStylingLast;for(a===-1?a=e.directiveStart:a++;a<s&&(o=t[a],i=Ec(i,o.hostAttrs,r),o!==n);)a++;return n!==null&&(e.directiveStylingLast=a),i}function Ec(n,t,e){let i=e?1:2,r=-1;if(t!==null)for(let o=0;o<t.length;o++){let s=t[o];typeof s=="number"?r=s:r===i&&(Array.isArray(n)||(n=n===void 0?[]:["",n]),Sf(n,s,e?!0:t[++o]))}return n===void 0?null:n}function lU(n,t,e){if(e==null||e==="")return Bt;let i=[],r=Cn(e);if(Array.isArray(r))for(let o=0;o<r.length;o++)n(i,r[o],!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&n(i,o,r[o]);else typeof r=="string"&&t(i,r);return i}function cU(n,t,e){let i=String(t);i!==""&&!i.includes(" ")&&Sf(n,i,e)}function dU(n,t,e,i,r,o,s,a){r===Yt&&(r=Bt);let l=0,c=0,d=0<r.length?r[0]:null,h=0<o.length?o[0]:null;for(;d!==null||h!==null;){let m=l<r.length?r[l+1]:void 0,p=c<o.length?o[c+1]:void 0,g=null,y;d===h?(l+=2,c+=2,m!==p&&(g=h,y=p)):h===null||d!==null&&d<h?(l+=2,g=d):(c+=2,g=h,y=p),g!==null&&UA(n,t,e,i,g,y,s,a),d=l<r.length?r[l]:null,h=c<o.length?o[c]:null}}function UA(n,t,e,i,r,o,s,a){if(!(t.type&3))return;let l=n.data,c=l[a+1],d=K2(c)?zS(l,t,e,r,wa(c),s):void 0;if(!gh(d)){gh(o)||W2(c)&&(o=zS(l,null,e,r,a,s));let h=Zy(gi(),e);WV(i,s,h,r,o)}}function zS(n,t,e,i,r,o){let s=t===null,a;for(;r>0;){let l=n[r],c=Array.isArray(l),d=c?l[1]:l,h=d===null,m=e[r+1];m===Yt&&(m=h?Bt:void 0);let p=h?If(m,i):d===i?m:void 0;if(c&&!gh(p)&&(p=If(l,i)),gh(p)&&(a=p,s))return a;let g=n[r+1];r=s?os(g):wa(g)}if(t!==null){let l=o?t.residualClasses:t.residualStyles;l!=null&&(a=If(l,i))}return a}function gh(n){return n!==void 0}function uU(n,t){return n==null||n===""||(typeof t=="string"?n=n+t:typeof n=="object"&&(n=Hi(Cn(n)))),n}function HA(n,t){return(n.flags&(t?8:16))!==0}function se(n,t=""){let e=Y(),i=Xe(),r=n+Ze,o=i.firstCreatePass?Ia(i,r,1,t,null):i.data[r],s=fU(i,e,o,t,n);e[r]=s,Hf()&&F_(i,e,s,o),ya(o,!1)}function zA(n,t,e,i=""){return xn(n,Vr(),e)?t+Fr(e)+i:Yt}function hU(n,t,e,i,r,o=""){let s=ZD(),a=K_(n,s,e,r);return Lf(2),a?t+Fr(e)+i+Fr(r)+o:Yt}function ht(n){return Je("",n),ht}function Je(n,t,e){let i=Y(),r=zA(i,n,t,e);return r!==Yt&&$A(i,gi(),r),Je}function Ph(n,t,e,i,r){let o=Y(),s=hU(o,n,t,e,i,r);return s!==Yt&&$A(o,gi(),s),Ph}function $A(n,t,e){let i=Zy(t,n);AV(n[Ge],i,e)}function ls(n,t,e){gv(t)&&(t=t());let i=Y(),r=Vr();if(xn(i,r,t)){let o=Xe(),s=cc();$I(s,i,n,t,i[Ge],e)}return ls}function Oa(n,t){let e=gv(n);return e&&n.set(t),e}function cs(n,t){let e=Y(),i=Xe(),r=_t();return kA(i,e,e[Ge],r,n,t),cs}function Nc(n,t,e=""){return zA(Y(),n,t,e)}function pU(n,t,e){let i=Xe();if(i.firstCreatePass){let r=Gn(n);h_(e,i.data,i.blueprint,r,!0),h_(t,i.data,i.blueprint,r,!1)}}function h_(n,t,e,i,r){if(n=yt(n),Array.isArray(n))for(let o=0;o<n.length;o++)h_(n[o],t,e,i,r);else{let o=Xe(),s=Y(),a=_t(),l=Uo(n)?n:yt(n.provide),c=Gy(n),d=a.providerIndexes&1048575,h=a.directiveStart,m=a.providerIndexes>>20;if(Uo(n)||!n.multi){let p=new is(c,r,T,null),g=Tv(l,t,r?d:d+m,h);g===-1?(Rv(ih(a,s),o,l),Av(o,n,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),e.push(p),s.push(p)):(e[g]=p,s[g]=p)}else{let p=Tv(l,t,d+m,h),g=Tv(l,t,d,d+m),y=p>=0&&e[p],E=g>=0&&e[g];if(r&&!E||!r&&!y){Rv(ih(a,s),o,l);let D=yU(r?gU:mU,e.length,r,i,c,n);!r&&E&&(e[g].providerFactory=D),Av(o,n,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),e.push(D),s.push(D)}else{let D=GA(e[r?g:p],c,!r&&i);Av(o,n,p>-1?p:g,D)}!r&&i&&E&&e[g].componentProviders++}}}function Av(n,t,e,i){let r=Uo(t),o=jD(t);if(r||o){let l=(o?yt(t.useClass):t).prototype.ngOnDestroy;if(l){let c=n.destroyHooks||(n.destroyHooks=[]);if(!r&&t.multi){let d=c.indexOf(e);d===-1?c.push(e,[i,l]):c[d+1].push(i,l)}else c.push(e,l)}}}function GA(n,t,e){return e&&n.componentProviders++,n.multi.push(t)-1}function Tv(n,t,e,i){for(let r=e;r<i;r++)if(t[r]===n)return r;return-1}function mU(n,t,e,i,r){return p_(this.multi,[])}function gU(n,t,e,i,r){let o=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,l=yc(i,i[K],this.providerFactory.index,r);s=l.slice(0,a),p_(o,s);for(let c=a;c<l.length;c++)s.push(l[c])}else s=[],p_(o,s);return s}function p_(n,t){for(let e=0;e<n.length;e++){let i=n[e];t.push(i())}return t}function yU(n,t,e,i,r,o){let s=new is(n,e,T,null);return s.multi=[],s.index=t,s.componentProviders=0,GA(s,r,i&&!e),s}function Ot(n,t=[]){return e=>{e.providersResolver=(i,r)=>pU(i,r?r(n):n,t)}}function Fc(n,t,e){let i=Xo()+n,r=Y();return r[i]===Yt?Mh(r,i,e?t.call(e):t()):UB(r,i)}function yb(n,t,e,i){return WA(Y(),Xo(),n,t,e,i)}function vb(n,t,e,i,r){return qA(Y(),Xo(),n,t,e,i,r)}function _b(n,t,e,i,r,o){return vU(Y(),Xo(),n,t,e,i,r,o)}function bb(n,t){let e=n[t];return e===Yt?void 0:e}function WA(n,t,e,i,r,o){let s=t+e;return xn(n,s,r)?Mh(n,s+1,o?i.call(o,r):i(r)):bb(n,s+1)}function qA(n,t,e,i,r,o,s){let a=t+e;return K_(n,a,r,o)?Mh(n,a+2,s?i.call(s,r,o):i(r,o)):bb(n,a+2)}function vU(n,t,e,i,r,o,s,a){let l=t+e;return HB(n,l,r,o,s)?Mh(n,l+3,a?i.call(a,r,o,s):i(r,o,s)):bb(n,l+3)}function ae(n,t){let e=Xe(),i,r=n+Ze;e.firstCreatePass?(i=_U(t,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks??=[]).push(r,i.onDestroy)):i=e.data[r];let o=i.factory||(i.factory=Rr(i.type,!0)),s,a=Wt(T);try{let l=nh(!1),c=o();return nh(l),Xy(e,Y(),r,c),c}finally{Wt(a)}}function _U(n,t){if(t)for(let e=t.length-1;e>=0;e--){let i=t[e];if(n===i.name)return i}}function pe(n,t,e){let i=n+Ze,r=Y(),o=Rf(r,i);return KA(r,i)?WA(r,Xo(),t,o.transform,e,o):o.transform(e)}function ds(n,t,e,i){let r=n+Ze,o=Y(),s=Rf(o,r);return KA(o,r)?qA(o,Xo(),t,s.transform,e,i,s):s.transform(e,i)}function KA(n,t){return n[K].data[t].pure}function Qr(n,t){return Ah(n,t)}function YA({ngZoneFactory:n,ignoreChangesOutsideZone:t,scheduleInRootZone:e}){return n??=()=>new P(J(b({},QA()),{scheduleInRootZone:e})),[{provide:P,useFactory:n},{provide:zi,multi:!0,useFactory:()=>{let i=u(bU,{optional:!0});return()=>i.initialize()}},{provide:zi,multi:!0,useFactory:()=>{let i=u(xU);return()=>{i.initialize()}}},t===!0?{provide:yv,useValue:!0}:[],{provide:vv,useValue:e??AA},{provide:dn,useFactory:()=>{let i=u(P),r=u($e),o;return s=>{i.runOutsideAngular(()=>{r.destroyed&&!o?setTimeout(()=>{throw s}):(o??=r.get(Mt),o.handleError(s))})}}}]}function QA(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:n?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:n?.runCoalescing??!1}}function CU(){return typeof $localize<"u"&&$localize.locale||Oc}var $f,wc,m_,Jf,je,KS,dS,ke,ba,is,Mv,Aj,eI,tI,Tj,vi,ns,H,rs,y_,dI,jj,mS,Fv,$r,Uj,vh,fn,Gr,Wr,Hj,zj,pI,mI,gI,yI,_h,$j,Wj,Gi,Gf,Wf,Wi,Lv,Pv,jv,Vv,Bv,Uv,Hv,Qj,CI,EI,wI,Zj,Xj,Jj,vS,DI,eV,tV,nV,iV,zv,aV,lV,qf,Et,uV,fV,hV,TI,Yt,wh,_i,kV,zV,wS,YV,DS,lB,KI,fB,pB,mB,Hr,un,IX,AB,TB,sA,Th,qv,qr,ft,rt,aA,Xf,Kv,Yv,ah,zr,lh,Rt,e2,pA,n2,i2,Qv,Zv,ch,Xv,Jv,NS,bi,Rh,dh,uh,bc,h2,I2,Oh,Kr,AA,n_,z,eb,fh,T2,P,M2,hh,Nh,nb,ib,Cc,Fh,rb,sb,ab,Ta,P2,Ut,lb,cb,j2,FX,r_,ph,s_,a_,l_,NA,H2,Oc,z2,Kn,fU,yh,xb,bU,xU,ZA,jh,Cb=f(()=>{"use strict";pc();Ao();we();my();it();$f="__parameters__";wc=jy(GS("Optional"),8),m_=jy(GS("SkipSelf"),4);Jf=class{previousValue;currentValue;firstChange;constructor(t,e,i){this.previousValue=t,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}};je=(()=>{let n=()=>qS;return n.ngInherit=!0,n})();KS="__ngSimpleChanges__";dS=[],ke=function(n,t=null,e){for(let i=0;i<dS.length;i++){let r=dS[i];r(n,t,e)}};ba=-1,is=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,e,i,r){this.factory=t,this.name=r,this.canSeeViewProviders=e,this.injectImpl=i}};Mv=!0;Aj=256,eI=Aj-1,tI=5,Tj=0,vi={};ns=class{_tNode;_lView;constructor(t,e){this._tNode=t,this._lView=e}get(t,e,i){return oI(this._tNode,this._lView,t,Bo(i),e)}};H=(()=>{class n{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=Lj}return n})();rs=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 M}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){this.dirty=!1;let i=OD(t);(this._changesDetected=!RD(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Pj};y_=(function(n){return n[n.OnPush=0]="OnPush",n[n.Default=1]="Default",n})(y_||{}),dI=new Map,jj=0;mS="__ngContext__";$r=new x("",{providedIn:"root",factory:()=>Uj}),Uj="ng",vh=new x(""),fn=new x("",{providedIn:"platform",factory:()=>"unknown"}),Gr=new x(""),Wr=new x("",{providedIn:"root",factory:()=>__().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Hj="h",zj="b",pI="r",mI="di",gI=!1,yI=new x("",{providedIn:"root",factory:()=>gI}),_h=new x("");$j=(n,t,e,i)=>{};Wj=()=>null;Gi=(function(n){return n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",n})(Gi||{});Wi=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${xf})`}},Lv=class extends Wi{getTypeName(){return"HTML"}},Pv=class extends Wi{getTypeName(){return"Style"}},jv=class extends Wi{getTypeName(){return"Script"}},Vv=class extends Wi{getTypeName(){return"URL"}},Bv=class extends Wi{getTypeName(){return"ResourceURL"}};Uv=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let e=new window.DOMParser().parseFromString(xh(t),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(t):(e.firstChild?.remove(),e)}catch{return null}}},Hv=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let e=this.inertDocument.createElement("template");return e.innerHTML=xh(t),e}};Qj=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;CI=qi("area,br,col,hr,img,wbr"),EI=qi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),wI=qi("rp,rt"),Zj=Ic(wI,EI),Xj=Ic(EI,qi("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")),Jj=Ic(wI,qi("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")),vS=Ic(CI,Xj,Jj,Zj),DI=qi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),eV=qi("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"),tV=qi("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"),nV=Ic(DI,eV,tV),iV=qi("script,style,template"),zv=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let e=t.firstChild,i=!0,r=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild){r.push(e),e=sV(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=oV(e);if(o){e=o;break}e=r.pop()}}return this.buf.join("")}startElement(t){let e=_S(t).toLowerCase();if(!vS.hasOwnProperty(e))return this.sanitizedSomething=!0,!iV.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let i=t.attributes;for(let r=0;r<i.length;r++){let o=i.item(r),s=o.name,a=s.toLowerCase();if(!nV.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;DI[a]&&(l=Sc(l)),this.buf.push(" ",s,'="',bS(l),'"')}return this.buf.push(">"),!0}endElement(t){let e=_S(t).toLowerCase();vS.hasOwnProperty(e)&&!CI.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(bS(t))}};aV=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,lV=/([^\#-~ |!])/g;Et=(function(n){return n[n.NONE=0]="NONE",n[n.HTML=1]="HTML",n[n.STYLE=2]="STYLE",n[n.SCRIPT=3]="SCRIPT",n[n.URL=4]="URL",n[n.RESOURCE_URL=5]="RESOURCE_URL",n})(Et||{});uV=/^>|^->|<!--|-->|--!>|<!-$/g,fV=/(<|>)/g,hV="\u200B$1\u200B";TI="ng-template";Yt={};wh=(function(n){return n[n.None=0]="None",n[n.SignalBased=1]="SignalBased",n[n.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",n})(wh||{});_i=(function(n){return n[n.Important=1]="Important",n[n.DashCase=2]="DashCase",n})(_i||{});zV=HV;YV=()=>null;DS=!1,lB=new x("");KI=[];fB=J(b({},wr),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:n=>{jr(n.lView)},consumerOnSignalRead(){this.lView[_n]=this}});pB=J(b({},wr),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:n=>{let t=Or(n.lView);for(;t&&!YI(t[K]);)t=Or(t);t&&Nf(t)},consumerOnSignalRead(){this.lView[_n]=this}});mB=100;Hr=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,e=t[K];return vc(e,t,e.firstChild,[])}constructor(t,e){this._lView=t,this._cdRefInjectingView=e}get context(){return this._lView[lt]}set context(t){this._lView[lt]=t}get destroyed(){return Zo(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[vt];if($n(t)){let e=t[oc],i=e?e.indexOf(this):-1;i>-1&&(_c(t,i),nc(e,i))}this._attachedToViewContainer=!1}Dh(this._lView[K],this._lView)}onDestroy(t){ev(this._lView,t)}markForCheck(){H_(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[ee]&=-129}reattach(){Ff(this._lView),this._lView[ee]|=128}detectChanges(){this._lView[ee]|=1024,U_(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=ma(this._lView),e=this._lView[kr];e!==null&&!t&&N_(e,this._lView),jI(this._lView[K],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=t;let e=ma(this._lView),i=this._lView[kr];i!==null&&!e&&rA(i,this._lView),Ff(this._lView)}};un=(()=>{class n{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=CB;constructor(e,i,r){this._declarationLView=e,this._declarationTContainer=i,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,i){return this.createEmbeddedViewImpl(e,i)}createEmbeddedViewImpl(e,i,r){let o=Tc(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:i,dehydratedView:r});return new Hr(o)}}return n})();IX=new RegExp(`^(\\d+)*(${zj}|${Hj})*(.*)`);AB=()=>null,TB=()=>null;sA=class{},Th=class{},qv=class{resolveComponentFactory(t){throw new w(917,!1)}},qr=class{static NULL=new qv},ft=class{},rt=(()=>{class n{destroyNode=null;static __NG_ELEMENT_ID__=()=>MB()}return n})();aA=(()=>{class n{static \u0275prov=v({token:n,providedIn:"root",factory:()=>null})}return n})(),Xf={},Kv=class{injector;parentInjector;constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,i){let r=this.injector.get(t,Xf,i);return r!==Xf||e===Xf?r:this.parentInjector.get(t,e,i)}};Yv=Symbol("BINDING"),ah=class extends qr{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let e=fi(t);return new zr(e,this.ngModule)}};zr=class extends Th{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=GB(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=WB(this.componentDef.outputs),this.cachedOutputs}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=DV(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!e}create(t,e,i,r,o,s){ke(22);let a=ie(null);try{let l=this.componentDef,c=QB(i,l,s,o),d=qB(l,r||this.ngModule,t),h=KB(d),m=h.rendererFactory.createRenderer(null,l),p=i?qV(m,i,l.encapsulation,d):YB(l,m),g=s?.some(RS)||o?.some(D=>typeof D!="function"&&D.bindings.some(RS)),y=M_(null,c,null,512|kI(l),null,null,h,m,d,null,vI(p,d,!0));y[Ze]=p,Vf(y);let E=null;try{let D=G_(Ze,y,2,"#host",()=>c.directiveRegistry,!0,0);p&&(FI(m,p,D),Ca(p,y)),Ih(c,y,D),b_(c,D,y),W_(c,D),e!==void 0&&XB(D,this.ngContentSelectors,e),E=Tn(D.index,y),y[lt]=E[lt],B_(c,y,null)}catch(D){throw E!==null&&Nv(E),Nv(y),D}finally{ke(23),Bf()}return new lh(this.componentType,y,!!g)}finally{ie(a)}}};lh=class extends sA{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,e,i){super(),this._rootLView=e,this._hasInputBindings=i,this._tNode=sc(e[K],Ze),this.location=Sa(this._tNode,e),this.instance=Tn(this._tNode.index,e)[lt],this.hostView=this.changeDetectorRef=new Hr(e,void 0),this.componentType=t}setInput(t,e){this._hasInputBindings;let i=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),e))return;let r=this._rootLView,o=V_(i,r[K],r,t,e);this.previousInputValues.set(t,e);let s=Tn(i.index,r);H_(s,1)}get injector(){return new ns(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};Rt=(()=>{class n{static __NG_ELEMENT_ID__=JB}return n})();e2=Rt,pA=class extends e2{_lContainer;_hostTNode;_hostLView;constructor(t,e,i){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=i}get element(){return Sa(this._hostTNode,this._hostLView)}get injector(){return new ns(this._hostTNode,this._hostLView)}get parentInjector(){let t=g_(this._hostTNode,this._hostLView);if(JS(t)){let e=th(t,this._hostLView),i=eh(t),r=e[K].data[i+8];return new ns(r,e)}else return new ns(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let e=OS(this._lContainer);return e!==null&&e[t]||null}get length(){return this._lContainer.length-Ct}createEmbeddedView(t,e,i){let r,o;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector);let s=oh(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(e||{},o,s);return this.insertImpl(a,r,Ea(this._hostTNode,s)),a}createComponent(t,e,i,r,o,s,a){let l=t&&!yj(t),c;if(l)c=e;else{let E=e||{};c=E.index,i=E.injector,r=E.projectableNodes,o=E.environmentInjector||E.ngModuleRef,s=E.directives,a=E.bindings}let d=l?t:new zr(fi(t)),h=i||this.parentInjector;if(!o&&d.ngModule==null){let D=(l?h:this.parentInjector).get($e,null);D&&(o=D)}let m=fi(d.componentType??{}),p=oh(this._lContainer,m?.id??null),g=p?.firstChild??null,y=d.create(h,r,g,o,s,a);return this.insertImpl(y.hostView,c,Ea(this._hostTNode,p)),y}insert(t,e){return this.insertImpl(t,e,!0)}insertImpl(t,e,i){let r=t._lView;if(zD(r)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let l=r[vt],c=new pA(l,l[qt],l[vt]);c.detach(c.indexOf(t))}}let o=this._adjustIndex(e),s=this._lContainer;return Mc(s,r,o,i),t.attachToViewContainerRef(),Vy(Ev(s),o,t),t}move(t,e){return this.insert(t,e)}indexOf(t){let e=OS(this._lContainer);return e!==null?e.indexOf(t):-1}remove(t){let e=this._adjustIndex(t,-1),i=_c(this._lContainer,e);i&&(nc(Ev(this._lContainer),e),Dh(i[K],i))}detach(t){let e=this._adjustIndex(t,-1),i=_c(this._lContainer,e);return i&&nc(Ev(this._lContainer),e)!=null?new Hr(i):null}_adjustIndex(t,e=0){return t??this.length+e}};n2=o2,i2=()=>!1;Qv=class n{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new n(this.queryList)}setDirty(){this.queryList.setDirty()}},Zv=class n{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let e=t.queries;if(e!==null){let i=t.contentQueries!==null?t.contentQueries[0]:e.length,r=[];for(let o=0;o<i;o++){let s=e.getByIndex(o),a=this.queries[s.indexInDeclarationView];r.push(a.clone())}return new n(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)Q_(t,e).matches!==null&&this.queries[e].setDirty()}},ch=class{flags;read;predicate;constructor(t,e,i=null){this.flags=e,this.read=i,typeof t=="string"?this.predicate=d2(t):this.predicate=t}},Xv=class n{queries;constructor(t=[]){this.queries=t}elementStart(t,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let i=0;i<this.length;i++){let r=e!==null?e.length:0,o=this.getByIndex(i).embeddedTView(t,r);o&&(o.indexInDeclarationView=i,e!==null?e.push(o):e=[o])}return e!==null?new n(e):null}template(t,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},Jv=class n{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,e=-1){this.metadata=t,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new n(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let e=this._declarationNodeIndex,i=t.parent;for(;i!==null&&i.type&8&&i.index!==e;)i=i.parent;return e===(i!==null?i.index:-1)}return this._appliesToNextNode}matchTNode(t,e){let i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){let o=i[r];this.matchTNodeWithReadOption(t,e,s2(e,o)),this.matchTNodeWithReadOption(t,e,Zf(e,t,o,!1,!1))}else i===un?e.type&4&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,Zf(e,t,i,!1,!1))}matchTNodeWithReadOption(t,e,i){if(i!==null){let r=this.metadata.read;if(r!==null)if(r===H||r===Rt||r===un&&e.type&4)this.addMatch(e.index,-2);else{let o=Zf(e,t,r,!1,!1);o!==null&&this.addMatch(e.index,o)}else this.addMatch(e.index,i)}}addMatch(t,e){this.matches===null?this.matches=[t,e]:this.matches.push(t,e)}};NS=new Set;bi=class{},Rh=class{},dh=class extends bi{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new ah(this);constructor(t,e,i,r=!0){super(),this.ngModuleType=t,this._parent=e;let o=Hy(t);this._bootstrapComponents=AI(o.bootstrap),this._r3Injector=pv(t,e,[{provide:bi,useValue:this},{provide:qr,useValue:this.componentFactoryResolver},...i],Hi(t),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},uh=class extends Rh{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new dh(this.moduleType,t,[])}},bc=class extends bi{injector;componentFactoryResolver=new ah(this);instance=null;constructor(t){super();let e=new Ho([...t.providers,{provide:bi,useValue:this},{provide:qr,useValue:this.componentFactoryResolver}],t.parent||ua(),t.debugName,new Set(["environment"]));this.injector=e,t.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};h2=(()=>{class n{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=zy(!1,e.type),r=i.length>0?Aa([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=v({token:n,providedIn:"environment",factory:()=>new n(S($e))})}return n})();I2=A2;Oh=(function(n){return n[n.CHANGE_DETECTION=0]="CHANGE_DETECTION",n[n.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",n})(Oh||{}),Kr=new x(""),AA=!1,n_=class extends M{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,VD()&&(this.destroyRef=u(bn,{optional:!0})??void 0,this.pendingTasks=u(yi,{optional:!0})??void 0)}emit(t){let e=ie(null);try{super.next(t)}finally{ie(e)}}subscribe(t,e,i){let r=t,o=e||(()=>null),s=i;if(t&&typeof t=="object"){let l=t;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:r,error:o,complete:s});return t instanceof Ce&&t.add(a),a}wrapInTimeout(t){return e=>{let i=this.pendingTasks?.add();setTimeout(()=>{try{t(e)}finally{i!==void 0&&this.pendingTasks?.remove(i)}})}}},z=n_;eb="isAngularZone",fh=eb+"_ID",T2=0,P=class n{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new z(!1);onMicrotaskEmpty=new z(!1);onStable=new z(!1);onError=new z(!1);constructor(t){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=AA}=t;if(typeof Zone>"u")throw new w(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&i,s.shouldCoalesceRunChangeDetection=r,s.callbackScheduled=!1,s.scheduleInRootZone=o,O2(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(eb)===!0}static assertInAngularZone(){if(!n.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(n.isInAngularZone())throw new w(909,!1)}run(t,e,i){return this._inner.run(t,e,i)}runTask(t,e,i,r){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,t,M2,ts,ts);try{return o.runTask(s,e,i)}finally{o.cancelTask(s)}}runGuarded(t,e,i){return this._inner.runGuarded(t,e,i)}runOutsideAngular(t){return this._outer.run(t)}},M2={};hh=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new z;onMicrotaskEmpty=new z;onStable=new z;onError=new z;run(t,e,i){return t.apply(e,i)}runGuarded(t,e,i){return t.apply(e,i)}runOutsideAngular(t){return t()}runTask(t,e,i,r){return t.apply(e,i)}};Nh=(()=>{class n{impl=null;execute(){this.impl?.execute()}static \u0275prov=v({token:n,providedIn:"root",factory:()=>new n})}return n})(),nb=[0,1,2,3],ib=(()=>{class n{ngZone=u(P);scheduler=u(cn);errorHandler=u(Mt,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){u(Kr,{optional:!0})}execute(){let e=this.sequences.size>0;e&&ke(16),this.executing=!0;for(let i of nb)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[i]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=r.hooks[i];return o(r.pipelinedValue)},r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(let i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&ke(17)}register(e){let{view:i}=e;i!==void 0?((i[Yo]??=[]).push(e),jr(i),i[ee]|=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,i){return i?i.run(Oh.AFTER_NEXT_RENDER,e):e()}static \u0275prov=v({token:n,providedIn:"root",factory:()=>new n})}return n})(),Cc=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,e,i,r,o,s=null){this.impl=t,this.hooks=e,this.view=i,this.once=r,this.snapshot=s,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[Yo];t&&(this.view[Yo]=t.filter(e=>e!==this))}};Fh=(()=>{class n{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"platform"})}return n})();rb=new x("");sb=new x("");ab=(()=>{class n{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i});appInits=u(sb,{optional:!0})??[];injector=u(G);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let o=xt(this.injector,r);if(Yr(o))e.push(o);else if(ob(o)){let s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});e.push(s)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),e.length===0&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Ta=new x("");P2=10,Ut=(()=>{class n{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=u(dn);afterRenderManager=u(Nh);zonelessEnabled=u(uc);rootEffectScheduler=u(hc);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new M;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=u(yi);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(V(e=>!e))}constructor(){u(Kr,{optional:!0})}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{e.unsubscribe()})}_injector=u($e);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,i){return this.bootstrapImpl(e,i)}bootstrapImpl(e,i,r=G.NULL){return this._injector.get(P).run(()=>{ke(10);let s=e instanceof Th;if(!this._injector.get(ab).done){let g="";throw new w(405,g)}let l;s?l=e:l=this._injector.get(qr).resolveComponentFactory(e),this.componentTypes.push(l.componentType);let c=OA(l)?void 0:this._injector.get(bi),d=i||l.selector,h=l.create(r,[],d,c),m=h.location.nativeElement,p=h.injector.get(rb,null);return p?.registerApplication(m),h.onDestroy(()=>{this.detachView(h.hostView),gc(this.components,h),p?.unregisterApplication(m)}),this._loadComponent(h),ke(11,h),h})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){ke(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Oh.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new w(101,!1);let e=ie(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,ie(e),this.afterTick.next(),ke(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(ft,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++<P2;)ke(14),this.synchronizeOnce(),ke(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let e=!1;if(this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r}of this.allViews){if(!i&&!ga(r))continue;let o=i&&!this.zonelessEnabled?0:1;U_(r,o),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})=>ga(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){let i=e;gc(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView);try{this.tick()}catch(r){this.internalErrorHandler(r)}this.components.push(e),this._injector.get(Ta,[]).forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>gc(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new w(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();lb=new x("",{providedIn:"root",factory:()=>!1}),cb=new x("",{providedIn:"root",factory:()=>j2}),j2=4e3,FX=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";r_=class{destroy(t){}updateValue(t,e){}swap(t,e){let i=Math.min(t,e),r=Math.max(t,e),o=this.detach(r);if(r-i>1){let s=this.detach(i);this.attach(i,o),this.attach(r,s)}else this.attach(i,o)}move(t,e){this.attach(e,this.detach(t))}};ph=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let e=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(t,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,e){if(this.kvMap.has(t)){let i=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(i);)i=r.get(i);r.set(i,e)}else this.kvMap.set(t,e)}forEach(t){for(let[e,i]of this.kvMap)if(t(i,e),this._vMap!==void 0){let r=this._vMap;for(;r.has(i);)i=r.get(i),t(i,e)}}};s_=class{lContainer;$implicit;$index;constructor(t,e,i){this.lContainer=t,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-Ct}};a_=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,e,i){this.hasEmptyBlock=t,this.trackByFn=e,this.liveCollection=i}};l_=class extends r_{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,e,i){super(),this.lContainer=t,this.hostLView=e,this.templateTNode=i}get length(){return this.lContainer.length-Ct}at(t){return this.getLView(t)[lt].$implicit}attach(t,e){let i=e[Go];this.needsIndexUpdate||=t!==this.length,Mc(this.lContainer,e,t,Ea(this.templateTNode,i))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,B2(this.lContainer,t)}create(t,e){let i=oh(this.lContainer,this.templateTNode.tView.ssrId),r=Tc(this.hostLView,this.templateTNode,new s_(this.lContainer,e,t),{dehydratedView:i});return this.operationsCounter?.recordCreate(),r}destroy(t){Dh(t[K],t),this.operationsCounter?.recordDestroy()}updateValue(t,e){this.getLView(t)[lt].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[lt].$index=t}getLView(t){return U2(this.lContainer,t)}};NA=(n,t,e,i,r)=>(dc(!0),RI(t[Ge],i,aS()));H2=(n,t,e,i,r)=>(dc(!0),TV(t[Ge],""));Oc="en-US",z2=Oc;Kn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};fU=(n,t,e,i,r)=>(dc(!0),IV(t[Ge],i));yh=class{ngModuleFactory;componentFactories;constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}},xb=(()=>{class n{compileModuleSync(e){return new uh(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let i=this.compileModuleSync(e),r=Hy(e),o=AI(r.declarations).reduce((s,a)=>{let l=fi(a);return l&&s.push(new zr(l)),s},[]);return new yh(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),bU=(()=>{class n{zone=u(P);changeDetectionScheduler=u(cn);applicationRef=u(Ut);applicationErrorHandler=u(dn);_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(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();xU=(()=>{class n{subscription=new Ce;initialized=!1;zone=u(P);pendingTasks=u(yi);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(()=>{P.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{P.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),ZA=(()=>{class n{applicationErrorHandler=u(dn);appRef=u(Ut);taskService=u(yi);ngZone=u(P);zonelessEnabled=u(uc);tracing=u(Kr,{optional:!0});disableScheduling=u(yv,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Ce;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(fh):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(u(vv,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof hh||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;let i=!1;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,i=!0;break}case 12:{this.appRef.dirtyFlags|=16,i=!0;break}case 13:{this.appRef.dirtyFlags|=2,i=!0;break}case 11:{i=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(i))return;let r=this.useMicrotaskScheduler?PS:TA;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(e){return!(this.disableScheduling&&!e||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(fh+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(i){this.taskService.remove(e),this.applicationErrorHandler(i)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,PS(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();jh=new x("",{providedIn:"root",factory:()=>u(jh,{optional:!0,skipSelf:!0})||CU()})});function pt(n){return xD(n)}function Qn(n,t){return kl(n,t?.equal)}function Na(n,t){let e=t?.injector??u(G),i=t?.manualCleanup!==!0?e.get(bn):null,r,o=e.get(es,null,{optional:!0}),s=e.get(cn);return o!==null?(r=DU(o.view,s,n),i instanceof ec&&i._lView===o.view&&(i=null)):r=SU(n,e.get(hc),s),r.injector=e,i!==null&&(r.onDestroyFn=i.onDestroy(()=>r.destroy())),new Eb(r)}function DU(n,t,e){let i=Object.create(wU);return i.view=n,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=t,i.fn=e,n[$i]??=new Set,n[$i].add(i),i.consumerMarkedDirty(i),i}function SU(n,t,e){let i=Object.create(EU);return i.fn=n,i.scheduler=t,i.notifier=e,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.add(i),i.notifier.notify(12),i}var Eb,XA,EU,wU,JA=f(()=>{"use strict";pc();Ao();CD();Eb=class{[gt];constructor(t){this[gt]=t}destroy(){this[gt].destroy()}};XA=J(b({},wr),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:ts,run(){if(this.dirty=!1,this.hasRun&&!Io(this))return;this.hasRun=!0;let n=i=>(this.cleanupFns??=[]).push(i),t=Li(this),e=va(!1);try{this.maybeCleanup(),this.fn(n)}finally{va(e),Dr(this,t)}},maybeCleanup(){if(!this.cleanupFns?.length)return;let n=ie(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],ie(n)}}}),EU=J(b({},XA),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Sr(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),wU=J(b({},XA),{consumerMarkedDirty(){this.view[ee]|=8192,jr(this.view),this.notifier.notify(13)},destroy(){Sr(this),this.onDestroyFn(),this.maybeCleanup(),this.view[$i]?.delete(this)}})});function aT(n,t){let e=Object.create(UU);e.value=n,e.transformFn=t?.transform;function i(){if(So(e),e.value===sT){let r=null;throw new w(-950,r)}return e.value}return i[gt]=e,i}function eT(n,t){return aT(n,t)}function zU(n){return aT(sT,n)}function tT(n,t){return Z_(t)}function $U(n,t){return X_(t)}function nT(n,t){return Z_(t)}function GU(n,t){return X_(t)}function kc(n){return!n.moduleRef}function qU(n){let t=kc(n)?n.r3Injector:n.moduleRef.injector,e=t.get(P);return e.run(()=>{kc(n)?n.r3Injector.resolveInjectorInitializers():n.moduleRef.resolveInjectorInitializers();let i=t.get(dn),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:i})}),kc(n)){let o=()=>t.destroy(),s=n.platformInjector.get(Db);s.add(o),t.onDestroy(()=>{r.unsubscribe(),s.delete(o)})}else{let o=()=>n.moduleRef.destroy(),s=n.platformInjector.get(Db);s.add(o),n.moduleRef.onDestroy(()=>{gc(n.allPlatformModules,n.moduleRef),r.unsubscribe(),s.delete(o)})}return YU(i,e,()=>{let o=t.get(yi),s=o.add(),a=t.get(ab);return a.runInitializers(),a.donePromise.then(()=>{let l=t.get(jh,Oc);if(FA(l||Oc),!t.get(WU,!0))return kc(n)?t.get(Ut):(n.allPlatformModules.push(n.moduleRef),n.moduleRef);if(kc(n)){let d=t.get(Ut);return n.rootComponent!==void 0&&d.bootstrap(n.rootComponent),d}else return KU?.(n.moduleRef,n.allPlatformModules),n.moduleRef}).finally(()=>void o.remove(s))})})}function YU(n,t,e){try{let i=e();return Yr(i)?i.catch(r=>{throw t.runOutsideAngular(()=>n(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>n(i)),i}}function QU(n=[],t){return G.create({name:t,providers:[{provide:ic,useValue:"platform"},{provide:Db,useValue:new Set([()=>Vh=null])},...n]})}function ZU(n=[]){if(Vh)return Vh;let t=QU(n);return Vh=t,RA(),XU(t),t}function XU(n){let t=n.get(vh,null);xt(n,()=>{t?.forEach(e=>e())})}function JU(n){return eH(_t(),Y(),(n&16)===16)}function eH(n,t,e){if(Pr(n)&&!e){let i=Tn(n.index,t);return new Hr(i,i)}else if(n.type&175){let i=t[Kt];return new Hr(i,t)}return null}function iT(n,t,e){let i=n.previousIndex;if(i===null)return i;let r=0;return e&&i<e.length&&(r=e[i]),i+t+r}function rT(){return new Uh([new Sb])}function Rb(n){ke(8);try{let{rootComponent:t,appProviders:e,platformProviders:i}=n,r=ZU(i),o=[YA({}),{provide:cn,useExisting:ZA},cS,...e||[]],s=new bc({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1});return qU({r3Injector:s.injector,platformInjector:r,rootComponent:t})}catch(t){return Promise.reject(t)}finally{ke(9)}}function Ie(n){return typeof n=="boolean"?n:n!=null&&n!=="false"}function Ei(n,t=NaN){return!isNaN(parseFloat(n))&&!isNaN(Number(n))?Number(n):t}function uT(n,t){let e=t?.injector??u(G),i=e.get(cn),r=e.get(Nh),o=e.get(Kr,null,{optional:!0});r.impl??=e.get(ib);let s=n;typeof s=="function"&&(s={mixedReadWrite:n});let a=e.get(es,null,{optional:!0}),l=new Mb(r.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,i,e,o?.snapshot(null));return r.impl.register(l),l}function Hh(n,t){let e=fi(n),i=t.elementInjector||ua();return new zr(e).create(i,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function fT(n){let t=fi(n);if(!t)return null;let e=new zr(t);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var sT,UU,Zr,HU,lT,Lc,cT,Xr,Db,WU,KU,Vh,mt,Sb,tH,Ib,Ab,Tb,Bh,Uh,wb,dT,nH,Mb,_=f(()=>{"use strict";pc();pc();Ao();Cb();Cb();JA();sT=Symbol("InputSignalNode#UNSET"),UU=J(b({},Ll),{transformFn:void 0,applyValueToInputSignal(n,t){Ks(n,t)}});Zr=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Dc(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},HU=new x("");HU.__NG_ELEMENT_ID__=n=>{let t=_t();if(t===null)throw new w(204,!1);if(t.type&2)return t.value;if(n&8)return null;throw new w(204,!1)};lT=(eT.required=zU,eT);Lc=(tT.required=$U,tT);cT=(nT.required=GU,nT),Xr=class{full;major;minor;patch;constructor(t){this.full=t;let e=t.split(".");this.major=e[0],this.minor=e[1],this.patch=e.slice(2).join(".")}},Db=new x(""),WU=new x("");Vh=null;mt=(()=>{class n{static __NG_ELEMENT_ID__=JU}return n})();Sb=class{constructor(){}supports(t){return q_(t)}create(t){return new Ib(t)}},tH=(n,t)=>t,Ib=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||tH}forEachItem(t){let e;for(e=this._itHead;e!==null;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){let s=!i||e&&e.currentIndex<iT(i,r,o)?e:i,a=iT(s,r,o),l=s.currentIndex;if(s===i)r--,i=i._nextRemoved;else if(e=e._next,s.previousIndex==null)r++;else{o||(o=[]);let c=a-r,d=l-r;if(c!=d){for(let m=0;m<c;m++){let p=m<o.length?o[m]:o[m]=0,g=p+m;d<=g&&g<c&&(o[m]=p+1)}let h=s.previousIndex;o[h]=d-c}}a!==l&&t(s,a,l)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;e!==null;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;e!==null;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;e!==null;e=e._nextIdentityChange)t(e)}diff(t){if(t==null&&(t=[]),!q_(t))throw new w(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._itHead,i=!1,r,o,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)o=t[a],s=this._trackByFn(a,o),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,o,s,a),i=!0):(i&&(e=this._verifyReinsertion(e,o,s,a)),Object.is(e.item,o)||this._addIdentityChange(e,o)),e=e._next}else r=0,dA(t,a=>{s=this._trackByFn(r,a),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,a,s,r),i=!0):(i&&(e=this._verifyReinsertion(e,a,s,r)),Object.is(e.item,a)||this._addIdentityChange(e,a)),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,i,r){let o;return t===null?o=this._itTail:(o=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),t!==null?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):(t=this._linkedRecords===null?null:this._linkedRecords.get(i,r),t!==null?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):t=this._addAfter(new Ab(e,i),o,r)),t}_verifyReinsertion(t,e,i,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return o!==null?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;t!==null;){let e=t._next;this._addToRemovals(this._unlink(t)),t=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let r=t._prevRemoved,o=t._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,i),this._addToMoves(t,i),t}_moveAfter(t,e,i){return this._unlink(t),this._insertAfter(t,e,i),this._addToMoves(t,i),t}_addAfter(t,e,i){return this._insertAfter(t,e,i),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,e,i){let r=e===null?this._itHead:e._next;return t._next=r,t._prev=e,r===null?this._itTail=t:r._prev=t,e===null?this._itHead=t:e._next=t,this._linkedRecords===null&&(this._linkedRecords=new Bh),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let e=t._prev,i=t._next;return e===null?this._itHead=i:e._next=i,i===null?this._itTail=e:i._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Bh),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},Ab=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,e){this.item=t,this.trackById=e}},Tb=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let i;for(i=this._head;i!==null;i=i._nextDup)if((e===null||e<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){let e=t._prevDup,i=t._nextDup;return e===null?this._head=i:e._nextDup=i,i===null?this._tail=e:i._prevDup=e,this._head===null}},Bh=class{map=new Map;put(t){let e=t.trackById,i=this.map.get(e);i||(i=new Tb,this.map.set(e,i)),i.add(t)}get(t,e){let i=t,r=this.map.get(i);return r?r.get(t,e):null}remove(t){let e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};Uh=(()=>{class n{factories;static \u0275prov=v({token:n,providedIn:"root",factory:rT});constructor(e){this.factories=e}static create(e,i){if(i!=null){let r=i.factories.slice();e=e.concat(r)}return new n(e)}static extend(e){return{provide:n,useFactory:i=>n.create(e,i||rT()),deps:[[n,new m_,new wc]]}}find(e){let i=this.factories.find(r=>r.supports(e));if(i!=null)return i;throw new w(901,!1)}}return n})();wb=Symbol("NOT_SET"),dT=new Set,nH=J(b({},Ll),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:wb,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(n){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==wb&&!Io(this))return this.signal;try{for(let r of this.cleanup??dT)r()}finally{this.cleanup?.clear()}let t=[];n!==void 0&&t.push(n),t.push(this.registerCleanupFn);let e=Li(this),i;try{i=this.userFn.apply(null,t)}finally{Dr(this,e)}return(this.value===wb||!this.equal(this.value,i))&&(this.value=i,this.version++),this.signal}}),Mb=class extends Cc{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];constructor(t,e,i,r,o,s=null){super(t,[void 0,void 0,void 0,void 0],i,!1,o.get(bn),s),this.scheduler=r;for(let a of nb){let l=e[a];if(l===void 0)continue;let c=Object.create(nH);c.sequence=this,c.phase=a,c.userFn=l,c.dirty=!0,c.signal=()=>(So(c),c.value),c.signal[gt]=c,c.registerCleanupFn=d=>(c.cleanup??=new Set).add(d),this.nodes[a]=c,this.hooks[a]=d=>c.phaseFn(d)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){super.destroy();for(let t of this.nodes)if(t)try{for(let e of t.cleanup??dT)e()}finally{Sr(t)}}}});function rH(n){return n.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function oH(n){return!!n&&n.nodeType===Node.ELEMENT_NODE}function sH(n,t){if(!Ob){let e=Element.prototype;Ob=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return n.nodeType===Node.ELEMENT_NODE?Ob.call(n,t):!1}function aH(n){let t={};return n.forEach(({propName:e,templateName:i,transform:r})=>{t[rH(i)]=[e,r]}),t}function lH(n,t){return t.get(qr).resolveComponentFactory(n).inputs}function cH(n,t){let e=n.childNodes,i=t.map(()=>[]),r=-1;t.some((o,s)=>o==="*"?(r=s,!0):!1);for(let o=0,s=e.length;o<s;++o){let a=e[o],l=dH(a,t,r);l!==-1&&i[l].push(a)}return i}function dH(n,t,e){let i=e;return oH(n)&&t.some((r,o)=>r!=="*"&&sH(n,r)?(i=o,!0):!1),i}function Lb(n,t){let e=lH(n,t.injector),i=t.strategyFactory||new Nb(n,t.injector),r=aH(e);class o extends kb{injector;static observedAttributes=Object.keys(r);get ngElementStrategy(){if(!this._ngElementStrategy){let a=this._ngElementStrategy=i.create(this.injector||t.injector);e.forEach(({propName:l,transform:c})=>{if(!this.hasOwnProperty(l))return;let d=this[l];delete this[l],a.setInputValue(l,d,c)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,c,d){let[h,m]=r[a];this.ngElementStrategy.setInputValue(h,c,m)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{let l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return e.forEach(({propName:s,transform:a})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(l){this.ngElementStrategy.setInputValue(s,l,a)},configurable:!0,enumerable:!0})}),o}var iH,Ob,uH,Nb,Fb,kb,hT=f(()=>{"use strict";_();we();it();iH={schedule(n,t){let e=setTimeout(n,t);return()=>clearTimeout(e)}};uH=10,Nb=class{componentFactory;inputMap=new Map;constructor(t,e){this.componentFactory=e.get(qr).resolveComponentFactory(t);for(let i of this.componentFactory.inputs)this.inputMap.set(i.propName,i.templateName)}create(t){return new Fb(this.componentFactory,t,this.inputMap)}},Fb=class{componentFactory;injector;inputMap;eventEmitters=new No(1);events=this.eventEmitters.pipe(ze(t=>sn(...t)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(t,e,i){this.componentFactory=t,this.injector=e,this.inputMap=i,this.ngZone=this.injector.get(P),this.appRef=this.injector.get(Ut),this.cdScheduler=e.get(cn),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=iH.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},uH))})}getInputValue(t){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,e){if(this.componentRef===null){this.initialInputValues.set(t,e);return}this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(t)??t,e),z_(this.componentRef.hostView)&&($_(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(t){let e=G.create({providers:[],parent:this.injector}),i=cH(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,i,t),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[t,e]of this.initialInputValues)this.setInputValue(t,e);this.initialInputValues.clear()}initializeOutputs(t){let e=this.componentFactory.outputs.map(({propName:i,templateName:r})=>{let o=t.instance[i];return new Z(s=>{let a=o.subscribe(l=>s.next({name:r,value:l}));return()=>a.unsubscribe()})});this.eventEmitters.next(e)}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}},kb=class extends HTMLElement{ngElementEventsSubscription=null}});function Fn(){return gT}function Pb(n){gT??=n}function zh(n,t){return n?t?n.endsWith("/")?t.startsWith("/")?n+t.slice(1):n+t:t.startsWith("/")?n+t:`${n}/${t}`:n:t}function pT(n){let t=n.search(/#|\?|$/);return n[t-1]==="/"?n.slice(0,t-1)+n.slice(t):n}function Zn(n){return n&&n[0]!=="?"?`?${n}`:n}function fH(){return new wi(S(Xn))}function hH(n,t){if(!n||!t.startsWith(n))return t;let e=t.substring(n.length);return e===""||["/",";","?","#"].includes(e[0])?e:t}function mT(n){return n.replace(/\/index.html$/,"")}function pH(n){if(new RegExp("^(https?:)?//").test(n)){let[,e]=n.split(/\/\/[^\/]+/);return e}return n}var gT,Pc,jc,jb,yT,Xn,$h,Gh,wi,Vb=f(()=>{"use strict";_();_();we();gT=null;Pc=class{},jc=(()=>{class n{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:()=>u(yT),providedIn:"platform"})}return n})(),jb=new x(""),yT=(()=>{class n extends jc{_location;_history;_doc=u(U);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Fn().getBaseHref(this._doc)}onPopState(e){let i=Fn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){let i=Fn().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,i,r){this._history.pushState(e,i,r)}replaceState(e,i,r){this._history.replaceState(e,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:()=>new n,providedIn:"platform"})}return n})();Xn=(()=>{class n{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:()=>u(Gh),providedIn:"root"})}return n})(),$h=new x(""),Gh=(()=>{class n extends Xn{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??u(U).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 zh(this._baseHref,e)}path(e=!1){let i=this._platformLocation.pathname+Zn(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+Zn(o));this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+Zn(o));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(i){return new(i||n)(S(jc),S($h,8))};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),wi=(()=>{class n{_subject=new M;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let i=this._locationStrategy.getBaseHref();this._basePath=pH(pT(mT(i))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Zn(i))}normalize(e){return n.stripTrailingSlash(hH(this._basePath,mT(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Zn(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Zn(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i??void 0,complete:r??void 0})}static normalizeQueryParams=Zn;static joinWithSlash=zh;static stripTrailingSlash=pT;static \u0275fac=function(i){return new(i||n)(S(Xn))};static \u0275prov=v({token:n,factory:()=>fH(),providedIn:"root"})}return n})()});function _T(n,t){n.context.$implicit=t.item}function bT(n,t){if(n&&!n.createEmbeddedView)throw new w(2020,!1)}function gH(n,t){return new w(2100,!1)}var Ub,Bb,vT,Zi,Wh,Fa,Xi,qh,Vc,Hb,hn,xT=f(()=>{"use strict";_();_();Vb();Ub=(()=>{class n extends Xn{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(e){let i=zh(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+Zn(o))||this._platformLocation.pathname;this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+Zn(o))||this._platformLocation.pathname;this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(i){return new(i||n)(S(jc),S($h,8))};static \u0275prov=v({token:n,factory:n.\u0275fac})}return n})(),Bb=/\s+/,vT=[],Zi=(()=>{class n{_ngEl;_renderer;initialClasses=vT;rawClass;stateMap=new Map;constructor(e,i){this._ngEl=e,this._renderer=i}set klass(e){this.initialClasses=e!=null?e.trim().split(Bb):vT}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(Bb):e}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let i of e)this._updateState(i,!0);else if(e!=null)for(let i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){let r=this.stateMap.get(e);r!==void 0?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let i=e[0],r=e[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(e,i){e=e.trim(),e.length>0&&e.split(Bb).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(i){return new(i||n)(T(H),T(rt))};static \u0275dir=j({type:n,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return n})(),Wh=class{$implicit;ngForOf;index;count;constructor(t,e,i,r){this.$implicit=t,this.ngForOf=e,this.index=i,this.count=r}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}},Fa=(()=>{class n{_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,i,r){this._viewContainer=e,this._template=i,this._differs=r}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 i=this._viewContainer;e.forEachOperation((r,o,s)=>{if(r.previousIndex==null)i.createEmbeddedView(this._template,new Wh(r.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)i.remove(o===null?void 0:o);else if(o!==null){let a=i.get(o);i.move(a,s),_T(a,r)}});for(let r=0,o=i.length;r<o;r++){let a=i.get(r).context;a.index=r,a.count=o,a.ngForOf=this._ngForOf}e.forEachIdentityChange(r=>{let o=i.get(r.currentIndex);_T(o,r)})}static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||n)(T(Rt),T(un),T(Uh))};static \u0275dir=j({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return n})();Xi=(()=>{class n{_viewContainer;_context=new qh;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,i){this._viewContainer=e,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){bT(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){bT(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,i){return!0}static \u0275fac=function(i){return new(i||n)(T(Rt),T(un))};static \u0275dir=j({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return n})(),qh=class{$implicit=null;ngIf=null};Vc=(()=>{class n{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(e,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static \u0275fac=function(i){return new(i||n)(T(Rt))};static \u0275dir=j({type:n,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[je]})}return n})();Hb=(()=>{class n{transform(e){if(e==null)return null;if(typeof e!="string")throw gH(n,e);return e.toUpperCase()}static \u0275fac=function(i){return new(i||n)};static \u0275pipe=ss({name:"uppercase",type:n,pure:!0})}return n})(),hn=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=L({type:n});static \u0275inj=F({})}return n})()});function Bc(n,t){t=encodeURIComponent(t);for(let e of n.split(";")){let i=e.indexOf("="),[r,o]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}var us,zb=f(()=>{"use strict";us=class{}});function Ji(n){return n===Gb}function Uc(n){return n===yH}function vH(n,t){let e=n.getElementById(t)||n.getElementsByName(t)[0];if(e)return e;if(typeof n.createTreeWalker=="function"&&n.body&&typeof n.body.attachShadow=="function"){let i=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT),r=i.currentNode;for(;r;){let o=r.shadowRoot;if(o){let s=o.getElementById(t)||o.querySelector(`[name="${t}"]`);if(s)return s}r=i.nextNode()}}return null}var Gb,yH,ET,$b,Le=f(()=>{"use strict";xT();_();_();zb();Vb();Gb="browser",yH="server";ET=(()=>{class n{static \u0275prov=v({token:n,providedIn:"root",factory:()=>new $b(u(U),window)})}return n})(),$b=class{document;window;offset=()=>[0,0];constructor(t,e){this.document=t,this.window=e}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t,e){this.window.scrollTo(J(b({},e),{left:t[0],top:t[1]}))}scrollToAnchor(t,e){let i=vH(this.document,t);i&&(this.scrollToElement(i,e),i.focus())}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t}catch{console.warn(ui(2400,!1))}}scrollToElement(t,e){let i=t.getBoundingClientRect(),r=i.left+this.window.pageXOffset,o=i.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(J(b({},e),{left:r-s[0],top:o-s[1]}))}}});function wT(n){for(let t of n)t.remove()}function DT(n,t){let e=t.createElement("style");return e.textContent=n,e}function _H(n,t,e,i){let r=n.head?.querySelectorAll(`style[${Wb}="${t}"],link[${Wb}="${t}"]`);if(r)for(let o of r)o.removeAttribute(Wb),o instanceof HTMLLinkElement?i.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function Kb(n,t){let e=t.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",n),e}function wH(n){return xH.replace(Xb,n)}function DH(n){return bH.replace(Xb,n)}function AT(n,t){return t.map(e=>e.replace(Xb,n))}function ST(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var Yh,Qb,Hc,Wb,Zb,qb,Xb,IT,bH,xH,CH,EH,Gc,zc,Yb,$c,Kh,Jb=f(()=>{"use strict";Le();_();_();Yh=new x(""),Qb=(()=>{class n{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,i){this._zone=i,e.forEach(r=>{r.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,r,o){return this._findPluginFor(i).addEventListener(e,i,r,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(o=>o.supports(e)),!i)throw new w(5101,!1);return this._eventNameToPlugin.set(e,i),i}static \u0275fac=function(i){return new(i||n)(S(Yh),S(P))};static \u0275prov=v({token:n,factory:n.\u0275fac})}return n})(),Hc=class{_doc;constructor(t){this._doc=t}manager},Wb="ng-app-id";Zb=(()=>{class n{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,i,r,o={}){this.doc=e,this.appId=i,this.nonce=r,_H(e,i,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,i){for(let r of e)this.addUsage(r,this.inline,DT);i?.forEach(r=>this.addUsage(r,this.external,Kb))}removeStyles(e,i){for(let r of e)this.removeUsage(r,this.inline);i?.forEach(r=>this.removeUsage(r,this.external))}addUsage(e,i,r){let o=i.get(e);o?o.usage++:i.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,r(e,this.doc)))})}removeUsage(e,i){let r=i.get(e);r&&(r.usage--,r.usage<=0&&(wT(r.elements),i.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])wT(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(e,DT(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(e,Kb(i,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,i){return this.nonce&&i.setAttribute("nonce",this.nonce),e.appendChild(i)}static \u0275fac=function(i){return new(i||n)(S(U),S($r),S(Wr,8),S(fn))};static \u0275prov=v({token:n,factory:n.\u0275fac})}return n})(),qb={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"},Xb=/%COMP%/g,IT="%COMP%",bH=`_nghost-${IT}`,xH=`_ngcontent-${IT}`,CH=!0,EH=new x("",{providedIn:"root",factory:()=>CH});Gc=(()=>{class n{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;animationDisabled;maxAnimationTimeout;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;registry;constructor(e,i,r,o,s,a,l,c=null,d,h,m=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.animationDisabled=d,this.maxAnimationTimeout=h,this.tracingService=m,this.platformIsServer=!1,this.defaultRenderer=new zc(e,s,l,this.platformIsServer,this.tracingService,this.registry=zf(),this.maxAnimationTimeout)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;let r=this.getOrCreateRenderer(e,i);return r instanceof Kh?r.applyToHost(e):r instanceof $c&&r.applyStyles(),r}getOrCreateRenderer(e,i){let r=this.rendererByCompId,o=r.get(i.id);if(!o){let s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,h=this.platformIsServer,m=this.tracingService;switch(i.encapsulation){case Gi.Emulated:o=new Kh(l,c,i,this.appId,d,s,a,h,m,this.registry,this.animationDisabled,this.maxAnimationTimeout);break;case Gi.ShadowDom:return new Yb(l,c,e,i,s,a,this.nonce,h,m,this.registry,this.maxAnimationTimeout);default:o=new $c(l,c,i,d,s,a,h,m,this.registry,this.animationDisabled,this.maxAnimationTimeout);break}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(i){return new(i||n)(S(Qb),S(Zb),S($r),S(EH),S(U),S(fn),S(P),S(Wr),S(lb),S(cb),S(Kr,8))};static \u0275prov=v({token:n,factory:n.\u0275fac})}return n})(),zc=class{eventManager;doc;ngZone;platformIsServer;tracingService;registry;maxAnimationTimeout;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,e,i,r,o,s,a){this.eventManager=t,this.doc=e,this.ngZone=i,this.platformIsServer=r,this.tracingService=o,this.registry=s,this.maxAnimationTimeout=a}destroy(){}destroyNode=null;createElement(t,e){return e?this.doc.createElementNS(qb[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(ST(t)?t.content:t).appendChild(e)}insertBefore(t,e,i){t&&(ST(t)?t.content:t).insertBefore(e,i)}removeChild(t,e){let{elements:i}=this.registry;if(i){i.animate(e,()=>e.remove(),this.maxAnimationTimeout);return}e.remove()}selectRootElement(t,e){let i=typeof t=="string"?this.doc.querySelector(t):t;if(!i)throw new w(-5104,!1);return e||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,i,r){if(r){e=r+":"+e;let o=qb[r];o?t.setAttributeNS(o,e,i):t.setAttribute(e,i)}else t.setAttribute(e,i)}removeAttribute(t,e,i){if(i){let r=qb[i];r?t.removeAttributeNS(r,e):t.removeAttribute(`${i}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,i,r){r&(_i.DashCase|_i.Important)?t.style.setProperty(e,i,r&_i.Important?"important":""):t.style[e]=i}removeStyle(t,e,i){i&_i.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,i){t!=null&&(t[e]=i)}setValue(t,e){t.nodeValue=e}listen(t,e,i,r){if(typeof t=="string"&&(t=Fn().getGlobalEventTarget(this.doc,t),!t))throw new w(5102,!1);let o=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(t,e,o)),this.eventManager.addEventListener(t,e,o,r)}decoratePreventDefault(t){return e=>{if(e==="__ngUnwrap__")return t;t(e)===!1&&e.preventDefault()}}};Yb=class extends zc{sharedStylesHost;hostEl;shadowRoot;constructor(t,e,i,r,o,s,a,l,c,d,h){super(t,o,s,l,c,d,h),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let m=r.styles;m=AT(r.id,m);for(let g of m){let y=document.createElement("style");a&&y.setAttribute("nonce",a),y.textContent=g,this.shadowRoot.appendChild(y)}let p=r.getExternalStyles?.();if(p)for(let g of p){let y=Kb(g,o);a&&y.setAttribute("nonce",a),this.shadowRoot.appendChild(y)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,i){return super.insertBefore(this.nodeOrShadowRoot(t),e,i)}removeChild(t,e){return super.removeChild(null,e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},$c=class extends zc{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;_animationDisabled;constructor(t,e,i,r,o,s,a,l,c,d,h,m){super(t,o,s,a,l,c,h),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r,this._animationDisabled=d;let p=i.styles;this.styles=m?AT(m,p):p,this.styleUrls=i.getExternalStyles?.(m)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){if(this.removeStylesOnCompDestroy){if(!this._animationDisabled&&this.registry.elements){this.ngZone.runOutsideAngular(()=>{setTimeout(()=>{this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)},this.maxAnimationTimeout)});return}this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}},Kh=class extends $c{contentAttr;hostAttr;constructor(t,e,i,r,o,s,a,l,c,d,h,m){let p=r+"-"+i.id;super(t,e,i,o,s,a,l,c,d,h,m,p),this.contentAttr=wH(p),this.hostAttr=DH(p)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){let i=super.createElement(t,e);return super.setAttribute(i,this.contentAttr,""),i}}});function SH(){return Wc=Wc||document.head.querySelector("base"),Wc?Wc.getAttribute("href"):null}function IH(n){return new URL(n,document.baseURI).pathname}function ex(n,t){let e=b({rootComponent:n},OT(t));return Rb(e)}function tx(n){return Rb(OT(n))}function OT(n){return{appProviders:[...kH,...n?.providers??[]],platformProviders:FH}}function RH(){Qh.makeCurrent()}function OH(){return new Mt}function NH(){return v_(document),document}var Qh,Wc,AH,MT,TT,TH,MH,RT,FH,kH,NT=f(()=>{"use strict";Le();_();_();Jb();Qh=class n extends Pc{supportsDOMEvents=!0;static makeCurrent(){Pb(new n)}onAndCancel(t,e,i,r){return t.addEventListener(e,i,r),()=>{t.removeEventListener(e,i,r)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.remove()}createElement(t,e){return e=e||this.getDefaultDocument(),e.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return e==="window"?window:e==="document"?t:e==="body"?t.body:null}getBaseHref(t){let e=SH();return e==null?null:IH(e)}resetBaseElement(){Wc=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Bc(document.cookie,t)}},Wc=null;AH=(()=>{class n{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac})}return n})(),MT=(()=>{class n extends Hc{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r,o){return e.addEventListener(i,r,o),()=>this.removeEventListener(e,i,r,o)}removeEventListener(e,i,r,o){return e.removeEventListener(i,r,o)}static \u0275fac=function(i){return new(i||n)(S(U))};static \u0275prov=v({token:n,factory:n.\u0275fac})}return n})(),TT=["alt","control","meta","shift"],TH={"\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"},MH={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},RT=(()=>{class n extends Hc{constructor(e){super(e)}supports(e){return n.parseEventName(e)!=null}addEventListener(e,i,r,o){let s=n.parseEventName(i),a=n.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Fn().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let i=e.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let o=n._normalizeKey(i.pop()),s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),TT.forEach(c=>{let d=i.indexOf(c);d>-1&&(i.splice(d,1),s+=c+".")}),s+=o,i.length!=0||o.length===0)return null;let l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let r=TH[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),TT.forEach(s=>{if(s!==r){let a=MH[s];a(e)&&(o+=s+".")}}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{n.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(i){return new(i||n)(S(U))};static \u0275prov=v({token:n,factory:n.\u0275fac})}return n})();FH=[{provide:fn,useValue:Gb},{provide:vh,useValue:RH,multi:!0},{provide:U,useFactory:NH}],kH=[{provide:ic,useValue:"root"},{provide:Mt,useFactory:OH},{provide:Yh,useClass:MT,multi:!0,deps:[U]},{provide:Yh,useClass:RT,multi:!0,deps:[U]},Gc,Zb,Qb,{provide:ft,useExisting:Gc},{provide:us,useClass:AH},[]]});function LH(n,t){let e=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[s,a]=o==-1?[t.decodeKey(r),""]:[t.decodeKey(r.slice(0,o)),t.decodeValue(r.slice(o+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}function FT(n){return encodeURIComponent(n).replace(PH,(t,e)=>jH[e]??t)}function Zh(n){return`${n}`}function VH(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function kT(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function LT(n){return typeof Blob<"u"&&n instanceof Blob}function PT(n){return typeof FormData<"u"&&n instanceof FormData}function BH(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}function nx(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials,credentials:n.credentials,transferCache:n.transferCache,timeout:n.timeout,keepalive:n.keepalive,priority:n.priority,cache:n.cache,mode:n.mode,redirect:n.redirect,integrity:n.integrity,referrer:n.referrer}}function GH(n,t){return t(n)}function WH(n,t,e){return(i,r)=>xt(e,()=>t(i,o=>n(o,r)))}function YH(n){return"responseURL"in n&&n.responseURL?n.responseURL:KH.test(n.getAllResponseHeaders())?n.getResponseHeader(BT):null}function tz(n,t){let e=n.url.toLowerCase();if(!u(GT)||n.method==="GET"||n.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return t(n);let i=u(Yc).getToken(),r=u(JH);return i!=null&&!n.headers.has(r)&&(n=n.clone({headers:n.headers.set(r,i)})),t(n)}function nz(n,t){return{\u0275kind:n,\u0275providers:t}}function sx(...n){let t=[nr,ix,tp,{provide:ja,useExisting:tp},{provide:qc,useFactory:()=>u($H,{optional:!0})??u(ix)},{provide:rx,useValue:tz,multi:!0},{provide:GT,useValue:!0},{provide:Yc,useClass:ez}];for(let e of n)t.push(...e.\u0275providers);return $o(t)}function ax(n){return nz(ox.Interceptors,n.map(t=>({provide:rx,useValue:t,multi:!0})))}var ja,qc,tr,Xh,PH,jH,er,Jh,jT,VT,BT,UT,HT,UH,La,fs,Va,ep,Kc,Pa,HH,zH,nr,$H,rx,zT,$T,tp,qH,KH,ix,GT,QH,ZH,XH,JH,Yc,ez,ox,lx=f(()=>{"use strict";_();_();it();we();zb();ja=class{},qc=class{},tr=class n{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
5
|
+
`).forEach(e=>{let i=e.indexOf(":");if(i>0){let r=e.slice(0,i),o=e.slice(i+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((e,i)=>{this.addHeaderEntry(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){let e=new n;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){let e=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(t.name,e);let r=(t.op==="a"?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":let o=t.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(t,e){let i=t.toLowerCase();this.maybeSetNormalizedName(t,i),this.headers.has(i)?this.headers.get(i).push(e):this.headers.set(i,[e])}setHeaderEntries(t,e){let i=(Array.isArray(e)?e:[e]).map(o=>o.toString()),r=t.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(t,r)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}},Xh=class{encodeKey(t){return FT(t)}encodeValue(t){return FT(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};PH=/%(\d[a-f0-9])/gi,jH={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};er=class n{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new Xh,t.fromString){if(t.fromObject)throw new w(2805,!1);this.map=LH(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{let i=t.fromObject[e],r=Array.isArray(i)?i.map(Zh):[Zh(i)];this.map.set(e,r)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){let e=[];return Object.keys(t).forEach(i=>{let r=t[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let e=this.encoder.encodeKey(t);return this.map.get(t).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let e=new n({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let e=(t.op==="a"?this.map.get(t.param):void 0)||[];e.push(Zh(t.value)),this.map.set(t.param,e);break;case"d":if(t.value!==void 0){let i=this.map.get(t.param)||[],r=i.indexOf(Zh(t.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}},Jh=class{map=new Map;set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};jT="Content-Type",VT="Accept",BT="X-Request-URL",UT="text/plain",HT="application/json",UH=`${HT}, ${UT}, */*`,La=class n{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,e,i,r){this.url=e,this.method=t.toUpperCase();let o;if(VH(this.method)||r?(this.body=i!==void 0?i:null,o=r):o=i,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new w(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer&&(this.referrer=o.referrer),this.transferCache=o.transferCache}if(this.headers??=new tr,this.context??=new Jh,!this.params)this.params=new er,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),l=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+l+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||kT(this.body)||LT(this.body)||PT(this.body)||BH(this.body)?this.body:this.body instanceof er?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||PT(this.body)?null:LT(this.body)?this.body.type||null:kT(this.body)?null:typeof this.body=="string"?UT:this.body instanceof er?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?HT:null}clone(t={}){let e=t.method||this.method,i=t.url||this.url,r=t.responseType||this.responseType,o=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,l=t.mode||this.mode,c=t.redirect||this.redirect,d=t.credentials||this.credentials,h=t.referrer||this.referrer,m=t.integrity||this.integrity,p=t.transferCache??this.transferCache,g=t.timeout??this.timeout,y=t.body!==void 0?t.body:this.body,E=t.withCredentials??this.withCredentials,D=t.reportProgress??this.reportProgress,k=t.headers||this.headers,he=t.params||this.params,ge=t.context??this.context;return t.setHeaders!==void 0&&(k=Object.keys(t.setHeaders).reduce((At,dt)=>At.set(dt,t.setHeaders[dt]),k)),t.setParams&&(he=Object.keys(t.setParams).reduce((At,dt)=>At.set(dt,t.setParams[dt]),he)),new n(e,i,y,{params:he,headers:k,context:ge,reportProgress:D,responseType:r,withCredentials:E,transferCache:p,keepalive:o,cache:a,priority:s,timeout:g,mode:l,redirect:c,credentials:d,referrer:h,integrity:m})}},fs=(function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n})(fs||{}),Va=class{headers;status;statusText;url;ok;type;redirected;constructor(t,e=200,i="OK"){this.headers=t.headers||new tr,this.status=t.status!==void 0?t.status:e,this.statusText=t.statusText||i,this.url=t.url||null,this.redirected=t.redirected,this.ok=this.status>=200&&this.status<300}},ep=class n extends Va{constructor(t={}){super(t)}type=fs.ResponseHeader;clone(t={}){return new n({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Kc=class n extends Va{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=fs.Response;clone(t={}){return new n({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected})}},Pa=class extends Va{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},HH=200,zH=204;nr=(()=>{class n{handler;constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof La)o=e;else{let l;r.headers instanceof tr?l=r.headers:l=new tr(r.headers);let c;r.params&&(r.params instanceof er?c=r.params:c=new er({fromObject:r.params})),o=new La(e,i,r.body!==void 0?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache,keepalive:r.keepalive,priority:r.priority,cache:r.cache,mode:r.mode,redirect:r.redirect,credentials:r.credentials,referrer:r.referrer,integrity:r.integrity,timeout:r.timeout})}let s=N(o).pipe(Sn(l=>this.handler.handle(l)));if(e instanceof La||r.observe==="events")return s;let a=s.pipe(ue(l=>l instanceof Kc));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(V(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new w(2806,!1);return l.body}));case"blob":return a.pipe(V(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new w(2807,!1);return l.body}));case"text":return a.pipe(V(l=>{if(l.body!==null&&typeof l.body!="string")throw new w(2808,!1);return l.body}));case"json":default:return a.pipe(V(l=>l.body))}case"response":return a;default:throw new w(2809,!1)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:new er().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,nx(r,i))}post(e,i,r={}){return this.request("POST",e,nx(r,i))}put(e,i,r={}){return this.request("PUT",e,nx(r,i))}static \u0275fac=function(i){return new(i||n)(S(ja))};static \u0275prov=v({token:n,factory:n.\u0275fac})}return n})(),$H=new x("");rx=new x(""),zT=new x(""),$T=new x("",{providedIn:"root",factory:()=>!0}),tp=(()=>{class n extends ja{backend;injector;chain=null;pendingTasks=u(fc);contributeToStability=u($T);constructor(e,i){super(),this.backend=e,this.injector=i}handle(e){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(rx),...this.injector.get(zT,[])]));this.chain=i.reduceRight((r,o)=>WH(r,o,this.injector),GH)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(ln(i))}else return this.chain(e,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||n)(S(qc),S($e))};static \u0275prov=v({token:n,factory:n.\u0275fac})}return n})(),qH=/^\)\]\}',?\n/,KH=RegExp(`^${BT}:`,"m");ix=(()=>{class n{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new w(-2800,!1);let i=this.xhrFactory;return N(null).pipe(ze(()=>new Z(o=>{let s=i.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((E,D)=>s.setRequestHeader(E,D.join(","))),e.headers.has(VT)||s.setRequestHeader(VT,UH),!e.headers.has(jT)){let E=e.detectContentTypeHeader();E!==null&&s.setRequestHeader(jT,E)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let E=e.responseType.toLowerCase();s.responseType=E!=="json"?E:"text"}let a=e.serializeBody(),l=null,c=()=>{if(l!==null)return l;let E=s.statusText||"OK",D=new tr(s.getAllResponseHeaders()),k=YH(s)||e.url;return l=new ep({headers:D,status:s.status,statusText:E,url:k}),l},d=()=>{let{headers:E,status:D,statusText:k,url:he}=c(),ge=null;D!==zH&&(ge=typeof s.response>"u"?s.responseText:s.response),D===0&&(D=ge?HH:0);let At=D>=200&&D<300;if(e.responseType==="json"&&typeof ge=="string"){let dt=ge;ge=ge.replace(qH,"");try{ge=ge!==""?JSON.parse(ge):null}catch(Tt){ge=dt,At&&(At=!1,ge={error:Tt,text:ge})}}At?(o.next(new Kc({body:ge,headers:E,status:D,statusText:k,url:he||void 0})),o.complete()):o.error(new Pa({error:ge,headers:E,status:D,statusText:k,url:he||void 0}))},h=E=>{let{url:D}=c(),k=new Pa({error:E,status:s.status||0,statusText:s.statusText||"Unknown Error",url:D||void 0});o.error(k)},m=h;e.timeout&&(m=E=>{let{url:D}=c(),k=new Pa({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:D||void 0});o.error(k)});let p=!1,g=E=>{p||(o.next(c()),p=!0);let D={type:fs.DownloadProgress,loaded:E.loaded};E.lengthComputable&&(D.total=E.total),e.responseType==="text"&&s.responseText&&(D.partialText=s.responseText),o.next(D)},y=E=>{let D={type:fs.UploadProgress,loaded:E.loaded};E.lengthComputable&&(D.total=E.total),o.next(D)};return s.addEventListener("load",d),s.addEventListener("error",h),s.addEventListener("timeout",m),s.addEventListener("abort",h),e.reportProgress&&(s.addEventListener("progress",g),a!==null&&s.upload&&s.upload.addEventListener("progress",y)),s.send(a),o.next({type:fs.Sent}),()=>{s.removeEventListener("error",h),s.removeEventListener("abort",h),s.removeEventListener("load",d),s.removeEventListener("timeout",m),e.reportProgress&&(s.removeEventListener("progress",g),a!==null&&s.upload&&s.upload.removeEventListener("progress",y)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(i){return new(i||n)(S(us))};static \u0275prov=v({token:n,factory:n.\u0275fac})}return n})(),GT=new x(""),QH="XSRF-TOKEN",ZH=new x("",{providedIn:"root",factory:()=>QH}),XH="X-XSRF-TOKEN",JH=new x("",{providedIn:"root",factory:()=>XH}),Yc=class{},ez=(()=>{class n{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,i){this.doc=e,this.cookieName=i}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Bc(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(i){return new(i||n)(S(U),S(ZH))};static \u0275prov=v({token:n,factory:n.\u0275fac})}return n})();ox=(function(n){return n[n.Interceptors=0]="Interceptors",n[n.LegacyInterceptors=1]="LegacyInterceptors",n[n.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",n[n.NoXsrfProtection=3]="NoXsrfProtection",n[n.JsonpSupport=4]="JsonpSupport",n[n.RequestsMadeViaParent=5]="RequestsMadeViaParent",n[n.Fetch=6]="Fetch",n})(ox||{})});var Qc=f(()=>{"use strict";lx();lx();});var WT,Zc,rz,Xc=f(()=>{"use strict";NT();Le();_();_();WT=(()=>{class n{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(i){return new(i||n)(S(U))};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Zc=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:function(i){let r=null;return i?r=new(i||n):r=S(rz),r},providedIn:"root"})}return n})(),rz=(()=>{class n extends Zc{_doc;constructor(e){super(),this._doc=e}sanitize(e,i){if(i==null)return null;switch(e){case Et.NONE:return i;case Et.HTML:return xi(i,"HTML")?Cn(i):Ch(this._doc,String(i)).toString();case Et.STYLE:return xi(i,"Style")?Cn(i):i;case Et.SCRIPT:if(xi(i,"Script"))return Cn(i);throw new w(5200,!1);case Et.URL:return xi(i,"URL")?Cn(i):Sc(String(i));case Et.RESOURCE_URL:if(xi(i,"ResourceURL"))return Cn(i);throw new w(5201,!1);default:throw new w(5202,!1)}}bypassSecurityTrustHtml(e){return x_(e)}bypassSecurityTrustStyle(e){return C_(e)}bypassSecurityTrustScript(e){return E_(e)}bypassSecurityTrustUrl(e){return w_(e)}bypassSecurityTrustResourceUrl(e){return D_(e)}static \u0275fac=function(i){return new(i||n)(S(U))};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()});function np(n,t){if(n===t)return!0;if(n===null||t===null)return!1;if(n!==n&&t!==t)return!0;let e=typeof n,i=typeof t,r;if(e==i&&e=="object")if(Array.isArray(n)){if(!Array.isArray(t))return!1;if((r=n.length)==t.length){for(let o=0;o<r;o++)if(!np(n[o],t[o]))return!1;return!0}}else{if(Array.isArray(t))return!1;if(ir(n)&&ir(t)){let o=Object.create(null);for(let s in n){if(!np(n[s],t[s]))return!1;o[s]=!0}for(let s in t)if(!(s in o)&&typeof t[s]<"u")return!1;return!0}}return!1}function Jr(n){return typeof n<"u"&&n!==null}function qT(n){return n!==void 0}function ir(n){return ed(n)&&!hs(n)&&n!==null}function ed(n){return typeof n=="object"&&n!==null}function hs(n){return Array.isArray(n)}function ip(n){return typeof n=="string"}function lz(n){return typeof n=="function"}function rp(n){if(hs(n))return n.map(t=>rp(t));if(ir(n)){let t={};return Object.keys(n).forEach(e=>{t[e]=rp(n[e])}),t}else return n}function fx(n,t){if(!ed(n))return rp(t);let e=rp(n);return ed(e)&&ed(t)&&Object.keys(t).forEach(i=>{ir(t[i])?i in n?e[i]=fx(n[i],t[i]):Object.assign(e,{[i]:t[i]}):Object.assign(e,{[i]:t[i]})}),e}function YT(n,t){let e=t.split(".");t="";do{t+=e.shift();let i=!e.length;if(Jr(n)){if(ir(n)&&qT(n[t])&&(ir(n[t])||hs(n[t])||i)){n=n[t],t="";continue}if(hs(n)){let r=parseInt(t,10);if(qT(n[r])&&(ir(n[r])||hs(n[r])||i)){n=n[r],t="";continue}}}if(i){n=void 0;continue}t+="."}while(e.length);return n}function cz(n,t,e){return fx(n,dz(t,e))}function dz(n,t){return n.split(".").reduceRight((e,i)=>({[i]:e}),t)}function fz(n){return{provide:Ua,useClass:n}}function hz(n){return{provide:Ba,useClass:n}}function pz(n){return{provide:Ha,useClass:n}}function mz(n){return{provide:td,useClass:n}}function KT(n={},t){let e=[];n.loader&&e.push(n.loader),n.compiler&&e.push(n.compiler),n.parser&&e.push(n.parser),n.missingTranslationHandler&&e.push(n.missingTranslationHandler),t&&e.push(dx),(n.useDefaultLang||n.defaultLanguage)&&(console.warn("The `useDefaultLang` and `defaultLanguage` options are deprecated. Please use `fallbackLang` instead."),n.useDefaultLang===!0&&n.defaultLanguage&&(n.fallbackLang=n.defaultLanguage));let i={fallbackLang:n.fallbackLang??null,lang:n.lang,extend:n.extend??!1};return e.push({provide:ux,useValue:i}),e.push({provide:rr,useClass:rr,deps:[dx,Ua,Ba,Ha,td,ux]}),e}var td,oz,Ba,sz,Ua,az,Ha,uz,dx,ux,Jc,rr,wt,Di,Dt=f(()=>{"use strict";_();_();we();it();td=class{},oz=(()=>{class n{handle(e){return e.key}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac})}return n})(),Ba=class{},sz=(()=>{class n extends Ba{compile(e,i){return e}compileTranslations(e,i){return e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ve(n)))(r||n)}})();static \u0275prov=v({token:n,factory:n.\u0275fac})}return n})(),Ua=class{},az=(()=>{class n extends Ua{getTranslation(e){return N({})}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ve(n)))(r||n)}})();static \u0275prov=v({token:n,factory:n.\u0275fac})}return n})();Ha=class{},uz=(()=>{class n extends Ha{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,i){if(ip(e))return this.interpolateString(e,i);if(lz(e))return this.interpolateFunction(e,i)}interpolateFunction(e,i){return e(i)}interpolateString(e,i){return i?e.replace(this.templateMatcher,(r,o)=>{let s=this.getInterpolationReplacement(i,o);return s!==void 0?s:r}):e}getInterpolationReplacement(e,i){return this.formatValue(YT(e,i))}formatValue(e){if(ip(e))return e;if(typeof e=="number"||typeof e=="boolean")return e.toString();if(e===null)return"null";if(hs(e))return e.join(", ");if(ed(e))return typeof e.toString=="function"&&e.toString!==Object.prototype.toString?e.toString():JSON.stringify(e)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ve(n)))(r||n)}})();static \u0275prov=v({token:n,factory:n.\u0275fac})}return n})(),dx=(()=>{class n{_onTranslationChange=new M;_onLangChange=new M;_onFallbackLangChange=new M;fallbackLang=null;currentLang;translations={};languages=[];getTranslations(e){return this.translations[e]}setTranslations(e,i,r){this.translations[e]=r&&this.hasTranslationFor(e)?fx(this.translations[e],i):i,this.addLanguages([e]),this._onTranslationChange.next({lang:e,translations:this.getTranslations(e)})}getLanguages(){return this.languages}getCurrentLang(){return this.currentLang}getFallbackLang(){return this.fallbackLang}setFallbackLang(e,i=!0){this.fallbackLang=e,i&&this._onFallbackLangChange.next({lang:e,translations:this.translations[e]})}setCurrentLang(e,i=!0){this.currentLang=e,i&&this._onLangChange.next({lang:e,translations:this.translations[e]})}get onTranslationChange(){return this._onTranslationChange.asObservable()}get onLangChange(){return this._onLangChange.asObservable()}get onFallbackLangChange(){return this._onFallbackLangChange.asObservable()}addLanguages(e){this.languages=Array.from(new Set([...this.languages,...e]))}hasTranslationFor(e){return typeof this.translations[e]<"u"}deleteTranslations(e){delete this.translations[e]}getTranslation(e){let i=this.getValue(this.currentLang,e);return i===void 0&&this.fallbackLang!=null&&this.fallbackLang!==this.currentLang&&(i=this.getValue(this.fallbackLang,e)),i}getValue(e,i){return YT(this.getTranslations(e),i)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac})}return n})(),ux=new x("TRANSLATE_CONFIG"),Jc=n=>Vn(n)?n:N(n),rr=(()=>{class n{loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;currentLoader=u(Ua);compiler=u(Ba);parser=u(Ha);missingTranslationHandler=u(td);store=u(dx);extend=!1;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onFallbackLangChange(){return this.store.onFallbackLangChange}get onDefaultLangChange(){return this.store.onFallbackLangChange}constructor(){let e=b({extend:!1,fallbackLang:null},u(ux,{optional:!0}));e.lang&&this.use(e.lang),e.fallbackLang&&this.setFallbackLang(e.fallbackLang),e.extend&&(this.extend=!0)}setFallbackLang(e){this.getFallbackLang()||this.store.setFallbackLang(e,!1);let i=this.loadOrExtendLanguage(e);return Vn(i)?(i.pipe(He(1)).subscribe({next:()=>{this.store.setFallbackLang(e)},error:()=>{}}),i):(this.store.setFallbackLang(e),N(this.store.getTranslations(e)))}use(e){this.lastUseLanguage=e,this.getCurrentLang()||this.store.setCurrentLang(e,!1);let i=this.loadOrExtendLanguage(e);return Vn(i)?(i.pipe(He(1)).subscribe({next:()=>{this.changeLang(e)},error:()=>{}}),i):(this.changeLang(e),N(this.store.getTranslations(e)))}loadOrExtendLanguage(e){if(!this.store.hasTranslationFor(e)||this.extend)return this._translationRequests[e]=this._translationRequests[e]||this.loadAndCompileTranslations(e),this._translationRequests[e]}changeLang(e){e===this.lastUseLanguage&&this.store.setCurrentLang(e)}getCurrentLang(){return this.store.getCurrentLang()}loadAndCompileTranslations(e){this.pending=!0;let i=this.currentLoader.getTranslation(e).pipe(jo(1),He(1));return this.loadingTranslations=i.pipe(V(r=>this.compiler.compileTranslations(r,e)),jo(1),He(1)),this.loadingTranslations.subscribe({next:r=>{this.store.setTranslations(e,r,this.extend),this.pending=!1},error:r=>{this.pending=!1}}),i}setTranslation(e,i,r=!1){let o=this.compiler.compileTranslations(i,e);this.store.setTranslations(e,o,r||this.extend)}getLangs(){return this.store.getLanguages()}addLangs(e){this.store.addLanguages(e)}getParsedResultForKey(e,i){let r=this.getTextToInterpolate(e);if(Jr(r))return this.runInterpolation(r,i);let o=this.missingTranslationHandler.handle(b({key:e,translateService:this},i!==void 0&&{interpolateParams:i}));return o!==void 0?o:e}getFallbackLang(){return this.store.getFallbackLang()}getTextToInterpolate(e){return this.store.getTranslation(e)}runInterpolation(e,i){if(Jr(e))return hs(e)?this.runInterpolationOnArray(e,i):ir(e)?this.runInterpolationOnDict(e,i):this.parser.interpolate(e,i)}runInterpolationOnArray(e,i){return e.map(r=>this.runInterpolation(r,i))}runInterpolationOnDict(e,i){let r={};for(let o in e){let s=this.runInterpolation(e[o],i);s!==void 0&&(r[o]=s)}return r}getParsedResult(e,i){return e instanceof Array?this.getParsedResultForArray(e,i):this.getParsedResultForKey(e,i)}getParsedResultForArray(e,i){let r={},o=!1;for(let a of e)r[a]=this.getParsedResultForKey(a,i),o=o||Vn(r[a]);if(!o)return r;let s=e.map(a=>Jc(r[a]));return Po(s).pipe(V(a=>{let l={};return a.forEach((c,d)=>{l[e[d]]=c}),l}))}get(e,i){if(!Jr(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(Sn(()=>Jc(this.getParsedResult(e,i)))):Jc(this.getParsedResult(e,i))}getStreamOnTranslationChange(e,i){if(!Jr(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return Bn(on(()=>this.get(e,i)),this.onTranslationChange.pipe(ze(()=>{let r=this.getParsedResult(e,i);return Jc(r)})))}stream(e,i){if(!Jr(e)||!e.length)throw new Error('Parameter "key" required');return Bn(on(()=>this.get(e,i)),this.onLangChange.pipe(ze(()=>{let r=this.getParsedResult(e,i);return Jc(r)})))}instant(e,i){if(!Jr(e)||e.length===0)throw new Error('Parameter "key" is required and cannot be empty');let r=this.getParsedResult(e,i);return Vn(r)?Array.isArray(e)?e.reduce((o,s)=>(o[s]=s,o),{}):e:r}set(e,i,r=this.getCurrentLang()){this.store.setTranslations(r,cz(this.store.getTranslations(r),e,ip(i)?this.compiler.compile(i,r):this.compiler.compileTranslations(i,r)),!1)}reloadLang(e){return this.resetLang(e),this.loadAndCompileTranslations(e)}resetLang(e){delete this._translationRequests[e],this.store.deleteTranslations(e)}static getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let e=this.getBrowserCultureLang();return e?e.split(/[-_]/)[0]:void 0}static getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}getBrowserLang(){return n.getBrowserLang()}getBrowserCultureLang(){return n.getBrowserCultureLang()}get defaultLang(){return this.getFallbackLang()}get currentLang(){return this.store.getCurrentLang()}get langs(){return this.store.getLanguages()}setDefaultLang(e){return this.setFallbackLang(e)}getDefaultLang(){return this.getFallbackLang()}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac})}return n})(),wt=(()=>{class n{translate=u(rr);_ref=u(mt);value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onFallbackLangChange;updateValue(e,i,r){let o=s=>{this.value=s!==void 0?s:e,this.lastKey=e,this._ref.markForCheck()};if(r){let s=this.translate.getParsedResult(e,i);Vn(s)?s.subscribe(o):o(s)}this.translate.get(e,i).subscribe(o)}transform(e,...i){if(!e||!e.length)return e;if(np(e,this.lastKey)&&np(i,this.lastParams))return this.value;let r;if(Jr(i[0])&&i.length)if(ip(i[0])&&i[0].length){let o=i[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{r=JSON.parse(o)}catch(s){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else ir(i[0])&&(r=i[0]);return this.lastKey=e,this.lastParams=i,this.updateValue(e,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{(this.lastKey&&o.lang===this.translate.getCurrentLang()||o.lang===this.translate.getFallbackLang())&&(this.lastKey=null,this.updateValue(e,r,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r,o.translations))})),this.onFallbackLangChange||(this.onFallbackLangChange=this.translate.onFallbackLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onFallbackLangChange<"u"&&(this.onFallbackLangChange.unsubscribe(),this.onFallbackLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(i){return new(i||n)};static \u0275pipe=ss({name:"translate",type:n,pure:!1});static \u0275prov=v({token:n,factory:n.\u0275fac})}return n})();Di=(()=>{class n{static forRoot(e={}){return{ngModule:n,providers:[...KT(b({compiler:hz(sz),parser:pz(uz),loader:fz(az),missingTranslationHandler:mz(oz)},e),!0)]}}static forChild(e={}){return{ngModule:n,providers:[...KT(e,e.isolate??!1)]}}static \u0275fac=function(i){return new(i||n)};static \u0275mod=L({type:n});static \u0275inj=F({})}return n})()});var za,op=f(()=>{"use strict";_();za=new x("web-component-auth")});var sp,gx=f(()=>{"use strict";_();Dt();op();_();sp=(()=>{var t,e,i,r,o,s,QT,hx,px,ZT,XT,mx;let p=class p{constructor(y){tt(this,s);tt(this,t);tt(this,e);tt(this,i);tt(this,r);tt(this,o);kt(this,t,"lang"),kt(this,e,u(rr)),kt(this,i,u(za)),this.setLanguageFromBrowser=!1,this.defaultLanguage="en",kt(this,r,y)}get uiLanguage(){return ye(this,o)}set uiLanguage(y){y!==ye(this,o)&&(kt(this,o,y),kt(this,o,y),Lt(this,s,ZT).call(this))}ngOnInit(){Lt(this,s,px).call(this),Lt(this,s,QT).call(this,ye(this,r)),Lt(this,s,hx).call(this)}ngOnChanges(){Lt(this,s,px).call(this),Lt(this,s,hx).call(this)}ensureTypeBool(y){return y===!0||y==="true"}};t=new WeakMap,e=new WeakMap,i=new WeakMap,r=new WeakMap,o=new WeakMap,s=new WeakSet,QT=function(y){for(let E in y)y[E]&&ye(this,e).setTranslation(E,y[E],!0)},hx=function(){ye(this,e).setDefaultLang(this.defaultLanguage),this.setLanguageFromBrowser&&Lt(this,s,XT).call(this),this.uiLanguage||(this.uiLanguage=this.defaultLanguage),ye(this,e).use(this.uiLanguage)},px=function(){this.xApiKey&&(ye(this,i).xApiKey=this.xApiKey),this.skipAuthUrls&&(ye(this,i).skipAuthUrls=typeof this.skipAuthUrls=="string"?JSON.parse(this.skipAuthUrls):this.skipAuthUrls)},ZT=function(){ye(this,e).use(this.uiLanguage)},XT=function(){let y=Lt(this,s,mx).call(this);!this.uiLanguage&&y!==this.defaultLanguage&&(this.uiLanguage=y);let E=ge=>{for(let At of ge)if(At.type==="attributes"&&At.attributeName===ye(this,t)){let dt=Lt(this,s,mx).call(this);this.uiLanguage=dt}},D=new MutationObserver(E),k=document.querySelector("html"),he={attributes:!0,attributeFilter:[ye(this,t)]};D.observe(k,he)},mx=function(){return document.querySelector("html").getAttribute(ye(this,t)).split("-")[0]},p.\u0275fac=function(E){Rc()},p.\u0275dir=j({type:p,inputs:{setLanguageFromBrowser:"setLanguageFromBrowser",defaultLanguage:"defaultLanguage",skipAuthUrls:"skipAuthUrls",uiLanguage:"uiLanguage",xApiKey:"xApiKey"},features:[je]});let n=p;return n})()});function vz(){let n=Fn()?Fn().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}function bx(n){return n==null||xx(n)===0}function xx(n){return n==null?null:Array.isArray(n)||typeof n=="string"?n.length:n instanceof Set?n.size:null}function xz(n){return t=>{if(t.value==null||n==null)return null;let e=parseFloat(t.value);return!isNaN(e)&&e<n?{min:{min:n,actual:t.value}}:null}}function Cz(n){return t=>{if(t.value==null||n==null)return null;let e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}function Ez(n){return bx(n.value)?{required:!0}:null}function wz(n){return n.value===!0?null:{required:!0}}function Dz(n){return bx(n.value)||bz.test(n.value)?null:{email:!0}}function Sz(n){return t=>{let e=t.value?.length??xx(t.value);return e===null||e===0?null:e<n?{minlength:{requiredLength:n,actualLength:e}}:null}}function Iz(n){return t=>{let e=t.value?.length??xx(t.value);return e!==null&&e>n?{maxlength:{requiredLength:n,actualLength:e}}:null}}function Az(n){if(!n)return sM;let t,e;return typeof n=="string"?(e="",n.charAt(0)!=="^"&&(e+="^"),e+=n,n.charAt(n.length-1)!=="$"&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),i=>{if(bx(i.value))return null;let r=i.value;return t.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function sM(n){return null}function aM(n){return n!=null}function lM(n){return Yr(n)?Pe(n):n}function cM(n){let t={};return n.forEach(e=>{t=e!=null?b(b({},t),e):t}),Object.keys(t).length===0?null:t}function dM(n,t){return t.map(e=>e(n))}function Tz(n){return!n.validate}function uM(n){return n.map(t=>Tz(t)?t:e=>t.validate(e))}function fM(n){if(!n)return null;let t=n.filter(aM);return t.length==0?null:function(e){return cM(dM(e,t))}}function Cx(n){return n!=null?fM(uM(n)):null}function hM(n){if(!n)return null;let t=n.filter(aM);return t.length==0?null:function(e){let i=dM(e,t).map(lM);return Po(i).pipe(V(cM))}}function Ex(n){return n!=null?hM(uM(n)):null}function JT(n,t){return n===null?[t]:Array.isArray(n)?[...n,t]:[n,t]}function pM(n){return n._rawValidators}function mM(n){return n._rawAsyncValidators}function yx(n){return n?Array.isArray(n)?n:[n]:[]}function cp(n,t){return Array.isArray(n)?n.includes(t):n===t}function eM(n,t){let e=yx(t);return yx(n).forEach(r=>{cp(e,r)||e.push(r)}),e}function tM(n,t){return yx(t).filter(e=>!cp(n,e))}function gM(n){return(xp(n)?n.validators:n)||null}function Rz(n){return Array.isArray(n)?Cx(n):n||null}function yM(n,t){return(xp(t)?t.asyncValidators:n)||null}function Oz(n){return Array.isArray(n)?Ex(n):n||null}function xp(n){return n!=null&&!Array.isArray(n)&&typeof n=="object"}function Nz(n,t,e){let i=n.controls;if(!(t?Object.keys(i):i).length)throw new w(1e3,"");if(!i[e])throw new w(1001,"")}function Fz(n,t,e){n._forEachChild((i,r)=>{if(e[r]===void 0)throw new w(1002,"")})}function kz(n,t){return[...t.path,n]}function ad(n,t,e=Cp){wx(n,t),t.valueAccessor.writeValue(n.value),(n.disabled||e==="always")&&t.valueAccessor.setDisabledState?.(n.disabled),Pz(n,t),Vz(n,t),jz(n,t),Lz(n,t)}function gp(n,t,e=!0){let i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),vp(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function yp(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function Lz(n,t){if(t.valueAccessor.setDisabledState){let e=i=>{t.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}function wx(n,t){let e=pM(n);t.validator!==null?n.setValidators(JT(e,t.validator)):typeof e=="function"&&n.setValidators([e]);let i=mM(n);t.asyncValidator!==null?n.setAsyncValidators(JT(i,t.asyncValidator)):typeof i=="function"&&n.setAsyncValidators([i]);let r=()=>n.updateValueAndValidity();yp(t._rawValidators,r),yp(t._rawAsyncValidators,r)}function vp(n,t){let e=!1;if(n!==null){if(t.validator!==null){let r=pM(n);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==t.validator);o.length!==r.length&&(e=!0,n.setValidators(o))}}if(t.asyncValidator!==null){let r=mM(n);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==t.asyncValidator);o.length!==r.length&&(e=!0,n.setAsyncValidators(o))}}}let i=()=>{};return yp(t._rawValidators,i),yp(t._rawAsyncValidators,i),e}function Pz(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,n.updateOn==="change"&&vM(n,t)})}function jz(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,n.updateOn==="blur"&&n._pendingChange&&vM(n,t),n.updateOn!=="submit"&&n.markAsTouched()})}function vM(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function Vz(n,t){let e=(i,r)=>{t.valueAccessor.writeValue(i),r&&t.viewToModelUpdate(i)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}function _M(n,t){n==null,wx(n,t)}function Bz(n,t){return vp(n,t)}function bM(n,t){if(!n.hasOwnProperty("model"))return!1;let e=n.model;return e.isFirstChange()?!0:!Object.is(t,e.currentValue)}function Uz(n){return Object.getPrototypeOf(n.constructor)===gz}function xM(n,t){n._syncPendingControls(),t.forEach(e=>{let i=e.control;i.updateOn==="submit"&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function CM(n,t){if(!t)return null;Array.isArray(t);let e,i,r;return t.forEach(o=>{o.constructor===Wa?e=o:Uz(o)?i=o:r=o}),r||i||e||null}function Hz(n,t){let e=n.indexOf(t);e>-1&&n.splice(e,1)}function nM(n,t){let e=n.indexOf(t);e>-1&&n.splice(e,1)}function iM(n){return typeof n=="object"&&n!==null&&Object.keys(n).length===2&&"value"in n&&"disabled"in n}var oM,gz,_x,yz,_z,Wa,_p,bp,bz,lp,dp,ps,or,vx,Mz,qae,qa,nd,ap,$a,id,eo,up,od,sd,Ga,fp,hp,pp,mp,Ka,Cp,zz,rd,Dx,ld,$z,Gz,rM,cd,EM,Wz,Sx,qz,Ix,wM,Ep,DM,to=f(()=>{"use strict";_();_();Le();we();it();oM=(()=>{class n{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,i){this._renderer=e,this._elementRef=i}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(i){return new(i||n)(T(rt),T(H))};static \u0275dir=j({type:n})}return n})(),gz=(()=>{class n extends oM{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ve(n)))(r||n)}})();static \u0275dir=j({type:n,features:[fe]})}return n})(),_x=new x(""),yz={provide:_x,useExisting:Un(()=>Wa),multi:!0};_z=new x(""),Wa=(()=>{class n extends oM{_compositionMode;_composing=!1;constructor(e,i,r){super(e,i),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!vz())}writeValue(e){let i=e??"";this.setProperty("value",i)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(i){return new(i||n)(T(rt),T(H),T(_z,8))};static \u0275dir=j({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,r){i&1&&te("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},standalone:!1,features:[Ot([yz]),fe]})}return n})();_p=new x(""),bp=new x(""),bz=/^(?=.{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])?)*$/,lp=class{static min(t){return xz(t)}static max(t){return Cz(t)}static required(t){return Ez(t)}static requiredTrue(t){return wz(t)}static email(t){return Dz(t)}static minLength(t){return Sz(t)}static maxLength(t){return Iz(t)}static pattern(t){return Az(t)}static nullValidator(t){return sM()}static compose(t){return fM(t)}static composeAsync(t){return hM(t)}};dp=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(t){this._rawValidators=t||[],this._composedValidatorFn=Cx(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Ex(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,e){return this.control?this.control.hasError(t,e):!1}getError(t,e){return this.control?this.control.getError(t,e):null}},ps=class extends dp{name;get formDirective(){return null}get path(){return null}},or=class extends dp{_parent=null;name=null;valueAccessor=null},vx=class{_cd;constructor(t){this._cd=t}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},Mz={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},qae=J(b({},Mz),{"[class.ng-submitted]":"isSubmitted"}),qa=(()=>{class n extends vx{constructor(e){super(e)}static \u0275fac=function(i){return new(i||n)(T(or,2))};static \u0275dir=j({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&ne("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[fe]})}return n})(),nd="VALID",ap="INVALID",$a="PENDING",id="DISABLED",eo=class{},up=class extends eo{value;source;constructor(t,e){super(),this.value=t,this.source=e}},od=class extends eo{pristine;source;constructor(t,e){super(),this.pristine=t,this.source=e}},sd=class extends eo{touched;source;constructor(t,e){super(),this.touched=t,this.source=e}},Ga=class extends eo{status;source;constructor(t,e){super(),this.status=t,this.source=e}},fp=class extends eo{source;constructor(t){super(),this.source=t}},hp=class extends eo{source;constructor(t){super(),this.source=t}};pp=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(t,e){this._assignValidators(t),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return pt(this.statusReactive)}set status(t){pt(()=>this.statusReactive.set(t))}_status=Qn(()=>this.statusReactive());statusReactive=Ae(void 0);get valid(){return this.status===nd}get invalid(){return this.status===ap}get pending(){return this.status==$a}get disabled(){return this.status===id}get enabled(){return this.status!==id}errors;get pristine(){return pt(this.pristineReactive)}set pristine(t){pt(()=>this.pristineReactive.set(t))}_pristine=Qn(()=>this.pristineReactive());pristineReactive=Ae(!0);get dirty(){return!this.pristine}get touched(){return pt(this.touchedReactive)}set touched(t){pt(()=>this.touchedReactive.set(t))}_touched=Qn(()=>this.touchedReactive());touchedReactive=Ae(!1);get untouched(){return!this.touched}_events=new M;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(eM(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(eM(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(tM(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(tM(t,this._rawAsyncValidators))}hasValidator(t){return cp(this._rawValidators,t)}hasAsyncValidator(t){return cp(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){let e=this.touched===!1;this.touched=!0;let i=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched(J(b({},t),{sourceControl:i})),e&&t.emitEvent!==!1&&this._events.next(new sd(!0,i))}markAllAsDirty(t={}){this.markAsDirty({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(t))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(t))}markAsUntouched(t={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=t.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:i})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,i),e&&t.emitEvent!==!1&&this._events.next(new sd(!1,i))}markAsDirty(t={}){let e=this.pristine===!0;this.pristine=!1;let i=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty(J(b({},t),{sourceControl:i})),e&&t.emitEvent!==!1&&this._events.next(new od(!1,i))}markAsPristine(t={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=t.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,i),e&&t.emitEvent!==!1&&this._events.next(new od(!0,i))}markAsPending(t={}){this.status=$a;let e=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new Ga(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending(J(b({},t),{sourceControl:e}))}disable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=id,this.errors=null,this._forEachChild(r=>{r.disable(J(b({},t),{onlySelf:!0}))}),this._updateValue();let i=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new up(this.value,i)),this._events.next(new Ga(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(J(b({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){let e=this._parentMarkedDirty(t.onlySelf);this.status=nd,this._forEachChild(i=>{i.enable(J(b({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(J(b({},t),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t,e){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===nd||this.status===$a)&&this._runAsyncValidator(i,t.emitEvent)}let e=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new up(this.value,e)),this._events.next(new Ga(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(J(b({},t),{sourceControl:e}))}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?id:nd}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,e){if(this.asyncValidator){this.status=$a,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:t!==!1};let i=lM(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(t){let e=t;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(t,e){let i=e?this.get(e):this;return i&&i.errors?i.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,e,i){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||i)&&this._events.next(new Ga(this.status,e)),this._parent&&this._parent._updateControlsErrors(t,e,i)}_initObservables(){this.valueChanges=new z,this.statusChanges=new z}_calculateStatus(){return this._allControlsDisabled()?id:this.errors?ap:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus($a)?$a:this._anyControlsHaveStatus(ap)?ap:nd}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,e){let i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,e),r&&this._events.next(new od(this.pristine,e))}_updateTouched(t={},e){this.touched=this._anyControlsTouched(),this._events.next(new sd(this.touched,e)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,e)}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){xp(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let e=this._parent&&this._parent.dirty;return!t&&!!e&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=Rz(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=Oz(this._rawAsyncValidators)}},mp=class extends pp{constructor(t,e,i){super(gM(e),yM(i,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,i={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){Fz(this,!0,t),Object.keys(t).forEach(i=>{Nz(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t!=null&&(Object.keys(t).forEach(i=>{let r=this.controls[i];r&&r.patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((i,r)=>{i.reset(t?t[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,i)=>(t[i]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,i)=>i._syncPendingControls()?!0:e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{let i=this.controls[e];i&&t(i,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(let[e,i]of Object.entries(this.controls))if(this.contains(e)&&t(i))return!0;return!1}_reduceValue(){let t={};return this._reduceChildren(t,(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(t,e){let i=t;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(let t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}},Ka=new x("",{providedIn:"root",factory:()=>Cp}),Cp="always";zz={provide:ps,useExisting:Un(()=>Dx)},rd=Promise.resolve(),Dx=(()=>{class n extends ps{callSetDisabledState;get submitted(){return pt(this.submittedReactive)}_submitted=Qn(()=>this.submittedReactive());submittedReactive=Ae(!1);_directives=new Set;form;ngSubmit=new z;options;constructor(e,i,r){super(),this.callSetDisabledState=r,this.form=new mp({},Cx(e),Ex(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){rd.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),ad(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){rd.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){rd.then(()=>{let i=this._findContainer(e.path),r=new mp({});_M(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){rd.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){rd.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),xM(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new fp(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1),this.form._events.next(new hp(this.form))}_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(i){return new(i||n)(T(_p,10),T(bp,10),T(Ka,8))};static \u0275dir=j({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&te("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Ot([zz]),fe]})}return n})();ld=class extends pp{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(t=null,e,i){super(gM(e),yM(i,e)),this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),xp(e)&&(e.nonNullable||e.initialValueIsDefault)&&(iM(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){nM(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){nM(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){iM(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},$z=n=>n instanceof ld,Gz={provide:or,useExisting:Un(()=>cd)},rM=Promise.resolve(),cd=(()=>{class n extends or{_changeDetectorRef;callSetDisabledState;control=new ld;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new z;constructor(e,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=CM(this,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),bM(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){ad(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){rM.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,r=i!==0&&Ie(i);rM.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?kz(e,this._parent):[e]}static \u0275fac=function(i){return new(i||n)(T(ps,9),T(_p,10),T(bp,10),T(_x,10),T(mt,8),T(Ka,8))};static \u0275dir=j({type:n,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:[Ot([Gz]),fe,je]})}return n})(),EM=new x(""),Wz={provide:or,useExisting:Un(()=>Sx)},Sx=(()=>{class n extends or{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new z;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,i,r,o,s){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=s,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=CM(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let i=e.form.previousValue;i&&gp(i,this,!1),ad(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}bM(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&gp(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(i){return new(i||n)(T(_p,10),T(bp,10),T(_x,10),T(EM,8),T(Ka,8))};static \u0275dir=j({type:n,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[Ot([Wz]),fe,je]})}return n})(),qz={provide:ps,useExisting:Un(()=>Ix)},Ix=(()=>{class n extends ps{callSetDisabledState;get submitted(){return pt(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Qn(()=>this._submittedReactive());_submittedReactive=Ae(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new z;constructor(e,i,r){super(),this.callSetDisabledState=r,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(vp(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let i=this.form.get(e.path);return ad(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){gp(e.control||null,e,!1),Hz(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this._submittedReactive.set(!0),xM(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new fp(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0,i={}){this.form.reset(e,i),this._submittedReactive.set(!1),i?.emitEvent!==!1&&this.form._events.next(new hp(this.form))}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,r=this.form.get(e.path);i!==r&&(gp(i||null,e),$z(r)&&(ad(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);_M(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let i=this.form.get(e.path);i&&Bz(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){wx(this.form,this),this._oldForm&&vp(this._oldForm,this)}static \u0275fac=function(i){return new(i||n)(T(_p,10),T(bp,10),T(Ka,8))};static \u0275dir=j({type:n,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&te("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Ot([qz]),fe,je]})}return n})(),wM=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=L({type:n});static \u0275inj=F({})}return n})(),Ep=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:Ka,useValue:e.callSetDisabledState??Cp}]}}static \u0275fac=function(i){return new(i||n)};static \u0275mod=L({type:n});static \u0275inj=F({imports:[wM]})}return n})(),DM=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:EM,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Ka,useValue:e.callSetDisabledState??Cp}]}}static \u0275fac=function(i){return new(i||n)};static \u0275mod=L({type:n});static \u0275inj=F({imports:[wM]})}return n})()});function dd(n){return n.buttons===0||n.detail===0}function ud(n){let t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}var Tx=f(()=>{"use strict"});function SM(){if(Mx==null){let n=typeof document<"u"?document.head:null;Mx=!!(n&&(n.createShadowRoot||n.attachShadow))}return Mx}function Rx(n){if(SM()){let t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function fd(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){let t=n.shadowRoot.activeElement;if(t===n)break;n=t}return n}function Jt(n){return n.composedPath?n.composedPath()[0]:n.target}var Mx,hd=f(()=>{"use strict"});var Ox,Ue,sr=f(()=>{"use strict";_();_();Le();try{Ox=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Ox=!1}Ue=(()=>{class n{_platformId=u(fn);isBrowser=this._platformId?Ji(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||Ox)&&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(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()});function IM(){if(pd==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>pd=!0}))}finally{pd=pd||!1}return pd}function no(n){return IM()?n:!!n.capture}var pd,Nx=f(()=>{"use strict"});function io(n,t=0){return AM(n)?Number(n):arguments.length===2?t:0}function AM(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function Ii(n){return n instanceof H?n.nativeElement:n}var wp=f(()=>{"use strict";_()});var TM,MM,RM,Fx,OM,md,NM,Dp,ms,kx=f(()=>{"use strict";_();_();we();it();Tx();hd();sr();Nx();wp();TM=new x("cdk-input-modality-detector-options"),MM={ignoreKeys:[18,17,224,91,16]},RM=650,Fx={passive:!0,capture:!0},OM=(()=>{class n{_platform=u(Ue);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new at(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(i=>i===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Jt(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<RM||(this._modality.next(dd(e)?"keyboard":"mouse"),this._mostRecentTarget=Jt(e))};_onTouchstart=e=>{if(ud(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Jt(e)};constructor(){let e=u(P),i=u(U),r=u(TM,{optional:!0});if(this._options=b(b({},MM),r),this.modalityDetected=this._modality.pipe(Yl(1)),this.modalityChanged=this.modalityDetected.pipe(ql()),this._platform.isBrowser){let o=u(ft).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[o.listen(i,"keydown",this._onKeydown,Fx),o.listen(i,"mousedown",this._onMousedown,Fx),o.listen(i,"touchstart",this._onTouchstart,Fx)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),md=(function(n){return n[n.IMMEDIATE=0]="IMMEDIATE",n[n.EVENTUAL=1]="EVENTUAL",n})(md||{}),NM=new x("cdk-focus-monitor-default-options"),Dp=no({passive:!0,capture:!0}),ms=(()=>{class n{_ngZone=u(P);_platform=u(Ue);_inputModalityDetector=u(OM);_origin=null;_lastFocusOrigin;_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=u(U);_stopInputModalityDetector=new M;constructor(){let e=u(NM,{optional:!0});this._detectionMode=e?.detectionMode||md.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let i=Jt(e);for(let r=i;r;r=r.parentElement)e.type==="focus"?this._onFocus(e,r):this._onBlur(e,r)};monitor(e,i=!1){let r=Ii(e);if(!this._platform.isBrowser||r.nodeType!==1)return N();let o=Rx(r)||this._document,s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;let a={checkChildren:i,subject:new M,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){let i=Ii(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){let o=Ii(e),s=this._document.activeElement;o===s?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_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===md.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===md.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?RM:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,i){let r=this._elementInfo.get(i),o=Jt(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){let r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Dp),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Dp)}),this._rootNodeFocusListenerCount.set(i,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Ee(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Dp),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Dp),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let s=0;s<o.length;s++)if(o[s].contains(i))return!0}return!1}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()});var Sp,pn,gd=f(()=>{"use strict";_();_();Sp=new WeakMap,pn=(()=>{class n{_appRef;_injector=u(G);_environmentInjector=u($e);load(e){let i=this._appRef=this._appRef||this._injector.get(Ut),r=Sp.get(i);r||(r={loaders:new Set,refs:[]},Sp.set(i,r),i.onDestroy(()=>{Sp.get(i)?.refs.forEach(o=>o.destroy()),Sp.delete(i)})),r.loaders.has(e)||(r.loaders.add(e),r.refs.push(Hh(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()});var Ya,Qa=f(()=>{"use strict";gd();_();Ya=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(i,r){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
|
|
6
|
+
`],encapsulation:2,changeDetection:0})}return n})()});function Za(n){return Array.isArray(n)?n:[n]}var Lx=f(()=>{"use strict"});function Kz(n,t){if(!FM.has(n))try{gs||(gs=document.createElement("style"),t&&gs.setAttribute("nonce",t),gs.setAttribute("type","text/css"),document.head.appendChild(gs)),gs.sheet&&(gs.sheet.insertRule(`@media ${n} {body{ }}`,0),FM.add(n))}catch(e){console.error(e)}}function Yz(n){return{matches:n==="all"||n==="",media:n,addListener:()=>{},removeListener:()=>{}}}function kM(n){return n.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}var FM,gs,Ip,Px,jx=f(()=>{"use strict";_();_();we();it();sr();Lx();FM=new Set,Ip=(()=>{class n{_platform=u(Ue);_nonce=u(Wr,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Yz}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&Kz(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();Px=(()=>{class n{_mediaMatcher=u(Ip);_zone=u(P);_queries=new Map;_destroySubject=new M;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return kM(Za(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=kM(Za(e)).map(s=>this._registerQuery(s).observable),o=Lo(r);return o=Bn(o.pipe(He(1)),o.pipe(Yl(1),Vi(0))),o.pipe(V(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),o={observable:new Z(s=>{let a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(Gt(i),V(({matches:s})=>({query:e,matches:s})),Ee(this._destroySubject)),mql:i};return this._queries.set(e,o),o}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()});var Qz,Ap,Vx=f(()=>{"use strict";_();Qz=(()=>{class n{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Ap=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=L({type:n});static \u0275inj=F({providers:[Qz]})}return n})()});function Zz(n){try{return n.frameElement}catch{return null}}function Xz(n){return!!(n.offsetWidth||n.offsetHeight||typeof n.getClientRects=="function"&&n.getClientRects().length)}function Jz(n){let t=n.nodeName.toLowerCase();return t==="input"||t==="select"||t==="button"||t==="textarea"}function e$(n){return n$(n)&&n.type=="hidden"}function t$(n){return i$(n)&&n.hasAttribute("href")}function n$(n){return n.nodeName.toLowerCase()=="input"}function i$(n){return n.nodeName.toLowerCase()=="a"}function VM(n){if(!n.hasAttribute("tabindex")||n.tabIndex===void 0)return!1;let t=n.getAttribute("tabindex");return!!(t&&!isNaN(parseInt(t,10)))}function LM(n){if(!VM(n))return null;let t=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}function r$(n){let t=n.nodeName.toLowerCase(),e=t==="input"&&n.type;return e==="text"||e==="password"||t==="select"||t==="textarea"}function o$(n){return e$(n)?!1:Jz(n)||t$(n)||n.hasAttribute("contenteditable")||VM(n)}function s$(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}function UM(){return null}var Hx,Ux,zx,BM,HM,a$,$x,ro,PM,jM,Bx,Tp,yd,Gx=f(()=>{"use strict";_();_();sr();gd();Qa();jx();Vx();Hx=(()=>{class n{_platform=u(Ue);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return Xz(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=Zz(s$(e));if(i&&(LM(i)===-1||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),o=LM(e);return e.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!r$(e)?!1:r==="audio"?e.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,i){return o$(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();Ux=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_enabled=!0;constructor(t,e,i,r,o=!1,s){this._element=t,this._checker=e,this._ngZone=i,this._document=r,this._injector=s,o||this.attachAnchors()}destroy(){let t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return t=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let i=this._getFirstTabbableElement(e);return i?.focus(t),!!i}return e.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){let e=this._getRegionBoundary("start");return e&&e.focus(t),!!e}focusLastTabbableElement(t){let e=this._getRegionBoundary("end");return e&&e.focus(t),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children;for(let i=0;i<e.length;i++){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[i]):null;if(r)return r}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children;for(let i=e.length-1;i>=0;i--){let r=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(r)return r}return null}_createAnchor(){let t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._injector?Qt(t,{injector:this._injector}):setTimeout(t)}},zx=(()=>{class n{_checker=u(Hx);_ngZone=u(P);_document=u(U);_injector=u(G);constructor(){u(pn).load(Ya)}create(e,i=!1){return new Ux(e,this._checker,this._ngZone,this._document,i,this._injector)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),BM=new x("liveAnnouncerElement",{providedIn:"root",factory:UM});HM=new x("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),a$=0,$x=(()=>{class n{_ngZone=u(P);_defaultOptions=u(HM,{optional:!0});_liveElement;_document=u(U);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=u(BM,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...i){let r=this._defaultOptions,o,s;return i.length===1&&typeof i[0]=="number"?s=i[0]:[o,s]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),s==null&&r&&(s=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o<i.length;o++)i[o].remove();return r.classList.add(e),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id=`cdk-live-announcer-${a$++}`,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(e){let i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<i.length;r++){let o=i[r],s=o.getAttribute("aria-owns");s?s.indexOf(e)===-1&&o.setAttribute("aria-owns",s+" "+e):o.setAttribute("aria-owns",e)}}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),ro=(function(n){return n[n.NONE=0]="NONE",n[n.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",n[n.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",n})(ro||{}),PM="cdk-high-contrast-black-on-white",jM="cdk-high-contrast-white-on-black",Bx="cdk-high-contrast-active",Tp=(()=>{class n{_platform=u(Ue);_hasCheckedHighContrastMode;_document=u(U);_breakpointSubscription;constructor(){this._breakpointSubscription=u(Px).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return ro.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return ro.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return ro.BLACK_ON_WHITE}return ro.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Bx,PM,jM),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===ro.BLACK_ON_WHITE?e.add(Bx,PM):i===ro.WHITE_ON_BLACK&&e.add(Bx,jM)}}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),yd=(()=>{class n{constructor(){u(Tp)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||n)};static \u0275mod=L({type:n});static \u0275inj=F({imports:[Ap]})}return n})()});var Wx,en,Mp=f(()=>{"use strict";_();_();Wx={},en=(()=>{class n{_appId=u($r);getId(e){return this._appId!=="ng"&&(e+=this._appId),Wx.hasOwnProperty(e)||(Wx[e]=0),`${e}${Wx[e]++}`}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()});var l$,Rp,$M=f(()=>{"use strict";we();it();l$=200,Rp=class{_letterKeyStream=new M;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new M;selectedItem=this._selectedItem;constructor(t,e){let i=typeof e?.debounceInterval=="number"?e.debounceInterval:l$;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(t),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(t){this._selectedItemIndex=t}setItems(t){this._items=t}handleKey(t){let e=t.keyCode;t.key&&t.key.length===1?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(t){this._letterKeyStream.pipe(Fe(e=>this._pressedLetters.push(e)),Vi(t),ue(()=>this._pressedLetters.length>0),V(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let i=1;i<this._items.length+1;i++){let r=(this._selectedItemIndex+i)%this._items.length,o=this._items[r];if(!this._skipPredicateFn?.(o)&&o.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(o);break}}this._pressedLetters=[]})}}});function Ht(n,...t){return t.length?t.some(e=>n[e]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}var oo=f(()=>{"use strict"});var Op,qM=f(()=>{"use strict";_();we();$M();oo();Op=class{_items;_activeItemIndex=Ae(-1);_activeItem=Ae(null);_wrap=!1;_typeaheadSubscription=Ce.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=t=>t.disabled;constructor(t,e){this._items=t,t instanceof rs?this._itemChangesSubscription=t.changes.subscribe(i=>this._itemsChanged(i.toArray())):Ur(t)&&(this._effectRef=Na(()=>this._itemsChanged(t()),{injector:e}))}tabOut=new M;change=new M;skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new Rp(e,{debounceInterval:typeof t=="number"?t:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(t=!0){return this._homeAndEnd=t,this}withPageUpDown(t=!0,e=10){return this._pageUpAndDown={enabled:t,delta:e},this}setActiveItem(t){let e=this._activeItem();this.updateActiveItem(t),this._activeItem()!==e&&this.change.next(this._activeItemIndex())}onKeydown(t){let e=t.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!t[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex()+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o<s?o:s-1,-1);break}else return;default:(r||Ht(t,"shiftKey"))&&this._typeahead?.handleKey(t);return}this._typeahead?.reset(),t.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(t){let e=this._getItemsArray(),i=typeof t=="number"?t:e.indexOf(t),r=e[i];this._activeItem.set(r??null),this._activeItemIndex.set(i),this._typeahead?.setCurrentSelectedItemIndex(i)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){let e=this._getItemsArray();for(let i=1;i<=e.length;i++){let r=(this._activeItemIndex()+t*i+e.length)%e.length,o=e[r];if(!this._skipPredicateFn(o)){this.setActiveItem(r);return}}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex()+t,t)}_setActiveItemByIndex(t,e){let i=this._getItemsArray();if(i[t]){for(;this._skipPredicateFn(i[t]);)if(t+=e,!i[t])return;this.setActiveItem(t)}}_getItemsArray(){return Ur(this._items)?this._items():this._items instanceof rs?this._items.toArray():this._items}_itemsChanged(t){this._typeahead?.setItems(t);let e=this._activeItem();if(e){let i=t.indexOf(e);i>-1&&i!==this._activeItemIndex()&&(this._activeItemIndex.set(i),this._typeahead?.setCurrentSelectedItemIndex(i))}}}});var vd,KM=f(()=>{"use strict";qM();vd=class extends Op{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}});function Zx(n,t,e){let i=Fp(n,t);e=e.trim(),!i.some(r=>r.trim()===e)&&(i.push(e),n.setAttribute(t,i.join(QM)))}function kp(n,t,e){let i=Fp(n,t);e=e.trim();let r=i.filter(o=>o!==e);r.length?n.setAttribute(t,r.join(QM)):n.removeAttribute(t)}function Fp(n,t){return n.getAttribute(t)?.match(/\S+/g)??[]}function Yx(n,t){return typeof n=="string"?`${t||""}/${n}`:n}function YM(n,t){n.id||(n.id=`${ZM}-${t}-${Qx++}`)}var QM,ZM,Np,Qx,XM,ar=f(()=>{"use strict";kx();Gx();Mp();_();_();sr();gd();Qa();KM();Tx();QM=" ";ZM="cdk-describedby-message",Np="cdk-describedby-host",Qx=0,XM=(()=>{class n{_platform=u(Ue);_document=u(U);_messageRegistry=new Map;_messagesContainer=null;_id=`${Qx++}`;constructor(){u(pn).load(Ya),this._id=u($r)+"-"+Qx++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;let o=Yx(i,r);typeof i!="string"?(YM(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,r){if(!i||!this._isElementNode(e))return;let o=Yx(i,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),typeof i=="string"){let s=this._messageRegistry.get(o);s&&s.referenceCount===0&&this._deleteMessageElement(o)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${Np}="${this._id}"]`);for(let i=0;i<e.length;i++)this._removeCdkDescribedByReferenceIds(e[i]),e[i].removeAttribute(Np);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,i){let r=this._document.createElement("div");YM(r,this._id),r.textContent=e,i&&r.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(Yx(e,i),{messageElement:r,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",i=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let o=0;o<i.length;o++)i[o].remove();let r=this._document.createElement("div");r.style.visibility="hidden",r.classList.add(e),r.classList.add("cdk-visually-hidden"),this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(e){let i=Fp(e,"aria-describedby").filter(r=>r.indexOf(ZM)!=0);e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){let r=this._messageRegistry.get(i);Zx(e,"aria-describedby",r.messageElement.id),e.setAttribute(Np,this._id),r.referenceCount++}_removeMessageReference(e,i){let r=this._messageRegistry.get(i);r.referenceCount--,kp(e,"aria-describedby",r.messageElement.id),e.removeAttribute(Np)}_isElementDescribedByMessage(e,i){let r=Fp(e,"aria-describedby"),o=this._messageRegistry.get(i),s=o&&o.messageElement.id;return!!s&&r.indexOf(s)!=-1}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&typeof i=="object")return!0;let r=i==null?"":`${i}`.trim(),o=e.getAttribute("aria-label");return r?!o||o.trim()!==r:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()});function Pp(){if(ys==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return ys=!1,ys;if("scrollBehavior"in document.documentElement.style)ys=!0;else{let n=Element.prototype.scrollTo;n?ys=!/\{\s*\[native code\]\s*\}/.test(n.toString()):ys=!1}}return ys}function Xa(){if(typeof document!="object"||!document)return Jn.NORMAL;if(Lp==null){let n=document.createElement("div"),t=n.style;n.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";let e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",n.appendChild(e),document.body.appendChild(n),Lp=Jn.NORMAL,n.scrollLeft===0&&(n.scrollLeft=1,Lp=n.scrollLeft===0?Jn.NEGATED:Jn.INVERTED),n.remove()}return Lp}var Jn,Lp,ys,Xx=f(()=>{"use strict";Jn=(function(n){return n[n.NORMAL=0]="NORMAL",n[n.NEGATED=1]="NEGATED",n[n.INVERTED=2]="INVERTED",n})(Jn||{})});function Jx(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var JM=f(()=>{"use strict"});var _d=f(()=>{"use strict";sr();Nx();hd()});var eR=f(()=>{"use strict";jx()});function eC(){return u(c$,{optional:!0})?.animationsDisabled||u(Gr,{optional:!0})==="NoopAnimations"?"di-disabled":(tR??=u(Ip).matchMedia("(prefers-reduced-motion)").matches,tR?"reduced-motion":"enabled")}function St(){return eC()!=="enabled"}var c$,tR,Ai=f(()=>{"use strict";eR();_();c$=new x("MATERIAL_ANIMATIONS"),tR=null});function ct(n){return n==null?"":typeof n=="string"?n:`${n}px`}var nR=f(()=>{"use strict"});function bd(n){return n!=null&&`${n}`!="false"}var xd=f(()=>{"use strict";wp()});function f$(n,t,e){let i=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),r=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(i*i+r*r)}var kn,tC,iR,nC,Cd,d$,rR,oR,sR,u$,Ed,iC,aR,rC=f(()=>{"use strict";_d();_();_();ar();xd();Qa();Ai();kn=(function(n){return n[n.FADING_IN=0]="FADING_IN",n[n.VISIBLE=1]="VISIBLE",n[n.FADING_OUT=2]="FADING_OUT",n[n.HIDDEN=3]="HIDDEN",n})(kn||{}),tC=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=kn.HIDDEN;constructor(t,e,i,r=!1){this._renderer=t,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r}fadeOut(){this._renderer.fadeOutRipple(this)}},iR=no({passive:!0,capture:!0}),nC=class{_events=new Map;addHandler(t,e,i,r){let o=this._events.get(e);if(o){let s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(e,new Map([[i,new Set([r])]])),t.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,iR)})}removeHandler(t,e,i){let r=this._events.get(t);if(!r)return;let o=r.get(e);o&&(o.delete(i),o.size===0&&r.delete(e),r.size===0&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,iR)))}_delegateEventHandler=t=>{let e=Jt(t);e&&this._events.get(t.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(o=>o.handleEvent(t))})}},Cd={enterDuration:225,exitDuration:150},d$=800,rR=no({passive:!0,capture:!0}),oR=["mousedown","touchstart"],sR=["mouseup","mouseleave","touchend","touchcancel"],u$=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}
|
|
7
|
+
`],encapsulation:2,changeDetection:0})}return n})(),Ed=class n{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new nC;constructor(t,e,i,r,o){this._target=t,this._ngZone=e,this._platform=r,r.isBrowser&&(this._containerElement=Ii(i)),o&&o.get(pn).load(u$)}fadeInRipple(t,e,i={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=b(b({},Cd),i.animation);i.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);let s=i.radius||f$(t,e,r),a=t-r.left,l=e-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${a-s}px`,d.style.top=`${l-s}px`,d.style.height=`${s*2}px`,d.style.width=`${s*2}px`,i.color!=null&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let h=window.getComputedStyle(d),m=h.transitionProperty,p=h.transitionDuration,g=m==="none"||p==="0s"||p==="0s, 0s"||r.width===0&&r.height===0,y=new tC(this,d,i,g);d.style.transform="scale3d(1, 1, 1)",y.state=kn.FADING_IN,i.persistent||(this._mostRecentTransientRipple=y);let E=null;return!g&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let D=()=>{E&&(E.fallbackTimer=null),clearTimeout(he),this._finishRippleTransition(y)},k=()=>this._destroyRipple(y),he=setTimeout(k,c+100);d.addEventListener("transitionend",D),d.addEventListener("transitioncancel",k),E={onTransitionEnd:D,onTransitionCancel:k,fallbackTimer:he}}),this._activeRipples.set(y,E),(g||!c)&&this._finishRippleTransition(y),y}fadeOutRipple(t){if(t.state===kn.FADING_OUT||t.state===kn.HIDDEN)return;let e=t.element,i=b(b({},Cd),t.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",t.state=kn.FADING_OUT,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let e=Ii(t);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,oR.forEach(i=>{n._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{sR.forEach(e=>{this._triggerElement.addEventListener(e,this,rR)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===kn.FADING_IN?this._startFadeOutTransition(t):t.state===kn.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let e=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=kn.VISIBLE,!i&&(!e||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let e=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=kn.HIDDEN,e!==null&&(t.element.removeEventListener("transitionend",e.onTransitionEnd),t.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),t.element.remove()}_onMousedown(t){let e=dd(t),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+d$;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!ud(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=t.changedTouches;if(e)for(let i=0;i<e.length;i++)this.fadeInRipple(e[i].clientX,e[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{let e=t.state===kn.VISIBLE||t.config.terminateOnPointerUp&&t.state===kn.FADING_IN;!t.config.persistent&&e&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(oR.forEach(e=>n._eventManager.removeHandler(e,t,this)),this._pointerUpEventsRegistered&&(sR.forEach(e=>t.removeEventListener(e,this,rR)),this._pointerUpEventsRegistered=!1))}};iC=new x("mat-ripple-global-options"),aR=(()=>{class n{_elementRef=u(H);_animationsDisabled=St();color;unbounded;centered;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=u(P),i=u(Ue),r=u(iC,{optional:!0}),o=u(G);this._globalOptions=r||{},this._rippleRenderer=new Ed(this,e,this._elementRef,i,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:b(b(b({},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,i=0,r){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,b(b({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,b(b({},this.rippleConfig),e))}static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){i&2&&ne("mat-ripple-unbounded",r.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return n})()});var h$,p$,oC,sC,lR,jp,cR,dR=f(()=>{"use strict";_();_();_d();Ai();rC();h$={capture:!0},p$=["focus","mousedown","mouseenter","touchstart"],oC="mat-ripple-loader-uninitialized",sC="mat-ripple-loader-class-name",lR="mat-ripple-loader-centered",jp="mat-ripple-loader-disabled",cR=(()=>{class n{_document=u(U);_animationsDisabled=St();_globalRippleOptions=u(iC,{optional:!0});_platform=u(Ue);_ngZone=u(P);_injector=u(G);_eventCleanups;_hosts=new Map;constructor(){let e=u(ft).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>p$.map(i=>e.listen(this._document,i,this._onInteraction,h$)))}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);this._eventCleanups.forEach(i=>i())}configureRipple(e,i){e.setAttribute(oC,this._globalRippleOptions?.namespace??""),(i.className||!e.hasAttribute(sC))&&e.setAttribute(sC,i.className||""),i.centered&&e.setAttribute(lR,""),i.disabled&&e.setAttribute(jp,"")}setDisabled(e,i){let r=this._hosts.get(e);r?(r.target.rippleDisabled=i,!i&&!r.hasSetUpEvents&&(r.hasSetUpEvents=!0,r.renderer.setupTriggerEvents(e))):i?e.setAttribute(jp,""):e.removeAttribute(jp)}_onInteraction=e=>{let i=Jt(e);if(i instanceof HTMLElement){let r=i.closest(`[${oC}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let i=this._document.createElement("span");i.classList.add("mat-ripple",e.getAttribute(sC)),e.append(i);let r=this._globalRippleOptions,o=this._animationsDisabled?0:r?.animation?.enterDuration??Cd.enterDuration,s=this._animationsDisabled?0:r?.animation?.exitDuration??Cd.exitDuration,a={rippleDisabled:this._animationsDisabled||r?.disabled||e.hasAttribute(jp),rippleConfig:{centered:e.hasAttribute(lR),terminateOnPointerUp:r?.terminateOnPointerUp,animation:{enterDuration:o,exitDuration:s}}},l=new Ed(a,this._ngZone,i,this._platform,this._injector),c=!a.rippleDisabled;c&&l.setupTriggerEvents(e),this._hosts.set(e,{target:a,renderer:l,hasSetUpEvents:c}),e.removeAttribute(oC)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()});var Vp,aC=f(()=>{"use strict";_();Vp=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,selectors:[["structural-styles"]],decls:0,vars:0,template:function(i,r){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}
|
|
8
|
+
`],encapsulation:2,changeDetection:0})}return n})()});function uR(n){return n==null?void 0:Ei(n)}var m$,g$,y$,lC,vs,fR=f(()=>{"use strict";_();_();ar();Qa();dR();aC();Ai();m$=["mat-icon-button",""],g$=["*"],y$=new x("MAT_BUTTON_CONFIG");lC=(()=>{class n{_elementRef=u(H);_ngZone=u(P);_animationsDisabled=St();_config=u(y$,{optional:!0});_focusMonitor=u(ms);_cleanupClick;_renderer=u(rt);_rippleLoader=u(cR);_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(){u(pn).load(Vp);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",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_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(i){return new(i||n)};static \u0275dir=j({type:n,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(i,r){i&2&&(De("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled())("tabindex",r._getTabIndex()),Yn(r.color?"mat-"+r.color:""),ne("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("mat-unthemed",!r.color)("_mat-animation-noopable",r._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",Ie],disabled:[2,"disabled","disabled",Ie],ariaDisabled:[2,"aria-disabled","ariaDisabled",Ie],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Ie],tabIndex:[2,"tabIndex","tabIndex",uR],_tabindex:[2,"tabindex","_tabindex",uR]}})}return n})(),vs=(()=>{class n extends lC{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,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:[fe],attrs:m$,ngContentSelectors:g$,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(i,r){i&1&&(Zt(),On(0,"span",0),We(1),On(2,"span",1)(3,"span",2))},styles:[`.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%));flex-shrink:0;text-align:center;width:var(--mat-icon-button-state-layer-size, 40px);height:var(--mat-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mat-icon-button-state-layer-size, 40px) - var(--mat-icon-button-icon-size, 24px)) / 2);font-size:var(--mat-icon-button-icon-size, 24px);color:var(--mat-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-icon-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-icon-button .mat-ripple-element{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))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-icon-button-touch-target-size, 48px);display:var(--mat-icon-button-touch-target-display, block);left:50%;width:var(--mat-icon-button-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mat-icon-button-icon-size, 24px);height:var(--mat-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%))}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}
|
|
9
|
+
`,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
|
|
10
|
+
`],encapsulation:2,changeDetection:0})}return n})()});function _$(){return u(U)}function hR(n){let t=n?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?b$.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var v$,b$,Nt,wd=f(()=>{"use strict";_();_();v$=new x("cdk-dir-doc",{providedIn:"root",factory:_$});b$=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;Nt=(()=>{class n{get value(){return this.valueSignal()}valueSignal=Ae("ltr");change=new z;constructor(){let e=u(v$,{optional:!0});if(e){let i=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(hR(i||r||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()});var Ti,lr=f(()=>{"use strict";wd();_();Ti=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=L({type:n});static \u0275inj=F({})}return n})()});var qe,ei=f(()=>{"use strict";ar();lr();_();_();qe=(()=>{class n{constructor(){u(Tp)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||n)};static \u0275mod=L({type:n});static \u0275inj=F({imports:[Ti,Ti]})}return n})()});var Bp,cC=f(()=>{"use strict";_();ei();Bp=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=L({type:n});static \u0275inj=F({imports:[qe,qe]})}return n})()});function D$(n){return n.hasAttribute("mat-raised-button")?"elevated":n.hasAttribute("mat-stroked-button")?"outlined":n.hasAttribute("mat-flat-button")?"filled":n.hasAttribute("mat-button")?"text":null}var C$,E$,w$,pR,Mi,so,En=f(()=>{"use strict";fR();_();cC();ei();C$=["matButton",""],E$=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],w$=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],pR=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"]]]),Mi=(()=>{class n extends lC{get appearance(){return this._appearance}set appearance(e){this.setAppearance(e||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();let e=D$(this._elementRef.nativeElement);e&&this.setAppearance(e)}setAppearance(e){if(e===this._appearance)return;let i=this._elementRef.nativeElement.classList,r=this._appearance?pR.get(this._appearance):null,o=pR.get(e);r&&i.remove(...r),i.add(...o),this._appearance=e}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,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:[fe],attrs:C$,ngContentSelectors:w$,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(i,r){i&1&&(Zt(E$),On(0,"span",0),We(1),Ki(2,"span",1),We(3,1),Yi(),We(4,2),On(5,"span",2)(6,"span",3)),i&2&&ne("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[`.mat-mdc-button-base{text-decoration:none}.mat-mdc-button-base .mat-icon{min-height:fit-content;flex-shrink:0}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-button-text-horizontal-padding, 12px);height:var(--mat-button-text-container-height, 40px);font-family:var(--mat-button-text-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-text-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-text-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-text-label-text-transform);font-weight:var(--mat-button-text-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mat-button-text-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mat-button-text-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-button-text-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{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))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-text-touch-target-size, 48px);display:var(--mat-button-text-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-filled-container-height, 40px);font-family:var(--mat-button-filled-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-filled-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-filled-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-filled-label-text-transform);font-weight:var(--mat-button-filled-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-filled-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{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))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-filled-touch-target-size, 48px);display:var(--mat-button-filled-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mat-button-filled-label-text-color, var(--mat-sys-on-primary));background-color:var(--mat-button-filled-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mat-button-filled-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mat-button-protected-container-elevation-shadow, var(--mat-sys-level1));height:var(--mat-button-protected-container-height, 40px);font-family:var(--mat-button-protected-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-protected-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-protected-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-protected-label-text-transform);font-weight:var(--mat-button-protected-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-protected-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{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))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-protected-touch-target-size, 48px);display:var(--mat-button-protected-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-raised-button:not(:disabled){color:var(--mat-button-protected-label-text-color, var(--mat-sys-primary));background-color:var(--mat-button-protected-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mat-button-protected-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mat-button-protected-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mat-button-protected-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mat-button-protected-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-protected-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mat-button-protected-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-outlined-container-height, 40px);font-family:var(--mat-button-outlined-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-outlined-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-outlined-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-outlined-label-text-transform);font-weight:var(--mat-button-outlined-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mat-button-outlined-container-shape, var(--mat-sys-corner-full));border-width:var(--mat-button-outlined-outline-width, 1px);padding:0 var(--mat-button-outlined-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{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))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-outlined-touch-target-size, 48px);display:var(--mat-button-outlined-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-outlined-button:not(:disabled){color:var(--mat-button-outlined-label-text-color, var(--mat-sys-primary));border-color:var(--mat-button-outlined-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-tonal-container-height, 40px);font-family:var(--mat-button-tonal-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-tonal-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-tonal-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-tonal-label-text-transform);font-weight:var(--mat-button-tonal-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-tonal-horizontal-padding, 24px)}.mat-tonal-button:not(:disabled){color:var(--mat-button-tonal-label-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-button-tonal-container-color, var(--mat-sys-secondary-container))}.mat-tonal-button,.mat-tonal-button .mdc-button__ripple{border-radius:var(--mat-button-tonal-container-shape, var(--mat-sys-corner-full))}.mat-tonal-button[disabled],.mat-tonal-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-tonal-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}[dir=rtl] .mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}.mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}[dir=rtl] .mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}.mat-tonal-button .mat-ripple-element{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))}.mat-tonal-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-tonal-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.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{opacity:var(--mat-button-tonal-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-tonal-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-tonal-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-tonal-touch-target-size, 48px);display:var(--mat-button-tonal-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button,.mat-tonal-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon,.mat-tonal-button .mdc-button__label,.mat-tonal-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator,.mat-tonal-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before,.mat-tonal-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable,.mat-tonal-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon,.mat-tonal-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-tonal-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}
|
|
11
|
+
`,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
|
|
12
|
+
`],encapsulation:2,changeDetection:0})}return n})();so=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=L({type:n});static \u0275inj=F({imports:[qe,Bp,qe]})}return n})()});function S$(){if(Up===void 0&&(Up=null,typeof window<"u")){let n=window;n.trustedTypes!==void 0&&(Up=n.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Up}function Dd(n){return S$()?.createHTML(n)||n}function mR(n){return Error(`Unable to find icon with the name "${n}"`)}function I$(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function gR(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function yR(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}function Hp(n){return n.cloneNode(!0)}function vR(n,t){return n+":"+t}function A$(n){return!!(n.url&&n.options)}var Up,cr,zp,_R=f(()=>{"use strict";Qc();_();_();Xc();we();it();cr=class{url;svgText;options;svgElement;constructor(t,e,i){this.url=t,this.svgText=e,this.options=i}},zp=(()=>{class n{_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,i,r,o){this._httpClient=e,this._sanitizer=i,this._errorHandler=o,this._document=r}addSvgIcon(e,i,r){return this.addSvgIconInNamespace("",e,i,r)}addSvgIconLiteral(e,i,r){return this.addSvgIconLiteralInNamespace("",e,i,r)}addSvgIconInNamespace(e,i,r,o){return this._addSvgIconConfig(e,i,new cr(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,o){let s=this._sanitizer.sanitize(Et.HTML,r);if(!s)throw yR(r);let a=Dd(s);return this._addSvgIconConfig(e,i,new cr("",a,o))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,r){return this._addSvgIconSetConfig(e,new cr(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){let o=this._sanitizer.sanitize(Et.HTML,i);if(!o)throw yR(i);let s=Dd(o);return this._addSvgIconSetConfig(e,new cr("",s,r))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let i=this._sanitizer.sanitize(Et.RESOURCE_URL,e);if(!i)throw gR(e);let r=this._cachedIconsByUrl.get(i);return r?N(Hp(r)):this._loadSvgIconFromConfig(new cr(e,null)).pipe(Fe(o=>this._cachedIconsByUrl.set(i,o)),V(o=>Hp(o)))}getNamedSvgIcon(e,i=""){let r=vR(i,e),o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);let s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(e,s):Ar(mR(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?N(Hp(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(V(i=>Hp(i)))}_getSvgFromIconSetConfigs(e,i){let r=this._extractIconWithNameFromAnySet(e,i);if(r)return N(r);let o=i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(an(a=>{let c=`Loading icon set URL: ${this._sanitizer.sanitize(Et.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),N(null)})));return Po(o).pipe(V(()=>{let s=this._extractIconWithNameFromAnySet(e,i);if(!s)throw mR(e);return s}))}_extractIconWithNameFromAnySet(e,i){for(let r=i.length-1;r>=0;r--){let o=i[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){let s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,e,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Fe(i=>e.svgText=i),V(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?N(null):this._fetchIcon(e).pipe(Fe(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,r){let o=e.querySelector(`[id="${i}"]`);if(!o)return null;let s=o.cloneNode(!0);if(s.removeAttribute("id"),s.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(s,r);if(s.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(s),r);let a=this._svgElementFromString(Dd("<svg></svg>"));return a.appendChild(s),this._setSvgAttributes(a,r)}_svgElementFromString(e){let i=this._document.createElement("DIV");i.innerHTML=e;let r=i.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(e){let i=this._svgElementFromString(Dd("<svg></svg>")),r=e.attributes;for(let o=0;o<r.length;o++){let{name:s,value:a}=r[o];s!=="id"&&i.setAttribute(s,a)}for(let o=0;o<e.childNodes.length;o++)e.childNodes[o].nodeType===this._document.ELEMENT_NODE&&i.appendChild(e.childNodes[o].cloneNode(!0));return i}_setSvgAttributes(e,i){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),i&&i.viewBox&&e.setAttribute("viewBox",i.viewBox),e}_fetchIcon(e){let{url:i,options:r}=e,o=r?.withCredentials??!1;if(!this._httpClient)throw I$();if(i==null)throw Error(`Cannot fetch icon from URL "${i}".`);let s=this._sanitizer.sanitize(Et.RESOURCE_URL,i);if(!s)throw gR(i);let a=this._inProgressUrlFetches.get(s);if(a)return a;let l=this._httpClient.get(s,{responseType:"text",withCredentials:o}).pipe(V(c=>Dd(c)),ln(()=>this._inProgressUrlFetches.delete(s)),Kl());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(vR(e,i),r),this}_addSvgIconSetConfig(e,i){let r=this._iconSetConfigs.get(e);return r?r.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){let i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let r=0;r<this._resolvers.length;r++){let o=this._resolvers[r](i,e);if(o)return A$(o)?new cr(o.url,null,o.options):new cr(o,null)}}static \u0275fac=function(i){return new(i||n)(S(nr,8),S(Zc),S(U,8),S(Mt))};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()});function O$(){let n=u(U),t=n?n.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var T$,M$,R$,bR,N$,F$,Ri,$p,dr=f(()=>{"use strict";_();_();we();it();_R();ei();T$=["*"],M$=new x("MAT_ICON_DEFAULT_OPTIONS"),R$=new x("mat-icon-location",{providedIn:"root",factory:O$});bR=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],N$=bR.map(n=>`[${n}]`).join(", "),F$=/^url\(['"]?#(.*?)['"]?\)$/,Ri=(()=>{class n{_elementRef=u(H);_iconRegistry=u(zp);_location=u(R$);_errorHandler=u(Mt);_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 i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=Ce.EMPTY;constructor(){let e=u(new Zr("aria-hidden"),{optional:!0}),i=u(M$,{optional:!0});i&&(i.color&&(this.color=this._defaultColor=i.color),i.fontSet&&(this.fontSet=i.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let r=e.childNodes[i];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),i.forEach(r=>e.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(s=>{o.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){let i=e.querySelectorAll(N$),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<i.length;o++)bR.forEach(s=>{let a=i[o],l=a.getAttribute(s),c=l?l.match(F$):null;if(c){let d=r.get(a);d||(d=[],r.set(a,d)),d.push({name:s,value:c[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(He(1)).subscribe(o=>this._setSvgElement(o),o=>{let s=`Error retrieving icon ${i}:${r}! ${o.message}`;this._errorHandler.handleError(new Error(s))})}}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,r){i&2&&(De("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),Yn(r.color?"mat-"+r.color:""),ne("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",Ie],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:T$,decls:1,vars:0,template:function(i,r){i&1&&(Zt(),We(0))},styles:[`mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}
|
|
13
|
+
`],encapsulation:2,changeDetection:0})}return n})(),$p=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=L({type:n});static \u0275inj=F({imports:[qe,qe]})}return n})()});var xR,CR=f(()=>{"use strict";Qc();_();_();xR=(()=>{var t;let e=class e{constructor(){tt(this,t,u(nr))}play(r,o){return ye(this,t).get(`https://services.tilde.com/service/tts?system=${o.voice}&text=${r}`,{responseType:"blob"})}};t=new WeakMap,e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})()});function L$(n,t){if(n&1&&(Jo(),I(0,"svg",11),ce(1,"circle",12),R()),n&2){let e=W();De("viewBox",e._viewBox()),C(),as("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),De("r",e._circleRadius())}}function j$(){return{diameter:ER}}var k$,P$,ER,V$,Gp,wR,Wp=f(()=>{"use strict";_();_();Le();Ai();ei();k$=["determinateSpinner"];P$=new x("mat-progress-spinner-default-options",{providedIn:"root",factory:j$});ER=100,V$=10,Gp=(()=>{class n{_elementRef=u(H);_noopAnimations;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;_defaultColor="primary";_determinateCircle;constructor(){let e=u(P$),i=eC(),r=this._elementRef.nativeElement;this._noopAnimations=i==="di-disabled"&&!!e&&!e._forceAnimations,this.mode=r.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",!this._noopAnimations&&i==="reduced-motion"&&r.classList.add("mat-progress-spinner-reduced-motion"),e&&(e.color&&(this.color=this._defaultColor=e.color),e.diameter&&(this.diameter=e.diameter),e.strokeWidth&&(this.strokeWidth=e.strokeWidth))}mode;get value(){return this.mode==="determinate"?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,e||0))}_value=0;get diameter(){return this._diameter}set diameter(e){this._diameter=e||0}_diameter=ER;get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=e||0}_strokeWidth;_circleRadius(){return(this.diameter-V$)/2}_viewBox(){let e=this._circleRadius()*2+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(i,r){if(i&1&&Be(k$,5),i&2){let o;be(o=xe())&&(r._determinateCircle=o.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(i,r){i&2&&(De("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",r.mode==="determinate"?r.value:null)("mode",r.mode),Yn("mat-"+r.color),as("width",r.diameter,"px")("height",r.diameter,"px")("--mat-progress-spinner-size",r.diameter+"px")("--mat-progress-spinner-active-indicator-width",r.diameter+"px"),ne("_mat-animation-noopable",r._noopAnimations)("mdc-circular-progress--indeterminate",r.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",Ei],diameter:[2,"diameter","diameter",Ei],strokeWidth:[2,"strokeWidth","strokeWidth",Ei]},exportAs:["matProgressSpinner"],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(i,r){if(i&1&&(Te(0,L$,2,8,"ng-template",null,0,Qr),I(2,"div",2,1),Jo(),I(4,"svg",3),ce(5,"circle",4),R()(),Uf(),I(6,"div",5)(7,"div",6)(8,"div",7),Ma(9,8),R(),I(10,"div",9),Ma(11,8),R(),I(12,"div",10),Ma(13,8),R()()()),i&2){let o=Xt(1);C(4),De("viewBox",r._viewBox()),C(),as("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeDashOffset(),"px")("stroke-width",r._circleStrokeWidth(),"%"),De("r",r._circleRadius()),C(4),A("ngTemplateOutlet",o),C(2),A("ngTemplateOutlet",o),C(2),A("ngTemplateOutlet",o)}},dependencies:[Vc],styles:[`.mat-mdc-progress-spinner{--mat-progress-spinner-animation-multiplier: 1;display:block;overflow:hidden;line-height:0;position:relative;direction:ltr;transition:opacity 250ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-progress-spinner circle{stroke-width:var(--mat-progress-spinner-active-indicator-width, 4px)}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}}.mat-progress-spinner-reduced-motion{--mat-progress-spinner-animation-multiplier: 1.25}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1;animation:mdc-circular-progress-container-rotate calc(1568.2352941176ms*var(--mat-progress-spinner-animation-multiplier)) linear infinite}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mat-progress-spinner-active-indicator-color, var(--mat-sys-primary))}@media(forced-colors: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin calc(1333ms*var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin calc(1333ms*var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate calc(5332ms*var(--mat-progress-spinner-animation-multiplier)) cubic-bezier(0.4, 0, 0.2, 1) infinite both}@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}
|
|
14
|
+
`],encapsulation:2,changeDetection:0})}return n})(),wR=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=L({type:n});static \u0275inj=F({imports:[qe]})}return n})()});var H$,xs,dC,z$,ao,bs,uC,Ja=f(()=>{"use strict";_();_();we();it();wp();sr();wd();Xx();lr();H$=20,xs=(()=>{class n{_ngZone=u(P);_platform=u(Ue);_renderer=u(ft).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new M;_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 i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=H$){return this._platform.isBrowser?new Z(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=e>0?this._scrolled.pipe(hf(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):N()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(ue(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_scrollableContainsElement(e,i){let r=Ii(i),o=e.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),dC=(()=>{class n{elementRef=u(H);scrollDispatcher=u(xs);ngZone=u(P);dir=u(Nt,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new M;_renderer=u(rt);_cleanupScroll;_elementScrolled=new M;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 i=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=r?e.end:e.start),e.right==null&&(e.right=r?e.start:e.end),e.bottom!=null&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&Xa()!=Jn.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),Xa()==Jn.INVERTED?e.left=e.right:Xa()==Jn.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let i=this.elementRef.nativeElement;Pp()?i.scrollTo(e):(e.top!=null&&(i.scrollTop=e.top),e.left!=null&&(i.scrollLeft=e.left))}measureScrollOffset(e){let i="left",r="right",o=this.elementRef.nativeElement;if(e=="top")return o.scrollTop;if(e=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let s=this.dir&&this.dir.value=="rtl";return e=="start"?e=s?r:i:e=="end"&&(e=s?i:r),s&&Xa()==Jn.INVERTED?e==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:s&&Xa()==Jn.NEGATED?e==i?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==i?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return n})(),z$=20,ao=(()=>{class n{_platform=u(Ue);_listeners;_viewportSize;_change=new M;_document=u(U);constructor(){let e=u(P),i=u(ft).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let r=o=>this._change.next(o);this._listeners=[i.listen("window","resize",r),i.listen("window","orientationchange",r)]}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:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect(),s=-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,a=-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0;return{top:s,left:a}}change(e=z$){return e>0?this._change.pipe(hf(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(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),bs=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=L({type:n});static \u0275inj=F({})}return n})(),uC=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=L({type:n});static \u0275inj=F({imports:[Ti,bs,Ti,bs]})}return n})()});var Id,lo,Cs,fC,el,qp,Ad,Es,Td=f(()=>{"use strict";_();_();Id=class{_attachedHost;attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;t!=null&&(this._attachedHost=null,t.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(t){this._attachedHost=t}},lo=class extends Id{component;viewContainerRef;injector;projectableNodes;constructor(t,e,i,r){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.projectableNodes=r}},Cs=class extends Id{templateRef;viewContainerRef;context;injector;constructor(t,e,i,r){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}},fC=class extends Id{element;constructor(t){super(),this.element=t instanceof H?t.nativeElement:t}},el=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(t){if(t instanceof lo)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof Cs)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&&t instanceof fC)return this._attachedPortal=t,this.attachDomPortal(t)}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(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},qp=class extends el{outletElement;_appRef;_defaultInjector;constructor(t,e,i){super(),this.outletElement=t,this._appRef=e,this._defaultInjector=i}attachComponentPortal(t){let e;if(t.viewContainerRef){let i=t.injector||t.viewContainerRef.injector,r=i.get(bi,null,{optional:!0})||void 0;e=t.viewContainerRef.createComponent(t.component,{index:t.viewContainerRef.length,injector:i,ngModuleRef:r,projectableNodes:t.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else{let i=this._appRef,r=t.injector||this._defaultInjector||G.NULL,o=r.get($e,i.injector);e=Hh(t.component,{elementInjector:r,environmentInjector:o,projectableNodes:t.projectableNodes||void 0}),i.attachView(e.hostView),this.setDisposeFn(()=>{i.viewCount>0&&i.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=t,e}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);r!==-1&&e.remove(r)}),this._attachedPortal=t,i}attachDomPortal=t=>{let e=t.element;e.parentNode;let i=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}},Ad=(()=>{class n extends el{_moduleRef=u(bi,{optional:!0});_document=u(U);_viewContainerRef=u(Rt);_isInitialized=!1;_attachedRef;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 z;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,r=i.createComponent(e.component,{index:i.length,injector:e.injector||i.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return i!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachDomPortal=e=>{let i=e.element;i.parentNode;let r=this._document.createComment("dom-portal");e.setAttachedHost(this),i.parentNode.insertBefore(r,i),this._getRootNode().appendChild(i),this._attachedPortal=e,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(i,r)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[fe]})}return n})(),Es=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=L({type:n});static \u0275inj=F({})}return n})()});function il(n){return new Kp(n.get(ao),n.get(U))}function OR(n,t){return new Yp(n.get(xs),n.get(P),n.get(ao),t)}function hC(n,t){return t.some(e=>{let i=n.bottom<e.top,r=n.top>e.bottom,o=n.right<e.left,s=n.left>e.right;return i||r||o||s})}function SR(n,t){return t.some(e=>{let i=n.top<e.top,r=n.bottom>e.bottom,o=n.left<e.left,s=n.right>e.right;return i||r||o||s})}function Oi(n,t){return new Qp(n.get(xs),n.get(ao),n.get(P),t)}function IR(n,t){let e=typeof ShadowRoot<"u"&&ShadowRoot,i=t;for(;i;){if(i===n)return!0;i=e&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}function Rd(n,t){return new Xp(t,n.get(ao),n.get(U),n.get(Ue),n.get(em))}function ws(n,t){for(let e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);return n}function TR(n){if(typeof n!="number"&&n!=null){let[t,e]=n.split(G$);return!e||e==="px"?parseFloat(t):null}return n||null}function MR(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}function W$(n,t){return n===t?!0:n.isOriginClipped===t.isOriginClipped&&n.isOriginOutsideView===t.isOriginOutsideView&&n.isOverlayClipped===t.isOverlayClipped&&n.isOverlayOutsideView===t.isOverlayOutsideView}function rl(n){return new Jp}function Is(n,t){n.get(pn).load(PR);let e=n.get(em),i=n.get(U),r=n.get(en),o=n.get(Ut),s=n.get(Nt),a=i.createElement("div"),l=i.createElement("div");l.id=r.getId("cdk-overlay-"),l.classList.add("cdk-overlay-pane"),a.appendChild(l),e.getContainerElement().appendChild(a);let c=new qp(l,o,n),d=new Ds(t),h=n.get(rt,null,{optional:!0})||n.get(ft).createRenderer(null,null);return d.direction=d.direction||s.value,new tl(c,a,l,d,n.get(P),n.get(kR),i,n.get(wi),n.get(LR),t?.disableAnimations??n.get(Gr,null,{optional:!0})==="NoopAnimations",n.get($e),h)}function K$(n){let t=u(G);return()=>Oi(t)}var DR,Kp,Yp,Md,Qp,NR,Ds,Zp,FR,kR,LR,PR,em,pC,tl,AR,G$,Xp,RR,Jp,jR,VR,q$,BR,nl,tm,Y$,ur,mC=f(()=>{"use strict";_();_();Le();sr();hd();JM();gd();we();nR();Lx();Ja();Td();Xx();it();Mp();wd();oo();lr();DR=Pp();Kp=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(t,e){this._viewportRuler=t,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=ct(-this._previousScrollPosition.left),t.style.top=ct(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let t=this._document.documentElement,e=this._document.body,i=t.style,r=e.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),DR&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),DR&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}};Yp=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(t,e,i,r){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=r}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(this._scrollSubscription)return;let t=this._scrollDispatcher.scrolled(0).pipe(ue(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}},Md=class{enable(){}disable(){}attach(){}};Qp=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(t,e,i,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=r}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(!this._scrollSubscription){let t=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(t).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();hC(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},NR=(()=>{class n{_injector=u(G);constructor(){}noop=()=>new Md;close=e=>OR(this._injector,e);block=()=>il(this._injector);reposition=e=>Oi(this._injector,e);static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Ds=class{positionStrategy;scrollStrategy=new Md;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(t){if(t){let e=Object.keys(t);for(let i of e)t[i]!==void 0&&(this[i]=t[i])}}},Zp=class{connectionPair;scrollableViewProperties;constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}},FR=(()=>{class n{_attachedOverlays=[];_document=u(U);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),kR=(()=>{class n extends FR{_ngZone=u(P);_renderer=u(ft).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 i=this._attachedOverlays;for(let r=i.length-1;r>-1;r--)if(i[r]._keydownEvents.observers.length>0){this._ngZone.run(()=>i[r]._keydownEvents.next(e));break}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ve(n)))(r||n)}})();static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),LR=(()=>{class n extends FR{_platform=u(Ue);_ngZone=u(P);_renderer=u(ft).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(e){if(super.add(e),!this._isAttached){let i=this._document.body,r={capture:!0},o=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[o.listen(i,"pointerdown",this._pointerDownListener,r),o.listen(i,"click",this._clickListener,r),o.listen(i,"auxclick",this._clickListener,r),o.listen(i,"contextmenu",this._clickListener,r)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.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=Jt(e)};_clickListener=e=>{let i=Jt(e),r=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let o=this._attachedOverlays.slice();for(let s=o.length-1;s>-1;s--){let a=o[s];if(a._outsidePointerEvents.observers.length<1||!a.hasAttached())continue;if(IR(a.overlayElement,i)||IR(a.overlayElement,r))break;let l=a._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>l.next(e)):l.next(e)}};static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ve(n)))(r||n)}})();static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();PR=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,r){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
|
|
15
|
+
`],encapsulation:2,changeDetection:0})}return n})(),em=(()=>{class n{_platform=u(Ue);_containerElement;_document=u(U);_styleLoader=u(pn);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||Jx()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}let i=this._document.createElement("div");i.classList.add(e),Jx()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}_loadStyles(){this._styleLoader.load(PR)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),pC=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(t,e,i,r){this._renderer=e,this._ngZone=i,this.element=t.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",r)}detach(){this._ngZone.runOutsideAngular(()=>{let t=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(t,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),t.style.pointerEvents="none",t.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()}},tl=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new M;_attachments=new M;_detachments=new M;_positionStrategy;_scrollStrategy;_locationChanges=Ce.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new M;_outsidePointerEvents=new M;_afterNextRenderRef;constructor(t,e,i,r,o,s,a,l,c,d=!1,h,m){this._portalOutlet=t,this._host=e,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._injector=h,this._renderer=m,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Qt(()=>{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 t=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){let t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._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,t&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=b(b({},this._config),t),this._updateElementSize()}setDirection(t){this._config=J(b({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){let t=this._config.direction;return t?typeof t=="string"?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let t=this._pane.style;t.width=ct(this._config.width),t.height=ct(this._config.height),t.minWidth=ct(this._config.minWidth),t.minHeight=ct(this._config.minHeight),t.maxWidth=ct(this._config.maxWidth),t.maxHeight=ct(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){let t="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new pC(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._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(t))}):this._backdropRef.element.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(t,e,i){let r=Za(e||[]).filter(o=>!!o);r.length&&(i?t.classList.add(...r):t.classList.remove(...r))}_detachContentWhenEmpty(){let t=!1;try{this._detachContentAfterRenderRef=Qt(()=>{t=!0,this._detachContent()},{injector:this._injector})}catch(e){if(t)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 t=this._scrollStrategy;t?.disable(),t?.detach?.()}},AR="cdk-overlay-connected-position-bounding-box",G$=/([A-Za-z%]+)$/;Xp=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_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;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new M;_resizeSubscription=Ce.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(t,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this.setOrigin(t)}attach(t){this._overlayRef&&this._overlayRef,this._validatePositions(),t.hostElement.classList.add(AR),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[],s;for(let a of this._preferredPositions){let l=this._getOriginPoint(t,r,a),c=this._getOverlayPoint(l,e,a),d=this._getOverlayFit(c,e,i,a);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,l);return}if(this._canFitWithFlexibleDimensions(d,c,i)){o.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)});continue}(!s||s.overlayFit.visibleArea<d.visibleArea)&&(s={overlayFit:d,overlayPoint:c,originPoint:l,position:a,overlayRect:e})}if(o.length){let a=null,l=-1;for(let c of o){let d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);d>l&&(l=d,a=c)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ws(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(AR),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,t.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,i){let r;if(i.originX=="center")r=t.left+t.width/2;else{let s=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;r=i.originX=="start"?s:a}e.left<0&&(r-=e.left);let o;return i.originY=="center"?o=t.top+t.height/2:o=i.originY=="top"?t.top:t.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(t,e,i){let r;i.overlayX=="center"?r=-e.width/2:i.overlayX==="start"?r=this._isRtl()?-e.width:0:r=this._isRtl()?0:-e.width;let o;return i.overlayY=="center"?o=-e.height/2:o=i.overlayY=="top"?0:-e.height,{x:t.x+r,y:t.y+o}}_getOverlayFit(t,e,i,r){let o=MR(e),{x:s,y:a}=t,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let d=0-s,h=s+o.width-i.width,m=0-a,p=a+o.height-i.height,g=this._subtractOverflows(o.width,d,h),y=this._subtractOverflows(o.height,m,p),E=g*y;return{visibleArea:E,isCompletelyWithinViewport:o.width*o.height===E,fitsInViewportVertically:y===o.height,fitsInViewportHorizontally:g==o.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){let r=i.bottom-e.y,o=i.right-e.x,s=TR(this._overlayRef.getConfig().minHeight),a=TR(this._overlayRef.getConfig().minWidth),l=t.fitsInViewportVertically||s!=null&&s<=r,c=t.fitsInViewportHorizontally||a!=null&&a<=o;return l&&c}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};let r=MR(e),o=this._viewportRect,s=Math.max(t.x+r.width-o.width,0),a=Math.max(t.y+r.height-o.height,0),l=Math.max(o.top-i.top-t.y,0),c=Math.max(o.left-i.left-t.x,0),d=0,h=0;return r.width<=o.width?d=c||-s:d=t.x<this._viewportMargin?o.left-i.left-t.x:0,r.height<=o.height?h=l||-a:h=t.y<this._viewportMargin?o.top-i.top-t.y:0,this._previousPushAmount={x:d,y:h},{x:t.x+d,y:t.y+h}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._positionChanges.observers.length){let i=this._getScrollVisibility();if(t!==this._lastPosition||!this._lastScrollVisibility||!W$(this._lastScrollVisibility,i)){let r=new Zp(t,i);this._positionChanges.next(r)}this._lastScrollVisibility=i}this._lastPosition=t,this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),i,r=t.overlayY;t.overlayX==="center"?i="center":this._isRtl()?i=t.overlayX==="start"?"right":"left":i=t.overlayX==="start"?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${i} ${r}`}_calculateBoundingBoxRect(t,e){let i=this._viewportRect,r=this._isRtl(),o,s,a;if(e.overlayY==="top")s=t.y,o=i.height-s+this._viewportMargin;else if(e.overlayY==="bottom")a=i.height-t.y+this._viewportMargin*2,o=i.height-a+this._viewportMargin;else{let p=Math.min(i.bottom-t.y+i.top,t.y),g=this._lastBoundingBoxSize.height;o=p*2,s=t.y-p,o>g&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-g/2)}let l=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,c=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,d,h,m;if(c)m=i.width-t.x+this._viewportMargin*2,d=t.x-this._viewportMargin;else if(l)h=t.x,d=i.right-t.x;else{let p=Math.min(i.right-t.x+i.left,t.x),g=this._lastBoundingBoxSize.width;d=p*2,h=t.x-p,d>g&&!this._isInitialRender&&!this._growAfterOpen&&(h=t.x-g/2)}return{top:s,left:h,bottom:a,right:m,width:d,height:o}}_setBoundingBoxStyles(t,e){let i=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=ct(i.height),r.top=ct(i.top),r.bottom=ct(i.bottom),r.width=ct(i.width),r.left=ct(i.left),r.right=ct(i.right),e.overlayX==="center"?r.alignItems="center":r.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?r.justifyContent="center":r.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=ct(o)),s&&(r.maxWidth=ct(s))}this._lastBoundingBoxSize=i,ws(this._boundingBox.style,r)}_resetBoundingBoxStyles(){ws(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ws(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){let i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){let d=this._viewportRuler.getViewportScrollPosition();ws(i,this._getExactOverlayY(e,t,d)),ws(i,this._getExactOverlayX(e,t,d))}else i.position="static";let a="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=ct(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=ct(s.maxWidth):o&&(i.maxWidth="")),ws(this._pane.style,i)}_getExactOverlayY(t,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,t);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),t.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;r.bottom=`${s-(o.y+this._overlayRect.height)}px`}else r.top=ct(o.y);return r}_getExactOverlayX(t,e,i){let r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i));let s;if(this._isRtl()?s=t.overlayX==="end"?"left":"right":s=t.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;r.right=`${a-(o.x+this._overlayRect.width)}px`}else r.left=ct(o.x);return r}_getScrollVisibility(){let t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:SR(t,i),isOriginOutsideView:hC(t,i),isOverlayClipped:SR(e,i),isOverlayOutsideView:hC(e,i)}}_subtractOverflows(t,...e){return e.reduce((i,r)=>i-Math.max(r,0),t)}_getNarrowedViewportRect(){let t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return e==="x"?t.offsetX==null?this._offsetX:t.offsetX:t.offsetY==null?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&Za(t).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){let t=this._origin;if(t instanceof H)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();let e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}};RR="cdk-global-overlay-wrapper";Jp=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(t){let e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(RR),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=(r==="100%"||r==="100vw")&&(!s||s==="100%"||s==="100vw"),c=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),d=this._xPosition,h=this._xOffset,m=this._overlayRef.getConfig().direction==="rtl",p="",g="",y="";l?y="flex-start":d==="center"?(y="center",m?g=h:p=h):m?d==="left"||d==="end"?(y="flex-end",p=h):(d==="right"||d==="start")&&(y="flex-start",g=h):d==="left"||d==="start"?(y="flex-start",p=h):(d==="right"||d==="end")&&(y="flex-end",g=h),t.position=this._cssPosition,t.marginLeft=l?"0":p,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":g,e.justifyContent=y,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(RR),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}},jR=(()=>{class n{_injector=u(G);constructor(){}global(){return rl()}flexibleConnectedTo(e){return Rd(this._injector,e)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();VR=(()=>{class n{scrollStrategies=u(NR);_positionBuilder=u(jR);_injector=u(G);constructor(){}create(e){return Is(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),q$=[{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"}],BR=new x("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let n=u(G);return()=>Oi(n)}}),nl=(()=>{class n{elementRef=u(H);constructor(){}static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return n})(),tm=(()=>{class n{_dir=u(Nt,{optional:!0});_injector=u(G);_overlayRef;_templatePortal;_backdropSubscription=Ce.EMPTY;_attachSubscription=Ce.EMPTY;_detachSubscription=Ce.EMPTY;_positionSubscription=Ce.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=u(BR);_disposeOnNavigation=!1;_ngZone=u(P);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;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}backdropClick=new z;positionChange=new z;attach=new z;detach=new z;overlayKeydown=new z;overlayOutsideClick=new z;constructor(){let e=u(un),i=u(Rt);this._templatePortal=new Cs(e,i),this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=q$);let e=this._overlayRef=Is(this._injector,this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!Ht(i)&&(i.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let r=this._getOriginElement(),o=Jt(i);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new Ds({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){let i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=Rd(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof nl?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof nl?this.origin.elementRef.nativeElement:this.origin instanceof H?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(hy(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",Ie],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",Ie],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",Ie],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",Ie],push:[2,"cdkConnectedOverlayPush","push",Ie],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",Ie]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[je]})}return n})();Y$={provide:BR,useFactory:K$},ur=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=L({type:n});static \u0275inj=F({providers:[VR,Y$],imports:[Ti,Es,uC,uC]})}return n})()});var nm=f(()=>{"use strict";mC();Ja()});function zR(n){let t=u(G);return()=>Oi(t,{scrollThrottle:gC})}function GR(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var Q$,gC,yC,$R,WR,UR,HR,Z$,X$,J$,eG,fr,qR,As,KR=f(()=>{"use strict";_();_();ar();nm();Ja();it();xd();oo();Le();_d();lr();Td();we();Ai();ei();Q$=["tooltip"],gC=20,yC=new x("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let n=u(G);return()=>Oi(n,{scrollThrottle:gC})}});$R={provide:yC,deps:[],useFactory:zR};WR=new x("mat-tooltip-default-options",{providedIn:"root",factory:GR}),UR="tooltip-panel",HR=no({passive:!0}),Z$=8,X$=8,J$=24,eG=200,fr=(()=>{class n{_elementRef=u(H);_ngZone=u(P);_platform=u(Ue);_ariaDescriber=u(XM);_focusMonitor=u(ms);_dir=u(Nt);_injector=u(G);_viewContainerRef=u(Rt);_animationsDisabled=St();_defaultOptions=u(WR,{optional:!0});_overlayRef;_tooltipInstance;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=qR;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending;_dirSubscribed=!1;get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=bd(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let i=bd(e);this._disabled!==i&&(this._disabled=i,i?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=io(e)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=io(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(e){let i=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(i)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_passiveListeners=[];_touchstartTimeout=null;_destroyed=new M;_isDestroyed=!1;constructor(){let e=this._defaultOptions;e&&(this._showDelay=e.showDelay,this._hideDelay=e.hideDelay,e.position&&(this.position=e.position),e.positionAtOrigin&&(this.positionAtOrigin=e.positionAtOrigin),e.touchGestures&&(this.touchGestures=e.touchGestures),e.tooltipClass&&(this.tooltipClass=e.tooltipClass)),this._viewportMargin=Z$}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Ee(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{e.removeEventListener(i,r,HR)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let r=this._createOverlay(i);this._detach(),this._portal=this._portal||new lo(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(Ee(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e)}hide(e=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let s=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&s._origin instanceof H)return this._overlayRef;this._detach()}let i=this._injector.get(xs).getAncestorScrollContainers(this._elementRef),r=`${this._cssClassPrefix}-${UR}`,o=Rd(this._injector,this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return o.positionChanges.pipe(Ee(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=Is(this._injector,{direction:this._dir,positionStrategy:o,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,r]:r,scrollStrategy:this._injector.get(yC)(),disableAnimations:this._animationsDisabled}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Ee(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Ee(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(Ee(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&s.keyCode===27&&!Ht(s)&&(s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(Ee(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let i=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset(b(b({},r.main),o.main)),this._addOffset(b(b({},r.fallback),o.fallback))])}_addOffset(e){let i=X$,r=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-i:e.originY==="bottom"?e.offsetY=i:e.originX==="start"?e.offsetX=r?-i:i:e.originX==="end"&&(e.offsetX=r?i:-i),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"||i=="below"?r={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={originX:"start",originY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={originX:"end",originY:"center"});let{x:o,y:s}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:s}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",i=this.position,r;i=="above"?r={overlayX:"center",overlayY:"bottom"}:i=="below"?r={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&e||i=="right"&&!e?r={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(r={overlayX:"start",overlayY:"center"});let{x:o,y:s}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),Qt(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){let{overlayY:i,originX:r,originY:o}=e,s;if(i==="center"?this._dir&&this._dir.value==="rtl"?s=r==="end"?"left":"right":s=r==="start"?"left":"right":s=i==="bottom"&&o==="top"?"above":"below",s!==this._currentPosition){let a=this._overlayRef;if(a){let l=`${this._cssClassPrefix}-${UR}-`;a.removePanelClass(l+this._currentPosition),a.addPanelClass(l+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let i;e.x!==void 0&&e.y!==void 0&&(i=e),this.show(void 0,i)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{let i=e.targetTouches?.[0],r=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r)},this._defaultOptions?.touchLongPressShowDelay??o)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{let r=i.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let i=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,HR)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){let i=this._injector.get(U).elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let i=this._elementRef.nativeElement,r=i.style;(e==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),(e==="on"||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._isDestroyed||Qt({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,r){i&2&&ne("mat-mdc-tooltip-disabled",r.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return n})(),qR=(()=>{class n{_changeDetectorRef=u(mt);_elementRef=u(H);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=St();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new M;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>J$&&e.width>=eG}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let i=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(e?o:r),i.classList.add(e?r:o),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let s=getComputedStyle(i);(s.getPropertyValue("animation-duration")==="0s"||s.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,selectors:[["mat-tooltip-component"]],viewQuery:function(i,r){if(i&1&&Be(Q$,7),i&2){let o;be(o=xe())&&(r._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(i,r){i&1&&te("mouseleave",function(s){return r._handleMouseLeave(s)})},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(i,r){if(i&1){let o=Re();I(0,"div",1,0),te("animationend",function(a){return ve(o),_e(r._handleAnimationEnd(a))}),I(2,"div",2),se(3),R()()}i&2&&(ne("mdc-tooltip--multiline",r._isMultiline),A("ngClass",r.tooltipClass),C(3),ht(r.message))},dependencies:[Zi],styles:[`.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mat-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mat-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mat-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mat-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel{line-height:normal}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}
|
|
16
|
+
`],encapsulation:2,changeDetection:0})}return n})(),As=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=L({type:n});static \u0275inj=F({providers:[$R],imports:[yd,ur,qe,qe,bs]})}return n})()});var co=f(()=>{"use strict";KR()});var YR,QR=f(()=>{"use strict";_();Ai();YR=(()=>{class n{_animationsDisabled=St();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,r){i&2&&ne("mat-pseudo-checkbox-indeterminate",r.state==="indeterminate")("mat-pseudo-checkbox-checked",r.state==="checked")("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal",r.appearance==="minimal")("mat-pseudo-checkbox-full",r.appearance==="full")("_mat-animation-noopable",r._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(i,r){},styles:[`.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-minimal-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-pseudo-checkbox-full-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-pseudo-checkbox-full-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-full-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}
|
|
17
|
+
`],encapsulation:2,changeDetection:0})}return n})()});function rG(n,t){if(n&1&&ce(0,"mat-pseudo-checkbox",1),n&2){let e=W();A("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function oG(n,t){if(n&1&&ce(0,"mat-pseudo-checkbox",3),n&2){let e=W();A("disabled",e.disabled)}}function sG(n,t){if(n&1&&(I(0,"span",4),se(1),R()),n&2){let e=W();C(),Je("(",e.group.label,")")}}function ZR(n,t,e){if(e.length){let i=t.toArray(),r=e.toArray(),o=0;for(let s=0;s<n+1;s++)i[s].group&&i[s].group===r[o]&&o++;return o}return 0}function XR(n,t,e,i){return n<e?n:n+t>e+i?Math.max(0,n-i+t):e}var tG,nG,iG,_C,bC,vC,hr,sm=f(()=>{"use strict";ar();oo();_();_();we();rC();QR();aC();Qa();tG=["text"],nG=[[["mat-icon"]],"*"],iG=["mat-icon","*"];_C=new x("MAT_OPTION_PARENT_COMPONENT"),bC=new x("MatOptgroup"),vC=class{source;isUserInput;constructor(t,e=!1){this.source=t,this.isUserInput=e}},hr=(()=>{class n{_element=u(H);_changeDetectorRef=u(mt);_parent=u(_C,{optional:!0});group=u(bC,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=u(en).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=Ae(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new z;_text;_stateChanges=new M;constructor(){let e=u(pn);e.load(Vp),e.load(Ya),this._signalDisableRipple=!!this._parent&&Ur(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,i){let r=this._getHostElement();typeof r.focus=="function"&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!Ht(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new vC(this,e))}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,selectors:[["mat-option"]],viewQuery:function(i,r){if(i&1&&Be(tG,7),i&2){let o;be(o=xe())&&(r._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,r){i&1&&te("click",function(){return r._selectViaInteraction()})("keydown",function(s){return r._handleKeydown(s)}),i&2&&(Qi("id",r.id),De("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),ne("mdc-list-item--selected",r.selected)("mat-mdc-option-multiple",r.multiple)("mat-mdc-option-active",r.active)("mdc-list-item--disabled",r.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",Ie]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:iG,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,r){i&1&&(Zt(nG),ot(0,rG,1,2,"mat-pseudo-checkbox",1),We(1),I(2,"span",2,0),We(4,1),R(),ot(5,oG,1,1,"mat-pseudo-checkbox",3),ot(6,sG,2,1,"span",4),ce(7,"div",5)),i&2&&(st(r.multiple?0:-1),C(5),st(!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),C(),st(r.group&&r.group._inert?6:-1),C(),A("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[YR,aR],styles:[`.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mat-list-list-item-selected-container-color: var(--mat-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}
|
|
18
|
+
`],encapsulation:2,changeDetection:0})}return n})()});var xC,JR,eO=f(()=>{"use strict";_();_();we();it();xC=class{_box;_destroyed=new M;_resizeSubject=new M;_resizeObserver;_elementObservables=new Map;constructor(t){this._box=t,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(t){return this._elementObservables.has(t)||this._elementObservables.set(t,new Z(e=>{let i=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(t,{box:this._box}),()=>{this._resizeObserver?.unobserve(t),i.unsubscribe(),this._elementObservables.delete(t)}}).pipe(ue(e=>e.some(i=>i.target===t)),jo({bufferSize:1,refCount:!0}),Ee(this._destroyed))),this._elementObservables.get(t)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},JR=(()=>{class n{_cleanupErrorListener;_observers=new Map;_ngZone=u(P);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(e,i){let r=i?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new xC(r)),this._observers.get(r).observe(e)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()});function hG(n,t){n&1&&ce(0,"span",20)}function pG(n,t){if(n&1&&(I(0,"label",19),We(1,1),ot(2,hG,1,0,"span",20),R()),n&2){let e=W(2);A("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),De("for",e._control.disableAutomaticLabeling?null:e._control.id),C(2),st(!e.hideRequiredMarker&&e._control.required?2:-1)}}function mG(n,t){if(n&1&&ot(0,pG,3,5,"label",19),n&2){let e=W();st(e._hasFloatingLabel()?0:-1)}}function gG(n,t){n&1&&ce(0,"div",7)}function yG(n,t){}function vG(n,t){if(n&1&&Te(0,yG,0,0,"ng-template",13),n&2){W(2);let e=Xt(1);A("ngTemplateOutlet",e)}}function _G(n,t){if(n&1&&(I(0,"div",9),ot(1,vG,1,1,null,13),R()),n&2){let e=W();A("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),C(),st(e._forceDisplayInfixLabel()?-1:1)}}function bG(n,t){n&1&&(I(0,"div",10,2),We(2,2),R())}function xG(n,t){n&1&&(I(0,"div",11,3),We(2,3),R())}function CG(n,t){}function EG(n,t){if(n&1&&Te(0,CG,0,0,"ng-template",13),n&2){W();let e=Xt(1);A("ngTemplateOutlet",e)}}function wG(n,t){n&1&&(I(0,"div",14,4),We(2,4),R())}function DG(n,t){n&1&&(I(0,"div",15,5),We(2,5),R())}function SG(n,t){n&1&&ce(0,"div",16)}function IG(n,t){n&1&&We(0,6)}function AG(n,t){if(n&1&&(I(0,"mat-hint",21),se(1),R()),n&2){let e=W(2);A("id",e._hintLabelId),C(),ht(e.hintLabel)}}function TG(n,t){if(n&1&&(ot(0,AG,2,2,"mat-hint",21),We(1,7),ce(2,"div",22),We(3,8)),n&2){let e=W();st(e.hintLabel?0:-1)}}function MG(n){let t=n;if(t.offsetParent!==null)return t.scrollWidth;let e=t.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let i=e.scrollWidth;return e.remove(),i}var aG,lG,cG,tO,nO,iO,rO,dG,uG,fG,Ts,uO,CC,fO,hO,pO,oO,sO,am,aO,lO,lm,cm,mO,cO,RG,dO,OG,Ms,dm=f(()=>{"use strict";ar();lr();xd();_d();Le();_();_();we();it();eO();Ai();aG=["notch"],lG=["matFormFieldNotchedOutline",""],cG=["*"],tO=["iconPrefixContainer"],nO=["textPrefixContainer"],iO=["iconSuffixContainer"],rO=["textSuffixContainer"],dG=["textField"],uG=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],fG=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];Ts=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n,selectors:[["mat-label"]]})}return n})(),uO=new x("MatError"),CC=(()=>{class n{align="start";id=u(en).getId("mat-mdc-hint-");static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,r){i&2&&(Qi("id",r.id),De("align",null),ne("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"}})}return n})(),fO=new x("MatPrefix"),hO=new x("MatSuffix"),pO=new x("FloatingLabelParent"),oO=(()=>{class n{_elementRef=u(H);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=u(JR);_ngZone=u(P);_parent=u(pO);_resizeSubscription=new Ce;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return MG(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,r){i&2&&ne("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return n})();sO="mdc-line-ripple--active",am="mdc-line-ripple--deactivating",aO=(()=>{class n{_elementRef=u(H);_cleanupTransitionEnd;constructor(){let e=u(P),i=u(rt);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=i.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(am),e.add(sO)}deactivate(){this._elementRef.nativeElement.classList.add(am)}_handleTransitionEnd=e=>{let i=this._elementRef.nativeElement.classList,r=i.contains(am);e.propertyName==="opacity"&&r&&i.remove(sO,am)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return n})(),lO=(()=>{class n{_elementRef=u(H);_ngZone=u(P);open=!1;_notch;ngAfterViewInit(){let e=this._elementRef.nativeElement,i=e.querySelector(".mdc-floating-label");i?(e.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(i.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>i.style.transitionDuration="")}))):e.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){let i=this._notch.nativeElement;!this.open||!e?i.style.width="":i.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}_setMaxWidth(e){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${e}px)`)}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,r){if(i&1&&Be(aG,5),i&2){let o;be(o=xe())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,r){i&2&&ne("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:lG,ngContentSelectors:cG,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(i,r){i&1&&(Zt(),On(0,"div",1),Ki(1,"div",2,0),We(3),Yi(),On(4,"div",3))},encapsulation:2,changeDetection:0})}return n})(),lm=(()=>{class n{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n})}return n})(),cm=new x("MatFormField"),mO=new x("MAT_FORM_FIELD_DEFAULT_OPTIONS"),cO="fill",RG="auto",dO="fixed",OG="translateY(-50%)",Ms=(()=>{class n{_elementRef=u(H);_changeDetectorRef=u(mt);_platform=u(Ue);_idGenerator=u(en);_ngZone=u(P);_defaults=u(mO,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=Lc("iconPrefixContainer");_textPrefixContainerSignal=Lc("textPrefixContainer");_iconSuffixContainerSignal=Lc("iconSuffixContainer");_textSuffixContainerSignal=Lc("textSuffixContainer");_prefixSuffixContainers=Qn(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(e=>e?.nativeElement).filter(e=>e!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=cT(Ts);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=bd(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||RG}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(e){let i=e||this._defaults?.appearance||cO;this._appearanceSignal.set(i)}_appearanceSignal=Ae(cO);get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||dO}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||dO}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new M;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=St();constructor(){let e=this._defaults,i=u(Nt);e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),Na(()=>this._currentDirection=i.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=Qn(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let i=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),i.controlType&&this._elementRef.nativeElement.classList.add(r+i.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=i.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=i.stateChanges.pipe(Gt([void 0,void 0]),V(()=>[i.errorState,i.userAriaDescribedBy]),gf(),ue(([[o,s],[a,l]])=>o!==a||s!==l)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),i.ngControl&&i.ngControl.valueChanges&&(this._valueChanges=i.ngControl.valueChanges.pipe(Ee(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),sn(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){let e=this._control.focused;e&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!e&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",e),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",e)}_syncOutlineLabelOffset(){uT({earlyRead:()=>{if(this._appearanceSignal()!=="outline")return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(let e of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(e,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:e=>this._writeOutlinedLabelStyles(e())})}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=Qn(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&&i[e]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let o=this._hintChildren?this._hintChildren.find(a=>a.align==="start"):null,s=this._hintChildren?this._hintChildren.find(a=>a.align==="end"):null;o?e.push(o.id):this._hintLabel&&e.push(this._hintLabelId),s&&e.push(s.id)}else this._errorChildren&&e.push(...this._errorChildren.map(o=>o.id));let i=this._control.describedByIds,r;if(i){let o=this._describedByIds||e;r=e.concat(i.filter(s=>s&&!o.includes(s)))}else r=e;this._control.setDescribedByIds(r),this._describedByIds=e}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;let e=this._iconPrefixContainer?.nativeElement,i=this._textPrefixContainer?.nativeElement,r=this._iconSuffixContainer?.nativeElement,o=this._textSuffixContainer?.nativeElement,s=e?.getBoundingClientRect().width??0,a=i?.getBoundingClientRect().width??0,l=r?.getBoundingClientRect().width??0,c=o?.getBoundingClientRect().width??0,d=this._currentDirection==="rtl"?"-1":"1",h=`${s+a}px`,p=`calc(${d} * (${h} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,g=`var(--mat-mdc-form-field-label-transform, ${OG} translateX(${p}))`,y=s+a+l+c;return[g,y]}_writeOutlinedLabelStyles(e){if(e!==null){let[i,r]=e;this._floatingLabel&&(this._floatingLabel.element.style.transform=i),r!==null&&this._notchedOutline?._setMaxWidth(r)}}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,selectors:[["mat-form-field"]],contentQueries:function(i,r,o){if(i&1&&(gb(o,r._labelChild,Ts,5),Nn(o,lm,5),Nn(o,fO,5),Nn(o,hO,5),Nn(o,uO,5),Nn(o,CC,5)),i&2){Lh();let s;be(s=xe())&&(r._formFieldControl=s.first),be(s=xe())&&(r._prefixChildren=s),be(s=xe())&&(r._suffixChildren=s),be(s=xe())&&(r._errorChildren=s),be(s=xe())&&(r._hintChildren=s)}},viewQuery:function(i,r){if(i&1&&(Ra(r._iconPrefixContainerSignal,tO,5),Ra(r._textPrefixContainerSignal,nO,5),Ra(r._iconSuffixContainerSignal,iO,5),Ra(r._textSuffixContainerSignal,rO,5),Be(dG,5),Be(tO,5),Be(nO,5),Be(iO,5),Be(rO,5),Be(oO,5),Be(lO,5),Be(aO,5)),i&2){Lh(4);let o;be(o=xe())&&(r._textField=o.first),be(o=xe())&&(r._iconPrefixContainer=o.first),be(o=xe())&&(r._textPrefixContainer=o.first),be(o=xe())&&(r._iconSuffixContainer=o.first),be(o=xe())&&(r._textSuffixContainer=o.first),be(o=xe())&&(r._floatingLabel=o.first),be(o=xe())&&(r._notchedOutline=o.first),be(o=xe())&&(r._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(i,r){i&2&&ne("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-primary",r.color!=="accent"&&r.color!=="warn")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Ot([{provide:cm,useExisting:n},{provide:pO,useExisting:n}])],ngContentSelectors:fG,decls:19,vars:25,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["aria-atomic","true","aria-live","polite"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,r){if(i&1){let o=Re();Zt(uG),Te(0,mG,1,1,"ng-template",null,0,Qr),I(2,"div",6,1),te("click",function(a){return ve(o),_e(r._control.onContainerClick(a))}),ot(4,gG,1,0,"div",7),I(5,"div",8),ot(6,_G,2,2,"div",9),ot(7,bG,3,0,"div",10),ot(8,xG,3,0,"div",11),I(9,"div",12),ot(10,EG,1,1,null,13),We(11),R(),ot(12,wG,3,0,"div",14),ot(13,DG,3,0,"div",15),R(),ot(14,SG,1,0,"div",16),R(),I(15,"div",17)(16,"div",18),ot(17,IG,1,0)(18,TG,4,1),R()()}if(i&2){let o;C(2),ne("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),C(2),st(!r._hasOutline()&&!r._control.disabled?4:-1),C(2),st(r._hasOutline()?6:-1),C(),st(r._hasIconPrefix?7:-1),C(),st(r._hasTextPrefix?8:-1),C(2),st(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),C(2),st(r._hasTextSuffix?12:-1),C(),st(r._hasIconSuffix?13:-1),C(),st(r._hasOutline()?-1:14),C(),ne("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic");let s=r._getSubscriptMessageType();C(),ne("mat-mdc-form-field-error-wrapper",s==="error")("mat-mdc-form-field-hint-wrapper",s==="hint"),C(),st((o=s)==="error"?17:o==="hint"?18:-1)}},dependencies:[oO,lO,Vc,aO,CC],styles:[`.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator,.mdc-text-field__input::-webkit-search-cancel-button{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-filled-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline));border-width:var(--mat-form-field-outlined-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mat-form-field-outlined-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{max-width:min(100%,calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mat-form-field-filled-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mat-form-field-filled-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}
|
|
19
|
+
`],encapsulation:2,changeDetection:0})}return n})()});var Od,gO=f(()=>{"use strict";we();Od=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new M;constructor(t=!1,e,i=!0,r){this._multiple=t,this._emitChanges=i,this.compareWith=r,e&&e.length&&(t?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...t){this._verifyValueAssignment(t),t.forEach(i=>this._markSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...t){this._verifyValueAssignment(t),t.forEach(i=>this._unmarkSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...t){this._verifyValueAssignment(t);let e=this.selected,i=new Set(t.map(o=>this._getConcreteValue(o)));t.forEach(o=>this._markSelected(o)),e.filter(o=>!i.has(this._getConcreteValue(o,i))).forEach(o=>this._unmarkSelected(o));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(t){return this.isSelected(t)?this.deselect(t):this.select(t)}clear(t=!0){this._unmarkAll();let e=this._hasQueuedChanges();return t&&this._emitChangeEvent(),e}isSelected(t){return this._selection.has(this._getConcreteValue(t))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){t=this._getConcreteValue(t),this.isSelected(t)||(this._multiple||this._unmarkAll(),this.isSelected(t)||this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){t=this._getConcreteValue(t),this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){t.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(t,e){if(this.compareWith){e=e??this._selection;for(let i of e)if(this.compareWith(t,i))return i;return t}else return t}}});var yO=f(()=>{"use strict";gO()});var vO,_O=f(()=>{"use strict";_();vO=(()=>{class n{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()});var um,bO=f(()=>{"use strict";um=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(t,e,i,r,o){this._defaultMatcher=t,this.ngControl=e,this._parentFormGroup=i,this._parentForm=r,this._stateChanges=o}updateErrorState(){let t=this.errorState,e=this._parentFormGroup||this._parentForm,i=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=i?.isErrorState(r,e)??!1;o!==t&&(this.errorState=o,this._stateChanges.next())}}});var xO,CO=f(()=>{"use strict";_();ei();xO=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=L({type:n});static \u0275inj=F({imports:[qe]})}return n})()});var EC,EO=f(()=>{"use strict";_();cC();CO();ei();sm();EC=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=L({type:n});static \u0275inj=F({imports:[Bp,qe,xO,hr]})}return n})()});var Nd,wC=f(()=>{"use strict";Vx();_();dm();ei();Nd=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=L({type:n});static \u0275inj=F({imports:[qe,Ap,Ms,qe]})}return n})()});function PG(n,t){if(n&1&&(I(0,"span",4),se(1),R()),n&2){let e=W();C(),ht(e.placeholder)}}function jG(n,t){n&1&&We(0)}function VG(n,t){if(n&1&&(I(0,"span",11),se(1),R()),n&2){let e=W(2);C(),ht(e.triggerValue)}}function BG(n,t){if(n&1&&(I(0,"span",5),ot(1,jG,1,0)(2,VG,2,1,"span",11),R()),n&2){let e=W();C(),st(e.customTrigger?1:2)}}function UG(n,t){if(n&1){let e=Re();I(0,"div",12,1),te("keydown",function(r){ve(e);let o=W();return _e(o._handleKeydown(r))}),We(2,1),R()}if(n&2){let e=W();Yn(Nc("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme())),ne("mat-select-panel-animations-enabled",!e._animationsDisabled),A("ngClass",e.panelClass),De("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}function wO(n){let t=u(G);return()=>Oi(t)}var NG,FG,kG,LG,DC,DO,SO,IO,fm,Fd,kd,AO=f(()=>{"use strict";nm();_();_();Ja();ar();lr();yO();oo();to();we();it();Le();dm();Ai();sm();_O();bO();EO();ei();wC();NG=["trigger"],FG=["panel"],kG=[[["mat-select-trigger"]],"*"],LG=["mat-select-trigger","*"];DC=new x("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let n=u(G);return()=>Oi(n)}});DO=new x("MAT_SELECT_CONFIG"),SO={provide:DC,deps:[],useFactory:wO},IO=new x("MatSelectTrigger"),fm=class{source;value;constructor(t,e){this.source=t,this.value=e}},Fd=(()=>{class n{_viewportRuler=u(ao);_changeDetectorRef=u(mt);_elementRef=u(H);_dir=u(Nt,{optional:!0});_idGenerator=u(en);_renderer=u(rt);_parentFormField=u(cm,{optional:!0});ngControl=u(or,{self:!0,optional:!0});_liveAnnouncer=u($x);_defaultOptions=u(DO,{optional:!0});_animationsDisabled=St();_initialized=new M;_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(e){let i=this.options.toArray()[e];if(i){let r=this.panel.nativeElement,o=ZR(e,this.options,this.optionGroups),s=i._getHostElement();e===0&&o===1?r.scrollTop=0:r.scrollTop=XR(s.offsetTop,s.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new fm(this,e)}_scrollStrategyFactory=u(DC);_panelOpen=!1;_compareWith=(e,i)=>e===i;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new M;_errorStateTracker;stateChanges=new M;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(e){this._disableRipple.set(e)}_disableRipple=Ae(!1);tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(lp.required)??!1}set required(e){this._required=e,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=on(()=>{let e=this.options;return e?e.changes.pipe(Gt(e),ze(()=>sn(...e.map(i=>i.onSelectionChange)))):this._initialized.pipe(ze(()=>this.optionSelectionChanges))});openedChange=new z;_openedStream=this.openedChange.pipe(ue(e=>e),V(()=>{}));_closedStream=this.openedChange.pipe(ue(e=>!e),V(()=>{}));selectionChange=new z;valueChange=new z;constructor(){let e=u(vO),i=u(Dx,{optional:!0}),r=u(Ix,{optional:!0}),o=u(new Zr("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new um(e,this.ngControl,r,i,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=o==null?0:parseInt(o)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Od(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(Ee(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(Ee(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Gt(null),Ee(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){let r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(this._previousControl!==void 0&&i.disabled!==null&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe(He(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}_trackedModal=null;_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let i=`${this.id}-panel`;this._trackedModal&&kp(this._trackedModal,"aria-owns",i),Zx(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;kp(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){if(this._animationsDisabled||!this.panel){this._detachOverlay();return}this._cleanupDetach?.(),this._cleanupDetach=()=>{i(),clearTimeout(r),this._cleanupDetach=void 0};let e=this.panel.nativeElement,i=this._renderer.listen(e,"animationend",o=>{o.animationName==="_mat-select-exit"&&(this._cleanupDetach?.(),this._detachOverlay())}),r=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);e.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let i=e.keyCode,r=i===40||i===38||i===37||i===39,o=i===13||i===32,s=this._keyManager;if(!s.isTyping()&&o&&!Ht(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){let a=this.selected;s.onKeydown(e);let l=this.selected;l&&a!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){let i=this._keyManager,r=e.keyCode,o=r===40||r===38,s=i.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(!s&&(r===13||r===32)&&i.activeItem&&!Ht(e))e.preventDefault(),i.activeItem._selectViaInteraction();else if(!s&&this._multiple&&r===65&&e.ctrlKey){e.preventDefault();let a=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(a?l.select():l.deselect())})}else{let a=i.activeItemIndex;i.onKeydown(e),this._multiple&&o&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==a&&i.activeItem._selectViaInteraction()}}_handleOverlayKeydown(e){e.keyCode===27&&!Ht(e)&&(e.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{let i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return(r.value!=null||this.canSelectNullableOptions)&&this._compareWith(r.value,e)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_skipPredicate=e=>this.panelOpen?!1:e.disabled;_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof nl?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new vd(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=sn(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Ee(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),sn(...this.options.map(i=>i._stateChanges)).pipe(Ee(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,i){let r=this._selectionModel.isSelected(e);!this.canSelectNullableOptions&&e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,e):e.indexOf(i)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let i;this.multiple?i=this.selected.map(r=>r.value):i=this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let i=0;i<this.options.length;i++)if(!this.options.get(i).disabled){e=i;break}this._keyManager.setActiveItem(e)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0&&!!this._overlayDir}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||null,i=e?e+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e||(e=this._valueId),e}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,selectors:[["mat-select"]],contentQueries:function(i,r,o){if(i&1&&(Nn(o,IO,5),Nn(o,hr,5),Nn(o,bC,5)),i&2){let s;be(s=xe())&&(r.customTrigger=s.first),be(s=xe())&&(r.options=s),be(s=xe())&&(r.optionGroups=s)}},viewQuery:function(i,r){if(i&1&&(Be(NG,5),Be(FG,5),Be(tm,5)),i&2){let o;be(o=xe())&&(r.trigger=o.first),be(o=xe())&&(r.panel=o.first),be(o=xe())&&(r._overlayDir=o.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(i,r){i&1&&te("keydown",function(s){return r._handleKeydown(s)})("focus",function(){return r._onFocus()})("blur",function(){return r._onBlur()}),i&2&&(De("id",r.id)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r.panelOpen?r.id+"-panel":null)("aria-expanded",r.panelOpen)("aria-label",r.ariaLabel||null)("aria-required",r.required.toString())("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState)("aria-activedescendant",r._getAriaActiveDescendant()),ne("mat-mdc-select-disabled",r.disabled)("mat-mdc-select-invalid",r.errorState)("mat-mdc-select-required",r.required)("mat-mdc-select-empty",r.empty)("mat-mdc-select-multiple",r.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",Ie],disableRipple:[2,"disableRipple","disableRipple",Ie],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Ei(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Ie],placeholder:"placeholder",required:[2,"required","required",Ie],multiple:[2,"multiple","multiple",Ie],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",Ie],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",Ei],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",Ie]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[Ot([{provide:lm,useExisting:n},{provide:_C,useExisting:n}]),je],ngContentSelectors:LG,decls:11,vars:9,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(i,r){if(i&1){let o=Re();Zt(kG),I(0,"div",2,0),te("click",function(){return ve(o),_e(r.open())}),I(3,"div",3),ot(4,PG,2,1,"span",4)(5,BG,3,1,"span",5),R(),I(6,"div",6)(7,"div",7),Jo(),I(8,"svg",8),ce(9,"path",9),R()()()(),Te(10,UG,3,10,"ng-template",10),te("detach",function(){return ve(o),_e(r.close())})("backdropClick",function(){return ve(o),_e(r.close())})("overlayKeydown",function(a){return ve(o),_e(r._handleOverlayKeydown(a))})}if(i&2){let o=Xt(1);C(3),De("id",r._valueId),C(),st(r.empty?4:5),C(6),A("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",r._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",r._scrollStrategy)("cdkConnectedOverlayOrigin",r._preferredOverlayOrigin||o)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayWidth",r._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)}},dependencies:[nl,tm,Zi],styles:[`@keyframes _mat-select-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-select-exit{from{opacity:1}to{opacity:0}}.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-disabled .mat-mdc-select-placeholder{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:relative;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-select-panel-animations-enabled{animation:_mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-select-panel-animations-enabled.mat-select-panel-exit{animation:_mat-select-exit 100ms linear}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder,._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}
|
|
20
|
+
`],encapsulation:2,changeDetection:0})}return n})(),kd=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=L({type:n});static \u0275inj=F({providers:[SO],imports:[ur,EC,qe,bs,Nd,EC,qe]})}return n})()});var Ld=f(()=>{"use strict";sm();AO()});var hm=f(()=>{"use strict";dm();wC()});function IC(n){for(let t in n){let e=n[t]??"";switch(t){case"display":e==="flex"?n.display=["-webkit-flex","flex"]:e==="inline-flex"?n.display=["-webkit-inline-flex","inline-flex"]:n.display=e;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":n["-webkit-"+t]=e;break;case"flex-direction":n["-webkit-flex-direction"]=e,n["flex-direction"]=e;break;case"order":n.order=n["-webkit-"+t]=isNaN(+e)?"0":e;break}}return n}function pm(n){let[t,e,i]=RO(n);return zG(t,e,i)}function RO(n){n=n?.toLowerCase()??"";let[t,e,i]=n.split(" ");return Pd.find(r=>r===t)||(t=Pd[0]),e===SC&&(e=i!==SC?i:"",i=SC),[t,HG(e),!!i]}function jd(n){let[t]=RO(n);return t.indexOf("row")>-1}function HG(n){if(n)switch(n.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":n="wrap-reverse";break;case"no":case"none":case"nowrap":n="nowrap";break;default:n="wrap";break}return n}function zG(n,t=null,e=!1){return{display:e?"inline-flex":"flex","box-sizing":"border-box","flex-direction":n,"flex-wrap":t||null}}function ti(n,...t){if(n==null)throw TypeError("Cannot convert undefined or null to object");for(let e of t)if(e!=null)for(let i in e)e.hasOwnProperty(i)&&(n[i]=e[i]);return n}var SC,Pd,AC=f(()=>{"use strict";SC="inline",Pd=["row","column","row-reverse","column-reverse"]});function zO(n,t){return n=n?.clone()??new Rs,t&&(n.mqAlias=t.alias,n.mediaQuery=t.mediaQuery,n.suffix=t.suffix,n.priority=t.priority),n}function $G(n,t){return()=>{if(Ji(t)){let e=Array.from(n.querySelectorAll(`[class*=${OO}]`)),i=/\bflex-layout-.+?\b/g;e.forEach(r=>{r.classList.contains(`${OO}ssr`)&&r.parentNode?r.parentNode.removeChild(r):r.className.replace(i,"")})}}}function Vd(n,t){let e=n&&n.priority||0;return(t&&t.priority||0)-e}function qG(n,t){let e=n.priority||0,i=t.priority||0;return e-i}function YG(n){let t=n.length>0?n.charAt(0):"",e=n.length>1?n.slice(1):"";return t.toUpperCase()+e}function QG(n){return n.replace(KG,"|").split("|").map(YG).join("")}function ZG(n){return n.forEach(t=>{t.suffix||(t.suffix=QG(t.alias),t.overlapping=!!t.overlapping)}),n}function XG(n,t=[]){let e={};return n.forEach(i=>{e[i.alias]=i}),t.forEach(i=>{e[i.alias]?ti(e[i.alias],i):e[i.alias]=i}),ZG(Object.keys(e).map(i=>e[i]))}function i3(n,t,e){let i=n.filter(r=>!VO[r]);if(i.length>0){let r=i.join(", ");try{let o=t.createElement("style");if(o.setAttribute("type","text/css"),e&&o.setAttribute("nonce",e),!o.styleSheet){let s=`
|
|
21
|
+
/*
|
|
22
|
+
@ngbracket/ngx-layout - workaround for possible browser quirk with mediaQuery listeners
|
|
23
|
+
see http://bit.ly/2sd4HMP
|
|
24
|
+
*/
|
|
25
|
+
@media ${r} {.fx-query-test{ }}
|
|
26
|
+
`;o.appendChild(t.createTextNode(s))}t.head.appendChild(o),i.forEach(s=>VO[s]=o)}catch(o){console.error(o)}}}function r3(n){let t=new EventTarget;return t.matches=n==="all"||n==="",t.media=n,t.addListener=()=>{},t.removeListener=()=>{},t.addEventListener=()=>{},t.dispatchEvent=()=>!1,t.onchange=null,t}function o3(n,t){return t&&!!window.matchMedia("all").addListener?window.matchMedia(n):r3(n)}function l3(n){return n?.mediaQuery.startsWith(ol)??!1}function BO(n,t,e,i){if(i!==void 0){let r=n.get(t)??new Map;r.set(e,i),n.set(t,r)}}function c3(n,t){return GO(n)[t]??""}function d3(n,t,e){t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();let i=GO(n);i[t]=e??"",u3(n,i)}function u3(n,t){let e="";for(let i in t)t[i]&&(e+=`${i}:${t[i]};`);n.setAttribute("style",e)}function GO(n){let t={},e=n.getAttribute("style");if(e){let i=e.split(/;+/g);for(let r=0;r<i.length;r++){let o=i[r].trim();if(o.length>0){let s=o.indexOf(":");if(s===-1)throw new Error(`Invalid CSS style: ${o}`);let a=o.substr(0,s).trim();t[a]=o.substr(s+1).trim()}}}return t}function OC(n,t="1",e="1"){let i=[t,e,n],r=n.indexOf("calc");if(r>0){i[2]=UO(n.substring(r).trim());let o=n.substr(0,r).trim().split(" ");o.length==2&&(i[0]=o[0],i[1]=o[1])}else if(r==0)i[2]=UO(n.trim());else{let o=n.split(" ");i=o.length===3?o:[t,e,n]}return i}function UO(n){return n.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}function mm(n,t){if(t===void 0)return n;let e=i=>{let r=+i.slice(0,-HO.length);return n.endsWith(HO)&&!isNaN(r)?`${r*t.value}${t.unit}`:n};return n.includes(" ")?n.split(" ").map(e).join(" "):e(n)}var Rs,GG,OO,sl,WG,MC,RC,ni,Bd,KG,JG,NO,FO,kO,LO,PO,jO,pr,e3,t3,$O,n3,VO,ol,s3,a3,TC,uo,Ni,mr,fo,HO,ho=f(()=>{"use strict";Le();_();_();we();AC();it();Rs=class n{constructor(t=!1,e="all",i="",r="",o=0){this.matches=t,this.mediaQuery=e,this.mqAlias=i,this.suffix=r,this.priority=o,this.property=""}clone(){return new n(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}};GG={provide:Ta,useFactory:$G,deps:[U,fn],multi:!0},OO="flex-layout-",sl=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=L({type:t}),t.\u0275inj=F({providers:[GG]});let n=t;return n})(),WG=(()=>{let t=class t{constructor(){this.stylesheet=new Map}addStyleToElement(i,r,o){let s=this.stylesheet.get(i);s?s.set(r,o):this.stylesheet.set(i,new Map([[r,o]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(i,r){let o=this.stylesheet.get(i),s="";if(o){let a=o.get(r);(typeof a=="number"||typeof a=="string")&&(s=a+"")}return s}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),MC=new x("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null}),RC={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},ni=new x("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>RC}),Bd=new x("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1});KG=/(\.|-|_)/g;JG=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],NO="(orientation: portrait) and (max-width: 599.98px)",FO="(orientation: landscape) and (max-width: 959.98px)",kO="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",LO="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",PO="(orientation: portrait) and (min-width: 840px)",jO="(orientation: landscape) and (min-width: 1280px)",pr={HANDSET:`${NO}, ${FO}`,TABLET:`${kO} , ${LO}`,WEB:`${PO}, ${jO} `,HANDSET_PORTRAIT:`${NO}`,TABLET_PORTRAIT:`${kO} `,WEB_PORTRAIT:`${PO}`,HANDSET_LANDSCAPE:`${FO}`,TABLET_LANDSCAPE:`${LO}`,WEB_LANDSCAPE:`${jO}`},e3=[{alias:"handset",priority:2e3,mediaQuery:pr.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:pr.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:pr.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:pr.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:pr.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:pr.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:pr.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:pr.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:pr.WEB_PORTRAIT,overlapping:!0}],t3=new x("Token (@ngbracket/ngx-layout) Breakpoints",{providedIn:"root",factory:()=>{let n=u(MC),t=u(ni),e=[].concat.apply([],(n||[]).map(r=>Array.isArray(r)?r:[r])),i=(t.disableDefaultBps?[]:JG).concat(t.addOrientationBps?e3:[]);return XG(i,e)}}),$O=(()=>{let t=class t{constructor(i){this.findByMap=new Map,this.items=[...i].sort(qG)}findByAlias(i){return i?this.findWithPredicate(i,r=>r.alias===i):null}findByQuery(i){return this.findWithPredicate(i,r=>r.mediaQuery===i)}get overlappings(){return this.items.filter(i=>i.overlapping)}get aliases(){return this.items.map(i=>i.alias)}get suffixes(){return this.items.map(i=>i?.suffix??"")}findWithPredicate(i,r){let o=this.findByMap.get(i);return o||(o=this.items.find(r)??null,this.findByMap.set(i,o)),o??null}};t.\u0275fac=function(r){return new(r||t)(S(t3))},t.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),n3=(()=>{let t=class t{constructor(i,r,o,s){this._zone=i,this._platformId=r,this._document=o,this._nonce=s,this.source=new at(new Rs(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){let i=[];return this.registry.forEach((r,o)=>{r.matches&&i.push(o)}),i}isActive(i){return this.registry.get(i)?.matches??this.registerQuery(i).some(o=>o.matches)}observe(i,r=!1){if(i&&i.length){let o=this._observable$.pipe(ue(a=>r?i.indexOf(a.mediaQuery)>-1:!0)),s=new Z(a=>{let l=this.registerQuery(i);if(l.length){let c=l.pop();l.forEach(d=>{a.next(d)}),this.source.next(c)}a.complete()});return sn(s,o)}return this._observable$}registerQuery(i){let r=Array.isArray(i)?i:[i],o=[];return i3(r,this._document,this._nonce),r.forEach(s=>{let a=c=>{this._zone.run(()=>this.source.next(new Rs(c.matches,s)))},l=this.registry.get(s);l||(l=this.buildMQL(s),l.addListener(a),this.pendingRemoveListenerFns.push(()=>l.removeListener(a)),this.registry.set(s,l)),l.matches&&o.push(new Rs(!0,s))}),o}ngOnDestroy(){let i;for(;i=this.pendingRemoveListenerFns.pop();)i()}buildMQL(i){return o3(i,Ji(this._platformId))}};t.\u0275fac=function(r){return new(r||t)(S(P),S(fn),S(U),S(Wr,8))},t.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),VO={};ol="print",s3={alias:ol,mediaQuery:ol,priority:1e3},a3=(()=>{let t=class t{constructor(i,r,o){this.breakpoints=i,this.layoutConfig=r,this._document=o,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new TC,this.deactivations=[]}withPrintQuery(i){return[...i,ol]}isPrintEvent(i){return i.mediaQuery.startsWith(ol)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(i=>this.breakpoints.findByAlias(i)).filter(i=>i!==null)}getEventBreakpoints({mediaQuery:i}){let r=this.breakpoints.findByQuery(i);return(r?[...this.printBreakPoints,r]:this.printBreakPoints).sort(Vd)}updateEvent(i){let r=this.breakpoints.findByQuery(i.mediaQuery);return this.isPrintEvent(i)&&(r=this.getEventBreakpoints(i)[0],i.mediaQuery=r?.mediaQuery??""),zO(i,r)}registerBeforeAfterPrintHooks(i){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;let r=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(i,this.getEventBreakpoints(new Rs(!0,ol))),i.updateStyles())},o=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(i),i.updateStyles())};this._document.defaultView.addEventListener("beforeprint",r),this._document.defaultView.addEventListener("afterprint",o),this.beforePrintEventListeners.push(r),this.afterPrintEventListeners.push(o)}interceptEvents(i){return r=>{if(this.isPrintEvent(r)){r.matches&&!this.isPrinting?(this.startPrinting(i,this.getEventBreakpoints(r)),i.updateStyles()):!r.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(i),i.updateStyles());return}this.collectActivations(i,r)}}blockPropagation(){return i=>!(this.isPrinting||this.isPrintEvent(i))}startPrinting(i,r){this.isPrinting=!0,this.formerActivations=i.activatedBreakpoints,i.activatedBreakpoints=this.queue.addPrintBreakpoints(r)}stopPrinting(i){i.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(i,r){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent){this.deactivations=[];return}if(!r.matches){let o=this.breakpoints.findByQuery(r.mediaQuery);if(o){let s=this.formerActivations&&this.formerActivations.includes(o),a=!this.formerActivations&&i.activatedBreakpoints.includes(o);(s||a)&&(this.deactivations.push(o),this.deactivations.sort(Vd))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(i=>this._document.defaultView.removeEventListener("beforeprint",i)),this.afterPrintEventListeners.forEach(i=>this._document.defaultView.removeEventListener("afterprint",i)))}};t.\u0275fac=function(r){return new(r||t)(S($O),S(ni),S(U))},t.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),TC=class{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(t){return t.push(s3),t.sort(Vd),t.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(t){t&&this.printBreakpoints.find(i=>i.mediaQuery===t.mediaQuery)===void 0&&(this.printBreakpoints=l3(t)?[t,...this.printBreakpoints]:[...this.printBreakpoints,t])}clear(){this.printBreakpoints=[]}};uo=(()=>{let t=class t{get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(i){this._activatedBreakpoints=[...i]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(i){this._useFallbacks=i}constructor(i,r,o){this.matchMedia=i,this.breakpoints=r,this.hook=o,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new M,this.observeActivations()}onMediaChange(i){let r=this.findByQuery(i.mediaQuery);if(r){i=zO(i,r);let o=this.activatedBreakpoints.indexOf(r);i.matches&&o===-1?(this._activatedBreakpoints.push(r),this._activatedBreakpoints.sort(Vd),this.updateStyles()):!i.matches&&o!==-1&&(this._activatedBreakpoints.splice(o,1),this._activatedBreakpoints.sort(Vd),this.updateStyles())}}init(i,r,o,s,a=[]){BO(this.updateMap,i,r,o),BO(this.clearMap,i,r,s),this.buildElementKeyMap(i,r),this.watchExtraTriggers(i,r,a)}getValue(i,r,o){let s=this.elementMap.get(i);if(s){let a=o!==void 0?s.get(o):this.getActivatedValues(s,r);if(a)return a.get(r)}}hasValue(i,r){let o=this.elementMap.get(i);if(o){let s=this.getActivatedValues(o,r);if(s)return s.get(r)!==void 0||!1}return!1}setValue(i,r,o,s){let a=this.elementMap.get(i);if(!a)a=new Map().set(s,new Map().set(r,o)),this.elementMap.set(i,a);else{let c=(a.get(s)??new Map).set(r,o);a.set(s,c),this.elementMap.set(i,a)}let l=this.getValue(i,r);l!==void 0&&this.updateElement(i,r,l)}trackValue(i,r){return this.subject.asObservable().pipe(ue(o=>o.element===i&&o.key===r))}updateStyles(){this.elementMap.forEach((i,r)=>{let o=new Set(this.elementKeyMap.get(r)),s=this.getActivatedValues(i);s&&s.forEach((a,l)=>{this.updateElement(r,l,a),o.delete(l)}),o.forEach(a=>{if(s=this.getActivatedValues(i,a),s){let l=s.get(a);this.updateElement(r,a,l)}else this.clearElement(r,a)})})}clearElement(i,r){let o=this.clearMap.get(i);if(o){let s=o.get(r);s&&(s(),this.subject.next({element:i,key:r,value:""}))}}updateElement(i,r,o){let s=this.updateMap.get(i);if(s){let a=s.get(r);a&&(a(o),this.subject.next({element:i,key:r,value:o}))}}releaseElement(i){let r=this.watcherMap.get(i);r&&(r.forEach(s=>s.unsubscribe()),this.watcherMap.delete(i));let o=this.elementMap.get(i);o&&(o.forEach((s,a)=>o.delete(a)),this.elementMap.delete(i))}triggerUpdate(i,r){let o=this.elementMap.get(i);if(o){let s=this.getActivatedValues(o,r);s&&(r?this.updateElement(i,r,s.get(r)):s.forEach((a,l)=>this.updateElement(i,l,a)))}}buildElementKeyMap(i,r){let o=this.elementKeyMap.get(i);o||(o=new Set,this.elementKeyMap.set(i,o)),o.add(r)}watchExtraTriggers(i,r,o){if(o&&o.length){let s=this.watcherMap.get(i);if(s||(s=new Map,this.watcherMap.set(i,s)),!s.get(r)){let l=sn(...o).subscribe(()=>{let c=this.getValue(i,r);this.updateElement(i,r,c)});s.set(r,l)}}}findByQuery(i){return this.breakpoints.findByQuery(i)}getActivatedValues(i,r){for(let s=0;s<this.activatedBreakpoints.length;s++){let a=this.activatedBreakpoints[s],l=i.get(a.alias);if(l&&(r===void 0||l.has(r)&&l.get(r)!=null))return l}if(!this._useFallbacks)return;let o=i.get("");return r===void 0||o&&o.has(r)?o:void 0}observeActivations(){let i=this.breakpoints.items.map(r=>r.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(i)).pipe(Fe(this.hook.interceptEvents(this)),ue(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}};t.\u0275fac=function(r){return new(r||t)(S(n3),S($O),S(a3))},t.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();Ni=class{constructor(){this.shouldCache=!0}sideEffect(t,e,i){}},mr=(()=>{let t=class t{constructor(i,r,o,s){this._serverStylesheet=i,this._serverModuleLoaded=r,this._platformId=o,this.layoutConfig=s}applyStyleToElement(i,r,o=null){let s={};typeof r=="string"&&(s[r]=o,r=s),s=this.layoutConfig.disableVendorPrefixes?r:IC(r),this._applyMultiValueStyleToElement(s,i)}applyStyleToElements(i,r=[]){let o=this.layoutConfig.disableVendorPrefixes?i:IC(i);r.forEach(s=>{this._applyMultiValueStyleToElement(o,s)})}getFlowDirection(i){let r="flex-direction",o=this.lookupStyle(i,r),s=this.lookupInlineStyle(i,r)||Uc(this._platformId)&&this._serverModuleLoaded?o:"";return[o||"row",s]}hasWrap(i){return this.lookupStyle(i,"flex-wrap")==="wrap"}lookupAttributeValue(i,r){return i.getAttribute(r)??""}lookupInlineStyle(i,r){return Ji(this._platformId)?i.style.getPropertyValue(r):c3(i,r)}lookupStyle(i,r,o=!1){let s="";return i&&((s=this.lookupInlineStyle(i,r))||(Ji(this._platformId)?o||(s=getComputedStyle(i).getPropertyValue(r)):this._serverModuleLoaded&&(s=this._serverStylesheet.getStyleForElement(i,r)))),s?s.trim():""}_applyMultiValueStyleToElement(i,r){Object.keys(i).sort().forEach(o=>{let s=i[o],a=Array.isArray(s)?s:[s];a.sort();for(let l of a)l=l?l+"":"",Ji(this._platformId)||!this._serverModuleLoaded?Ji(this._platformId)?r.style.setProperty(o,l):d3(r,o,l):this._serverStylesheet.addStyleToElement(r,o,l)})}};t.\u0275fac=function(r){return new(r||t)(S(WG),S(Bd),S(fn),S(ni))},t.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();fo=(()=>{let t=class t{get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(i){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,i,this.marshal.activatedAlias)}constructor(i,r,o,s){this.elementRef=i,this.styleBuilder=r,this.styler=o,this.marshal=s,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new M,this.styleCache=new Map}ngOnChanges(i){Object.keys(i).forEach(r=>{if(this.inputs.indexOf(r)!==-1){let o=r.split(".").slice(1).join("."),s=i[r].currentValue;this.setValue(s,o)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(i=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),i)}addStyles(i,r){let o=this.styleBuilder,s=o.shouldCache,a=this.styleCache.get(i);(!a||!s)&&(a=o.buildStyles(i,r),s&&this.styleCache.set(i,a)),this.mru=b({},a),this.applyStyleToElement(a),o.sideEffect(i,a,r)}clearStyles(){Object.keys(this.mru).forEach(i=>{this.mru[i]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(i,r=!1){if(i){let[o,s]=this.styler.getFlowDirection(i);if(!s&&r){let a=pm(o),l=[i];this.styler.applyStyleToElements(a,l)}return o.trim()}return"row"}hasWrap(i){return this.styler.hasWrap(i)}applyStyleToElement(i,r,o=this.nativeElement){this.styler.applyStyleToElement(o,i,r)}setValue(i,r){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,i,r)}updateWithValue(i){this.currentValue!==i&&(this.addStyles(i),this.currentValue=i)}};t.\u0275fac=function(r){return new(r||t)(T(H),T(Ni),T(mr),T(uo))},t.\u0275dir=j({type:t,features:[je]});let n=t;return n})();HO="x"});var qO,f3,al,NC,ll=f(()=>{"use strict";Le();Le();_();ho();ho();qO=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"],f3=(()=>{let t=class t extends fo{set klass(i){this.ngClassInstance.klass=i,this.setValue(i,"")}constructor(i,r,o,s,a){super(i,null,r,o),this.ngClassInstance=a,this.DIRECTIVE_KEY="ngClass",this.inputs=qO,this.ngClassInstance||(this.ngClassInstance=new Zi(i,s)),this.init(),this.setValue("","")}updateWithValue(i){this.ngClassInstance.ngClass=i,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}};t.\u0275fac=function(r){return new(r||t)(T(H),T(mr),T(uo),T(rt),T(Zi,10))},t.\u0275dir=j({type:t,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg",klass:[0,"class","klass"]},features:[fe]});let n=t;return n})(),al=(()=>{let t=class t extends f3{constructor(){super(...arguments),this.inputs=qO}};t.\u0275fac=(()=>{let i;return function(o){return(i||(i=Ve(t)))(o||t)}})(),t.\u0275dir=j({type:t,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[fe]});let n=t;return n})(),NC=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=L({type:t}),t.\u0275inj=F({imports:[sl]});let n=t;return n})()});function k3(n,t){let[e,i]=n.split(" "),r=i??e,o="0px",s=r,a="0px";return t==="rtl"?a=e:o=e,{padding:`0px ${o} ${s} ${a}`}}function L3(n,t){let[e,i]=n.split(" "),r=i??e,o=c=>`-${c}`,s="0px",a=o(r),l="0px";return t==="rtl"?l=o(e):s=o(e),{margin:`0px ${s} ${a} ${l}`}}function nN(n,t){switch(t){case"column":return"margin-bottom";case"column-reverse":return"margin-top";case"row":return n==="rtl"?"margin-left":"margin-right";case"row-reverse":return n==="rtl"?"margin-right":"margin-left";default:return n==="rtl"?"margin-left":"margin-right"}}function P3(n,t){let e=nN(t.directionality,t.layout),i=b({},JO);return i[e]=n,i}var h3,YO,p3,QO,m3,g3,y3,v3,_3,ZO,b3,XO,x3,C3,E3,w3,D3,S3,I3,A3,JO,T3,eN,M3,tN,R3,O3,N3,F3,gm,j3,iN,V3,rN,KO,kC,ym=f(()=>{"use strict";lr();lr();_();ho();ho();AC();it();we();h3=(()=>{let t=class t extends Ni{constructor(i){super(),this.layoutConfig=i}buildStyles(i,r){let[o,s,...a]=i.split(" "),l=a.join(" "),c=r.direction.indexOf("column")>-1?"column":"row",d=jd(c)?"max-width":"max-height",h=jd(c)?"min-width":"min-height",m=String(l).indexOf("calc")>-1,p=m||l==="auto",g=String(l).indexOf("%")>-1&&!m,y=String(l).indexOf("px")>-1||String(l).indexOf("rem")>-1||String(l).indexOf("em")>-1||String(l).indexOf("vw")>-1||String(l).indexOf("vh")>-1,E=m||y;o=o=="0"?0:o,s=s=="0"?0:s;let D=!o&&!s,k={},he={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(l||""){case"":let ge=this.layoutConfig.useColumnBasisZero!==!1;l=c==="row"?"0%":ge?"0.000000001px":"auto";break;case"initial":case"nogrow":o=0,l="auto";break;case"grow":l="100%";break;case"noshrink":s=0,l="auto";break;case"auto":break;case"none":o=0,s=0,l="auto";break;default:!E&&!g&&!isNaN(l)&&(l=l+"%"),l==="0%"&&(E=!0),l==="0px"&&(l="0%"),m?k=ti(he,{"flex-grow":o,"flex-shrink":s,"flex-basis":E?l:"100%"}):k=ti(he,{flex:`${o} ${s} ${E?l:"100%"}`});break}return k.flex||k["flex-grow"]||(m?k=ti(he,{"flex-grow":o,"flex-shrink":s,"flex-basis":l}):k=ti(he,{flex:`${o} ${s} ${l}`})),l!=="0%"&&l!=="0px"&&l!=="0.000000001px"&&l!=="auto"&&(k[h]=D||E&&o?l:null,k[d]=D||!p&&s?l:null),!k[h]&&!k[d]?m?k=ti(he,{"flex-grow":o,"flex-shrink":s,"flex-basis":l}):k=ti(he,{flex:`${o} ${s} ${l}`}):r.hasWrap&&(k[m?"flex-basis":"flex"]=k[d]?m?k[d]:`${o} ${s} ${k[d]}`:m?k[h]:`${o} ${s} ${k[h]}`),ti(k,{"box-sizing":"border-box"})}};t.\u0275fac=function(r){return new(r||t)(S(ni))},t.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),YO=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"],p3=(()=>{let t=class t extends fo{get shrink(){return this.flexShrink}set shrink(i){this.flexShrink=i||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(i){this.flexGrow=i||"1",this.triggerReflow()}constructor(i,r,o,s,a){super(i,s,r,a),this.layoutConfig=o,this.marshal=a,this.DIRECTIVE_KEY="flex",this.inputs=YO,this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe(Ee(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(Ee(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(i){let o=i.value.split(" ");this.direction=o[0],this.wrap=o[1]!==void 0&&o[1]==="wrap",this.triggerUpdate()}updateWithValue(i){let r=this.layoutConfig.addFlexToParent!==!1;this.direction===void 0&&(this.direction=this.getFlexFlowDirection(this.parentElement,r)),this.wrap===void 0&&(this.wrap=this.hasWrap(this.parentElement));let o=this.direction,s=o.startsWith("row"),a=this.wrap;s&&a?this.styleCache=y3:s&&!a?this.styleCache=m3:!s&&a?this.styleCache=v3:!s&&!a&&(this.styleCache=g3);let l=String(i).replace(";",""),c=OC(l,this.flexGrow,this.flexShrink);this.addStyles(c.join(" "),{direction:o,hasWrap:a})}triggerReflow(){let i=this.activatedValue;if(i!==void 0){let r=OC(i+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,r.join(" "))}}};t.\u0275fac=function(r){return new(r||t)(T(H),T(mr),T(ni),T(h3),T(uo))},t.\u0275dir=j({type:t,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg",shrink:[0,"fxShrink","shrink"],grow:[0,"fxGrow","grow"]},features:[fe]});let n=t;return n})(),QO=(()=>{let t=class t extends p3{constructor(){super(...arguments),this.inputs=YO}};t.\u0275fac=(()=>{let i;return function(o){return(i||(i=Ve(t)))(o||t)}})(),t.\u0275dir=j({type:t,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[fe]});let n=t;return n})(),m3=new Map,g3=new Map,y3=new Map,v3=new Map,_3=(()=>{let t=class t extends Ni{buildStyles(i,r){let o={},[s,a]=i.split(" ");switch(s){case"center":o["justify-content"]="center";break;case"space-around":o["justify-content"]="space-around";break;case"space-between":o["justify-content"]="space-between";break;case"space-evenly":o["justify-content"]="space-evenly";break;case"end":case"flex-end":o["justify-content"]="flex-end";break;case"start":case"flex-start":default:o["justify-content"]="flex-start";break}switch(a){case"start":case"flex-start":o["align-items"]=o["align-content"]="flex-start";break;case"center":o["align-items"]=o["align-content"]="center";break;case"end":case"flex-end":o["align-items"]=o["align-content"]="flex-end";break;case"space-between":o["align-content"]="space-between",o["align-items"]="stretch";break;case"space-around":o["align-content"]="space-around",o["align-items"]="stretch";break;case"baseline":o["align-content"]="stretch",o["align-items"]="baseline";break;case"stretch":default:o["align-items"]=o["align-content"]="stretch";break}return ti(o,{display:r.inline?"inline-flex":"flex","flex-direction":r.layout,"box-sizing":"border-box","max-width":a==="stretch"?jd(r.layout)?null:"100%":null,"max-height":a==="stretch"&&jd(r.layout)?"100%":null})}};t.\u0275fac=(()=>{let i;return function(o){return(i||(i=Ve(t)))(o||t)}})(),t.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),ZO=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"],b3=(()=>{let t=class t extends fo{constructor(i,r,o,s){super(i,o,r,s),this.DIRECTIVE_KEY="layout-align",this.inputs=ZO,this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe(Ee(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(i){let r=this.layout||"row",o=this.inline;r==="row"&&o?this.styleCache=D3:r==="row"&&!o?this.styleCache=x3:r==="row-reverse"&&o?this.styleCache=I3:r==="row-reverse"&&!o?this.styleCache=E3:r==="column"&&o?this.styleCache=S3:r==="column"&&!o?this.styleCache=C3:r==="column-reverse"&&o?this.styleCache=A3:r==="column-reverse"&&!o&&(this.styleCache=w3),this.addStyles(i,{layout:r,inline:o})}onLayoutChange(i){let r=i.value.split(" ");this.layout=r[0],this.inline=i.value.includes("inline"),Pd.find(o=>o===this.layout)||(this.layout="row"),this.triggerUpdate()}};t.\u0275fac=function(r){return new(r||t)(T(H),T(mr),T(_3),T(uo))},t.\u0275dir=j({type:t,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[fe]});let n=t;return n})(),XO=(()=>{let t=class t extends b3{constructor(){super(...arguments),this.inputs=ZO}};t.\u0275fac=(()=>{let i;return function(o){return(i||(i=Ve(t)))(o||t)}})(),t.\u0275dir=j({type:t,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[fe]});let n=t;return n})(),x3=new Map,C3=new Map,E3=new Map,w3=new Map,D3=new Map,S3=new Map,I3=new Map,A3=new Map,JO={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null},T3=(()=>{let t=class t extends Ni{constructor(i,r){super(),this._styler=i,this._config=r}buildStyles(i,r){return i.endsWith(gm)?(i=i.slice(0,i.indexOf(gm)),i=mm(i,this._config.multiplier),L3(i,r.directionality)):{}}sideEffect(i,r,o){let s=o.items;if(i.endsWith(gm)){i=i.slice(0,i.indexOf(gm)),i=mm(i,this._config.multiplier);let a=k3(i,o.directionality);this._styler.applyStyleToElements(a,o.items)}else{i=mm(i,this._config.multiplier),i=this.addFallbackUnit(i);let a=s.pop(),l=P3(i,o);this._styler.applyStyleToElements(l,s),this._styler.applyStyleToElements(JO,[a])}}addFallbackUnit(i){return isNaN(+i)?i:`${i}${this._config.defaultUnit}`}};t.\u0275fac=function(r){return new(r||t)(S(mr),S(ni))},t.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),eN=["fxLayoutGap","fxLayoutGap.xs","fxLayoutGap.sm","fxLayoutGap.md","fxLayoutGap.lg","fxLayoutGap.xl","fxLayoutGap.lt-sm","fxLayoutGap.lt-md","fxLayoutGap.lt-lg","fxLayoutGap.lt-xl","fxLayoutGap.gt-xs","fxLayoutGap.gt-sm","fxLayoutGap.gt-md","fxLayoutGap.gt-lg"],M3=(()=>{let t=class t extends fo{get childrenNodes(){let i=this.nativeElement.children,r=[];for(let o=i.length;o--;)r[o]=i[o];return r}constructor(i,r,o,s,a,l){super(i,a,s,l),this.zone=r,this.directionality=o,this.styleUtils=s,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.inputs=eN,this.observerSubject=new M;let c=[this.directionality.change,this.observerSubject.asObservable()];this.init(c),this.marshal.trackValue(this.nativeElement,"layout").pipe(Ee(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(i){let o=i.value.split(" ")[0];Pd.find(s=>s===o)||(o="row"),this.layout&&this.layout!==o&&this.clearStyles(),this.layout=o,this.triggerUpdate()}updateWithValue(i){let r=this.childrenNodes.filter(o=>o.nodeType===1&&this.willDisplay(o)).sort((o,s)=>{let a=+this.styler.lookupStyle(o,"order"),l=+this.styler.lookupStyle(s,"order");return isNaN(a)||isNaN(l)||a===l?0:a>l?1:-1});if(r.length>0){let o=this.directionality.value,s=this.layout;s==="row"&&o==="rtl"?this.styleCache=R3:s==="row"&&o!=="rtl"?this.styleCache=N3:s==="column"&&o==="rtl"?this.styleCache=O3:s==="column"&&o!=="rtl"&&(this.styleCache=F3),this.addStyles(i,{directionality:o,items:r,layout:s})}}clearStyles(){let i=Object.keys(this.mru).length>0,r=i?"padding":nN(this.directionality.value,this.layout);i&&super.clearStyles(),this.styleUtils.applyStyleToElements({[r]:""},this.childrenNodes)}willDisplay(i){let r=this.marshal.getValue(i,"show-hide");return r===!0||r===void 0&&this.styleUtils.lookupStyle(i,"display")!=="none"}buildChildObservable(){this.zone.runOutsideAngular(()=>{typeof MutationObserver<"u"&&(this.observer=new MutationObserver(i=>{let r=o=>o.addedNodes&&o.addedNodes.length>0||o.removedNodes&&o.removedNodes.length>0;i.some(r)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}};t.\u0275fac=function(r){return new(r||t)(T(H),T(P),T(Nt),T(mr),T(T3),T(uo))},t.\u0275dir=j({type:t,selectors:[["","fxLayoutGap",""],["","fxLayoutGap.xs",""],["","fxLayoutGap.sm",""],["","fxLayoutGap.md",""],["","fxLayoutGap.lg",""],["","fxLayoutGap.xl",""],["","fxLayoutGap.lt-sm",""],["","fxLayoutGap.lt-md",""],["","fxLayoutGap.lt-lg",""],["","fxLayoutGap.lt-xl",""],["","fxLayoutGap.gt-xs",""],["","fxLayoutGap.gt-sm",""],["","fxLayoutGap.gt-md",""],["","fxLayoutGap.gt-lg",""]],inputs:{fxLayoutGap:"fxLayoutGap","fxLayoutGap.xs":"fxLayoutGap.xs","fxLayoutGap.sm":"fxLayoutGap.sm","fxLayoutGap.md":"fxLayoutGap.md","fxLayoutGap.lg":"fxLayoutGap.lg","fxLayoutGap.xl":"fxLayoutGap.xl","fxLayoutGap.lt-sm":"fxLayoutGap.lt-sm","fxLayoutGap.lt-md":"fxLayoutGap.lt-md","fxLayoutGap.lt-lg":"fxLayoutGap.lt-lg","fxLayoutGap.lt-xl":"fxLayoutGap.lt-xl","fxLayoutGap.gt-xs":"fxLayoutGap.gt-xs","fxLayoutGap.gt-sm":"fxLayoutGap.gt-sm","fxLayoutGap.gt-md":"fxLayoutGap.gt-md","fxLayoutGap.gt-lg":"fxLayoutGap.gt-lg"},features:[fe]});let n=t;return n})(),tN=(()=>{let t=class t extends M3{constructor(){super(...arguments),this.inputs=eN}};t.\u0275fac=(()=>{let i;return function(o){return(i||(i=Ve(t)))(o||t)}})(),t.\u0275dir=j({type:t,selectors:[["","fxLayoutGap",""],["","fxLayoutGap.xs",""],["","fxLayoutGap.sm",""],["","fxLayoutGap.md",""],["","fxLayoutGap.lg",""],["","fxLayoutGap.xl",""],["","fxLayoutGap.lt-sm",""],["","fxLayoutGap.lt-md",""],["","fxLayoutGap.lt-lg",""],["","fxLayoutGap.lt-xl",""],["","fxLayoutGap.gt-xs",""],["","fxLayoutGap.gt-sm",""],["","fxLayoutGap.gt-md",""],["","fxLayoutGap.gt-lg",""]],inputs:{fxLayoutGap:"fxLayoutGap","fxLayoutGap.xs":"fxLayoutGap.xs","fxLayoutGap.sm":"fxLayoutGap.sm","fxLayoutGap.md":"fxLayoutGap.md","fxLayoutGap.lg":"fxLayoutGap.lg","fxLayoutGap.xl":"fxLayoutGap.xl","fxLayoutGap.lt-sm":"fxLayoutGap.lt-sm","fxLayoutGap.lt-md":"fxLayoutGap.lt-md","fxLayoutGap.lt-lg":"fxLayoutGap.lt-lg","fxLayoutGap.lt-xl":"fxLayoutGap.lt-xl","fxLayoutGap.gt-xs":"fxLayoutGap.gt-xs","fxLayoutGap.gt-sm":"fxLayoutGap.gt-sm","fxLayoutGap.gt-md":"fxLayoutGap.gt-md","fxLayoutGap.gt-lg":"fxLayoutGap.gt-lg"},features:[fe]});let n=t;return n})(),R3=new Map,O3=new Map,N3=new Map,F3=new Map,gm=" grid";j3=(()=>{let t=class t extends Ni{buildStyles(i,{display:r}){let o=pm(i);return J(b({},o),{display:r==="none"?r:o.display})}};t.\u0275fac=(()=>{let i;return function(o){return(i||(i=Ve(t)))(o||t)}})(),t.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),iN=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"],V3=(()=>{let t=class t extends fo{constructor(i,r,o,s,a){super(i,o,r,s),this._config=a,this.DIRECTIVE_KEY="layout",this.inputs=iN,this.init()}updateWithValue(i){let o=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=KO.get(o)??new Map,KO.set(o,this.styleCache),this.currentValue!==i&&(this.addStyles(i,{display:o}),this.currentValue=i)}};t.\u0275fac=function(r){return new(r||t)(T(H),T(mr),T(j3),T(uo),T(ni))},t.\u0275dir=j({type:t,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[fe]});let n=t;return n})(),rN=(()=>{let t=class t extends V3{constructor(){super(...arguments),this.inputs=iN}};t.\u0275fac=(()=>{let i;return function(o){return(i||(i=Ve(t)))(o||t)}})(),t.\u0275dir=j({type:t,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[fe]});let n=t;return n})(),KO=new Map,kC=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=L({type:t}),t.\u0275inj=F({imports:[sl,Ti]});let n=t;return n})()});var LC,PC=f(()=>{"use strict";_();ho();LC=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=L({type:t}),t.\u0275inj=F({imports:[sl]});let n=t;return n})()});function U3(n,t=[]){let e=[{provide:ni,useValue:b(b({},RC),n)},{provide:MC,useValue:t,multi:!0}];return n.serverLoaded&&e.push({provide:Bd,useValue:!0}),e}var cl,Mme,vm=f(()=>{"use strict";ho();ho();ll();ll();ym();ym();PC();PC();Le();_();_();cl=(()=>{let t=class t{static withConfig(i,r=[]){return{ngModule:t,providers:U3(i,r)}}constructor(i,r){Uc(r)&&!i&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}};t.\u0275fac=function(r){return new(r||t)(S(Bd),S(fn))},t.\u0275mod=L({type:t}),t.\u0275inj=F({imports:[kC,NC,LC,kC,NC,LC]});let n=t;return n})(),Mme=new Xr("20.0.1")});function H3(n,t){if(n&1&&(I(0,"mat-option",12),se(1),R()),n&2){let e=t.$implicit;A("value",e),C(),Je(" ",e.voiceName," ")}}function z3(n,t){if(n&1&&(I(0,"mat-icon"),se(1),R()),n&2){let e=W();C(),Je(" ",e.isPlaying?"stop":"volume_up"," ")}}function $3(n,t){n&1&&ce(0,"mat-spinner",13),n&2&&A("diameter",15)}var oN,sN=f(()=>{"use strict";Le();_();to();En();dr();CR();we();Wp();co();Ld();hm();vm();Dt();_();Le();to();co();hm();Ld();ll();Dt();oN=(()=>{var t;let e=class e{constructor(){tt(this,t);this.maxCharLength=1e3,kt(this,t,u(xR))}get hasOverflow(){let r=document.querySelector("textarea");return r?.clientHeight<r?.scrollHeight}ngOnInit(){this.selected=this.voices[0]}togglePlay(){if(this.isPlaying){this.stop();return}this.isLoading=!0;let r=this.text.length>this.maxCharLength?this.text.substring(0,this.maxCharLength):this.text;if(this.audio&&r===this.previousText&&this.selected.voice===this.previousVoice){this.audio.play(),this.isPlaying=!0,this.isLoading=!1;return}ye(this,t).play(r,this.selected).pipe(ln(()=>{this.isLoading=!1})).subscribe({next:o=>{this.previousText=r,this.previousVoice=this.selected.voice;let s=URL.createObjectURL(o);this.audio=new Audio(s),this.audio.play(),this.isPlaying=!0,this.audio.onended=()=>{URL.revokeObjectURL(s),this.isPlaying=!1}}})}stop(){this.audio&&(this.audio.pause(),this.audio.currentTime=0,this.isPlaying=!1)}};t=new WeakMap,e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=$({type:e,selectors:[["lib-text-to-speech"]],inputs:{maxCharLength:"maxCharLength",voices:"voices"},decls:19,vars:23,consts:[[1,"text-to-speech-wrapper",3,"ngClass.lt-md"],["appearance","outline","color","accent"],[3,"valueChange","value"],[3,"value",4,"ngFor","ngForOf"],[1,"text-to-speech-textarea-wrapper"],[1,"text-to-speech-textarea",3,"ngModelChange","ngModel","placeholder"],[1,"text-to-speech-characters"],[1,"text-to-speech-actions"],[3,"matTooltip"],["mat-icon-button","",3,"click","matTooltip","disabled"],[4,"ngIf"],[3,"diameter",4,"ngIf"],[3,"value"],[3,"diameter"]],template:function(o,s){o&1&&(I(0,"div",0)(1,"mat-form-field",1)(2,"mat-label"),se(3),ae(4,"translate"),R(),I(5,"mat-select",2),cs("valueChange",function(l){return Oa(s.selected,l)||(s.selected=l),l}),Te(6,H3,2,2,"mat-option",3),R()(),I(7,"div",4)(8,"textarea",5),ae(9,"translate"),cs("ngModelChange",function(l){return Oa(s.text,l)||(s.text=l),l}),R(),I(10,"div",6),se(11),R()(),I(12,"div",7)(13,"div",8),ae(14,"translate"),I(15,"button",9),ae(16,"translate"),te("click",function(){return s.togglePlay()}),Te(17,z3,2,1,"mat-icon",10)(18,$3,1,1,"mat-spinner",11),R()()()()),o&2&&(A("ngClass.lt-md","mobile"),C(3),ht(pe(4,15,"selectVoice")),C(2),ls("value",s.selected),C(),A("ngForOf",s.voices),C(2),ls("ngModel",s.text),A("placeholder",pe(9,17,"placeholder")),C(2),ne("text-overflow",s.hasOverflow),C(),Ph(" ",(s.text==null?null:s.text.length)??0,"/",s.maxCharLength," "),C(2),A("matTooltip",s.text?"":pe(14,19,"playDisabled")),C(2),A("matTooltip",pe(16,21,s.isPlaying?"stop":"play"))("disabled",!s.text||s.isLoading),C(2),A("ngIf",!s.isLoading),C(),A("ngIf",s.isLoading))},dependencies:[hn,Fa,Xi,vs,Ri,Ep,Wa,qa,cd,Gp,As,fr,Nd,Ms,Ts,kd,Fd,hr,cl,al,Di,wt],styles:[".text-to-speech-wrapper[_ngcontent-%COMP%]{margin-top:5px;position:relative;display:flex;flex-direction:column;align-items:center}.text-to-speech-wrapper[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{max-width:900px!important;width:100%}.text-to-speech-textarea-wrapper[_ngcontent-%COMP%], .text-to-speech-textarea[_ngcontent-%COMP%]{position:relative;width:100%;max-width:900px}.text-to-speech-textarea-wrapper[_ngcontent-%COMP%]{border:1px solid var(--base-70);padding:5px;border-radius:8px;box-shadow:0 0 16px #0000001a}.text-to-speech-textarea[_ngcontent-%COMP%]{margin:15px 0;padding:0 10px;min-height:120px;resize:none;outline:none;border:none}.text-to-speech-actions[_ngcontent-%COMP%]{position:absolute;bottom:-20px}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:flex;justify-content:center;color:var(--base-100)!important;background-color:var(--accent)}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{background-color:var(--base-70)}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%]{scale:1.2}.text-to-speech-characters[_ngcontent-%COMP%]{position:absolute;right:10px;bottom:0;margin:5px;font-size:13px;color:var(--base-65)}.text-overflow[_ngcontent-%COMP%]{right:30px}.mobile[_ngcontent-%COMP%] .text-overflow[_ngcontent-%COMP%]{right:15px}"]});let n=e;return n})()});var aN=f(()=>{"use strict"});var lN=f(()=>{"use strict";aN()});var cN=f(()=>{"use strict";sN();lN()});var dN,uN=f(()=>{"use strict";dN={en:{selectVoice:"Demo voices (currently only for Latvian language)",placeholder:'Enter text to listen to a demonstration of the text-to-speech technology. Remember, this service can only be used in accordance with its terms of use (see the "Frequently asked questions" section). It is not permitted to use this service for texts that contain offensive, indecent, defamatory, misleading, hateful, or discriminatory statements. Violation of the terms of use may result in liability as stipulated by the laws of the Republic of Latvia. A maximum of 1000 characters will be spoken.',playDisabled:"Enter text to play",play:"Play",stop:"Stop"},lv:{selectVoice:"Demo balsis (\u0161obr\u012Bd tikai Latvie\u0161u valod\u0101)",placeholder:"Ievadi tekstu, lai noklaus\u012Btos balss sint\u0113zes tehnolo\u0123ijas demonstr\u0101ciju. Atceries, ka \u0161o pakalpojumu var lietot tikai atbilsto\u0161i t\u0101 lieto\u0161anas noteikumiem (skat\u012Bt sada\u013Cu \u201CBie\u017E\u0101k uzdotie jaut\u0101jumi\u201D)! To nav at\u013Cauts izmantot tekstiem, kas satur aizskaro\u0161us, nepiekl\u0101j\u012Bgus, apmelojo\u0161us, maldino\u0161us, naidu vai diskrimin\u0101ciju veicino\u0161us apgalvojumus. Par lieto\u0161anas noteikumu p\u0101rk\u0101pumu var iest\u0101ties LR likumos noteikt\u0101 atbild\u012Bba. Tiks izrun\u0101ti ne vair\u0101k k\u0101 1000 simboli.",playDisabled:"Ievadi tekstu, lai atska\u0146ot to",play:"Atska\u0146ot",stop:"Apst\u0101din\u0101t",voice:"Balss {{nth}}"}}});var _m,jC=f(()=>{"use strict";gx();cN();uN();_();_m=(()=>{let t=class t extends sp{set voices(i){this._voices=typeof i=="string"?JSON.parse(i):i}set maxCharLength(i){this._maxCharLength=+i}get voices(){return this._voices}get maxCharLength(){return this._maxCharLength}constructor(){super(dN),this._maxCharLength=500}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=$({type:t,selectors:[["app-text-to-speech"]],inputs:{voices:"voices",maxCharLength:"maxCharLength"},features:[fe],decls:1,vars:2,consts:[[3,"voices","maxCharLength"]],template:function(r,o){r&1&&ce(0,"lib-text-to-speech",0),r&2&&A("voices",o.voices)("maxCharLength",o.maxCharLength)},dependencies:[oN],encapsulation:2});let n=t;return n})()});var tn,bm=f(()=>{"use strict";tn=(function(n){return n.SUMMARY="SUMMARY",n.REPHRASE="REPHRASE",n})(tn||{})});function G3(n,t){}function Y3(n){let t=Ae(n),e=new z;return{valueSignal:t,get value(){return t()},change:e,ngOnDestroy(){e.complete()}}}function VC(n,t){let e=n.length;for(;e--;)t(n[e])}var po,BC,Ud,W3,q3,K3,UC,fN,hN=f(()=>{"use strict";_();_();we();Td();Gx();kx();sr();hd();oo();it();mC();Mp();wd();po=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},BC=(()=>{class n extends el{_elementRef=u(H);_focusTrapFactory=u(zx);_config;_interactivityChecker=u(Hx);_ngZone=u(P);_focusMonitor=u(ms);_renderer=u(rt);_changeDetectorRef=u(mt);_injector=u(G);_platform=u(Ue);_document=u(U);_portalOutlet;_focusTrapped=new M;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=u(po,{optional:!0})||new po,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let i=this._ariaLabelledByQueue.indexOf(e);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}attachDomPortal=e=>{this._portalOutlet.hasAttached();let i=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),i};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{o(),s(),e.removeAttribute("tabindex")},o=this._renderer.listen(e,"blur",r),s=this._renderer.listen(e,"mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_trapFocus(e){this._isDestroyed||Qt(()=>{let i=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||i.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,i=null;if(typeof e=="string"?i=this._document.querySelector(e):typeof e=="boolean"?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&typeof i.focus=="function"){let r=fd(),o=this._elementRef.nativeElement;(!r||r===this._document.body||r===o||o.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(e){this._elementRef.nativeElement.focus?.(e)}_containsFocus(){let e=this._elementRef.nativeElement,i=fd();return e===i||e.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=fd()))}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,selectors:[["cdk-dialog-container"]],viewQuery:function(i,r){if(i&1&&Be(Ad,7),i&2){let o;be(o=xe())&&(r._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,r){i&2&&De("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},features:[fe],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,r){i&1&&Te(0,G3,0,0,"ng-template",0)},dependencies:[Ad],styles:[`.cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}
|
|
27
|
+
`],encapsulation:2})}return n})(),Ud=class{overlayRef;config;componentInstance;componentRef;containerInstance;disableClose;closed=new M;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(t,e){this.overlayRef=t,this.config=e,this.disableClose=e.disableClose,this.backdropClick=t.backdropClick(),this.keydownEvents=t.keydownEvents(),this.outsidePointerEvents=t.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{i.keyCode===27&&!this.disableClose&&!Ht(i)&&(i.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=t.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(t,e){if(this._canClose(t)){let i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(t),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(t="",e=""){return this.overlayRef.updateSize({width:t,height:e}),this}addPanelClass(t){return this.overlayRef.addPanelClass(t),this}removePanelClass(t){return this.overlayRef.removePanelClass(t),this}_canClose(t){let e=this.config;return!!this.containerInstance&&(!e.closePredicate||e.closePredicate(t,e,this.componentInstance))}},W3=new x("DialogScrollStrategy",{providedIn:"root",factory:()=>{let n=u(G);return()=>il(n)}}),q3=new x("DialogData"),K3=new x("DefaultDialogConfig");UC=(()=>{class n{_injector=u(G);_defaultOptions=u(K3,{optional:!0});_parentDialog=u(n,{optional:!0,skipSelf:!0});_overlayContainer=u(em);_idGenerator=u(en);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new M;_afterOpenedAtThisLevel=new M;_ariaHiddenElements=new Map;_scrollStrategy=u(W3);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=on(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Gt(void 0)));constructor(){}open(e,i){let r=this._defaultOptions||new po;i=b(b({},r),i),i.id=i.id||this._idGenerator.getId("cdk-dialog-"),i.id&&this.getDialogById(i.id);let o=this._getOverlayConfig(i),s=Is(this._injector,o),a=new Ud(s,i),l=this._attachContainer(s,a,i);if(a.containerInstance=l,!this.openDialogs.length){let c=this._overlayContainer.getContainerElement();l._focusTrapped?l._focusTrapped.pipe(He(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(c)}):this._hideNonDialogContentFromAssistiveTechnology(c)}return this._attachDialogContent(e,a,l,i),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){VC(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){VC(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),VC(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let i=new Ds({positionStrategy:e.positionStrategy||rl().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&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,r){let o=r.injector||r.viewContainerRef?.injector,s=[{provide:po,useValue:r},{provide:Ud,useValue:i},{provide:tl,useValue:e}],a;r.container?typeof r.container=="function"?a=r.container:(a=r.container.type,s.push(...r.container.providers(r))):a=BC;let l=new lo(a,r.viewContainerRef,G.create({parent:o||this._injector,providers:s}));return e.attach(l).instance}_attachDialogContent(e,i,r,o){if(e instanceof un){let s=this._createInjector(o,i,r,void 0),a={$implicit:o.data,dialogRef:i};o.templateContext&&(a=b(b({},a),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),r.attachTemplatePortal(new Cs(e,null,a,s))}else{let s=this._createInjector(o,i,r,this._injector),a=r.attachComponentPortal(new lo(e,o.viewContainerRef,s));i.componentRef=a,i.componentInstance=a.instance}}_createInjector(e,i,r,o){let s=e.injector||e.viewContainerRef?.injector,a=[{provide:q3,useValue:e.data},{provide:Ud,useValue:i}];return e.providers&&(typeof e.providers=="function"?a.push(...e.providers(i,e,r)):a.push(...e.providers)),e.direction&&(!s||!s.get(Nt,null,{optional:!0}))&&a.push({provide:Nt,useValue:Y3(e.direction)}),G.create({parent:s||o,providers:a})}_removeOpenDialog(e,i){let r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,s)=>{o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(e){if(e.parentElement){let i=e.parentElement.children;for(let r=i.length-1;r>-1;r--){let o=i[r];o!==e&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();fN=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=L({type:n});static \u0275inj=F({providers:[UC],imports:[ur,Es,yd,Es]})}return n})()});function Q3(n,t){}function yN(n){return n==null?null:typeof n=="number"?n:n.endsWith("ms")?io(n.substring(0,n.length-2)):n.endsWith("s")?io(n.substring(0,n.length-1))*1e3:n==="0"?0:null}function zC(n,t,e){return n._closeInteractionType=t,n.close(e)}function CN(n,t){let e=n.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?t.find(i=>i.id===e.id):null}var zd,HC,pN,mN,Z3,X3,vN,gN,Hd,dl,ul,_N,bN,mo,$d,xN,Gd,Wd,qd,Os,EN=f(()=>{"use strict";hN();nm();Td();_();_();xd();Ai();we();it();oo();ar();Ja();ei();zd=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},HC="mdc-dialog--open",pN="mdc-dialog--opening",mN="mdc-dialog--closing",Z3=150,X3=75,vN=(()=>{class n extends BC{_animationStateChanged=new z;_animationsEnabled=!St();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?yN(this._config.enterAnimationDuration)??Z3:0;_exitAnimationDuration=this._animationsEnabled?yN(this._config.exitAnimationDuration)??X3:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(gN,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(pN,HC)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(HC),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(HC),this._animationsEnabled?(this._hostElement.style.setProperty(gN,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(mN)),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(pN,mN)}_waitForAnimationToComplete(e,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let i=super.attachComponentPortal(e);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ve(n)))(r||n)}})();static \u0275cmp=$({type:n,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,r){i&2&&(Qi("id",r._config.id),De("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),ne("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},features:[fe],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,r){i&1&&(I(0,"div",0)(1,"div",1),Te(2,Q3,0,0,"ng-template",2),R()())},dependencies:[Ad],styles:[`.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mat-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;box-sizing:border-box;min-height:52px;margin:0;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}
|
|
28
|
+
`],encapsulation:2})}return n})(),gN="--mat-dialog-transition-duration";Hd=(function(n){return n[n.OPEN=0]="OPEN",n[n.CLOSING=1]="CLOSING",n[n.CLOSED=2]="CLOSED",n})(Hd||{}),dl=class{_ref;_config;_containerInstance;componentInstance;componentRef;disableClose;id;_afterOpened=new M;_beforeClosed=new M;_result;_closeFallbackTimeout;_state=Hd.OPEN;_closeInteractionType;constructor(t,e,i){this._ref=t,this._config=e,this._containerInstance=i,this.disableClose=e.disableClose,this.id=t.id,t.addPanelClass("mat-mdc-dialog-panel"),i._animationStateChanged.pipe(ue(r=>r.state==="opened"),He(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(ue(r=>r.state==="closed"),He(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),sn(this.backdropClick(),this.keydownEvents().pipe(ue(r=>r.keyCode===27&&!this.disableClose&&!Ht(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),zC(this,r.type==="keydown"?"keyboard":"mouse"))})}close(t){let e=this._config.closePredicate;e&&!e(t,this._config,this.componentInstance)||(this._result=t,this._containerInstance._animationStateChanged.pipe(ue(i=>i.state==="closing"),He(1)).subscribe(i=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),i.totalTime+100)}),this._state=Hd.CLOSING,this._containerInstance._startExitAnimation())}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(t){let e=this._ref.config.positionStrategy;return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(t="",e=""){return this._ref.updateSize(t,e),this}addPanelClass(t){return this._ref.addPanelClass(t),this}removePanelClass(t){return this._ref.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=Hd.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};ul=new x("MatMdcDialogData"),_N=new x("mat-mdc-dialog-default-options"),bN=new x("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let n=u(G);return()=>il(n)}}),mo=(()=>{class n{_defaultOptions=u(_N,{optional:!0});_scrollStrategy=u(bN);_parentDialog=u(n,{optional:!0,skipSelf:!0});_idGenerator=u(en);_injector=u(G);_dialog=u(UC);_animationsDisabled=St();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new M;_afterOpenedAtThisLevel=new M;dialogConfigClass=zd;_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=on(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Gt(void 0)));constructor(){this._dialogRefConstructor=dl,this._dialogContainerType=vN,this._dialogDataToken=ul}open(e,i){let r;i=b(b({},this._defaultOptions||new zd),i),i.id=i.id||this._idGenerator.getId("mat-mdc-dialog-"),i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(e,J(b({},i),{positionStrategy:rl(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||i.enterAnimationDuration?.toLocaleString()==="0"||i.exitAnimationDuration?.toString()==="0",container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:po,useValue:i}]},templateContext:()=>({dialogRef:r}),providers:(s,a,l)=>(r=new this._dialogRefConstructor(s,i,l),r.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:a.data},{provide:this._dialogRefConstructor,useValue:r}])}));return r.componentRef=o.componentRef,r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(r);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),$d=(()=>{class n{dialogRef=u(dl,{optional:!0});_elementRef=u(H);_dialog=u(mo);ariaLabel;type="button";dialogResult;_matDialogClose;constructor(){}ngOnInit(){this.dialogRef||(this.dialogRef=CN(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){zC(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,r){i&1&&te("click",function(s){return r._onButtonClick(s)}),i&2&&De("aria-label",r.ariaLabel||null)("type",r.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[je]})}return n})(),xN=(()=>{class n{_dialogRef=u(dl,{optional:!0});_elementRef=u(H);_dialog=u(mo);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=CN(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n})}return n})(),Gd=(()=>{class n extends xN{id=u(en).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(r){return(e||(e=Ve(n)))(r||n)}})();static \u0275dir=j({type:n,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,r){i&2&&Qi("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[fe]})}return n})(),Wd=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[J_([dC])]})}return n})(),qd=(()=>{class n extends xN{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ve(n)))(r||n)}})();static \u0275dir=j({type:n,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(i,r){i&2&&ne("mat-mdc-dialog-actions-align-start",r.align==="start")("mat-mdc-dialog-actions-align-center",r.align==="center")("mat-mdc-dialog-actions-align-end",r.align==="end")},inputs:{align:"align"},features:[fe]})}return n})();Os=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=L({type:n});static \u0275inj=F({providers:[mo],imports:[fN,ur,Es,qe,qe]})}return n})()});var go=f(()=>{"use strict";EN()});var Kd,xm,GC,Cm,fl,wN,Ye,DN,Ns=f(()=>{"use strict";Qc();_();_();we();Kd=new x("ngx-tld-services Api service configuration."),xm=class{#e;constructor(t){this.http=u(nr),this.#e=u(Kd);let e=t(this.#e);if(!e)throw new Error(`${Object.getPrototypeOf(this).constructor.name} is created, but no service configuration defined in 'SERVICE_CONFIGURATION_TOKEN'. Config: ${JSON.stringify(this.#e)}`);this.configuration=e,this.sharedServiceConfiguration=this.#e.sharedConfiguration}},GC=(function(n){return n.Event="Event",n.General="General",n.Meeting="Meeting",n.TranscriptEditor="TranscriptEditor",n.TranscriptCleanup="TranscriptCleanup",n})(GC||{}),Cm=(function(n){return n.Event="Event",n.General="General",n.Meeting="Meeting",n.MeetingBrief="MeetingBrief",n.Brief="Brief",n})(Cm||{}),fl=class{static xAppIdHeader(t){return{"X-App-Id":t}}},wN=(()=>{var t;let e=class e extends xm{constructor(){super(o=>o.llmService);tt(this,t,u(nr))}rephrase(o){let s=fl.xAppIdHeader(this.sharedServiceConfiguration.xAppId);return ye(this,t).post(`${this.configuration.url}/rewrite`,o,{responseType:"text",headers:s})}summarize(o){let s=fl.xAppIdHeader(this.sharedServiceConfiguration.xAppId);return ye(this,t).post(`${this.configuration.url}/summarize/`,o,{responseType:"text",headers:s})}customPrompt(o){let s=fl.xAppIdHeader(this.sharedServiceConfiguration.xAppId);return ye(this,t).post(`${this.configuration.url}/custom-prompt/`,o,{responseType:"text",headers:s})}};t=new WeakMap,e.\u0275fac=function(s){return new(s||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Ye=(function(n){return n.TRANSLATION_FILES="FileTranslationFiles",n.ASR_FILE_LENGTH_SECONDS="AsrFileLengthSeconds",n.ASR_FILE_SIZE_KB="AsrFileSizeKb",n.ONLINE_ASR_USED_SECONDS="OnlineAsrUsedSeconds",n.TRANSLATION_CHARACTERS="TranslationCharacters",n.TRANSLATION_DOCUMENTS="TranslationDocuments",n.LLM_CHARACTER_COUNT="LlmCharacterCount",n.LLM_REQUESTS="LlmRequests",n.TTS_CHARACTERS="TtsCharacters",n.ANONYMISE_WORDS="AnonymiseWords",n.ANONYMISE_DOCUMENTS="AnonymiseDocuments",n[n.LEGACY_TRANSLATION_FILES=0]="LEGACY_TRANSLATION_FILES",n[n.LEGACY_ASR_FILE_LENGTH_SECONDS=1]="LEGACY_ASR_FILE_LENGTH_SECONDS",n[n.LEGACY_ASR_FILE_SIZE_KB=2]="LEGACY_ASR_FILE_SIZE_KB",n[n.LEGACY_ONLINE_ASR_USED_SECONDS=3]="LEGACY_ONLINE_ASR_USED_SECONDS",n[n.LEGACY_TRANSLATION_CHARACTERS=4]="LEGACY_TRANSLATION_CHARACTERS",n[n.LEGACY_TRANSLATION_DOCUMENTS=5]="LEGACY_TRANSLATION_DOCUMENTS",n[n.LEGACY_LLM_CHARACTER_COUNT=6]="LEGACY_LLM_CHARACTER_COUNT",n[n.LEGACY_LLM_REQUESTS=7]="LEGACY_LLM_REQUESTS",n[n.LEGACY_TTS_CHARACTERS=8]="LEGACY_TTS_CHARACTERS",n[n.LEGACY_ANONYMISE_WORDS=9]="LEGACY_ANONYMISE_WORDS",n[n.LEGACY_ANONYMISE_DOCUMENTS=10]="LEGACY_ANONYMISE_DOCUMENTS",n})(Ye||{}),DN=(()=>{let t=class t extends xm{constructor(){super(i=>i.quotaService),this.legacyQuotaTypeMap={[Ye.LEGACY_TRANSLATION_FILES]:Ye.TRANSLATION_FILES,[Ye.LEGACY_ASR_FILE_LENGTH_SECONDS]:Ye.ASR_FILE_LENGTH_SECONDS,[Ye.LEGACY_ASR_FILE_SIZE_KB]:Ye.ASR_FILE_SIZE_KB,[Ye.LEGACY_ONLINE_ASR_USED_SECONDS]:Ye.ONLINE_ASR_USED_SECONDS,[Ye.LEGACY_TRANSLATION_CHARACTERS]:Ye.TRANSLATION_CHARACTERS,[Ye.LEGACY_TRANSLATION_DOCUMENTS]:Ye.TRANSLATION_DOCUMENTS,[Ye.LEGACY_LLM_CHARACTER_COUNT]:Ye.LLM_CHARACTER_COUNT,[Ye.LEGACY_LLM_REQUESTS]:Ye.LLM_REQUESTS,[Ye.LEGACY_TTS_CHARACTERS]:Ye.TTS_CHARACTERS,[Ye.LEGACY_ANONYMISE_WORDS]:Ye.ANONYMISE_WORDS,[Ye.LEGACY_ANONYMISE_DOCUMENTS]:Ye.ANONYMISE_DOCUMENTS}}getQuotaUsage(){let i=fl.xAppIdHeader(this.sharedServiceConfiguration.xAppId);return this.http.get(this.configuration.url,{headers:i}).pipe(V(r=>(r.usage.forEach(o=>{this.legacyQuotaTypeMap[o.quotaType]&&(o.quotaType=this.legacyQuotaTypeMap[o.quotaType])}),r)))}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})()});var IN,AN=f(()=>{"use strict";IN={SMALL:600,MEDIUM:960,LARGE:1280,XLARGE:1920}});var TN=f(()=>{"use strict"});var WC,MN=f(()=>{"use strict";WC=(function(n){return n[n.TIMEOUT=504]="TIMEOUT",n})(WC||{})});var qC=f(()=>{"use strict";AN();TN();MN()});var RN,ON=f(()=>{"use strict";_();dr();Xc();RN=(()=>{let t=class t{constructor(i,r){this.iconRegistry=i,this.sanitizer=r}registerIcons(i){for(let r in i)this.iconRegistry.addSvgIconLiteral(r.toLowerCase(),this.sanitizer.bypassSecurityTrustHtml(i[r]))}registerIconFromUrl(i,r){this.iconRegistry.addSvgIcon(i,this.sanitizer.bypassSecurityTrustResourceUrl(r))}addSvgIconSet(i,r){r?this.iconRegistry.addSvgIconSetInNamespace(r,this.sanitizer.bypassSecurityTrustResourceUrl(i)):this.iconRegistry.addSvgIconSet(this.sanitizer.bypassSecurityTrustResourceUrl(i))}};t.\u0275fac=function(r){return new(r||t)(S(zp),S(Zc))},t.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})()});var NN=f(()=>{"use strict";ON()});var J3,e8,FN,kN=f(()=>{"use strict";_();J3=typeof localStorage<"u"?localStorage:null,e8=typeof window<"u"?window:null,FN=(()=>{let t=class t{get window(){return e8}get localStorage(){return J3}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})()});var LN=f(()=>{"use strict";kN()});function _l(n){return new XC(n)}function t8(n,t,e){let i=e.path.split("/");if(i.length>n.length||e.pathMatch==="full"&&(t.hasChildren()||i.length<n.length))return null;let r={};for(let o=0;o<i.length;o++){let s=i[o],a=n[o];if(s[0]===":")r[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:n.slice(0,i.length),posParams:r}}function n8(n,t){if(n.length!==t.length)return!1;for(let e=0;e<n.length;++e)if(!Fi(n[e],t[e]))return!1;return!0}function Fi(n,t){let e=n?JC(n):void 0,i=t?JC(t):void 0;if(!e||!i||e.length!=i.length)return!1;let r;for(let o=0;o<e.length;o++)if(r=e[o],!$N(n[r],t[r]))return!1;return!0}function JC(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}function $N(n,t){if(Array.isArray(n)&&Array.isArray(t)){if(n.length!==t.length)return!1;let e=[...n].sort(),i=[...t].sort();return e.every((r,o)=>i[o]===r)}else return n===t}function GN(n){return n.length>0?n[n.length-1]:null}function _r(n){return Vn(n)?n:Yr(n)?Pe(Promise.resolve(n)):N(n)}function PN(n,t,e){return i8[e.paths](n.root,t.root,e.matrixParams)&&WN[e.queryParams](n.queryParams,t.queryParams)&&!(e.fragment==="exact"&&n.fragment!==t.fragment)}function r8(n,t){return Fi(n,t)}function qN(n,t,e){if(!ks(n.segments,t.segments)||!Dm(n.segments,t.segments,e)||n.numberOfChildren!==t.numberOfChildren)return!1;for(let i in t.children)if(!n.children[i]||!qN(n.children[i],t.children[i],e))return!1;return!0}function o8(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(e=>$N(n[e],t[e]))}function KN(n,t,e){return YN(n,t,t.segments,e)}function YN(n,t,e,i){if(n.segments.length>e.length){let r=n.segments.slice(0,e.length);return!(!ks(r,e)||t.hasChildren()||!Dm(r,e,i))}else if(n.segments.length===e.length){if(!ks(n.segments,e)||!Dm(n.segments,e,i))return!1;for(let r in t.children)if(!n.children[r]||!KN(n.children[r],t.children[r],i))return!1;return!0}else{let r=e.slice(0,n.segments.length),o=e.slice(n.segments.length);return!ks(n.segments,r)||!Dm(n.segments,r,i)||!n.children[de]?!1:YN(n.children[de],t,o,i)}}function Dm(n,t,e){return t.every((i,r)=>WN[e](n[r].parameters,i.parameters))}function s8(n,t){return ks(n,t)&&n.every((e,i)=>Fi(e.parameters,t[i].parameters))}function ks(n,t){return n.length!==t.length?!1:n.every((e,i)=>e.path===t[i].path)}function a8(n,t){let e=[];return Object.entries(n.children).forEach(([i,r])=>{i===de&&(e=e.concat(t(r,i)))}),Object.entries(n.children).forEach(([i,r])=>{i!==de&&(e=e.concat(t(r,i)))}),e}function Sm(n){return n.segments.map(t=>ZN(t)).join("/")}function Yd(n,t){if(!n.hasChildren())return Sm(n);if(t){let e=n.children[de]?Yd(n.children[de],!1):"",i=[];return Object.entries(n.children).forEach(([r,o])=>{r!==de&&i.push(`${r}:${Yd(o,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}else{let e=a8(n,(i,r)=>r===de?[Yd(n.children[de],!1)]:[`${r}:${Yd(i,!1)}`]);return Object.keys(n.children).length===1&&n.children[de]!=null?`${Sm(n)}/${e[0]}`:`${Sm(n)}/(${e.join("//")})`}}function QN(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Em(n){return QN(n).replace(/%3B/gi,";")}function c8(n){return encodeURI(n)}function eE(n){return QN(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Im(n){return decodeURIComponent(n)}function jN(n){return Im(n.replace(/\+/g,"%20"))}function ZN(n){return`${eE(n.path)}${d8(n.parameters)}`}function d8(n){return Object.entries(n).map(([t,e])=>`;${eE(t)}=${eE(e)}`).join("")}function u8(n){let t=Object.entries(n).map(([e,i])=>Array.isArray(i)?i.map(r=>`${Em(e)}=${Em(r)}`).join("&"):`${Em(e)}=${Em(i)}`).filter(e=>e);return t.length?`?${t.join("&")}`:""}function KC(n){let t=n.match(f8);return t?t[0]:""}function p8(n){let t=n.match(h8);return t?t[0]:""}function g8(n){let t=n.match(m8);return t?t[0]:""}function v8(n){let t=n.match(y8);return t?t[0]:""}function XN(n){return n.segments.length>0?new Oe([],{[de]:n}):n}function JN(n){let t={};for(let[i,r]of Object.entries(n.children)){let o=JN(r);if(i===de&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))t[s]=a;else(o.segments.length>0||o.hasChildren())&&(t[i]=o)}let e=new Oe(n.segments,t);return _8(e)}function _8(n){if(n.numberOfChildren===1&&n.children[de]){let t=n.children[de];return new Oe(n.segments.concat(t.segments),t.children)}return n}function yo(n){return n instanceof yr}function b8(n,t,e=null,i=null){let r=eF(n);return tF(r,t,e,i)}function eF(n){let t;function e(o){let s={};for(let l of o.children){let c=e(l);s[l.outlet]=c}let a=new Oe(o.url,s);return o===n&&(t=a),a}let i=e(n.root),r=XN(i);return t??r}function tF(n,t,e,i){let r=n;for(;r.parent;)r=r.parent;if(t.length===0)return YC(r,r,r,e,i);let o=x8(t);if(o.toRoot())return YC(r,r,new Oe([],{}),e,i);let s=C8(o,r,n),a=s.processChildren?Zd(s.segmentGroup,s.index,o.commands):iF(s.segmentGroup,s.index,o.commands);return YC(r,s.segmentGroup,a,e,i)}function Am(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function Jd(n){return typeof n=="object"&&n!=null&&n.outlets}function YC(n,t,e,i,r){let o={};i&&Object.entries(i).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(d=>`${d}`):`${c}`});let s;n===t?s=e:s=nF(n,t,e);let a=XN(JN(s));return new yr(a,o,r)}function nF(n,t,e){let i={};return Object.entries(n.children).forEach(([r,o])=>{o===t?i[r]=e:i[r]=nF(o,t,e)}),new Oe(n.segments,i)}function x8(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new Tm(!0,0,n);let t=0,e=!1,i=n.reduce((r,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]=typeof c=="string"?c.split("/"):c}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return typeof o!="string"?[...r,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?e=!0:a===".."?t++:a!=""&&r.push(a))}),r):[...r,o]},[]);return new Tm(e,t,i)}function C8(n,t,e){if(n.isAbsolute)return new ml(t,!0,0);if(!e)return new ml(t,!1,NaN);if(e.parent===null)return new ml(e,!0,0);let i=Am(n.commands[0])?0:1,r=e.segments.length-1+i;return E8(e,r,n.numberOfDoubleDots)}function E8(n,t,e){let i=n,r=t,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new w(4005,!1);r=i.segments.length}return new ml(i,!1,r-o)}function w8(n){return Jd(n[0])?n[0].outlets:{[de]:n}}function iF(n,t,e){if(n??=new Oe([],{}),n.segments.length===0&&n.hasChildren())return Zd(n,t,e);let i=D8(n,t,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex<n.segments.length){let o=new Oe(n.segments.slice(0,i.pathIndex),{});return o.children[de]=new Oe(n.segments.slice(i.pathIndex),n.children),Zd(o,0,r)}else return i.match&&r.length===0?new Oe(n.segments,{}):i.match&&!n.hasChildren()?nE(n,t,e):i.match?Zd(n,0,r):nE(n,t,e)}function Zd(n,t,e){if(e.length===0)return new Oe(n.segments,{});{let i=w8(e),r={};if(Object.keys(i).some(o=>o!==de)&&n.children[de]&&n.numberOfChildren===1&&n.children[de].segments.length===0){let o=Zd(n.children[de],t,e);return new Oe(n.segments,o.children)}return Object.entries(i).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(r[o]=iF(n.children[o],t,s))}),Object.entries(n.children).forEach(([o,s])=>{i[o]===void 0&&(r[o]=s)}),new Oe(n.segments,r)}}function D8(n,t,e){let i=0,r=t,o={match:!1,pathIndex:0,commandIndex:0};for(;r<n.segments.length;){if(i>=e.length)return o;let s=n.segments[r],a=e[i];if(Jd(a))break;let l=`${a}`,c=i<e.length-1?e[i+1]:null;if(r>0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!BN(l,c,s))return o;i+=2}else{if(!BN(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}function nE(n,t,e){let i=n.segments.slice(0,t),r=0;for(;r<e.length;){let o=e[r];if(Jd(o)){let l=S8(o.outlets);return new Oe(i,l)}if(r===0&&Am(e[0])){let l=n.segments[t];i.push(new Fs(l.path,VN(e[0]))),r++;continue}let s=Jd(o)?o.outlets[de]:`${o}`,a=r<e.length-1?e[r+1]:null;s&&a&&Am(a)?(i.push(new Fs(s,VN(a))),r+=2):(i.push(new Fs(s,{})),r++)}return new Oe(i,{})}function S8(n){let t={};return Object.entries(n).forEach(([e,i])=>{typeof i=="string"&&(i=[i]),i!==null&&(t[e]=nE(new Oe([],{}),0,i))}),t}function VN(n){let t={};return Object.entries(n).forEach(([e,i])=>t[e]=`${i}`),t}function BN(n,t,e){return n==e.path&&Fi(t,e.parameters)}function I8(n){return!(n instanceof iu)&&!(n instanceof bl)}function A8(n,t){return n.providers&&!n._injector&&(n._injector=Aa(n.providers,t,`Route: ${n.path}`)),n._injector??t}function ii(n){return n.outlet||de}function T8(n,t){let e=n.filter(i=>ii(i)===t);return e.push(...n.filter(i=>ii(i)!==t)),e}function El(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let t=n.parent;t;t=t.parent){let e=t.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}function pE(n,t){if(n===t.value)return t;for(let e of t.children){let i=pE(n,e);if(i)return i}return null}function mE(n,t){if(n===t.value)return[t];for(let e of t.children){let i=mE(n,e);if(i.length)return i.unshift(t),i}return[]}function pl(n){let t={};return n&&n.children.forEach(e=>t[e.value.outlet]=e),t}function rF(n){let t=M8(n),e=new at([new Fs("",{})]),i=new at({}),r=new at({}),o=new at({}),s=new at(""),a=new vo(e,i,o,s,r,de,n,t.root);return a.snapshot=t.root,new Om(new wn(a,[]),t)}function M8(n){let t={},e={},i={},o=new yl([],t,i,"",e,de,n,null,{});return new Fm("",new wn(o,[]))}function Nm(n,t,e="emptyOnly"){let i,{routeConfig:r}=n;return t!==null&&(e==="always"||r?.path===""||!t.component&&!t.routeConfig?.loadComponent)?i={params:b(b({},t.params),n.params),data:b(b({},t.data),n.data),resolve:b(b(b(b({},n.data),t.data),r?.data),n._resolvedData)}:i={params:b({},n.params),data:b({},n.data),resolve:b(b({},n.data),n._resolvedData??{})},r&&sF(r)&&(i.resolve[lu]=r.title),i}function wE(n,t){t.value._routerState=n,t.children.forEach(e=>wE(n,e))}function oF(n){let t=n.children.length>0?` { ${n.children.map(oF).join(", ")} } `:"";return`${n.value}${t}`}function QC(n){if(n.snapshot){let t=n.snapshot,e=n._futureSnapshot;n.snapshot=e,Fi(t.queryParams,e.queryParams)||n.queryParamsSubject.next(e.queryParams),t.fragment!==e.fragment&&n.fragmentSubject.next(e.fragment),Fi(t.params,e.params)||n.paramsSubject.next(e.params),n8(t.url,e.url)||n.urlSubject.next(e.url),Fi(t.data,e.data)||n.dataSubject.next(e.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function gE(n,t){let e=Fi(n.params,t.params)&&s8(n.url,t.url),i=!n.parent!=!t.parent;return e&&!i&&(!n.parent||gE(n.parent,t.parent))}function sF(n){return typeof n.title=="string"||n.title===null}function SE(n){let t=n.children&&n.children.map(SE),e=t?J(b({},n),{children:t}):b({},n);return!e.component&&!e.loadComponent&&(t||e.loadChildren)&&e.outlet&&e.outlet!==de&&(e.component=lF),e}function O8(n,t,e){let i=ru(n,t._root,e?e._root:void 0);return new Om(i,t)}function ru(n,t,e){if(e&&n.shouldReuseRoute(t.value,e.value.snapshot)){let i=e.value;i._futureSnapshot=t.value;let r=N8(n,t,e);return new wn(i,r)}else{if(n.shouldAttach(t.value)){let o=n.retrieve(t.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>ru(n,a)),s}}let i=F8(t.value),r=t.children.map(o=>ru(n,o));return new wn(i,r)}}function N8(n,t,e){return t.children.map(i=>{for(let r of e.children)if(n.shouldReuseRoute(i.value,r.value.snapshot))return ru(n,i,r);return ru(n,i)})}function F8(n){return new vo(new at(n.url),new at(n.params),new at(n.queryParams),new at(n.fragment),new at(n.data),n.outlet,n.component,n)}function km(n,t){let{redirectTo:e,navigationBehaviorOptions:i}=yo(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,r=dF(!1,mn.Redirect);return r.url=e,r.navigationBehaviorOptions=i,r}function dF(n,t){let e=new Error(`NavigationCancelingError: ${n||""}`);return e[cF]=!0,e.cancellationCode=t,e}function k8(n){return uF(n)&&yo(n.url)}function uF(n){return!!n&&n[cF]}function P8(n,t,e){let i=n._root,r=t?t._root:null;return Qd(i,r,e,[i.value])}function j8(n){let t=n.routeConfig?n.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:n,guards:t}}function Dl(n,t){let e=Symbol(),i=t.get(n,e);return i===e?typeof n=="function"&&!Ty(n)?n:t.get(n):i}function Qd(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=pl(t);return n.children.forEach(s=>{V8(s,o[s.value.outlet],e,i.concat([s.value]),r),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Xd(a,e.getContext(s),r)),r}function V8(n,t,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=n.value,s=t?t.value:null,a=e?e.getContext(n.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=B8(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new Lm(i)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Qd(n,t,a?a.children:null,i,r):Qd(n,t,e,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new vl(a.outlet.component,s))}else s&&Xd(t,a,r),r.canActivateChecks.push(new Lm(i)),o.component?Qd(n,null,a?a.children:null,i,r):Qd(n,null,e,i,r);return r}function B8(n,t,e){if(typeof e=="function")return e(n,t);switch(e){case"pathParamsChange":return!ks(n.url,t.url);case"pathParamsOrQueryParamsChange":return!ks(n.url,t.url)||!Fi(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!gE(n,t)||!Fi(n.queryParams,t.queryParams);case"paramsChange":default:return!gE(n,t)}}function Xd(n,t,e){let i=pl(n),r=n.value;Object.entries(i).forEach(([o,s])=>{r.component?t?Xd(s,t.children.getContext(o),e):Xd(s,null,e):Xd(s,t,e)}),r.component?t&&t.outlet&&t.outlet.isActivated?e.canDeactivateChecks.push(new vl(t.outlet.component,r)):e.canDeactivateChecks.push(new vl(null,r)):e.canDeactivateChecks.push(new vl(null,r))}function du(n){return typeof n=="function"}function U8(n){return typeof n=="boolean"}function H8(n){return n&&du(n.canLoad)}function z8(n){return n&&du(n.canActivate)}function $8(n){return n&&du(n.canActivateChild)}function G8(n){return n&&du(n.canDeactivate)}function W8(n){return n&&du(n.canMatch)}function fF(n){return n instanceof ji||n?.name==="EmptyError"}function xl(){return ze(n=>Lo(n.map(t=>t.pipe(He(1),Gt(wm)))).pipe(V(t=>{for(let e of t)if(e!==!0){if(e===wm)return wm;if(e===!1||q8(e))return e}return!0}),ue(t=>t!==wm),He(1)))}function q8(n){return yo(n)||n instanceof ou}function K8(n,t){return Ke(e=>{let{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return s.length===0&&o.length===0?N(J(b({},e),{guardsResult:!0})):Y8(s,i,r,n).pipe(Ke(a=>a&&U8(a)?Q8(i,o,n,t):N(a)),V(a=>J(b({},e),{guardsResult:a})))})}function Y8(n,t,e,i){return Pe(n).pipe(Ke(r=>tW(r.component,r.route,e,t,i)),Bi(r=>r!==!0,!0))}function Q8(n,t,e,i){return Pe(t).pipe(Sn(r=>Bn(X8(r.route.parent,i),Z8(r.route,i),eW(n,r.path,e),J8(n,r.route,e))),Bi(r=>r!==!0,!0))}function Z8(n,t){return n!==null&&t&&t(new uE(n)),N(!0)}function X8(n,t){return n!==null&&t&&t(new cE(n)),N(!0)}function J8(n,t,e){let i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||i.length===0)return N(!0);let r=i.map(o=>on(()=>{let s=El(t)??e,a=Dl(o,s),l=z8(a)?a.canActivate(t,n):xt(s,()=>a(t,n));return _r(l).pipe(Bi())}));return N(r).pipe(xl())}function eW(n,t,e){let i=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(s=>j8(s)).filter(s=>s!==null).map(s=>on(()=>{let a=s.guards.map(l=>{let c=El(s.node)??e,d=Dl(l,c),h=$8(d)?d.canActivateChild(i,n):xt(c,()=>d(i,n));return _r(h).pipe(Bi())});return N(a).pipe(xl())}));return N(o).pipe(xl())}function tW(n,t,e,i,r){let o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return N(!0);let s=o.map(a=>{let l=El(t)??r,c=Dl(a,l),d=G8(c)?c.canDeactivate(n,t,e,i):xt(l,()=>c(n,t,e,i));return _r(d).pipe(Bi())});return N(s).pipe(xl())}function nW(n,t,e,i){let r=t.canLoad;if(r===void 0||r.length===0)return N(!0);let o=r.map(s=>{let a=Dl(s,n),l=H8(a)?a.canLoad(t,e):xt(n,()=>a(t,e));return _r(l)});return N(o).pipe(xl(),hF(i))}function hF(n){return Ng(Fe(t=>{if(typeof t!="boolean")throw km(n,t)}),V(t=>t===!0))}function iW(n,t,e,i){let r=t.canMatch;if(!r||r.length===0)return N(!0);let o=r.map(s=>{let a=Dl(s,n),l=W8(a)?a.canMatch(t,e):xt(n,()=>a(t,e));return _r(l)});return N(o).pipe(xl(),hF(i))}function hl(n){return Ar(new su(n))}function rW(n){return Ar(new w(4e3,!1))}function oW(n){return Ar(dF(!1,mn.GuardRejected))}function sW(n,t,e){if(typeof n=="string")return N(n);let i=n,{queryParams:r,fragment:o,routeConfig:s,url:a,outlet:l,params:c,data:d,title:h}=t;return _r(xt(e,()=>i({params:c,data:d,queryParams:r,fragment:o,routeConfig:s,url:a,outlet:l,title:h})))}function aW(n,t,e,i,r){let o=pF(n,t,e);return o.matched?(i=A8(t,i),iW(i,t,e,r).pipe(V(s=>s===!0?o:b({},bE)))):N(o)}function pF(n,t,e){if(t.path==="**")return lW(e);if(t.path==="")return t.pathMatch==="full"&&(n.hasChildren()||e.length>0)?b({},bE):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let r=(t.matcher||t8)(e,n,t);if(!r)return b({},bE);let o={};Object.entries(r.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=r.consumed.length>0?b(b({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function lW(n){return{matched:!0,parameters:n.length>0?GN(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}function UN(n,t,e,i){return e.length>0&&uW(n,e,i)?{segmentGroup:new Oe(t,dW(i,new Oe(e,n.children))),slicedSegments:[]}:e.length===0&&fW(n,e,i)?{segmentGroup:new Oe(n.segments,cW(n,e,i,n.children)),slicedSegments:e}:{segmentGroup:new Oe(n.segments,n.children),slicedSegments:e}}function cW(n,t,e,i){let r={};for(let o of e)if(Pm(n,t,o)&&!i[ii(o)]){let s=new Oe([],{});r[ii(o)]=s}return b(b({},i),r)}function dW(n,t){let e={};e[de]=t;for(let i of n)if(i.path===""&&ii(i)!==de){let r=new Oe([],{});e[ii(i)]=r}return e}function uW(n,t,e){return e.some(i=>Pm(n,t,i)&&ii(i)!==de)}function fW(n,t,e){return e.some(i=>Pm(n,t,i))}function Pm(n,t,e){return(n.hasChildren()||t.length>0)&&e.pathMatch==="full"?!1:e.path===""}function hW(n,t,e){return t.length===0&&!n.children[e]}function pW(n,t,e,i,r,o,s="emptyOnly"){return new CE(n,t,e,i,r,s,o).recognize()}function gW(n){n.sort((t,e)=>t.value.outlet===de?-1:e.value.outlet===de?1:t.value.outlet.localeCompare(e.value.outlet))}function yW(n){let t=n.value.routeConfig;return t&&t.path===""}function mF(n){let t=[],e=new Set;for(let i of n){if(!yW(i)){t.push(i);continue}let r=t.find(o=>i.value.routeConfig===o.value.routeConfig);r!==void 0?(r.children.push(...i.children),e.add(r)):t.push(i)}for(let i of e){let r=mF(i.children);t.push(new wn(i.value,r))}return t.filter(i=>!e.has(i))}function HN(n){return n.data||{}}function zN(n){return n.resolve||{}}function vW(n,t,e,i,r,o){return Ke(s=>pW(n,t,e,i,s.extractedUrl,r,o).pipe(V(({state:a,tree:l})=>J(b({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function _W(n,t){return Ke(e=>{let{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return N(e);let o=new Set(r.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let c of gF(l))s.add(c);let a=0;return Pe(s).pipe(Sn(l=>o.has(l)?bW(l,i,n,t):(l.data=Nm(l,l.parent,n).resolve,N(void 0))),Fe(()=>a++),la(1),Ke(l=>a===s.size?N(e):Vt))})}function gF(n){let t=n.children.map(e=>gF(e)).flat();return[n,...t]}function bW(n,t,e,i){let r=n.routeConfig,o=n._resolve;return r?.title!==void 0&&!sF(r)&&(o[lu]=r.title),on(()=>(n.data=Nm(n,n.parent,e).resolve,xW(o,n,t,i).pipe(V(s=>(n._resolvedData=s,n.data=b(b({},n.data),s),null)))))}function xW(n,t,e,i){let r=JC(n);if(r.length===0)return N({});let o={};return Pe(r).pipe(Ke(s=>CW(n[s],t,e,i).pipe(Bi(),Fe(a=>{if(a instanceof ou)throw km(new Ls,a);o[s]=a}))),la(1),V(()=>o),an(s=>fF(s)?Vt:Ar(s)))}function CW(n,t,e,i){let r=El(t)??i,o=Dl(n,r),s=o.resolve?o.resolve(t,e):xt(r,()=>o(t,e));return _r(s)}function ZC(n){return ze(t=>{let e=n(t);return e?Pe(e).pipe(V(()=>t)):N(t)})}function wW(n,t,e,i){return _r(xt(e,()=>n.loadChildren())).pipe(V(vF),ze(_F),Ke(r=>r instanceof Rh||Array.isArray(r)?N(r):Pe(t.compileModuleAsync(r))),V(r=>{i&&i(n);let o,s,a=!1;return Array.isArray(r)?(s=r,a=!0):(o=r.create(e).injector,s=o.get(uu,[],{optional:!0,self:!0}).flat()),{routes:s.map(SE),injector:o}}))}function DW(n){return n&&typeof n=="object"&&"default"in n}function vF(n){return DW(n)?n.default:n}function _F(n){return N(n)}function bF(n,t,e){let i=n.get(TE),r=n.get(U);if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,s=new Promise(c=>{o=c}),a=r.startViewTransition(()=>(o(),IW(n)));a.ready.catch(c=>{});let{onViewTransitionCreated:l}=i;return l&&xt(n,()=>l({transition:a,from:t,to:e})),s}function IW(n){return new Promise(t=>{Qt({read:()=>setTimeout(t)},{injector:n})})}function AW(n){return n!==gl}function RE(n,t){n.events.pipe(ue(e=>e instanceof ri||e instanceof gr||e instanceof tu||e instanceof vr),V(e=>e instanceof ri||e instanceof vr?0:(e instanceof gr?e.code===mn.Redirect||e.code===mn.SupersededByNewNavigation:!1)?2:1),ue(e=>e!==2),He(1)).subscribe(()=>{t()})}function FW(n){for(let t=0;t<n.length;t++)if(n[t]==null)throw new w(4008,!1)}var de,lu,XC,i8,WN,yr,Oe,Fs,Cl,Ls,l8,f8,h8,m8,y8,tE,Tm,ml,gl,It,Ln,Ps,ri,mn,eu,gr,vr,tu,Mm,iE,rE,oE,sE,aE,lE,cE,dE,uE,fE,nu,iu,bl,hE,wl,Rm,wn,Om,vo,yl,Fm,R8,aF,yE,cu,DE,lF,ou,cF,L8,vE,Lm,vl,wm,su,au,_E,bE,xE,mW,CE,yF,EW,js,uu,jm,IE,SW,AE,TE,ME,Vm,TW,EE,MW,xF,RW,OW,NW,_o,CF=f(()=>{"use strict";Le();_();_();we();it();Xc();de="primary",lu=Symbol("RouteTitle"),XC=class{params;constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){let e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};i8={exact:qN,subset:KN},WN={exact:r8,subset:o8,ignored:()=>!0};yr=class{root;queryParams;fragment;_queryParamMap;constructor(t=new Oe([],{}),e={},i=null){this.root=t,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap??=_l(this.queryParams),this._queryParamMap}toString(){return l8.serialize(this)}},Oe=class{segments;children;parent=null;constructor(t,e){this.segments=t,this.children=e,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Sm(this)}},Fs=class{path;parameters;_parameterMap;constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap??=_l(this.parameters),this._parameterMap}toString(){return ZN(this)}};Cl=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:()=>new Ls,providedIn:"root"})}return n})(),Ls=class{parse(t){let e=new tE(t);return new yr(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){let e=`/${Yd(t.root,!0)}`,i=u8(t.queryParams),r=typeof t.fragment=="string"?`#${c8(t.fragment)}`:"";return`${e}${i}${r}`}},l8=new Ls;f8=/^[^\/()?;#]+/;h8=/^[^\/()?;=#]+/;m8=/^[^=?&#]+/;y8=/^[^&#]+/;tE=class{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Oe([],{}):new Oe([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(i[de]=new Oe(t,e)),i}parseSegment(){let t=KC(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new w(4009,!1);return this.capture(t),new Fs(Im(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let e=p8(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let r=KC(this.remaining);r&&(i=r,this.capture(i))}t[Im(e)]=Im(i)}parseQueryParam(t){let e=g8(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let s=v8(this.remaining);s&&(i=s,this.capture(i))}let r=jN(e),o=jN(i);if(t.hasOwnProperty(r)){let s=t[r];Array.isArray(s)||(s=[s],t[r]=s),s.push(o)}else t[r]=o}parseParens(t){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=KC(this.remaining),r=this.remaining[i.length];if(r!=="/"&&r!==")"&&r!==";")throw new w(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=de);let s=this.parseChildren();e[o]=Object.keys(s).length===1?s[de]:new Oe([],s),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new w(4011,!1)}};Tm=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,e,i){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=i,t&&i.length>0&&Am(i[0]))throw new w(4003,!1);let r=i.find(Jd);if(r&&r!==GN(i))throw new w(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};ml=class{segmentGroup;processChildren;index;constructor(t,e,i){this.segmentGroup=t,this.processChildren=e,this.index=i}};gl="imperative",It=(function(n){return n[n.NavigationStart=0]="NavigationStart",n[n.NavigationEnd=1]="NavigationEnd",n[n.NavigationCancel=2]="NavigationCancel",n[n.NavigationError=3]="NavigationError",n[n.RoutesRecognized=4]="RoutesRecognized",n[n.ResolveStart=5]="ResolveStart",n[n.ResolveEnd=6]="ResolveEnd",n[n.GuardsCheckStart=7]="GuardsCheckStart",n[n.GuardsCheckEnd=8]="GuardsCheckEnd",n[n.RouteConfigLoadStart=9]="RouteConfigLoadStart",n[n.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",n[n.ChildActivationStart=11]="ChildActivationStart",n[n.ChildActivationEnd=12]="ChildActivationEnd",n[n.ActivationStart=13]="ActivationStart",n[n.ActivationEnd=14]="ActivationEnd",n[n.Scroll=15]="Scroll",n[n.NavigationSkipped=16]="NavigationSkipped",n})(It||{}),Ln=class{id;url;constructor(t,e){this.id=t,this.url=e}},Ps=class extends Ln{type=It.NavigationStart;navigationTrigger;restoredState;constructor(t,e,i="imperative",r=null){super(t,e),this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},ri=class extends Ln{urlAfterRedirects;type=It.NavigationEnd;constructor(t,e,i){super(t,e),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},mn=(function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n[n.Aborted=4]="Aborted",n})(mn||{}),eu=(function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n})(eu||{}),gr=class extends Ln{reason;code;type=It.NavigationCancel;constructor(t,e,i,r){super(t,e),this.reason=i,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},vr=class extends Ln{reason;code;type=It.NavigationSkipped;constructor(t,e,i,r){super(t,e),this.reason=i,this.code=r}},tu=class extends Ln{error;target;type=It.NavigationError;constructor(t,e,i,r){super(t,e),this.error=i,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Mm=class extends Ln{urlAfterRedirects;state;type=It.RoutesRecognized;constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},iE=class extends Ln{urlAfterRedirects;state;type=It.GuardsCheckStart;constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},rE=class extends Ln{urlAfterRedirects;state;shouldActivate;type=It.GuardsCheckEnd;constructor(t,e,i,r,o){super(t,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},oE=class extends Ln{urlAfterRedirects;state;type=It.ResolveStart;constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},sE=class extends Ln{urlAfterRedirects;state;type=It.ResolveEnd;constructor(t,e,i,r){super(t,e),this.urlAfterRedirects=i,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},aE=class{route;type=It.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},lE=class{route;type=It.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},cE=class{snapshot;type=It.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},dE=class{snapshot;type=It.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},uE=class{snapshot;type=It.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},fE=class{snapshot;type=It.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},nu=class{routerEvent;position;anchor;type=It.Scroll;constructor(t,e,i){this.routerEvent=t,this.position=e,this.anchor=i}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}},iu=class{},bl=class{url;navigationBehaviorOptions;constructor(t,e){this.url=t,this.navigationBehaviorOptions=e}};hE=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return El(this.route?.snapshot)??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new wl(this.rootInjector)}},wl=(()=>{class n{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,i){let r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){let i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new hE(this.rootInjector),this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(i){return new(i||n)(S($e))};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Rm=class{_root;constructor(t){this._root=t}get root(){return this._root.value}parent(t){let e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){let e=pE(t,this._root);return e?e.children.map(i=>i.value):[]}firstChild(t){let e=pE(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){let e=mE(t,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==t)}pathFromRoot(t){return mE(t,this._root).map(e=>e.value)}};wn=class{value;children;constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}};Om=class extends Rm{snapshot;constructor(t,e){super(t),this.snapshot=e,wE(this,t)}toString(){return this.snapshot.toString()}};vo=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(t,e,i,r,o,s,a,l){this.urlSubject=t,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(V(c=>c[lu]))??N(void 0),this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(V(t=>_l(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(V(t=>_l(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};yl=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[lu]}constructor(t,e,i,r,o,s,a,l,c){this.url=t,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=_l(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=_l(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(i=>i.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${e}')`}},Fm=class extends Rm{url;constructor(t,e){super(e),this.url=t,wE(this,e)}toString(){return oF(this._root)}};R8=new x(""),aF=(()=>{class n{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=de;activateEvents=new z;deactivateEvents=new z;attachEvents=new z;detachEvents=new z;routerOutletData=lT(void 0);parentContexts=u(wl);location=u(Rt);changeDetector=u(mt);inputBinder=u(cu,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:i,previousValue:r}=e.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new w(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new w(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new w(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new w(4013,!1);this._activatedRoute=e;let r=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new yE(e,a,r.injector,this.routerOutletData);this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(i){return new(i||n)};static \u0275dir=j({type:n,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[je]})}return n})(),yE=class{route;childContexts;parent;outletData;constructor(t,e,i,r){this.route=t,this.childContexts=e,this.parent=i,this.outletData=r}get(t,e){return t===vo?this.route:t===wl?this.childContexts:t===R8?this.outletData:this.parent.get(t,e)}},cu=new x(""),DE=(()=>{class n{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:i}=e,r=Lo([i.queryParams,i.params,i.data]).pipe(ze(([o,s,a],l)=>(a=b(b(b({},o),s),a),l===0?N(a):Promise.resolve(a)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(e);return}let s=fT(i.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(e,r)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac})}return n})(),lF=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275cmp=$({type:n,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(i,r){i&1&&ce(0,"router-outlet")},dependencies:[aF],encapsulation:2})}return n})();ou=class{redirectTo;navigationBehaviorOptions;constructor(t,e){this.redirectTo=t,this.navigationBehaviorOptions=e}},cF="ngNavigationCancelingError";L8=(n,t,e,i)=>V(r=>(new vE(t,r.targetRouterState,r.currentRouterState,e,i).activate(n),r)),vE=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,e,i,r,o){this.routeReuseStrategy=t,this.futureState=e,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(t){let e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,t),QC(this.futureState.root),this.activateChildRoutes(e,i,t)}deactivateChildRoutes(t,e,i){let r=pl(e);t.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(t,e,i){let r=t.value,o=e?e.value:null;if(r===o)if(r.component){let s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){let i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,o=pl(t);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);if(i&&i.outlet){let s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,e){let i=e.getContext(t.value.outlet),r=i&&t.value.component?i.children:e,o=pl(t);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(t,e,i){let r=pl(e);t.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new fE(o.value.snapshot))}),t.children.length&&this.forwardEvent(new dE(t.value.snapshot))}activateRoutes(t,e,i){let r=t.value,o=e?e.value:null;if(QC(r),r===o)if(r.component){let s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,i);else if(r.component){let s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),QC(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=r,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,i)}},Lm=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},vl=class{component;route;constructor(t,e){this.component=t,this.route=e}};wm=Symbol("INITIAL_VALUE");su=class{segmentGroup;constructor(t){this.segmentGroup=t||null}},au=class extends Error{urlTree;constructor(t){super(),this.urlTree=t}};_E=class{urlSerializer;urlTree;constructor(t,e){this.urlSerializer=t,this.urlTree=e}lineralizeSegments(t,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),r.numberOfChildren===0)return N(i);if(r.numberOfChildren>1||!r.children[de])return rW(`${t.redirectTo}`);r=r.children[de]}}applyRedirectCommands(t,e,i,r,o){return sW(e,r,o).pipe(V(s=>{if(s instanceof yr)throw new au(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),t,i);if(s[0]==="/")throw new au(a);return a}))}applyRedirectCreateUrlTree(t,e,i,r){let o=this.createSegmentGroup(t,e.root,i,r);return new yr(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){let i={};return Object.entries(t).forEach(([r,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);i[r]=e[a]}else i[r]=o}),i}createSegmentGroup(t,e,i,r){let o=this.createSegments(t,e.segments,i,r),s={};return Object.entries(e.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(t,l,i,r)}),new Oe(o,s)}createSegments(t,e,i,r){return e.map(o=>o.path[0]===":"?this.findPosParam(t,o,r):this.findOrReturn(o,i))}findPosParam(t,e,i){let r=i[e.path.substring(1)];if(!r)throw new w(4001,!1);return r}findOrReturn(t,e){let i=0;for(let r of e){if(r.path===t.path)return e.splice(i),r;i++}return t}};bE={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};xE=class{};mW=31,CE=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,e,i,r,o,s,a){this.injector=t,this.configLoader=e,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new _E(this.urlSerializer,this.urlTree)}noMatchError(t){return new w(4002,`'${t.segmentGroup}'`)}recognize(){let t=UN(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(V(({children:e,rootSnapshot:i})=>{let r=new wn(i,e),o=new Fm("",r),s=b8(i,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(t){let e=new yl([],Object.freeze({}),Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),de,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,de,e).pipe(V(i=>({children:i,rootSnapshot:e})),an(i=>{if(i instanceof au)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof su?this.noMatchError(i):i}))}processSegmentGroup(t,e,i,r,o){return i.segments.length===0&&i.hasChildren()?this.processChildren(t,e,i,o):this.processSegment(t,e,i,i.segments,r,!0,o).pipe(V(s=>s instanceof wn?[s]:[]))}processChildren(t,e,i,r){let o=[];for(let s of Object.keys(i.children))s==="primary"?o.unshift(s):o.push(s);return Pe(o).pipe(Sn(s=>{let a=i.children[s],l=T8(e,s);return this.processSegmentGroup(t,l,a,s,r)}),cy((s,a)=>(s.push(...a),s)),Mr(null),ly(),Ke(s=>{if(s===null)return hl(i);let a=mF(s);return gW(a),N(a)}))}processSegment(t,e,i,r,o,s,a){return Pe(e).pipe(Sn(l=>this.processSegmentAgainstRoute(l._injector??t,e,l,i,r,o,s,a).pipe(an(c=>{if(c instanceof su)return N(null);throw c}))),Bi(l=>!!l),an(l=>{if(fF(l))return hW(i,r,o)?N(new xE):hl(i);throw l}))}processSegmentAgainstRoute(t,e,i,r,o,s,a,l){return ii(i)!==s&&(s===de||!Pm(r,o,i))?hl(r):i.redirectTo===void 0?this.matchSegmentAgainstRoute(t,r,i,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,r,e,i,o,s,l):hl(r)}expandSegmentAgainstRouteUsingRedirect(t,e,i,r,o,s,a){let{matched:l,parameters:c,consumedSegments:d,positionalParamSegments:h,remainingSegments:m}=pF(e,r,o);if(!l)return hl(e);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>mW&&(this.allowRedirects=!1));let p=new yl(o,c,Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,HN(r),ii(r),r.component??r._loadedComponent??null,r,zN(r)),g=Nm(p,a,this.paramsInheritanceStrategy);return p.params=Object.freeze(g.params),p.data=Object.freeze(g.data),this.applyRedirects.applyRedirectCommands(d,r.redirectTo,h,p,t).pipe(ze(E=>this.applyRedirects.lineralizeSegments(r,E)),Ke(E=>this.processSegment(t,i,e,E.concat(m),s,!1,a)))}matchSegmentAgainstRoute(t,e,i,r,o,s){let a=aW(e,i,r,t,this.urlSerializer);return i.path==="**"&&(e.children={}),a.pipe(ze(l=>l.matched?(t=i._injector??t,this.getChildConfig(t,i,r).pipe(ze(({routes:c})=>{let d=i._loadedInjector??t,{parameters:h,consumedSegments:m,remainingSegments:p}=l,g=new yl(m,h,Object.freeze(b({},this.urlTree.queryParams)),this.urlTree.fragment,HN(i),ii(i),i.component??i._loadedComponent??null,i,zN(i)),y=Nm(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(y.params),g.data=Object.freeze(y.data);let{segmentGroup:E,slicedSegments:D}=UN(e,m,p,c);if(D.length===0&&E.hasChildren())return this.processChildren(d,c,E,g).pipe(V(he=>new wn(g,he)));if(c.length===0&&D.length===0)return N(new wn(g,[]));let k=ii(i)===o;return this.processSegment(d,c,E,D,k?de:o,!0,g).pipe(V(he=>new wn(g,he instanceof wn?[he]:[])))}))):hl(e)))}getChildConfig(t,e,i){return e.children?N({routes:e.children,injector:t}):e.loadChildren?e._loadedRoutes!==void 0?N({routes:e._loadedRoutes,injector:e._loadedInjector}):nW(t,e,i,this.urlSerializer).pipe(Ke(r=>r?this.configLoader.loadChildren(t,e).pipe(Fe(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):oW(e))):N({routes:[],injector:t})}};yF=(()=>{class n{buildTitle(e){let i,r=e.root;for(;r!==void 0;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===de);return i}getResolvedTitleForRoute(e){return e.data[lu]}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:()=>u(EW),providedIn:"root"})}return n})(),EW=(()=>{class n extends yF{title;constructor(e){super(),this.title=e}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i)}static \u0275fac=function(i){return new(i||n)(S(WT))};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),js=new x("",{providedIn:"root",factory:()=>({})}),uu=new x(""),jm=(()=>{class n{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=u(xb);loadComponent(e,i){if(this.componentLoaders.get(i))return this.componentLoaders.get(i);if(i._loadedComponent)return N(i._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(i);let r=_r(xt(e,()=>i.loadComponent())).pipe(V(vF),ze(_F),Fe(s=>{this.onLoadEndListener&&this.onLoadEndListener(i),i._loadedComponent=s}),ln(()=>{this.componentLoaders.delete(i)})),o=new ea(r,()=>new M).pipe(Js());return this.componentLoaders.set(i,o),o}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return N({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let o=wW(i,this.compiler,e,this.onLoadEndListener).pipe(ln(()=>{this.childrenLoaders.delete(i)})),s=new ea(o,()=>new M).pipe(Js());return this.childrenLoaders.set(i,s),s}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();IE=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:()=>u(SW),providedIn:"root"})}return n})(),SW=(()=>{class n{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),AE=new x(""),TE=new x("");ME=new x(""),Vm=(()=>{class n{currentNavigation=Ae(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new M;transitionAbortWithErrorSubject=new M;configLoader=u(jm);environmentInjector=u($e);destroyRef=u(bn);urlSerializer=u(Cl);rootContexts=u(wl);location=u(wi);inputBindingEnabled=u(cu,{optional:!0})!==null;titleStrategy=u(yF);options=u(js,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=u(IE);createViewTransition=u(AE,{optional:!0});navigationErrorHandler=u(ME,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>N(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=r=>this.events.next(new aE(r)),i=r=>this.events.next(new lE(r));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let i=++this.navigationId;pt(()=>{this.transitions?.next(J(b({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:i}))})}setupNavigations(e){return this.transitions=new at(null),this.transitions.pipe(ue(i=>i!==null),ze(i=>{let r=!1;return N(i).pipe(ze(o=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",mn.SupersededByNewNavigation),Vt;this.currentTransition=i,this.currentNavigation.set({id:o.id,initialUrl:o.rawUrl,extractedUrl:o.extractedUrl,targetBrowserUrl:typeof o.extras.browserUrl=="string"?this.urlSerializer.parse(o.extras.browserUrl):o.extras.browserUrl,trigger:o.source,extras:o.extras,previousNavigation:this.lastSuccessfulNavigation?J(b({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>o.abortController.abort()});let s=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),a=o.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!s&&a!=="reload")return this.events.next(new vr(o.id,this.urlSerializer.serialize(o.rawUrl),"",eu.IgnoredSameUrlNavigation)),o.resolve(!1),Vt;if(this.urlHandlingStrategy.shouldProcessUrl(o.rawUrl))return N(o).pipe(ze(l=>(this.events.next(new Ps(l.id,this.urlSerializer.serialize(l.extractedUrl),l.source,l.restoredState)),l.id!==this.navigationId?Vt:Promise.resolve(l))),vW(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),Fe(l=>{i.targetSnapshot=l.targetSnapshot,i.urlAfterRedirects=l.urlAfterRedirects,this.currentNavigation.update(d=>(d.finalUrl=l.urlAfterRedirects,d));let c=new Mm(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(o.currentRawUrl)){let{id:l,extractedUrl:c,source:d,restoredState:h,extras:m}=o,p=new Ps(l,this.urlSerializer.serialize(c),d,h);this.events.next(p);let g=rF(this.rootComponentType).snapshot;return this.currentTransition=i=J(b({},o),{targetSnapshot:g,urlAfterRedirects:c,extras:J(b({},m),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(y=>(y.finalUrl=c,y)),N(i)}else return this.events.next(new vr(o.id,this.urlSerializer.serialize(o.extractedUrl),"",eu.IgnoredByUrlHandlingStrategy)),o.resolve(!1),Vt}),Fe(o=>{let s=new iE(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(s)}),V(o=>(this.currentTransition=i=J(b({},o),{guards:P8(o.targetSnapshot,o.currentSnapshot,this.rootContexts)}),i)),K8(this.environmentInjector,o=>this.events.next(o)),Fe(o=>{if(i.guardsResult=o.guardsResult,o.guardsResult&&typeof o.guardsResult!="boolean")throw km(this.urlSerializer,o.guardsResult);let s=new rE(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot,!!o.guardsResult);this.events.next(s)}),ue(o=>o.guardsResult?!0:(this.cancelNavigationTransition(o,"",mn.GuardRejected),!1)),ZC(o=>{if(o.guards.canActivateChecks.length!==0)return N(o).pipe(Fe(s=>{let a=new oE(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),ze(s=>{let a=!1;return N(s).pipe(_W(this.paramsInheritanceStrategy,this.environmentInjector),Fe({next:()=>a=!0,complete:()=>{a||this.cancelNavigationTransition(s,"",mn.NoDataFromResolver)}}))}),Fe(s=>{let a=new sE(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}))}),ZC(o=>{let s=a=>{let l=[];if(a.routeConfig?.loadComponent){let c=El(a)??this.environmentInjector;l.push(this.configLoader.loadComponent(c,a.routeConfig).pipe(Fe(d=>{a.component=d}),V(()=>{})))}for(let c of a.children)l.push(...s(c));return l};return Lo(s(o.targetSnapshot.root)).pipe(Mr(null),He(1))}),ZC(()=>this.afterPreactivation()),ze(()=>{let{currentSnapshot:o,targetSnapshot:s}=i,a=this.createViewTransition?.(this.environmentInjector,o.root,s.root);return a?Pe(a).pipe(V(()=>i)):N(i)}),V(o=>{let s=O8(e.routeReuseStrategy,o.targetSnapshot,o.currentRouterState);return this.currentTransition=i=J(b({},o),{targetRouterState:s}),this.currentNavigation.update(a=>(a.targetRouterState=s,a)),i}),Fe(()=>{this.events.next(new iu)}),L8(this.rootContexts,e.routeReuseStrategy,o=>this.events.next(o),this.inputBindingEnabled),He(1),Ee(new Z(o=>{let s=i.abortController.signal,a=()=>o.next();return s.addEventListener("abort",a),()=>s.removeEventListener("abort",a)}).pipe(ue(()=>!r&&!i.targetRouterState),Fe(()=>{this.cancelNavigationTransition(i,i.abortController.signal.reason+"",mn.Aborted)}))),Fe({next:o=>{r=!0,this.lastSuccessfulNavigation=pt(this.currentNavigation),this.events.next(new ri(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects))),this.titleStrategy?.updateTitle(o.targetRouterState.snapshot),o.resolve(!0)},complete:()=>{r=!0}}),Ee(this.transitionAbortWithErrorSubject.pipe(Fe(o=>{throw o}))),ln(()=>{r||this.cancelNavigationTransition(i,"",mn.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),an(o=>{if(this.destroyed)return i.resolve(!1),Vt;if(r=!0,uF(o))this.events.next(new gr(i.id,this.urlSerializer.serialize(i.extractedUrl),o.message,o.cancellationCode)),k8(o)?this.events.next(new bl(o.url,o.navigationBehaviorOptions)):i.resolve(!1);else{let s=new tu(i.id,this.urlSerializer.serialize(i.extractedUrl),o,i.targetSnapshot??void 0);try{let a=xt(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(a instanceof ou){let{message:l,cancellationCode:c}=km(this.urlSerializer,a);this.events.next(new gr(i.id,this.urlSerializer.serialize(i.extractedUrl),l,c)),this.events.next(new bl(a.redirectTo,a.navigationBehaviorOptions))}else throw this.events.next(s),o}catch(a){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(a)}}return Vt}))}))}cancelNavigationTransition(e,i,r){let o=new gr(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=pt(this.currentNavigation),r=i?.targetBrowserUrl??i?.extractedUrl;return e.toString()!==r?.toString()&&!i?.extras.skipLocationChange}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();TW=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:()=>u(MW),providedIn:"root"})}return n})(),EE=class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}},MW=(()=>{class n extends EE{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ve(n)))(r||n)}})();static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),xF=(()=>{class n{urlSerializer=u(Cl);options=u(js,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=u(wi);urlHandlingStrategy=u(IE);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new yr;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:i,targetBrowserUrl:r}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,i):i,s=r??o;return s instanceof yr?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:e,finalUrl:i,initialUrl:r}){i&&e?(this.currentUrlTree=i,this.rawUrlTree=this.urlHandlingStrategy.merge(i,r),this.routerState=e):this.rawUrlTree=r}routerState=rF(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:()=>u(RW),providedIn:"root"})}return n})(),RW=(()=>{class n extends xF{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{i.type==="popstate"&&setTimeout(()=>{e(i.url,i.state,"popstate")})})}handleRouterEvent(e,i){e instanceof Ps?this.updateStateMemento():e instanceof vr?this.commitTransition(i):e instanceof Mm?this.urlUpdateStrategy==="eager"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof iu?(this.commitTransition(i),this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(i),i)):e instanceof gr&&e.code!==mn.SupersededByNewNavigation&&e.code!==mn.Redirect?this.restoreHistory(i):e instanceof tu?this.restoreHistory(i,!0):e instanceof ri&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:i,id:r}){let{replaceUrl:o,state:s}=i;if(this.location.isCurrentPathEqualTo(e)||o){let a=this.browserPageId,l=b(b({},s),this.generateNgRouterState(r,a));this.location.replaceState(e,"",l)}else{let a=b(b({},s),this.generateNgRouterState(r,this.browserPageId+1));this.location.go(e,"",a)}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let r=this.browserPageId,o=this.currentPageId-r;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ve(n)))(r||n)}})();static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();OW={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},NW={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},_o=(()=>{class n{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=u(Fh);stateManager=u(xF);options=u(js,{optional:!0})||{};pendingTasks=u(yi);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=u(Vm);urlSerializer=u(Cl);location=u(wi);urlHandlingStrategy=u(IE);injector=u($e);_events=new M;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=u(TW);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=u(uu,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!u(cu,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new Ce;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(i=>{try{let r=this.navigationTransitions.currentTransition,o=pt(this.navigationTransitions.currentNavigation);if(r!==null&&o!==null){if(this.stateManager.handleRouterEvent(i,o),i instanceof gr&&i.code!==mn.Redirect&&i.code!==mn.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof ri)this.navigated=!0;else if(i instanceof bl){let s=i.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),l=b({browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||this.urlUpdateStrategy==="eager"||AW(r.source)},s);this.scheduleNavigation(a,gl,null,l,{resolve:r.resolve,reject:r.reject,promise:r.promise})}}I8(i)&&this._events.next(i)}catch(r){this.navigationTransitions.transitionAbortWithErrorSubject.next(r)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),gl,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i,r)=>{this.navigateToSyncWithBrowser(e,r,i)})}navigateToSyncWithBrowser(e,i,r){let o={replaceUrl:!0},s=r?.navigationId?r:null;if(r){let l=b({},r);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(o.state=l)}let a=this.parseUrl(e);this.scheduleNavigation(a,i,s,o).catch(l=>{this.disposed||this.injector.get(dn)(l)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return pt(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(SE),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){let{relativeTo:r,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:s,d=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":d=b(b({},this.currentUrlTree.queryParams),o);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}d!==null&&(d=this.removeEmptyProps(d));let h;try{let m=r?r.snapshot:this.routerState.snapshot.root;h=eF(m)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),h=this.currentUrlTree.root}return tF(h,e,d,c??null)}navigateByUrl(e,i={skipLocationChange:!1}){let r=yo(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,gl,null,i)}navigate(e,i={skipLocationChange:!1}){return FW(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,i){let r;if(i===!0?r=b({},OW):i===!1?r=b({},NW):r=i,yo(e))return PN(this.currentUrlTree,e,r);let o=this.parseUrl(e);return PN(this.currentUrlTree,o,r)}removeEmptyProps(e){return Object.entries(e).reduce((i,[r,o])=>(o!=null&&(i[r]=o),i),{})}scheduleNavigation(e,i,r,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((h,m)=>{a=h,l=m});let d=this.pendingTasks.add();return RE(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(h=>Promise.reject(h))}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})()});function LW(n){return n.routerState.root}function hu(n,t){return{\u0275kind:n,\u0275providers:t}}function PW(){let n=u(G);return t=>{let e=n.get(Ut);if(t!==e.components[0])return;let i=n.get(_o),r=n.get(DF);n.get(NE)===1&&i.initialNavigation(),n.get(AF,null,{optional:!0})?.setUpPreloading(),n.get(wF,null,{optional:!0})?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}function SF(){let n=[{provide:_h,useValue:!0},{provide:NE,useValue:0},kh(()=>{let t=u(G);return t.get(jb,Promise.resolve()).then(()=>new Promise(i=>{let r=t.get(_o),o=t.get(DF);RE(r,()=>{i(!0)}),t.get(Vm).afterPreactivation=()=>(i(!0),o.closed?N(void 0):o),r.initialNavigation()}))})];return hu(2,n)}function IF(){let n=[kh(()=>{u(_o).setUpLocationChangeListener()}),{provide:NE,useValue:2}];return hu(3,n)}function TF(n){return hu(0,[{provide:AF,useExisting:EF},{provide:fu,useExisting:n}])}function MF(){return hu(8,[DE,{provide:cu,useExisting:DE}])}function RF(n){Rn("NgRouterViewTransitions");let t=[{provide:AE,useValue:bF},{provide:TE,useValue:b({skipNextTransition:!!n?.skipInitialTransition},n)}];return hu(9,t)}function jW(){return{provide:wF,useFactory:()=>{let n=u(ET),t=u(P),e=u(js),i=u(Vm),r=u(Cl);return e.scrollOffset&&n.setOffset(e.scrollOffset),new kW(r,i,n,t,e)}}}function VW(){return{provide:Xn,useClass:Ub}}function BW(){return{provide:Xn,useClass:Gh}}function UW(n){return[n.initialNavigation==="disabled"?IF().\u0275providers:[],n.initialNavigation==="enabledBlocking"?SF().\u0275providers:[]]}function HW(){return[{provide:OE,useFactory:PW},{provide:Ta,multi:!0,useExisting:OE}]}var Bm,fu,EF,wF,kW,DF,NE,AF,OF,FE,OE,NF=f(()=>{"use strict";Le();Le();_();_();CF();we();it();Bm=(()=>{class n{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=Ae(null);get href(){return pt(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new M;applicationErrorHandler=u(dn);options=u(js,{optional:!0});constructor(e,i,r,o,s,a){this.router=e,this.route=i,this.tabIndexAttribute=r,this.renderer=o,this.el=s,this.locationStrategy=a,this.reactiveHref.set(u(new Zr("href"),{optional:!0}));let l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area"||!!(typeof customElements=="object"&&customElements.get(l)?.observedAttributes?.includes?.("href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary()}subscribeToNavigationEventsIfNecessary(){if(this.subscription!==void 0||!this.isAnchorElement)return;let e=this.preserveFragment,i=r=>r==="merge"||r==="preserve";e||=i(this.queryParamsHandling),e||=!this.queryParamsHandling&&!i(this.options?.defaultQueryParamsHandling),e&&(this.subscription=this.router.events.subscribe(r=>{r instanceof ri&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(yo(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,i,r,o,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||i||r||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,l)?.catch(c=>{this.applicationErrorHandler(c)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.reactiveHref.set(e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null)}applyAttributeValue(e,i){let r=this.renderer,o=this.el.nativeElement;i!==null?r.setAttribute(o,e,i):r.removeAttribute(o,e)}get urlTree(){return this.routerLinkInput===null?null:yo(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(i){return new(i||n)(T(_o),T(vo),Dc("tabindex"),T(rt),T(H),T(Xn))};static \u0275dir=j({type:n,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(i,r){i&1&&te("click",function(s){return r.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),i&2&&De("href",r.reactiveHref(),S_)("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Ie],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Ie],replaceUrl:[2,"replaceUrl","replaceUrl",Ie],routerLink:"routerLink"},features:[je]})}return n})(),fu=class{},EF=(()=>{class n{router;injector;preloadingStrategy;loader;subscription;constructor(e,i,r,o){this.router=e,this.injector=i,this.preloadingStrategy=r,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(ue(e=>e instanceof ri),Sn(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){let r=[];for(let o of i){o.providers&&!o._injector&&(o._injector=Aa(o.providers,e,`Route: ${o.path}`));let s=o._injector??e,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&r.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&r.push(this.processRoutes(a,o.children??o._loadedRoutes))}return Pe(r).pipe(Tr())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let r;i.loadChildren&&i.canLoad===void 0?r=this.loader.loadChildren(e,i):r=N(null);let o=r.pipe(Ke(s=>s===null?N(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));if(i.loadComponent&&!i._loadedComponent){let s=this.loader.loadComponent(e,i);return Pe([o,s]).pipe(Tr())}else return o})}static \u0275fac=function(i){return new(i||n)(S(_o),S($e),S(fu),S(jm))};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),wF=new x(""),kW=(()=>{class n{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=gl;restoredId=0;store={};constructor(e,i,r,o,s={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=r,this.zone=o,this.options=s,s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Ps?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof ri?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof vr&&e.code===eu.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof nu&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.zone.runOutsideAngular(()=>Er(this,null,function*(){yield new Promise(r=>{setTimeout(r),typeof requestAnimationFrame<"u"&&requestAnimationFrame(r)}),this.zone.run(()=>{this.transitions.events.next(new nu(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(i){Rc()};static \u0275prov=v({token:n,factory:n.\u0275fac})}return n})();DF=new x("",{factory:()=>new M}),NE=new x("",{providedIn:"root",factory:()=>1});AF=new x("");OF=[wi,{provide:Cl,useClass:Ls},_o,wl,{provide:vo,useFactory:LW,deps:[_o]},jm,[]],FE=(()=>{class n{constructor(){}static forRoot(e,i){return{ngModule:n,providers:[OF,[],{provide:uu,multi:!0,useValue:e},[],i?.errorHandler?{provide:ME,useValue:i.errorHandler}:[],{provide:js,useValue:i||{}},i?.useHash?VW():BW(),jW(),i?.preloadingStrategy?TF(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?UW(i):[],i?.bindToComponentInputs?MF().\u0275providers:[],i?.enableViewTransitions?RF().\u0275providers:[],HW()]}}static forChild(e){return{ngModule:n,providers:[{provide:uu,multi:!0,useValue:e}]}}static \u0275fac=function(i){return new(i||n)};static \u0275mod=L({type:n});static \u0275inj=F({})}return n})();OE=new x("")});var kE=f(()=>{"use strict";NF();});var $W,FF,LE=f(()=>{"use strict";_();_();En();co();Dt();$W=["clearButton"],FF=(()=>{let t=class t{constructor(){this.tldClick=new z,this.ariaCode="CLOSE_BUTTON"}clicked(){this.tldClick.emit(null)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=$({type:t,selectors:[["tld-close-button"]],viewQuery:function(r,o){if(r&1&&Be($W,5),r&2){let s;be(s=xe())&&(o.clearButton=s.first)}},inputs:{ariaCode:"ariaCode",disabled:"disabled",tooltip:"tooltip"},outputs:{tldClick:"tldClick"},standalone:!1,decls:6,vars:7,consts:[["clearButton",""],["mat-icon-button","",3,"click","matTooltip","disabled"],[1,"material-icons"]],template:function(r,o){if(r&1){let s=Re();I(0,"button",1,0),ae(2,"translate"),ae(3,"translate"),te("click",function(){return ve(s),_e(o.clicked())}),I(4,"span",2),se(5," close "),R()()}r&2&&(A("matTooltip",pe(2,3,o.tooltip))("disabled",o.disabled),De("aria-label",pe(3,5,"ARIA_LABELS."+o.ariaCode)))},dependencies:[vs,fr,wt],encapsulation:2});let n=t;return n})()});var kF,LF=f(()=>{"use strict";Le();LE();En();Dt();co();_();kF=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=L({type:t}),t.\u0275inj=F({imports:[hn,so,Di,As]});let n=t;return n})()});function qW(n,t){if(n&1&&(ce(0,"p",10),ae(1,"translate")),n&2){let e=W();A("innerHtml",ds(1,1,e.message.title,e.message.localizationParams),Ci)}}function KW(n,t){if(n&1&&(ce(0,"span",12),ae(1,"translate")),n&2){let e=W(2);A("innerHtml",ds(1,1,e.message.support,e.message.localizationParams),Ci)}}function YW(n,t){if(n&1&&(I(0,"p",11),ce(1,"span",12),ae(2,"translate"),Te(3,KW,2,4,"span",13),R()),n&2){let e=W();C(),A("innerHtml",ds(2,2,e.message.body,e.message.localizationParams),Ci),C(2),A("ngIf",e.message.support)}}function QW(n,t){if(n&1&&(I(0,"mat-icon"),se(1),R()),n&2){let e=W(2);C(),ht(e.message.callbackButtonIcon)}}function ZW(n,t){if(n&1){let e=Re();I(0,"button",14),te("click",function(){ve(e);let r=W();return _e(r.message==null?null:r.message.callbackButtonClick())}),Te(1,QW,2,1,"mat-icon",15),se(2),ae(3,"translate"),R()}if(n&2){let e=W();C(),A("ngIf",e.message.callbackButtonIcon),C(),Je(" ",pe(3,2,e.message.callbackButtonText)," ")}}function XW(n,t){if(n&1){let e=Re();I(0,"tld-close-button",16),te("tldClick",function(){ve(e);let r=W();return _e(r.closeClick())}),R()}if(n&2){let e=W();ne("no-top-margin",!e.message.title||!e.message.body)}}function JW(n,t){if(n&1){let e=Re();I(0,"button",21),te("click",function(){ve(e);let r=W(2);return _e(r.buttonClick())}),se(1),ae(2,"translate"),R()}if(n&2){let e=W(2);C(),Je("",pe(2,1,e.message.buttonText)," ")}}function e4(n,t){if(n&1){let e=Re();I(0,"a",22),te("click",function(){ve(e);let r=W(2);return _e(r.linkClick())}),se(1),ae(2,"translate"),R()}if(n&2){let e=W(2);De("href",e.message.linkHref,Eh),C(),ht(pe(2,2,e.message.linkText))}}function t4(n,t){if(n&1){let e=Re();I(0,"a",23),te("click",function(){ve(e);let r=W(2);return _e(r.linkClick())}),se(1),ae(2,"translate"),R()}if(n&2){let e=W(2);A("routerLink",yb(4,WW,e.message.routerLink)),C(),ht(pe(2,2,e.message.linkText))}}function n4(n,t){if(n&1&&(I(0,"div",17),Te(1,JW,3,3,"button",18)(2,e4,3,4,"a",19)(3,t4,3,6,"a",20),R()),n&2){let e=W();C(),A("ngIf",e.message.buttonText),C(),A("ngIf",e.message.linkHref&&e.message.linkText),C(),A("ngIf",e.message.routerLink&&e.message.linkText)}}var WW,PF,Um=f(()=>{"use strict";_();_();Le();ym();ll();LE();En();kE();dr();Dt();WW=n=>[n];PF=(()=>{let t=class t{constructor(){this.buttonClicked=new z,this.closeClicked=new z,this.linkClicked=new z,this.iconNames={BASIC:"info",INFO:"info",ERROR:"error",SUCCESS:"check_circle",WARNING:"info"}}ngOnInit(){this.className=this.message.type.toLocaleLowerCase()}buttonClick(){this.buttonClicked.next(null)}closeClick(){this.closeClicked.next(null)}linkClick(){this.linkClicked.next(null)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=$({type:t,selectors:[["lib-tld-notification-message"]],inputs:{message:"message",inline:"inline"},outputs:{buttonClicked:"buttonClicked",closeClicked:"closeClicked",linkClicked:"linkClicked"},standalone:!1,decls:12,vars:13,consts:[["fxLayout","row","fxLayoutAlign","start start","aria-live","polite","fxLayout","row",1,"notification-message-container","tld-default-border",3,"ngClass.lt-md"],[1,"material-icons-outlined","message-icon"],["fxFlex","",1,"items-container"],["fxLayout","row"],["fxFlex","",1,"text-container"],["class","message-title",3,"innerHtml",4,"ngIf"],["class","message-body",4,"ngIf"],["color","accent","mat-stroked-button","","class","callback-button",3,"click",4,"ngIf"],["class","close-button",3,"no-top-margin","tldClick",4,"ngIf"],["fxLayout","row","fxLayoutGap","16px","fxLayoutAlign","start center",4,"ngIf"],[1,"message-title",3,"innerHtml"],[1,"message-body"],[3,"innerHtml"],[3,"innerHtml",4,"ngIf"],["color","accent","mat-stroked-button","",1,"callback-button",3,"click"],[4,"ngIf"],[1,"close-button",3,"tldClick"],["fxLayout","row","fxLayoutGap","16px","fxLayoutAlign","start center"],["class","message-action-button","color","accent","mat-flat-button","",3,"click",4,"ngIf"],["class","message-action-link",3,"click",4,"ngIf"],["class","message-action-link",3,"routerLink","click",4,"ngIf"],["color","accent","mat-flat-button","",1,"message-action-button",3,"click"],[1,"message-action-link",3,"click"],[1,"message-action-link",3,"click","routerLink"]],template:function(r,o){r&1&&(I(0,"div")(1,"div",0)(2,"span",1),se(3),R(),I(4,"div",2)(5,"div",3)(6,"div",4),Te(7,qW,2,4,"p",5)(8,YW,4,5,"p",6),R(),Te(9,ZW,4,4,"button",7)(10,XW,1,2,"tld-close-button",8),R(),Te(11,n4,4,3,"div",9),R()()()),r&2&&(Yn(Nc("notification-message ",o.className)),C(),ne("inline",o.inline),A("ngClass.lt-md","mobile"),De("id",o.message.id),C(2),Je(" ",o.iconNames[o.message.type]," "),C(4),A("ngIf",o.message.title),C(),A("ngIf",o.message.body),C(),A("ngIf",o.message.callbackButtonText),C(),A("ngIf",!o.message.hideClose&&!o.message.callbackButtonText),C(),A("ngIf",o.message.buttonText||o.message.linkHref||o.message.routerLink))},dependencies:[Xi,rN,tN,XO,QO,al,FF,Mi,Bm,Ri,wt],styles:["[_nghost-%COMP%]{display:inline-block;width:100%}.close-button[_ngcontent-%COMP%]{position:absolute;top:.2em!important;right:.2em!important}.no-top-margin[_ngcontent-%COMP%]{top:0}.text-container[_ngcontent-%COMP%]{margin-right:45px}.notification-message[_ngcontent-%COMP%]{position:relative}.notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--base-100)}.notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--base-40)}.notification-message.basic[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--info-light)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{color:var(--info-dark)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--info-primary)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{color:var(--info-dark)}.notification-message.info[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--error-light)}.notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%], .notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--error-dark)}.notification-message.error[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--warning-light)}.notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%], .notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--warning-dark)}.notification-message.warning[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{background-color:var(--success-light)}.notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%], .notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%], .notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-icon[_ngcontent-%COMP%]{color:var(--success-dark)}.notification-message.success[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .message-action-button[_ngcontent-%COMP%]{background-color:var(--base-40)}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]{border-radius:4px}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]:has(.message-title+.message-body) .message-title[_ngcontent-%COMP%]{font-weight:600}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%]{padding:.6em .4em!important;border-radius:0}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%]{margin-left:.4em!important}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]{margin-top:.2em!important}.notification-message[_ngcontent-%COMP%] .notification-message-container.mobile[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%] + .message-body[_ngcontent-%COMP%]{margin-top:0!important}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]:first-child{line-height:1.5em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%]{margin:0;font-size:16px;line-height:24px}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .message-body[_ngcontent-%COMP%]{margin:0}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline){padding:1em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .items-container[_ngcontent-%COMP%]{margin-left:1em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .message-title[_ngcontent-%COMP%]{font-size:1.25em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .message-body[_ngcontent-%COMP%]{line-height:1.5em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%]{padding:.75em 1em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%]{margin-left:.75em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]{margin-top:.5em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%] + .message-body[_ngcontent-%COMP%]{margin-top:.2em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%]{font-size:1em}"]});let n=t;return n})()});var jF,VF=f(()=>{"use strict";Le();vm();En();kE();Dt();LF();Um();dr();_();jF=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=L({type:t}),t.\u0275inj=F({imports:[hn,cl,kF,so,Di,FE,$p]});let n=t;return n})()});var Vs,PE=f(()=>{"use strict";Vs=(function(n){return n.BASIC="BASIC",n.INFO="INFO",n.WARNING="WARNING",n.SUCCESS="SUCCESS",n.ERROR="ERROR",n})(Vs||{})});var BF=f(()=>{"use strict";PE()});var UF=f(()=>{"use strict"});var HF=f(()=>{"use strict";UF()});var jE=f(()=>{"use strict";VF();Um();BF();HF()});var VE=f(()=>{"use strict"});var zF=f(()=>{"use strict";jE();VE()});var $F=f(()=>{"use strict"});var GF=f(()=>{"use strict";$F()});var WF=f(()=>{"use strict";VE()});var qF=f(()=>{"use strict";zF();GF();WF()});var KF=f(()=>{"use strict"});var YF=f(()=>{"use strict"});var QF=f(()=>{"use strict"});var ZF=f(()=>{"use strict"});var XF=f(()=>{"use strict"});var JF=f(()=>{"use strict"});var ek=f(()=>{"use strict"});var tk=f(()=>{"use strict"});var Bs,nk=f(()=>{"use strict";qC();Bs=class{static isMobileRes(){return window.innerWidth<IN.SMALL}}});var BE=f(()=>{"use strict"});var ik=f(()=>{"use strict";bo();BE()});var rk=f(()=>{"use strict";BE()});var UE=f(()=>{"use strict";ik();rk()});var ok=f(()=>{"use strict";UE()});var sk=f(()=>{"use strict"});var ak=f(()=>{"use strict"});var bo=f(()=>{"use strict";KF();YF();QF();ZF();XF();JF();ek();tk();nk();ok();sk();ak()});var lk=f(()=>{"use strict"});var ck=f(()=>{"use strict"});var dk=f(()=>{"use strict"});var uk=f(()=>{"use strict"});var fk=f(()=>{"use strict"});var hk=f(()=>{"use strict"});var pk=f(()=>{"use strict"});var mk=f(()=>{"use strict"});var gk=f(()=>{"use strict";lk();ck();dk();uk();fk();hk();pk();mk()});var yk=f(()=>{"use strict"});var vk=f(()=>{"use strict"});var _k=f(()=>{"use strict";vk()});var bk=f(()=>{"use strict";bo();gk();yk();_k()});var xk=f(()=>{"use strict";bk()});var Ck=f(()=>{"use strict";xk()});var HE=f(()=>{"use strict"});var Ek=f(()=>{"use strict";HE()});var wk=f(()=>{"use strict";Ek();HE()});var zE=f(()=>{"use strict"});var Dk=f(()=>{"use strict";zE()});var Sk=f(()=>{"use strict";Dk();zE()});var $E=f(()=>{"use strict"});var Ik=f(()=>{"use strict";$E()});var Ak=f(()=>{"use strict";Ik();$E()});var Tk,GE=f(()=>{"use strict";_();Dt();Tk=(()=>{let t=class t{constructor(i){this.translate=i,this.languagesLocalizationKey="LANGUAGES",this.translationCache=new Map,this.localeSameRegions={nb:["no"],et:["ee"],sl:["si"],sv:["se"],uk:["ua"],en:["gb","us"]},this.translations={en:{mt:"Maltese"},lv:{mt:"Maltie\u0161u"},lt:{mt:"Maltie\u010Di\u0173"},et:{mt:"Malta"}},this.translate.onLangChange.subscribe(()=>{this.translationCache.clear(),this.lastUiLanguage=this.translate.currentLang}),this.lastUiLanguage=this.translate.currentLang}transform(i,r=!1){if(!i)return"";this.lastUiLanguage!==this.translate.currentLang&&(this.translationCache.clear(),this.lastUiLanguage=this.translate.currentLang);let o=`${i}:${r}`;if(this.translationCache.has(o))return this.translationCache.get(o);let s=this.getLanguageFromLanguageCode(i),l=this.isLanguageCodeSameAsRegion(i)?s:i,c=this.getTranslation(l,r);return this.translationCache.set(o,c),c}getTranslation(i,r){let s=this.translate.instant(this.languagesLocalizationKey)[i.toUpperCase().replace("-","_")]??this.getLanguageTranslationFromLanguageCode(this.translate.currentLang,i);return r&&(s=s.split("(")[0].trim()),s}getLanguageTranslationFromLanguageCode(i,r){let o=new Intl.DisplayNames([i],{type:"language"}),s=new Intl.DisplayNames([i],{type:"region"}),a,l=this.getLanguageFromLanguageCode(r),c=this.getRegionFromLanguageCode(r);try{let d=o.of(l),h=s.of(c);a=`${d} (${h})`}catch{try{a=o.of(r)}catch{return a=this.translations[i]?.[l]??r,a}}return this.capitalizeFirstLetter(a)}isLanguageCodeSameAsRegion(i){let[r,o,s]=i.split("-");return(r===o?.toLowerCase()||this.localeSameRegions[r]?.includes(o?.toLowerCase()))&&!s}getRegionFromLanguageCode(i){let[r,o,s]=i.split("-");return(s?`${o}-${s}`:`${o}`).toUpperCase()}getLanguageFromLanguageCode(i){return i.split("-")[0].toLowerCase()}capitalizeFirstLetter(i){return i.charAt(0).toUpperCase()+i.slice(1)}};t.\u0275fac=function(r){return new(r||t)(T(rr,16))},t.\u0275pipe=ss({name:"languageTranslate",type:t,pure:!1});let n=t;return n})()});var Mk=f(()=>{"use strict";GE()});var Rk=f(()=>{"use strict";Mk();GE()});var Ok=f(()=>{"use strict"});var Nk=f(()=>{"use strict"});var Fk=f(()=>{"use strict"});var kk=f(()=>{"use strict"});var Lk=f(()=>{"use strict";Ok();Nk();Fk();kk()});var WE=f(()=>{"use strict";Lk()});var Pk=f(()=>{"use strict";WE()});var jk=f(()=>{"use strict";Pk();WE()});var qE=f(()=>{"use strict"});var Vk=f(()=>{"use strict";qE()});var Bk=f(()=>{"use strict";Vk();qE()});var Uk=f(()=>{"use strict";bo()});var Hk=f(()=>{"use strict";Uk()});var KE=f(()=>{"use strict";bo()});var zk=f(()=>{"use strict";KE()});var $k=f(()=>{"use strict";zk();KE()});var Gk=f(()=>{"use strict"});var Wk=f(()=>{"use strict";Gk()});var qk=f(()=>{"use strict";QE()});var Kk=f(()=>{"use strict";Wk();qk()});var Yk=f(()=>{"use strict";bo()});var Qk=f(()=>{"use strict";Yk()});var Zk=f(()=>{"use strict";bo()});var Xk=f(()=>{"use strict";Zk()});var Jk=f(()=>{"use strict";wk();Sk();Ak();Rk();jk();Bk();Hk();$k();Kk();UE();Qk();Xk()});var YE,eL=f(()=>{"use strict";Jk();_();Dt();YE=(()=>{let t=class t{constructor(i){this.translateService=i}getLanguageCodeTranslation(i,r=!1){return new Tk(this.translateService).transform(i,r)}removeRegionFromLanguageCode(i){return i.split("-")[0]}};t.\u0275fac=function(r){return new(r||t)(S(rr))},t.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})()});var QE=f(()=>{"use strict";eL()});var ZE=f(()=>{"use strict"});var tL=f(()=>{"use strict";ZE()});var nL=f(()=>{"use strict"});var iL=f(()=>{"use strict";nL();ZE()});var rL=f(()=>{"use strict";tL();iL()});var XE=f(()=>{"use strict";NN();LN();qF();Ck();QE();rL()});var xo,JE=f(()=>{"use strict";XE();xo=class{static addPlausible(t){let i=new FN().window;if(!i||!t)return;let r="https://plausible.io/js/plausible.js",o=document.createElement("script");o.src=r,o.setAttribute("data-domain",t),document.head.append(o),i.plausible=i.plausible||((...s)=>{(i.plausible.q=i.plausible.q||[]).push(s)})}static customEvent(t,e){let i=window;i?.plausible&&i.plausible(t,{props:e})}}});var ew=f(()=>{"use strict";JE()});var oL=f(()=>{"use strict";ew()});var sL=f(()=>{"use strict"});var aL=f(()=>{"use strict";sL()});var lL=f(()=>{"use strict";JE();ew();oL();aL()});var Hm,cL=f(()=>{"use strict";Hm=(function(n){return n.GENERAL="General",n.PROFESSIONAL="Professional",n.ACADEMIC="Academic",n})(Hm||{})});var Sl,dL=f(()=>{"use strict";_();Sl=new x("LLM_CONFIGURATION_TOKEN")});var uL=f(()=>{"use strict"});var Il=f(()=>{"use strict";dL();uL();bm()});var fL,hL=f(()=>{"use strict";_();Ns();we();PE();Il();_();Ns();fL=(()=>{let t=class t{constructor(i){this.quotaService=i,this.llmConfiguration=u(Sl),this.trialRequestCount=15,this.LLMQuotaLocalStorageKey="LLM_QUOTA"}getRemainingQuota(i){return this.llmConfiguration.useLocalQuota?N(this.setQuotaLocalStorageUsage(i)):this.quotaService.getQuotaUsage().pipe(V(r=>{let o=r.usage.find(s=>s.quotaType===Ye.LLM_REQUESTS||s.quotaType===Ye.LEGACY_LLM_REQUESTS);return o?o.quotaRemaining:this.setQuotaLocalStorageUsage(i)}),an(()=>N(this.setQuotaLocalStorageUsage(i))))}getExceededLimitMessage(i){return{type:Vs.WARNING,body:"ERRORS.MAX_CHAR_LENGTH",localizationParams:{maxCharLength:this.llmConfiguration.maxCharLength,totalSymbols:i}}}getReachedQuotaMessage(){return{type:Vs.ERROR,body:"LLM.ERRORS.QUOTA_LIMIT_REACHED",localizationParams:{subscriptionUrl:this.llmConfiguration.subscriptionUrl}}}getDefaultErrorMessage(){return{type:Vs.ERROR,body:"LLM.ERRORS.DEFAULT",localizationParams:{supportEmail:this.llmConfiguration.supportEmail}}}getRequestTimeoutMessage(i){return{type:Vs.ERROR,body:`LLM.ERRORS.${i}_REQUEST_TIMEOUT`,localizationParams:{supportEmail:this.llmConfiguration.supportEmail}}}setQuotaLocalStorageUsage(i){let r=localStorage.getItem(this.LLMQuotaLocalStorageKey),o=new Date,s={remainingQuota:this.trialRequestCount,lastUsedAt:o};if(r){s=JSON.parse(r);let l=new Date(s.lastUsedAt);(l.getDate()!==o.getDate()||l.getMonth()!==o.getMonth()||l.getFullYear()!==o.getFullYear())&&(s.remainingQuota=this.trialRequestCount),i&&(s.remainingQuota-=1)}return s.lastUsedAt=o,localStorage.setItem(this.LLMQuotaLocalStorageKey,JSON.stringify(s)),s.remainingQuota}};t.\u0275fac=function(r){return new(r||t)(S(DN))},t.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})()});var tw,pL,mL,nw=f(()=>{"use strict";_();_();tw=class{_document;_textarea;constructor(t,e){this._document=e;let i=this._textarea=this._document.createElement("textarea"),r=i.style;r.position="fixed",r.top=r.opacity="0",r.left="-999em",i.setAttribute("aria-hidden","true"),i.value=t,i.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(i)}copy(){let t=this._textarea,e=!1;try{if(t){let i=this._document.activeElement;t.select(),t.setSelectionRange(0,t.value.length),e=this._document.execCommand("copy"),i&&i.focus()}}catch{}return e}destroy(){let t=this._textarea;t&&(t.remove(),this._textarea=void 0)}},pL=(()=>{class n{_document=u(U);constructor(){}copy(e){let i=this.beginCopy(e),r=i.copy();return i.destroy(),r}beginCopy(e){return new tw(e,this._document)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),mL=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=L({type:n});static \u0275inj=F({})}return n})()});var f4,gL,iw=f(()=>{"use strict";_();to();we();_();nw();En();dr();to();co();ll();Dt();f4=["textarea"],gL=(()=>{let t=class t{constructor(i){this.clipboard=i,this.textEditEvent=new z,this.dislikeEvent=new z,this.copyEvent=new z,this.destroy=new M}ngOnInit(){this.textareaControl=new ld(this.text)}ngAfterViewInit(){aa(this.textarea.nativeElement,"keyup").pipe(Fe(i=>{i.ctrlKey&&i.key==="c"&&this.copyEvent.emit()}),Vi(300),Ee(this.destroy)).subscribe(()=>{this.textEditEvent.emit(this.textareaControl.value)})}ngOnChanges(i){i&&i.disabled&&(this.disabled?this.textareaControl?.disable():this.textareaControl?.enable()),i&&i.text&&(this.textareaControl=new ld(this.text))}dislike(){this.dislikeEvent.emit()}copy(){this.clipboard.copy(this.textareaControl.value),this.copyEvent.emit()}ngOnDestroy(){this.destroy.next(null),this.destroy.complete()}};t.\u0275fac=function(r){return new(r||t)(T(pL))},t.\u0275cmp=$({type:t,selectors:[["lib-llm-textarea"]],viewQuery:function(r,o){if(r&1&&Be(f4,5),r&2){let s;be(s=xe())&&(o.textarea=s.first)}},inputs:{text:"text",disabled:"disabled",actionButtonsDisabled:"actionButtonsDisabled"},outputs:{textEditEvent:"textEditEvent",dislikeEvent:"dislikeEvent",copyEvent:"copyEvent"},standalone:!1,features:[je],decls:18,vars:13,consts:[["textarea",""],[1,"llm-wrapper",3,"ngClass.gt-lg"],[1,"llm-textarea-wrapper"],[1,"llm-textarea",3,"formControl"],[1,"llm-textarea-actions"],[1,"material-icons-outlined","llm-eu-data-tooltip",3,"matTooltip"],["mat-icon-button","",3,"click","matTooltip","disabled"],[1,"material-icons-outlined","copy"],["mat-icon-button","",3,"click","disabled","matTooltip"],[1,"material-icons-outlined","dislike"]],template:function(r,o){if(r&1){let s=Re();I(0,"div",1)(1,"div",2)(2,"textarea",3,0),se(4," "),R(),I(5,"div",4)(6,"mat-icon",5),ae(7,"translate"),se(8," gpp_maybe "),R(),I(9,"div")(10,"button",6),ae(11,"translate"),te("click",function(){return ve(s),_e(o.dislike())}),I(12,"mat-icon",7),se(13," thumb_down "),R()(),I(14,"button",8),ae(15,"translate"),te("click",function(){return ve(s),_e(o.copy())}),I(16,"mat-icon",9),se(17," content_copy "),R()()()()()()}r&2&&(A("ngClass.gt-lg","desktop"),C(2),A("formControl",o.textareaControl),C(4),A("matTooltip",pe(7,7,"LLM.EU_DATA_TOOLTIP")),C(4),A("matTooltip",pe(11,9,"TOOLTIPS.DISLIKE"))("disabled",o.actionButtonsDisabled||!o.textareaControl.value),C(4),A("disabled",o.actionButtonsDisabled||!o.textareaControl.value)("matTooltip",pe(15,11,"TOOLTIPS.COPY")))},dependencies:[vs,Ri,Wa,qa,Sx,fr,al,wt],styles:[".llm-wrapper[_ngcontent-%COMP%]{position:relative;border:1px solid var(--base-65);border-radius:8px;overflow-y:auto}.llm-textarea-wrapper[_ngcontent-%COMP%]{position:relative}.llm-textarea[_ngcontent-%COMP%]{min-width:100%;min-height:310px;padding:8px 16px;resize:none;background:none;border-radius:8px;margin-bottom:46px}.desktop[_ngcontent-%COMP%] .llm-textarea[_ngcontent-%COMP%]{min-height:490px}.llm-textarea-actions[_ngcontent-%COMP%]{position:absolute;display:flex;justify-content:space-between;align-items:center;width:100%;bottom:4px}.llm-eu-data-tooltip[_ngcontent-%COMP%]{margin-left:16px}"]});let n=t;return n})()});function m4(n,t){if(n&1){let e=Re();I(0,"lib-tld-notification-message",15),te("closeClicked",function(){let r=ve(e).$implicit,o=W();return _e(o.closeMessage(r))}),R()}if(n&2){let e=t.$implicit;A("message",e)}}function g4(n,t){if(n&1&&(I(0,"mat-option",18),se(1),ae(2,"uppercase"),ae(3,"translate"),R()),n&2){let e=t.$implicit;A("value",e),C(),Je(" ",pe(3,4,"LLM.USE_CASE."+pe(2,2,e))," ")}}function y4(n,t){if(n&1){let e=Re();I(0,"mat-form-field",16)(1,"mat-label"),se(2),ae(3,"translate"),R(),I(4,"mat-select",17),cs("ngModelChange",function(r){ve(e);let o=W();return Oa(o.selectedUseCase,r)||(o.selectedUseCase=r),_e(r)}),fb(5,g4,4,6,"mat-option",18,ub),R()()}if(n&2){let e=W();C(2),ht(pe(3,3,"LLM.USE_CASES_LABEL")),C(2),A("disabled",e.isLoading),ls("ngModel",e.selectedUseCase),C(),hb(e.useCases)}}function v4(n,t){if(n&1&&(ce(0,"div",19),ae(1,"translate")),n&2){let e=W();A("innerHTML",ds(1,1,e.localizationKey+"LIMIT",vb(4,p4,e.quotaLeft,e.subscriptionUrl)),Ci)}}function _4(n,t){if(n&1){let e=Re();I(0,"button",20),te("click",function(){ve(e);let r=W();return _e(r.cancel())}),se(1),ae(2,"translate"),R()}if(n&2){let e=W();C(),Je(" ",pe(2,1,e.localizationKey+"CANCEL")," ")}}function b4(n,t){if(n&1&&(I(0,"button",21),se(1),ae(2,"translate"),R()),n&2){let e=W();A("mat-dialog-close",null),C(),Je(" ",pe(2,2,e.localizationKey+"CLOSE")," ")}}function x4(n,t){if(n&1&&(I(0,"span"),se(1),ae(2,"translate"),R()),n&2){let e=W();C(),Je(" ",pe(2,1,e.isSummarized?"LLM.SUMMARY_MODAL.REGENERATE":"LLM.SUMMARY_MODAL.ACTION")," ")}}function C4(n,t){if(n&1&&(se(0),ae(1,"translate")),n&2){let e=W();Je(" ",pe(1,1,e.localizationKey+"ACTION")," ")}}function E4(n,t){n&1&&ce(0,"mat-spinner",22),n&2&&A("diameter",20)}var p4,yL,rw=f(()=>{"use strict";go();Ns();we();qC();lL();bm();cL();_();Ns();hL();Le();En();go();to();hm();Ld();Um();Wp();iw();Dt();p4=(n,t)=>({limit:n,subscriptionUrl:t});yL=(()=>{let t=class t{get isDisabled(){return this.isLoading||!this.initialText||this.quotaLeft<1}constructor(i,r,o){this.llmService=i,this.llmHelperService=r,this.data=o,this.selectedWritingStyle=Hm.GENERAL,this.editedText="",this.manuallyEditedText="",this.savedRephrasings=[],this.llmActions=tn,this.writingStyles=Object.values(Hm),this.useCases=[],this.messages=[],this.showUseCase=!1}ngOnInit(){this.setInitialText(),this.llmActionType===tn.REPHRASE?(this.useCases=this.data.rephraseUseCases??Object.values(GC),this.selectedUseCase=this.useCases[0]):this.llmActionType===tn.SUMMARY&&(this.useCases=this.data.summaryUseCases??Object.values(Cm),this.selectedUseCase=Cm.General),this.showUseCase=this.llmActionType===tn.REPHRASE&&this.data.showUseCaseRephrase||this.llmActionType===tn.SUMMARY&&this.data.showUseCaseSummary}closeMessage(i){let r=this.messages?.findIndex(o=>JSON.stringify(o)===JSON.stringify(i));(r||r===0)&&this.messages.splice(r,1)}checkRephrasedTextSaves(i){i.value!==this.selectedWritingStyle&&(this.previousWritingStyle=this.selectedWritingStyle,this.selectedWritingStyle=i.value);let r=this.savedRephrasings.find(s=>s.style===this.selectedWritingStyle),o=this.savedRephrasings.find(s=>s.style===this.previousWritingStyle);o?o.text=this.editedText!==""?this.editedText:this.initialText:this.savedRephrasings.push({style:this.previousWritingStyle,text:this.editedText!==""?this.editedText:this.initialText}),this.editedText=r?.text??this.initialText,this.manuallyEditedText="",this.checkTextLimit()}getEditedText(){this.isLoading=!0,this.llmActionType===tn.REPHRASE?this.writingStylePlausibleEvent():this.summaryPlausibleEvent(),this.subscription=this.getRequest()}cancel(){this.subscription.unsubscribe()}textEditEvent(i){this.manuallyEditedText=i,this.initialText=i,this.editedText="",this.checkTextLimit()}copyPlausibleEvent(){xo.customEvent(this.llmActionType.toLowerCase(),{action:"copy"})}dislikePlausibleEvent(){xo.customEvent(this.llmActionType.toLowerCase(),{action:"dislike"})}setInitialText(){this.data.text.subscribe(i=>{this.initialText=i,this.llmActionType=this.data.action,this.localizationKey=`LLM.${this.llmActionType}_MODAL.`,this.subscriptionUrl=this.llmHelperService.llmConfiguration.subscriptionUrl,this.maxCharLength=this.llmHelperService.llmConfiguration.maxCharLength,this.refreshQuota()})}checkTextLimit(){let i=this.maxCharLength,r=[this.initialText,this.manuallyEditedText,this.editedText],o=this.editedText&&!this.manuallyEditedText?this.editedText:r.reduce((s,a)=>s.length>a.length?s:a);if(o.length>i){this.exceededLimitMessage&&this.closeMessage(this.exceededLimitMessage),this.exceededLimitMessage=this.llmHelperService.getExceededLimitMessage(o.length),this.messages.push(this.exceededLimitMessage);return}this.closeMessage(this.exceededLimitMessage)}writingStylePlausibleEvent(){xo.customEvent(this.llmActionType.toLowerCase(),{writingStyle:this.selectedWritingStyle})}summaryPlausibleEvent(){xo.customEvent(this.llmActionType.toLowerCase(),{action:"summary"})}refreshQuota(i){this.llmHelperService.getRemainingQuota(i).subscribe(r=>{this.quotaLeft=r,this.setQuotaMessage()})}setQuotaMessage(){this.quotaLeft<=this.llmHelperService.trialRequestCount&&(this.remainingQuotaMessageVisible=!0),this.quotaLeft<1&&(this.reachedQuotaMessage=this.llmHelperService.getReachedQuotaMessage(),this.messages.push(this.reachedQuotaMessage))}getRequest(){let i=this.manuallyEditedText!==""?this.manuallyEditedText:this.initialText;return i.length>this.maxCharLength&&(i=i.substring(0,this.maxCharLength)),(this.llmActionType===tn.REPHRASE?this.llmService.rephrase({text:i,language:this.data.language,style:this.selectedWritingStyle,useCase:this.selectedUseCase}):this.llmService.summarize({text:i,language:this.data.language,useCase:this.selectedUseCase})).pipe(ln(()=>this.isLoading=!1)).subscribe(this.getRequestCallback())}getRequestCallback(){return{next:i=>{this.llmActionType===this.llmActions.SUMMARY&&(this.isSummarized=!0),this.editedText=i,this.manuallyEditedText="",this.defaultErrorMessage=this.llmHelperService.getDefaultErrorMessage(),this.closeMessage(this.defaultErrorMessage),this.closeMessage(this.requestTimeoutMessage),this.isEdited=!0,this.refreshQuota(!0),this.checkTextLimit()},error:i=>{if(i.status===WC.TIMEOUT){this.requestTimeoutMessage=this.llmHelperService.getRequestTimeoutMessage(this.llmActionType),this.messages.push(this.requestTimeoutMessage);return}this.messages.push(this.defaultErrorMessage)}}}};t.\u0275fac=function(r){return new(r||t)(T(wN),T(fL),T(ul))},t.\u0275cmp=$({type:t,selectors:[["lib-llm-textarea-with-actions"]],standalone:!1,decls:20,vars:22,consts:[["closeButton",""],["rephraseAction",""],["mat-dialog-title",""],["mat-dialog-content",""],[3,"innerHTML"],[3,"message","closeClicked",4,"ngFor","ngForOf"],["color","accent","class","w-full llm-writing-style-select","appearance","outline",4,"ngIf"],[3,"textEditEvent","copyEvent","dislikeEvent","text","disabled","actionButtonsDisabled"],["mat-dialog-actions","",1,"llm-actions-wrapper"],["class","quota-left-message",3,"innerHTML",4,"ngIf"],[1,"llm-actions"],["mat-button","","color","accent",3,"click",4,"ngIf","ngIfElse"],["mat-flat-button","","color","accent",3,"click","disabled"],[4,"ngIf","ngIfElse"],["color","primary-accent-darker",3,"diameter",4,"ngIf"],[3,"closeClicked","message"],["color","accent","appearance","outline",1,"w-full","llm-writing-style-select"],[3,"ngModelChange","disabled","ngModel"],[3,"value"],[1,"quota-left-message",3,"innerHTML"],["mat-button","","color","accent",3,"click"],["mat-button","","color","accent",3,"mat-dialog-close"],["color","primary-accent-darker",3,"diameter"]],template:function(r,o){if(r&1){let s=Re();I(0,"h1",2),se(1),ae(2,"translate"),R(),I(3,"div",3),ce(4,"p",4),ae(5,"translate"),Te(6,m4,1,1,"lib-tld-notification-message",5)(7,y4,7,5,"mat-form-field",6),I(8,"lib-llm-textarea",7),te("textEditEvent",function(l){return ve(s),_e(o.textEditEvent(l))})("copyEvent",function(){return ve(s),_e(o.copyPlausibleEvent())})("dislikeEvent",function(){return ve(s),_e(o.dislikePlausibleEvent())}),R()(),I(9,"div",8),Te(10,v4,2,7,"div",9),I(11,"div",10),Te(12,_4,3,3,"button",11)(13,b4,3,4,"ng-template",null,0,Qr),I(15,"button",12),te("click",function(){return ve(s),_e(o.getEditedText())}),Te(16,x4,3,3,"span",13)(17,C4,2,3,"ng-template",null,1,Qr)(19,E4,1,1,"mat-spinner",14),R()()()}if(r&2){let s=Xt(14),a=Xt(18);C(),ht(pe(2,18,o.localizationKey+"TITLE")),C(3),A("innerHTML",pe(5,20,o.localizationKey+"DESCRIPTION"),Ci),C(2),A("ngForOf",o.messages),C(),A("ngIf",o.showUseCase),C(),ne("rephrase",o.llmActionType===o.llmActions.REPHRASE),A("text",o.editedText!==""?o.editedText:o.initialText)("disabled",o.isLoading||!o.quotaLeft)("actionButtonsDisabled",!o.isEdited),C(2),A("ngIf",o.remainingQuotaMessageVisible),C(),ne("w-full",!o.remainingQuotaMessageVisible),C(),A("ngIf",o.isLoading)("ngIfElse",s),C(3),A("disabled",o.isDisabled),C(),A("ngIf",o.llmActionType===o.llmActions.SUMMARY)("ngIfElse",a),C(3),A("ngIf",o.isLoading)}},dependencies:[Fa,Xi,Mi,$d,Gd,qd,Wd,qa,cd,Ms,Ts,Fd,hr,PF,Gp,gL,Hb,wt],styles:[".info-icon[_ngcontent-%COMP%]{font-size:1rem;margin-left:5px}[_nghost-%COMP%] .message-body{margin:0 2.25rem 0 0!important;font-size:14px}[_nghost-%COMP%] .notification-message-container{margin:0 0 16px;padding:.9em 1em!important;align-items:center!important}[_nghost-%COMP%] .text-container{margin-right:0!important}[_nghost-%COMP%] tld-close-button{top:1px!important} .multiline-tooltip{white-space:pre;min-width:fit-content} .multiline-tooltip .mdc-tooltip__surface{max-width:none!important}[_nghost-%COMP%] .llm-textarea{min-height:240px!important}[_nghost-%COMP%] .rephrase .llm-textarea{min-height:100px!important}[_nghost-%COMP%] .desktop .llm-textarea{min-height:460px!important}[_nghost-%COMP%] .rephrase .desktop .llm-textarea{min-height:330px!important}.llm-writing-style-select[_ngcontent-%COMP%]{margin-top:1.25rem}.llm-writing-style[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:.25rem}.llm-actions-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin:0 1rem .5rem}.llm-actions[_ngcontent-%COMP%]{display:flex;justify-content:end}.w-full[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .mdc-button__label{display:flex!important;align-items:center!important}mat-spinner[_ngcontent-%COMP%]{margin-left:.5rem}.quota-left-message[_ngcontent-%COMP%]{margin-bottom:12px}"]});let n=t;return n})()});var w4,D4,vL=f(()=>{"use strict";w4=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
29
|
+
<path d="M4 5H18.6286V6.82857H4V5ZM4 10.4857H18.6286V8.65714H4V10.4857ZM4 14.1429H10.4V12.3143H4V14.1429ZM4 17.8H10.4V15.9714H4V17.8Z" fill="currentColor"/>
|
|
30
|
+
<path d="M17.4005 13.3093C17.0801 12.5922 16.0622 12.5922 15.7418 13.3093L15.1052 14.7341L13.6804 15.3707C12.9633 15.6911 12.9633 16.709 13.6804 17.0294L15.1052 17.666L15.7418 19.0908C16.0622 19.8079 17.0801 19.8079 17.4005 19.0908L18.0371 17.666L19.4619 17.0294C20.179 16.709 20.179 15.6911 19.4619 15.3707L18.0371 14.7341L17.4005 13.3093Z" fill="currentColor"/>
|
|
31
|
+
<path d="M13.5612 12.0546C13.4438 11.7917 13.0705 11.7917 12.953 12.0546L12.7196 12.577L12.1972 12.8105C11.9343 12.9279 11.9343 13.3012 12.1972 13.4187L12.7196 13.6521L12.953 14.1745C13.0705 14.4374 13.4438 14.4374 13.5612 14.1745L13.7947 13.6521L14.3171 13.4187C14.58 13.3012 14.58 12.9279 14.3171 12.8105L13.7947 12.577L13.5612 12.0546Z" fill="currentColor"/>
|
|
32
|
+
</svg>
|
|
33
|
+
`,D4=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
34
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M19.879 4.16166L21.229 5.51166C22.019 6.29166 22.019 7.56166 21.229 8.34166L7.99897 21.5717H3.81897V17.3917L14.219 6.98166L17.049 4.16166C17.829 3.38166 19.099 3.38166 19.879 4.16166ZM5.81897 19.5717L7.22897 19.6317L17.049 9.80166L15.639 8.39166L5.81897 18.2117V19.5717Z" fill="currentColor"/>
|
|
35
|
+
<path d="M19.5181 19.798L18.8644 21.261C18.6793 21.6752 18.0913 21.6752 17.9062 21.261L17.2526 19.798C17.1471 19.5621 16.9584 19.3734 16.7225 19.268L15.2595 18.6143C14.8453 18.4292 14.8453 17.8412 15.2595 17.6561L16.7225 17.0024C16.9584 16.897 17.1471 16.7083 17.2526 16.4724L17.9062 15.0094C18.0913 14.5952 18.6793 14.5952 18.8644 15.0094L19.5181 16.4724C19.6235 16.7083 19.8122 16.897 20.0481 17.0024L21.5111 17.6561C21.9253 17.8412 21.9253 18.4292 21.5111 18.6143L20.0481 19.268C19.8122 19.3734 19.6235 19.5621 19.5181 19.798Z" stroke="#474D53"/>
|
|
36
|
+
<path d="M9.88502 3.56437C9.75242 3.26761 9.33117 3.26761 9.19857 3.56437L8.93512 4.15399L8.3455 4.41744C8.04874 4.55003 8.04874 4.97129 8.3455 5.10389L8.93512 5.36733L9.19857 5.95696C9.33117 6.25372 9.75242 6.25372 9.88502 5.95696L10.1485 5.36733L10.7381 5.10389C11.0349 4.97129 11.0349 4.55003 10.7381 4.41744L10.1485 4.15399L9.88502 3.56437Z" fill="currentColor"/>
|
|
37
|
+
<path d="M6.50947 5.80395C6.31057 5.35881 5.67869 5.35881 5.4798 5.80395L5.08462 6.68839L4.20019 7.08356C3.75505 7.28245 3.75505 7.91434 4.20019 8.11323L5.08462 8.5084L5.4798 9.39284C5.67869 9.83798 6.31057 9.83798 6.50947 9.39284L6.90464 8.5084L7.78907 8.11323C8.23421 7.91434 8.23421 7.28245 7.78907 7.08356L6.90464 6.68839L6.50947 5.80395Z" fill="currentColor"/>
|
|
38
|
+
</svg>
|
|
39
|
+
`});var ow={};n1(ow,{REPHRASE:()=>D4,SUMMARIZE:()=>w4});var _L=f(()=>{"use strict";vL()});var bL,xL=f(()=>{"use strict";_();En();go();Dt();_();go();En();bL=(()=>{let t=class t{constructor(){this.data=u(ul)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=$({type:t,selectors:[["lib-new-feature-dialog"]],decls:10,vars:9,consts:[["mat-dialog-title",""],[1,"description",3,"innerHTML"],["mat-button","","mat-dialog-close","","color","accent"]],template:function(r,o){r&1&&(I(0,"h2",0),se(1),ae(2,"translate"),R(),I(3,"mat-dialog-content"),ce(4,"p",1),ae(5,"translate"),R(),I(6,"mat-dialog-actions")(7,"button",2),se(8),ae(9,"translate"),R()()),r&2&&(C(),ht(pe(2,3,o.data.title)),C(3),A("innerHTML",pe(5,5,o.data.description),Ci),C(4),Je(" ",pe(9,7,o.data.close)," "))},dependencies:[Os,$d,Gd,qd,Wd,so,Mi,wt],styles:["[_nghost-%COMP%] {display:inline-block;padding:12px 16px}[_nghost-%COMP%] .mat-mdc-dialog-title, [_nghost-%COMP%] mat-dialog-actions, [_nghost-%COMP%] mat-dialog-content{padding:0!important;margin:0!important}"]});let n=t;return n})()});var CL,EL=f(()=>{"use strict";_();_();CL=(()=>{let t=class t{constructor(){this.current=Ae(void 0),this.queue=[]}requestOpenFeature(i){this.queue.includes(i)||(this.queue.push(i),this.current()||this.showNextFeature())}showNextFeature(){if(this.queue.length===0)return;let i=this.queue.shift();i&&(this.current.set(i),i.showFeatureDialog())}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})()});var Al,zm=f(()=>{"use strict";_();go();Le();xL();bo();EL();we();_();Al=(()=>{var t,e,i;let r=class r{constructor(){tt(this,t);tt(this,e);tt(this,i);this.timeout=0,this.maxWidth=320,kt(this,t,u(mo)),kt(this,e,u(CL)),kt(this,i,new M),this.featureActive=Ae(!1),this.isFeatureSeen=!1}ngOnInit(){setTimeout(()=>{this.setFeatureStatus()},this.timeout)}ngOnDestroy(){ye(this,i).next(null),ye(this,i).complete()}showFeatureDialog(){let s=document.querySelector(`.${this.featureClassName}`);s&&(Bs.isMobileRes()&&this.mobileScreenCustomPosition?.autoScroll&&s.scrollIntoView({behavior:"smooth",block:"center"}),setTimeout(()=>{this.featureActive.set(!0);let a=s.getBoundingClientRect();this.dialogRef=ye(this,t).open(bL,{data:{title:this.titleLocalizationKey,description:this.descriptionLocalizationKey,close:this.closeLocalizationKey,featureLocalStorageKey:this.featureLocalStorageKey},position:{left:`${Bs.isMobileRes()&&this.mobileScreenCustomPosition?.left?this.mobileScreenCustomPosition.left:a.left-this.maxWidth+"px"}`,top:`${Bs.isMobileRes()&&this.mobileScreenCustomPosition?.top?this.mobileScreenCustomPosition.top:a.top+45+"px"}`},maxWidth:`${this.maxWidth}px`}),this.dialogRef.afterClosed().subscribe(()=>{this.setFeatureSeen(),ye(this,e).current.set(void 0),ye(this,e).showNextFeature()})},Bs.isMobileRes()&&this.mobileScreenCustomPosition?.autoScroll?500:0))}setFeatureStatus(){this.isFeatureSeen=!!this.featureLocalStorageKey&&!!localStorage.getItem(this.featureLocalStorageKey),this.isFeatureSeen||ye(this,e).requestOpenFeature(this)}setFeatureSeen(){this.featureActive.set(!1),this.isFeatureSeen=!0,this.featureLocalStorageKey&&localStorage.setItem(this.featureLocalStorageKey,"true")}};t=new WeakMap,e=new WeakMap,i=new WeakMap,r.\u0275fac=function(a){return new(a||r)},r.\u0275cmp=$({type:r,selectors:[["lib-new-feature-dialog-wrapper"]],inputs:{titleLocalizationKey:"titleLocalizationKey",descriptionLocalizationKey:"descriptionLocalizationKey",closeLocalizationKey:"closeLocalizationKey",featureClassName:"featureClassName",featureLocalStorageKey:"featureLocalStorageKey",timeout:"timeout",maxWidth:"maxWidth",mobileScreenCustomPosition:"mobileScreenCustomPosition"},decls:0,vars:0,template:function(a,l){},dependencies:[hn,Os],encapsulation:2});let n=r;return n})()});var DL,sw=f(()=>{"use strict";_();Il();_();En();dr();zm();Dt();DL=(()=>{let t=class t{constructor(){this.openModalEvent=new z}openModal(){this.openModalEvent.emit(tn.SUMMARY)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=$({type:t,selectors:[["lib-llm-summary"]],inputs:{isTextSummarizable:"isTextSummarizable",newFeatureLocalStorageKey:"newFeatureLocalStorageKey"},outputs:{openModalEvent:"openModalEvent"},standalone:!1,decls:6,vars:12,consts:[["summarizeFeature",""],["mat-stroked-button","","color","accent",1,"llm-summary",3,"click","disabled"],[3,"svgIcon"],[3,"titleLocalizationKey","descriptionLocalizationKey","closeLocalizationKey","featureClassName","featureLocalStorageKey"]],template:function(r,o){if(r&1){let s=Re();I(0,"button",1),te("click",function(){return ve(s),_e(o.openModal())}),ce(1,"mat-icon",2),se(2),ae(3,"translate"),R(),ce(4,"lib-new-feature-dialog-wrapper",3,0)}if(r&2){let s=Xt(5);ne("summarize-feature-active",s==null?null:s.featureActive()),A("disabled",!o.isTextSummarizable),C(),A("svgIcon","summarize"),C(),Je(" ",pe(3,10,"LLM.SUMMARY"),`
|
|
40
|
+
`),C(2),A("titleLocalizationKey","LLM.SUMMARY_NEW_FEATURE.TITLE")("descriptionLocalizationKey","LLM.SUMMARY_NEW_FEATURE.DESCRIPTION")("closeLocalizationKey","LLM.SUMMARY_NEW_FEATURE.CLOSE")("featureClassName","llm-summary")("featureLocalStorageKey","summary"+o.newFeatureLocalStorageKey)}},dependencies:[Mi,Ri,Al,wt],styles:[".summarize-feature-active{z-index:1001!important;background-color:#fff!important}"]});let n=t;return n})()});var SL,aw=f(()=>{"use strict";_();Il();_();En();dr();zm();Dt();SL=(()=>{let t=class t{constructor(){this.openModalEvent=new z}openModal(){this.openModalEvent.emit(tn.REPHRASE)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=$({type:t,selectors:[["lib-llm-rephrase"]],inputs:{isTargetLanguageRephrasable:"isTargetLanguageRephrasable",newFeatureLocalStorageKey:"newFeatureLocalStorageKey"},outputs:{openModalEvent:"openModalEvent"},standalone:!1,decls:6,vars:13,consts:[["rephraseFeature",""],["mat-stroked-button","","color","accent",1,"llm-rephrase",3,"click","disabled"],[3,"svgIcon"],[3,"titleLocalizationKey","descriptionLocalizationKey","closeLocalizationKey","featureClassName","featureLocalStorageKey","maxWidth"]],template:function(r,o){if(r&1){let s=Re();I(0,"button",1),te("click",function(){return ve(s),_e(o.openModal())}),ce(1,"mat-icon",2),se(2),ae(3,"translate"),R(),ce(4,"lib-new-feature-dialog-wrapper",3,0)}if(r&2){let s=Xt(5);ne("rephrase-feature-active",s==null?null:s.featureActive()),A("disabled",!o.isTargetLanguageRephrasable),C(),A("svgIcon","rephrase"),C(),Je(" ",pe(3,11,"LLM.REPHRASE"),`
|
|
41
|
+
`),C(2),A("titleLocalizationKey","LLM.REPHRASE_NEW_FEATURE.TITLE")("descriptionLocalizationKey","LLM.REPHRASE_NEW_FEATURE.DESCRIPTION")("closeLocalizationKey","LLM.REPHRASE_NEW_FEATURE.CLOSE")("featureClassName","llm-rephrase")("featureLocalStorageKey","rephrase"+o.newFeatureLocalStorageKey)("maxWidth",400)}},dependencies:[Mi,Ri,Al,wt],styles:[".rephrase-feature-active{z-index:1001!important;background-color:#fff!important}"]});let n=t;return n})()});function A4(n,t){if(n&1){let e=Re();I(0,"div",2),ae(1,"translate"),I(2,"lib-llm-summary",3),te("openModalEvent",function(r){ve(e);let o=W();return _e(o.openLLMModal(r))}),R()()}if(n&2){let e=W();A("matTooltipPosition","left")("matTooltip",e.isTextSummarizable?"":pe(1,4,"LLM.MENU_SUMMARY_DISABLED_TOOLTIP")),C(2),A("isTextSummarizable",!!e.isTextSummarizable)("newFeatureLocalStorageKey",e.newFeatureLocalStorageKey)}}function T4(n,t){if(n&1){let e=Re();I(0,"div",2),ae(1,"translate"),I(2,"lib-llm-rephrase",4),te("openModalEvent",function(r){ve(e);let o=W();return _e(o.openLLMModal(r))}),R()()}if(n&2){let e=W();A("matTooltipPosition","left")("matTooltip",e.isTargetLanguageRephrasable?"":pe(1,4,"LLM.MENU_REPHRASE_DISABLED_TOOLTIP")),C(2),A("isTargetLanguageRephrasable",!!e.isTargetLanguageRephrasable)("newFeatureLocalStorageKey",e.newFeatureLocalStorageKey)}}var IL,$m=f(()=>{"use strict";_();bm();rw();_L();we();_();go();XE();Le();co();sw();aw();Dt();IL=(()=>{let t=class t{get isTextSummarizable(){return this.text}get isTargetLanguageRephrasable(){return!this.rephrasableLanguagesCodeList||this.language&&this.rephrasableLanguagesCodeList.includes(this.languageService.removeRegionFromLanguageCode(this.language))}constructor(i,r,o){this.dialog=i,this.iconService=r,this.languageService=o,this.summaryEnabled=!0,this.rephraseEnabled=!0,this.showUseCaseSummary=!1,this.showUseCaseRephrase=!1,this.menuTriggerClick=new z,this.llmAction=tn,this.iconService.registerIcons(ow)}openLLMModal(i){let r;!this.text||typeof this.text=="string"?r=N(this.text??""):r=this.text;let o={text:r,language:this.language,action:i,showUseCaseSummary:this.showUseCaseSummary,showUseCaseRephrase:this.showUseCaseRephrase,summaryUseCases:this.summaryUseCases,rephraseUseCases:this.rephraseUseCases};this.dialog.open(yL,{panelClass:"responsive-dialog",maxWidth:"800px",width:"100%",data:o})}};t.\u0275fac=function(r){return new(r||t)(T(mo),T(RN),T(YE))},t.\u0275cmp=$({type:t,selectors:[["lib-llm"]],inputs:{text:"text",language:"language",rephrasableLanguagesCodeList:"rephrasableLanguagesCodeList",summaryEnabled:"summaryEnabled",rephraseEnabled:"rephraseEnabled",showUseCaseSummary:"showUseCaseSummary",showUseCaseRephrase:"showUseCaseRephrase",newFeatureLocalStorageKey:"newFeatureLocalStorageKey",rephraseUseCases:"rephraseUseCases",summaryUseCases:"summaryUseCases"},outputs:{menuTriggerClick:"menuTriggerClick"},standalone:!1,decls:3,vars:2,consts:[[1,"llm-wrapper"],[3,"matTooltipPosition","matTooltip",4,"ngIf"],[3,"matTooltipPosition","matTooltip"],[3,"openModalEvent","isTextSummarizable","newFeatureLocalStorageKey"],[3,"openModalEvent","isTargetLanguageRephrasable","newFeatureLocalStorageKey"]],template:function(r,o){r&1&&(I(0,"div",0),Te(1,A4,3,6,"div",1)(2,T4,3,6,"div",1),R()),r&2&&(C(),A("ngIf",o.summaryEnabled),C(),A("ngIf",o.rephraseEnabled))},dependencies:[Xi,fr,DL,SL,wt],styles:[".llm-wrapper[_ngcontent-%COMP%]{display:flex;gap:8px}"]});let n=t;return n})()});var AL=f(()=>{"use strict"});var TL=f(()=>{"use strict";AL()});var ML=f(()=>{"use strict";zm();TL()});var RL,OL=f(()=>{"use strict";Le();$m();En();dr();Dt();go();nw();to();iw();Ld();jE();co();vm();Wp();rw();ML();aw();sw();_();RL=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=L({type:t}),t.\u0275inj=F({imports:[hn,so,$p,Di,Os,mL,Ep,DM,kd,jF,As,cl,wR,Al]});let n=t;return n})()});var NL=f(()=>{"use strict";$m();OL();Il()});var FL,kL=f(()=>{"use strict";FL={en:{TOOLTIPS:{COPY:"Copy to clipboard",DISLIKE:"Dislike"},LLM:{USE_CASES_LABEL:"Use case",SUMMARY:"Summarize",REPHRASE:"Rephrasing turns raw speech into smooth, readable text \u2013 fast.",MENU_TOOLTIP:"Rephrase or summarize",MENU_DISABLED_TOOLTIP:"Summary and rephrase functions are not available",MENU_SUMMARY_DISABLED_TOOLTIP:"Summary available for texts that contain at least 100 characters",MENU_REPHRASE_DISABLED_TOOLTIP:"Rephrase is not available in selected language",UNSUPPORTED_MENU_DISABLED_TOOLTIP:"Feature unavailable",EU_DATA_TOOLTIP:"We utilise the Azure OpenAI Service, the entered data is securely processed on servers located within the EU",REPHRASE_MODAL:{TITLE:"Rephrase",DESCRIPTION:"Rephrase text into a specified writing style, adapting the language and tone to match a given target style or voice.",CLOSE:"Close",CANCEL:"Cancel",ACTION:"Rephrase",LIMIT:"Rephrases left today: <span class='text-m-semi-bold'>{{limit}}</span>. Need more? <a href='{{subscriptionUrl}}' target='_blank'>Get a subscription</a>"},SUMMARY_MODAL:{TITLE:"Summary",DESCRIPTION:"Quickly condense lengthy texts into clear summaries using our advanced LLM feature.",CANCEL:"Cancel",CLOSE:"Close",ACTION:"Create summary",REGENERATE:"Re-generate",LIMIT:"Summaries left today: <span class='text-m-semi-bold'>{{limit}}</span>. Need more? <a href='{{subscriptionUrl}}' target='_blank'>Get a subscription</a>"},ERRORS:{QUOTA_LIMIT_REACHED:"You have reached your quota limit. Need more? <a href='{{subscriptionUrl}}' target='_blank'>Get a subscription</a>",DEFAULT:"It seems like we had problem, please <bold>repeat</bold> action, if it doesn't work, contact our <a href='mailto:{{supportEmail}}' target='_blank'>support team</a>."},USE_CASE:{MEETING:"Meeting notes (detailed)",MEETINGBRIEF:"Meeting (overview)",EVENT:"Conference",GENERAL:"General",BRIEF:"Brief",TRANSCRIPTEDITOR:"Professional",TRANSCRIPTCLEANUP:"Cleanup"}},ERRORS:{MAX_CHAR_LENGTH:"Only {{maxCharLength}}/{{totalSymbols}} characters will be rephrased/summarized."}},et:{TOOLTIPS:{COPY:"Kopeerige l\xF5ikelauale",DISLIKE:"Ei meeldi"},LLM:{USE_CASES_LABEL:"Kasuta juhtumit",SUMMARY:"Tee kokkuv\xF5te",MENU_TOOLTIP:"S\xF5nasta \xFCmber v\xF5i tee kokkuv\xF5te",MENU_DISABLED_TOOLTIP:"Kokkuv\xF5tte tegemise ja \xFCmbers\xF5nastamise funktsioonid ei ole saadaval",MENU_SUMMARY_DISABLED_TOOLTIP:"Kokkuv\xF5tet saab teha tekstidele, milles on rohkem kui 100 t\xE4hem\xE4rki",MENU_REPHRASE_DISABLED_TOOLTIP:"\xDCmbers\xF5nastamine ei ole valitud keeles saadaval",UNSUPPORTED_MENU_DISABLED_TOOLTIP:"Funktsioon ei ole saadaval",TITLE:"S\xF5nasta \xFCmber",REPHRASE:"T\xF5lke \xFCmbers\xF5nastamine",EU_DATA_TOOLTIP:"Kasutame Azure OpenAI teenust, sisestatud andmeid t\xF6\xF6deldakse turvaliselt EL-is asuvates serverites",REPHRASE_MODAL:{TITLE:"T\xF5lke \xFCmbers\xF5nastamine",DESCRIPTION:"S\xF5nastage tekst \xFCmber kindlaksm\xE4\xE4ratud kirjastiili, kohandades keelt ja tooni vastavalt sihtstiilile v\xF5i -h\xE4\xE4lele.",CLOSE:"Sulge",CANCEL:"Loobu",ACTION:"\xDCmbers\xF5nastamine",REPHRASING:"\xDCmbers\xF5nastamine...",LIMIT:"T\xE4na j\xE4etud \xFCmbers\xF5nastused: <span class='text-m-semi-bold'>{{limit}}</span>. Lisateave <a href='{{subscriptionUrl}}' target='_blank'>Hankige tellimus</a>"},SUMMARY_MODAL:{TITLE:"Kokkuv\xF5te",DESCRIPTION:"Tehke pikad tekstid kiiresti selgeteks kokkuv\xF5teteks, kasutades meie t\xE4iustatud LLM-funktsiooni.",CANCEL:"Loobu",CLOSE:"Sulge",ACTION:"Kokkuv\xF5tte loomine",REGENERATE:"Uuesti loomine",LIMIT:"T\xE4na j\xE4etud \xFCmbers\xF5nastused <span class='text-m-semi-bold'>{{limit}}</span>. Lisateave <a href='{{subscriptionUrl}}' target='_blank'>Uuendage tellimust</a>"},USE_CASE:{MEETING:"Koosoleku m\xE4rkmed (\xFCksikasjalikud)",MEETINGBRIEF:"Koosolek (\xFClevaade)",EVENT:"Konverents",GENERAL:"\xDCldine",BRIEF:"L\xFChike",TRANSCRIPTEDITOR:"Professionaalne",TRANSCRIPTCLEANUP:"Puhastus"},ERRORS:{QUOTA_LIMIT:"Olete saavutanud oma limiidi. Lisateave <a href='{{subscriptionUrl}}' target='_blank'>Uuendage tellimust</a>",QUOTA_LIMIT_REACHED:"Olete saavutanud oma limiidi. Lisateave <a href='{{subscriptionUrl}}' target='_blank'>Uuendage tellimust</a>",DEFAULT:"N\xE4ib, et meil on probleem, palun <bold>korrake</bold> tegevust. Kui see ei \xF5nnestu, v\xF5tke \xFChendust meie<a href='mailto:{{supportEmail}}' target='_blank'>tugimeeskonnaga</a>."}},ERRORS:{MAX_CHAR_LENGTH:"\xDCmber s\xF5nastatakse/summeeritakse ainult {{maxCharLength}}/{{totalSymbols}} m\xE4rki."}},lt:{TOOLTIPS:{COPY:"Kopijuoti \u012F main\u0173 srit\u012F",DISLIKE:"Nepatinka"},LLM:{SUMMARY:"Kurti santrauk\u0105",USE_CASES_LABEL:"Naudoti atvej\u012F",MENU_TOOLTIP:"Performuluoti arba kurti santrauk\u0105",MENU_DISABLED_TOOLTIP:"Santraukos ir performulavimo funkcij\u0173 n\u0117ra",MENU_SUMMARY_DISABLED_TOOLTIP:"Santrauka galima, jei tekst\u0105 sudaro bent 100 simboli\u0173",MENU_REPHRASE_DISABLED_TOOLTIP:"Pasirinkta kalba performuluoti negalima",UNSUPPORTED_MENU_DISABLED_TOOLTIP:"Funkcija nepasiekiama",TITLE:"Performuluoti",REPHRASE:"Perfrazuoti vertim\u0105",EU_DATA_TOOLTIP:"Naudojame Azure OpenAI paslaug\u0105, \u012Fvesti duomenys saugiai apdorojami ES esan\u010Diuose serveriuose",REPHRASE_MODAL:{TITLE:"Perfrazuoti vertim\u0105",DESCRIPTION:"Perfrazuoti tekst\u0105 nurodytu ra\u0161ymo stiliumi pritaikant kalb\u0105 ir ton\u0105 prie tikslinio stiliaus ar tipo.",CLOSE:"U\u017Edaryti",CANCEL:"At\u0161aukti",ACTION:"Perfrazuoti",REPHRASING:"Perfrazuojama...",LIMIT:"\u0160iandien lik\u0119 perfrazavimai: <span class='text-m-semi-bold'>{{limit}}</span>. Reikia daugiau? <a href='{{subscriptionUrl}}' target='_blank'>Gaukite prenumerat\u0105</a>"},SUMMARY_MODAL:{DESCRIPTION:"Greitai sutrumpinti ilgus tekstus \u012F ai\u0161kias santraukas naudojant LLM funkcij\u0105.",CANCEL:"At\u0161aukti",CLOSE:"U\u017Edaryti",ACTION:"Kurti santrauk\u0105",REGENERATE:"Generuoti i\u0161 naujo",LIMIT:"\u0160iandien likusios santraukos: <span class='text-m-semi-bold'>{{limit}}</span>. Reikia daugiau? <a href='{{subscriptionUrl}}' target='_blank'>Gaukite prenumerat\u0105</a>",TITLE:"Santrauka"},USE_CASE:{MEETING:"Susitikimo u\u017Era\u0161ai (i\u0161sam\u016Bs)",MEETINGBRIEF:"Susitikimas (ap\u017Evalga)",EVENT:"Konferencija",GENERAL:"Bendrasis",BRIEF:"Trumpas",TRANSCRIPTEDITOR:"Profesionalus",TRANSCRIPTCLEANUP:"Valymas"},ERRORS:{QUOTA_LIMIT:"Pasiek\u0117te savo kiekio limit\u0105. Reikia daugiau? <a href='{{subscriptionUrl}}' target='_blank'>Gaukite prenumerat\u0105</a>",QUOTA_LIMIT_REACHED:"Pasiek\u0117te savo kiekio limit\u0105. Reikia daugiau? <a href='{{subscriptionUrl}}' target='_blank'>Gaukite prenumerat\u0105</a>",DEFAULT:"Atrodo, kilo problema. <bold>Pakartokite</bold> veiksm\u0105, o jei tai nepadeda, susisiekite su m\u016Bs\u0173 <a href='mailto:{{supportEmail}}' target='_blank'>palaikymo komanda</a>."}},ERRORS:{MAX_CHAR_LENGTH:"Bus performuluoti/apibendrinti tik {{maxCharLength}}/{{totalSymbols}} simboliai."}},lv:{TOOLTIPS:{COPY:"Kop\u0113t starpliktuv\u0113",DISLIKE:"Nepat\u012Bk"},LLM:{SUMMARY:"Apkopot",USE_CASES_LABEL:"Lieto\u0161anas nol\u016Bks",MENU_TOOLTIP:"P\u0101rfr\u0101z\u0113t vai Apkopot",MENU_DISABLED_TOOLTIP:"Funkcijas p\u0101rfr\u0101z\u0113t vai apkopot nav pieejamas",MENU_SUMMARY_DISABLED_TOOLTIP:"Apokopot iesp\u0113jams tikai tekstus gar\u0101kus par 100 z\u012Bm\u0113m",MENU_REPHRASE_DISABLED_TOOLTIP:"Izv\u0113l\u0113taj\u0101 valod\u0101 nav pieejama p\u0101rfr\u0101z\u0113\u0161anas funkcija",UNSUPPORTED_MENU_DISABLED_TOOLTIP:"Funkcija nav pieejama",EU_DATA_TOOLTIP:"M\u0113s izmantojam Azure OpenAI pakalpojumu, ievad\u012Btie dati tiek dro\u0161i apstr\u0101d\u0101ti serveros, kas atrodas ES",TITLE:"P\u0101rfr\u0101z\u0113\u0161ana",REPHRASE:"P\u0101rfr\u0101z\u0113t",REPHRASE_MODAL:{TITLE:"Tulkojuma p\u0101rfr\u0101z\u0113\u0161ana",DESCRIPTION:"P\u0101rfr\u0101z\u0113jiet tekstu nor\u0101d\u012Btaj\u0101 rakst\u012Bbas stil\u0101, piel\u0101gojot valodu un toni, lai tas atbilstu nor\u0101d\u012Btajam m\u0113r\u0137a stilam vai v\u0113st\u012Bjumam.",CLOSE:"Aizv\u0113rt",CANCEL:"Atcelt",ACTION:"P\u0101rfr\u0101z\u0113t",REPHRASING:"P\u0101rfr\u0101z\u0113\u0161ana...",LIMIT:"\u0160odien atliku\u0161\u0101s p\u0101rfr\u0101z\u0113\u0161anas darb\u012Bbas: <span class='text-m-semi-bold'>{{limit}}</span>. Vai nepiecie\u0161ams vair\u0101k? <a href='{{subscriptionUrl}}' target='_blank'>Ieg\u016Bstiet abonementu</a>"},SUMMARY_MODAL:{TITLE:"Kopsavilkums",DESCRIPTION:"\u0100tri apkopojiet garus tekstus skaidros kopsavilkumos, izmantojot m\u016Bsu moderno LLM funkciju.",CANCEL:"Atcelt",CLOSE:"Aizv\u0113rt",ACTION:"Izveidot kopsavilkumu",REGENERATE:"\u0122ener\u0113t atk\u0101rtoti",LIMIT:"\u0160odien atliku\u0161\u0101s kopsavilkuma darb\u012Bbas: <span class='text-m-semi-bold'>{{limit}}</span>. Vai nepiecie\u0161ams vair\u0101k? <a href='{{subscriptionUrl}}' target='_blank'>Ieg\u016Bstiet abonementu</a>"},USE_CASE:{MEETING:"San\u0101ksmes piez\u012Bmes (detaliz\u0113tas)",MEETINGBRIEF:"San\u0101ksme (p\u0101rskats)",EVENT:"Konference",GENERAL:"Visp\u0101r\u012Bgs",BRIEF:"\u012Ass",TRANSCRIPTEDITOR:"Profesion\u0101ls",TRANSCRIPTCLEANUP:"T\u012Br\u012B\u0161ana"},ERRORS:{QUOTA_LIMIT:"Esat sasniedzis j\u016Bsu kvotas ierobe\u017Eojumu. Vai nepiecie\u0161ams vair\u0101k? <a href='{{subscriptionUrl}}' target='_blank'>Ieg\u016Bstiet abonementu</a>",QUOTA_LIMIT_REACHED:"Esat sasniedzis j\u016Bsu kvotas ierobe\u017Eojumu. Vai nepiecie\u0161ams vair\u0101k? <a href='{{subscriptionUrl}}' target='_blank'>Ieg\u016Bstiet abonementu</a>",DEFAULT:"\u0160\u0137iet, mums rad\u0101s probl\u0113ma. L\u016Bdzu, <bold>atk\u0101rtojiet</bold> darb\u012Bbu. Ja tas nepal\u012Bdz, sazinieties ar m\u016Bsu <a href='mailto:{{supportEmail}}' target='_blank'>atbalsta komandu</a>."}},ERRORS:{MAX_CHAR_LENGTH:"Tikai {{maxCharLength}}/{{totalSymbols}} rakstz\u012Bmes tiks p\u0101rfraz\u0113tas/apkopotas."}}}});var Gm,cw=f(()=>{"use strict";_();NL();gx();kL();Ns();_();$m();Gm=(()=>{var t,e,i,lw,LL,PL;let a=class a extends sp{constructor(){super(FL);tt(this,i);tt(this,t);tt(this,e);kt(this,t,u(Sl)),kt(this,e,u(Kd)),this.supportEmail="support@tilde.com",this.maxCharLength=1e5,this._showUseCaseSummary=!1,this._showUseCaseRephrase=!1}get showUseCaseSummary(){return this._showUseCaseSummary}set showUseCaseSummary(d){this._showUseCaseSummary=this.ensureTypeBool(d)}get showUseCaseRephrase(){return this._showUseCaseRephrase}set showUseCaseRephrase(d){this._showUseCaseRephrase=this.ensureTypeBool(d)}ngOnInit(){super.ngOnInit(),Lt(this,i,lw).call(this)}ngOnChanges(){super.ngOnChanges(),Lt(this,i,lw).call(this)}};t=new WeakMap,e=new WeakMap,i=new WeakSet,lw=function(){Lt(this,i,LL).call(this),Lt(this,i,PL).call(this)},LL=function(){this.serviceUrl&&(ye(this,e).llmService.url=this.serviceUrl),this.subscriptionUrl&&(ye(this,t).subscriptionUrl=this.subscriptionUrl),this.supportEmail&&(ye(this,t).supportEmail=this.supportEmail),this.appId&&(ye(this,e).sharedConfiguration.xAppId=this.appId),this.maxCharLength&&(ye(this,t).maxCharLength=this.maxCharLength),this.useLocalQuota!==void 0&&(ye(this,t).useLocalQuota=this.ensureTypeBool(this.useLocalQuota))},PL=function(){this.quotaServiceUrl&&(ye(this,e).quotaService.url=this.quotaServiceUrl)},a.\u0275fac=function(h){return new(h||a)},a.\u0275cmp=$({type:a,selectors:[["app-llm"]],inputs:{serviceUrl:"serviceUrl",subscriptionUrl:"subscriptionUrl",supportEmail:"supportEmail",appId:"appId",maxCharLength:"maxCharLength",text:"text",language:"language",useLocalQuota:"useLocalQuota",quotaServiceUrl:"quotaServiceUrl",showUseCaseSummary:"showUseCaseSummary",showUseCaseRephrase:"showUseCaseRephrase"},features:[fe,je],decls:1,vars:4,consts:[[3,"language","text","showUseCaseSummary","showUseCaseRephrase"]],template:function(h,m){h&1&&ce(0,"lib-llm",0),h&2&&A("language",m.language)("text",m.text)("showUseCaseSummary",m.showUseCaseSummary)("showUseCaseRephrase",m.showUseCaseRephrase)},dependencies:[RL,IL],encapsulation:2});let n=a;return n})()});var R4,O4,N4,F4,jL,VL=f(()=>{"use strict";Le();jC();cw();_();R4=()=>({voice:"lv-LV-male",voiceName:"Austris"}),O4=()=>({voice:"lv-LV-female",voiceName:"Marta"}),N4=()=>({voice:"lv-LV-sandra",voiceName:"Sandra"}),F4=(n,t,e)=>[n,t,e],jL=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=$({type:t,selectors:[["app-root"]],features:[Ot([])],decls:2,vars:12,consts:[["language","lv","text","This is shor text to be summarized or rephrased. I just want to test if it is working or not. Just to make sure. Please change this text.",3,"showUseCaseSummary","showUseCaseRephrase","useLocalQuota"],["xApiKey","f9e79feb-997c-4f85-bd9d-d0c9a626c8a0",3,"voices","maxCharLength"]],template:function(r,o){r&1&&ce(0,"app-llm",0)(1,"app-text-to-speech",1),r&2&&(A("showUseCaseSummary",!1)("showUseCaseRephrase",!1)("useLocalQuota",!1),C(),A("voices",_b(8,F4,Fc(5,R4),Fc(6,O4),Fc(7,N4)))("maxCharLength",500))},dependencies:[hn,_m,Gm],encapsulation:2});let n=t;return n})()});var BL,UL=f(()=>{"use strict";BL={production:!0}});function HL(n,t=null){return{type:me.Sequence,steps:n,options:t}}function dw(n){return{type:me.Style,styles:n,offset:null}}var me,oi,br,Tl,pu,uw=f(()=>{"use strict";me=(function(n){return n[n.State=0]="State",n[n.Transition=1]="Transition",n[n.Sequence=2]="Sequence",n[n.Group=3]="Group",n[n.Animate=4]="Animate",n[n.Keyframes=5]="Keyframes",n[n.Style=6]="Style",n[n.Trigger=7]="Trigger",n[n.Reference=8]="Reference",n[n.AnimateChild=9]="AnimateChild",n[n.AnimateRef=10]="AnimateRef",n[n.Query=11]="Query",n[n.Stagger=12]="Stagger",n})(me||{}),oi="*";br=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(t=0,e=0){this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let e=t=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},Tl=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(t){this.players=t;let e=0,i=0,r=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let e=t*this.totalTime;this.players.forEach(i=>{let r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){let t=this.players.reduce((e,i)=>e===null||i.totalTime>e.totalTime?i:e,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let e=t=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},pu="!"});function zL(n){return new w(3e3,!1)}function k4(){return new w(3100,!1)}function L4(){return new w(3101,!1)}function P4(n){return new w(3001,!1)}function j4(n){return new w(3003,!1)}function V4(n){return new w(3004,!1)}function GL(n,t){return new w(3005,!1)}function WL(){return new w(3006,!1)}function qL(){return new w(3007,!1)}function KL(n,t){return new w(3008,!1)}function YL(n){return new w(3002,!1)}function QL(n,t,e,i,r){return new w(3010,!1)}function ZL(){return new w(3011,!1)}function XL(){return new w(3012,!1)}function JL(){return new w(3200,!1)}function eP(){return new w(3202,!1)}function tP(){return new w(3013,!1)}function nP(n){return new w(3014,!1)}function iP(n){return new w(3015,!1)}function rP(n){return new w(3016,!1)}function oP(n,t){return new w(3404,!1)}function B4(n){return new w(3502,!1)}function sP(n){return new w(3503,!1)}function aP(){return new w(3300,!1)}function lP(n){return new w(3504,!1)}function cP(n){return new w(3301,!1)}function dP(n,t){return new w(3302,!1)}function uP(n){return new w(3303,!1)}function fP(n,t){return new w(3400,!1)}function hP(n){return new w(3401,!1)}function pP(n){return new w(3402,!1)}function mP(n,t){return new w(3505,!1)}function xr(n){switch(n.length){case 0:return new br;case 1:return n[0];default:return new Tl(n)}}function mw(n,t,e=new Map,i=new Map){let r=[],o=[],s=-1,a=null;if(t.forEach(l=>{let c=l.get("offset"),d=c==s,h=d&&a||new Map;l.forEach((m,p)=>{let g=p,y=m;if(p!=="offset")switch(g=n.normalizePropertyName(g,r),y){case pu:y=e.get(p);break;case oi:y=i.get(p);break;default:y=n.normalizeStyleValue(p,g,y,r);break}h.set(g,y)}),d||o.push(h),a=h,s=c}),r.length)throw B4(r);return o}function Wm(n,t,e,i){switch(t){case"start":n.onStart(()=>i(e&&fw(e,"start",n)));break;case"done":n.onDone(()=>i(e&&fw(e,"done",n)));break;case"destroy":n.onDestroy(()=>i(e&&fw(e,"destroy",n)));break}}function fw(n,t,e){let i=e.totalTime,r=!!e.disabled,o=qm(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,i??n.totalTime,r),s=n._data;return s!=null&&(o._data=s),o}function qm(n,t,e,i,r="",o=0,s){return{element:n,triggerName:t,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function gn(n,t,e){let i=n.get(t);return i||n.set(t,i=e),i}function gw(n){let t=n.indexOf(":"),e=n.substring(1,t),i=n.slice(t+1);return[e,i]}function Km(n){let t=n.parentNode||n.host||null;return t===U4?null:t}function H4(n){return n.substring(1,6)=="ebkit"}function gP(n){Us||(Us=z4()||{},$L=Us.style?"WebkitAppearance"in Us.style:!1);let t=!0;return Us.style&&!H4(n)&&(t=n in Us.style,!t&&$L&&(t="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in Us.style)),t}function z4(){return typeof document<"u"?document.body:null}function yw(n,t){for(;t;){if(t===n)return!0;t=Km(t)}return!1}function vw(n,t,e){if(e)return Array.from(n.querySelectorAll(t));let i=n.querySelector(t);return i?[i]:[]}function ki(n){if(typeof n=="number")return n;let t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:hw(parseFloat(t[1]),t[2])}function hw(n,t){switch(t){case"s":return n*$4;default:return n}}function yu(n,t,e){return n.hasOwnProperty("duration")?n:q4(n,t,e)}function q4(n,t,e){let i,r=0,o="";if(typeof n=="string"){let s=n.match(W4);if(s===null)return t.push(zL(n)),{duration:0,delay:0,easing:""};i=hw(parseFloat(s[1]),s[2]);let a=s[3];a!=null&&(r=hw(parseFloat(a),s[4]));let l=s[5];l&&(o=l)}else i=n;if(!e){let s=!1,a=t.length;i<0&&(t.push(k4()),s=!0),r<0&&(t.push(L4()),s=!0),s&&t.splice(a,0,zL(n))}return{duration:i,delay:r,easing:o}}function yP(n){return n.length?n[0]instanceof Map?n:n.map(t=>new Map(Object.entries(t))):[]}function si(n,t,e){t.forEach((i,r)=>{let o=Zm(r);e&&!e.has(r)&&e.set(r,n.style[o]),n.style[o]=i})}function Co(n,t){t.forEach((e,i)=>{let r=Zm(i);n.style[r]=""})}function Ml(n){return Array.isArray(n)?n.length==1?n[0]:HL(n):n}function vP(n,t,e){let i=t.params||{},r=Cw(n);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(P4(o))})}function Cw(n){let t=[];if(typeof n=="string"){let e;for(;e=pw.exec(n);)t.push(e[1]);pw.lastIndex=0}return t}function Rl(n,t,e){let i=`${n}`,r=i.replace(pw,(o,s)=>{let a=t[s];return a==null&&(e.push(j4(s)),a=""),a.toString()});return r==i?n:r}function Zm(n){return n.replace(K4,(...t)=>t[1].toUpperCase())}function _P(n,t){return n===0||t===0}function bP(n,t,e){if(e.size&&t.length){let i=t[0],r=[];if(e.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;o<t.length;o++){let s=t[o];r.forEach(a=>s.set(a,Xm(n,a)))}}return t}function yn(n,t,e){switch(t.type){case me.Trigger:return n.visitTrigger(t,e);case me.State:return n.visitState(t,e);case me.Transition:return n.visitTransition(t,e);case me.Sequence:return n.visitSequence(t,e);case me.Group:return n.visitGroup(t,e);case me.Animate:return n.visitAnimate(t,e);case me.Keyframes:return n.visitKeyframes(t,e);case me.Style:return n.visitStyle(t,e);case me.Reference:return n.visitReference(t,e);case me.AnimateChild:return n.visitAnimateChild(t,e);case me.AnimateRef:return n.visitAnimateRef(t,e);case me.Query:return n.visitQuery(t,e);case me.Stagger:return n.visitStagger(t,e);default:throw V4(t.type)}}function Xm(n,t){return window.getComputedStyle(n)[t]}var U4,Us,$L,$4,_w,G4,bw,Ym,mu,gu,xw,Qm,W4,pw,K4,xP=f(()=>{"use strict";uw();_();U4=typeof document>"u"?null:document.documentElement;Us=null,$L=!1;$4=1e3,_w="{{",G4="}}",bw="ng-enter",Ym="ng-leave",mu="ng-trigger",gu=".ng-trigger",xw="ng-animating",Qm=".ng-animating";W4=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;pw=new RegExp(`${_w}\\s*(.+?)\\s*${G4}`,"g");K4=/-+([a-z0-9])/g});function Q4(n,t){let e=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(i=>Z4(i,e,t)):e.push(n),e}function Z4(n,t,e){if(n[0]==":"){let l=X4(n,e);if(typeof l=="function"){t.push(l);return}n=l}let i=n.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return e.push(iP(n)),t;let r=i[1],o=i[2],s=i[3];t.push(CP(r,s));let a=r==rg&&s==rg;o[0]=="<"&&!a&&t.push(CP(s,r))}function X4(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i)<parseFloat(e);default:return t.push(rP(n)),"* => *"}}function CP(n,t){let e=Jm.has(n)||eg.has(n),i=Jm.has(t)||eg.has(t);return(r,o)=>{let s=n==rg||n==r,a=t==rg||t==o;return!s&&e&&typeof r=="boolean"&&(s=r?Jm.has(n):eg.has(n)),!a&&i&&typeof o=="boolean"&&(a=o?Jm.has(t):eg.has(t)),s&&a}}function NP(n,t,e,i){return new Aw(n).build(t,e,i)}function e5(n){let t=!!n.split(/\s*,\s*/).find(e=>e==OP);return t&&(n=n.replace(J4,"")),n=n.replace(/@\*/g,gu).replace(/@\w+/g,e=>gu+"-"+e.slice(1)).replace(/:animating/g,Qm),[n,t]}function t5(n){return n?b({},n):null}function n5(n){if(typeof n=="string")return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(e instanceof Map&&e.has("offset")){let i=e;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let e=n;t=parseFloat(e.get("offset")),e.delete("offset")}return t}function i5(n,t){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let o=yu(n,t).duration;return Ew(o,0,"")}let e=n;if(e.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=Ew(0,0,"");return o.dynamic=!0,o.strValue=e,o}let r=yu(e,t);return Ew(r.duration,r.delay,r.easing)}function Hs(n){return n?(n=b({},n),n.params&&(n.params=t5(n.params))):n={},n}function Ew(n,t,e){return{duration:n,delay:t,easing:e}}function Bw(n,t,e,i,r,o,s=null,a=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}function FP(n,t,e,i,r,o=new Map,s=new Map,a,l,c=[]){return new Mw().buildKeyframes(n,t,e,i,r,o,s,a,l,c)}function wP(n,t=3){let e=Math.pow(10,t-1);return Math.round(n*e)/e}function c5(n,t){let e=new Map,i;return n.forEach(r=>{if(r==="*"){i??=t.keys();for(let o of i)e.set(o,oi)}else for(let[o,s]of r)e.set(o,s)}),e}function DP(n,t,e,i,r,o,s,a,l,c,d,h,m){return{type:0,element:n,triggerName:t,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:h,errors:m}}function d5(n,t,e,i,r){return n.some(o=>o(t,e,i,r))}function kP(n,t){let e=b({},t);return Object.entries(n).forEach(([i,r])=>{r!=null&&(e[i]=r)}),e}function u5(n,t,e){return new Fw(n,t,e)}function f5(n,t,e){let i=[(s,a)=>!0],r={type:me.Sequence,steps:[],options:null},o={type:me.Transition,animation:r,matchers:i,options:null,queryCount:0,depCount:0};return new ag(n,o,t)}function SP(n,t,e){n.has(t)?n.has(e)||n.set(e,n.get(t)):n.has(e)&&n.set(t,n.get(e))}function b5(n,t,e){let i=n.get(t);if(i){if(i.length){let r=i.indexOf(e);i.splice(r,1)}i.length==0&&n.delete(t)}return i}function x5(n){return n??null}function tg(n){return n&&n.nodeType===1}function C5(n){return n=="start"||n=="done"}function AP(n,t){let e=n.style.display;return n.style.display=t??"none",e}function TP(n,t,e,i,r){let o=[];e.forEach(l=>o.push(AP(l)));let s=[];i.forEach((l,c)=>{let d=new Map;l.forEach(h=>{let m=t.computeStyle(c,h,r);d.set(h,m),(!m||m.length==0)&&(c[ai]=_5,s.push(c))}),n.set(c,d)});let a=0;return e.forEach(l=>AP(l,o[a++])),s}function MP(n,t){let e=new Map;if(n.forEach(a=>e.set(a,[])),t.length==0)return e;let i=1,r=new Set(t),o=new Map;function s(a){if(!a)return i;let l=o.get(a);if(l)return l;let c=a.parentNode;return e.has(c)?l=c:r.has(c)?l=i:l=s(c),o.set(a,l),l}return t.forEach(a=>{let l=s(a);l!==i&&e.get(l).push(a)}),e}function Pn(n,t){n.classList?.add(t)}function Ol(n,t){n.classList?.remove(t)}function E5(n,t,e){xr(e).onDone(()=>n.processLeaveNode(t))}function w5(n){let t=[];return PP(n,t),t}function PP(n,t){for(let e=0;e<n.length;e++){let i=n[e];i instanceof Tl?PP(i.players,t):t.push(i)}}function D5(n,t){let e=Object.keys(n),i=Object.keys(t);if(e.length!=i.length)return!1;for(let r=0;r<e.length;r++){let o=e[r];if(!t.hasOwnProperty(o)||n[o]!==t[o])return!1}return!0}function RP(n,t,e){let i=e.get(n);if(!i)return!1;let r=t.get(n);return r?i.forEach(o=>r.add(o)):t.set(n,i),e.delete(n),!0}function S5(n,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=Iw(t[0]),t.length>1&&(i=Iw(t[t.length-1]))):t instanceof Map&&(e=Iw(t)),e||i?new I5(n,e,i):null}function Iw(n){let t=null;return n.forEach((e,i)=>{A5(i)&&(t=t||new Map,t.set(i,e))}),t}function A5(n){return n==="display"||n==="position"}function T5(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function M5(n){let t=n.indexOf("."),e=n.substring(0,t),i=n.slice(t+1);return[e,i]}var Vw,zs,$s,Y4,ig,rg,Jm,eg,OP,J4,EP,Aw,Tw,_u,r5,o5,s5,a5,l5,Mw,og,Rw,sg,Ow,ww,ag,Nw,Fw,h5,kw,IP,p5,Dw,m5,g5,y5,v5,LP,_5,ai,bu,vu,Sw,Lw,Pw,xu,Nl,I5,lg,cg,ng,jP,dg,jw,ug,Uw=f(()=>{"use strict";_();xP();uw();Vw=(()=>{class n{validateStyleProperty(e){return gP(e)}containsElement(e,i){return yw(e,i)}getParentElement(e){return Km(e)}query(e,i,r){return vw(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,s,a=[],l){return new br(r,o)}static \u0275fac=function(i){return new(i||n)};static \u0275prov=v({token:n,factory:n.\u0275fac})}return n})(),zs=class{static NOOP=new Vw},$s=class{},Y4=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),ig=class extends $s{normalizePropertyName(t,e){return Zm(t)}normalizeStyleValue(t,e,i,r){let o="",s=i.toString().trim();if(Y4.has(e)&&i!==0&&i!=="0")if(typeof i=="number")o="px";else{let a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&r.push(GL(t,i))}return s+o}},rg="*";Jm=new Set(["true","1"]),eg=new Set(["false","0"]);OP=":self",J4=new RegExp(`s*${OP}s*,?`,"g");EP="",Aw=class{_driver;constructor(t){this._driver=t}build(t,e,i){let r=new Tw(e);return this._resetContextStyleTimingState(r),yn(this,Ml(t),r)}_resetContextStyleTimingState(t){t.currentQuerySelector=EP,t.collectedStyles=new Map,t.collectedStyles.set(EP,new Map),t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,r=e.depCount=0,o=[],s=[];return t.name.charAt(0)=="@"&&e.errors.push(WL()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),a.type==me.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,e))}),l.name=c}else if(a.type==me.Transition){let l=this.visitTransition(a,e);i+=l.queryCount,r+=l.depCount,s.push(l)}else e.errors.push(qL())}),{type:me.Trigger,name:t.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(t,e){let i=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(i.containsDynamicStyles){let o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{Cw(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&e.errors.push(KL(t.name,[...o.values()]))}return{type:me.State,name:t.name,style:i,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;let i=yn(this,Ml(t.animation),e),r=Q4(t.expr,e.errors);return{type:me.Transition,matchers:r,animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Hs(t.options)}}visitSequence(t,e){return{type:me.Sequence,steps:t.steps.map(i=>yn(this,i,e)),options:Hs(t.options)}}visitGroup(t,e){let i=e.currentTime,r=0,o=t.steps.map(s=>{e.currentTime=i;let a=yn(this,s,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:me.Group,steps:o,options:Hs(t.options)}}visitAnimate(t,e){let i=i5(t.timings,e.errors);e.currentAnimateTimings=i;let r,o=t.styles?t.styles:dw({});if(o.type==me.Keyframes)r=this.visitKeyframes(o,e);else{let s=t.styles,a=!1;if(!s){a=!0;let c={};i.easing&&(c.easing=i.easing),s=dw(c)}e.currentTime+=i.duration+i.delay;let l=this.visitStyle(s,e);l.isEmptyStep=a,r=l}return e.currentAnimateTimings=null,{type:me.Animate,timings:i,style:r,options:null}}visitStyle(t,e){let i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){let i=[],r=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of r)typeof a=="string"?a===oi?i.push(a):e.errors.push(YL(a)):i.push(new Map(Object.entries(a)));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o)){for(let l of a.values())if(l.toString().indexOf(_w)>=0){o=!0;break}}}),{type:me.Style,styles:i,easing:s,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,e){let i=e.currentAnimateTimings,r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),t.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let c=e.collectedStyles.get(e.currentQuerySelector),d=c.get(l),h=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(e.errors.push(QL(l,d.startTime,d.endTime,o,r)),h=!1),o=d.startTime),h&&c.set(l,{startTime:o,endTime:r}),e.options&&vP(a,e.options,e.errors)})})}visitKeyframes(t,e){let i={type:me.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(ZL()),i;let r=1,o=0,s=[],a=!1,l=!1,c=0,d=t.steps.map(D=>{let k=this._makeStyleAst(D,e),he=k.offset!=null?k.offset:n5(k.styles),ge=0;return he!=null&&(o++,ge=k.offset=he),l=l||ge<0||ge>1,a=a||ge<c,c=ge,s.push(ge),k});l&&e.errors.push(XL()),a&&e.errors.push(JL());let h=t.steps.length,m=0;o>0&&o<h?e.errors.push(eP()):o==0&&(m=r/(h-1));let p=h-1,g=e.currentTime,y=e.currentAnimateTimings,E=y.duration;return d.forEach((D,k)=>{let he=m>0?k==p?1:m*k:s[k],ge=he*E;e.currentTime=g+y.delay+ge,y.duration=ge,this._validateStyleAst(D,e),D.offset=he,i.styles.push(D)}),i}visitReference(t,e){return{type:me.Reference,animation:yn(this,Ml(t.animation),e),options:Hs(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:me.AnimateChild,options:Hs(t.options)}}visitAnimateRef(t,e){return{type:me.AnimateRef,animation:this.visitReference(t.animation,e),options:Hs(t.options)}}visitQuery(t,e){let i=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;let[o,s]=e5(t.selector);e.currentQuerySelector=i.length?i+" "+o:o,gn(e.collectedStyles,e.currentQuerySelector,new Map);let a=yn(this,Ml(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:me.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:Hs(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(tP());let i=t.timings==="full"?{duration:0,delay:0,easing:"full"}:yu(t.timings,e.errors,!0);return{type:me.Stagger,animation:yn(this,Ml(t.animation),e),timings:i,options:null}}};Tw=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(t){this.errors=t}};_u=class{_map=new Map;get(t){return this._map.get(t)||[]}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}},r5=1,o5=":enter",s5=new RegExp(o5,"g"),a5=":leave",l5=new RegExp(a5,"g");Mw=class{buildKeyframes(t,e,i,r,o,s,a,l,c,d=[]){c=c||new _u;let h=new Rw(t,e,c,r,o,d,[]);h.options=l;let m=l.delay?ki(l.delay):0;h.currentTimeline.delayNextStep(m),h.currentTimeline.setStyles([s],null,h.errors,l),yn(this,i,h);let p=h.timelines.filter(g=>g.containsAnimation());if(p.length&&a.size){let g;for(let y=p.length-1;y>=0;y--){let E=p[y];if(E.element===e){g=E;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([a],null,h.errors,l)}return p.length?p.map(g=>g.buildKeyframes()):[Bw(e,[],[],[],0,m,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){let i=e.subInstructions.get(e.element);if(i){let r=e.createSubContext(t.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){let i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,i),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,i){for(let r of t){let o=r?.delay;if(o){let s=typeof o=="number"?o:ki(Rl(o,r?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(t,e,i){let o=e.currentTimeline.currentTime,s=i.duration!=null?ki(i.duration):null,a=i.delay!=null?ki(i.delay):null;return s!==0&&t.forEach(l=>{let c=e.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(t,e){e.updateOptions(t.options,!0),yn(this,t.animation,e),e.previousNode=t}visitSequence(t,e){let i=e.subContextCount,r=e,o=t.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),o.delay!=null)){r.previousNode.type==me.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=og);let s=ki(o.delay);r.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>yn(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){let i=[],r=e.currentTimeline.currentTime,o=t.options&&t.options.delay?ki(t.options.delay):0;t.steps.forEach(s=>{let a=e.createSubContext(t.options);o&&a.delayNextStep(o),yn(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){let i=t.strValue,r=e.params?Rl(i,e.params,e.errors):i;return yu(r,e.errors)}else return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){let i=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());let o=t.style;o.type==me.Keyframes?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){let i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();let o=r&&r.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(o):i.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){let i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,t.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*o),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(r+o),e.previousNode=t}visitQuery(t,e){let i=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?ki(r.delay):0;o&&(e.previousNode.type===me.Style||i==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=og);let s=i,a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{e.currentQueryIndex=d;let h=e.createSubContext(t.options,c);o&&h.delayNextStep(o),c===e.element&&(l=h.currentTimeline),yn(this,t.animation,h),h.currentTimeline.applyStylesToKeyframe();let m=h.currentTimeline.currentTime;s=Math.max(s,m)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){let i=e.parentContext,r=e.currentTimeline,o=t.timings,s=Math.abs(o.duration),a=s*(e.currentQueryTotal-1),l=s*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime;break}let d=e.currentTimeline;l&&d.delayNextStep(l);let h=d.currentTime;yn(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=r.currentTime-h+(r.startTime-i.currentTimeline.startTime)}},og={},Rw=class n{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=og;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(t,e,i,r,o,s,a,l){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.currentTimeline=l||new sg(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;let i=t,r=this.options;i.duration!=null&&(r.duration=ki(i.duration)),i.delay!=null&&(r.delay=ki(i.delay));let o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=Rl(o[a],s,this.errors))})}}_copyOptions(){let t={};if(this.options){let e=this.options.params;if(e){let i=t.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return t}createSubContext(t=null,e,i){let r=e||this.element,o=new n(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=og,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){let r={duration:e??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},o=new Ow(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,r,o,s){let a=[];if(r&&a.push(this.element),t.length>0){t=t.replace(s5,"."+this._enterClassName),t=t.replace(l5,"."+this._leaveClassName);let l=i!=1,c=this._driver.query(this.element,t,l);i!==0&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&a.length==0&&s.push(nP(e)),a}},sg=class n{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(t,e,i,r){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new n(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=r5,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||oi),this._currentKeyframe.set(e,oi);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,r){e&&this._previousKeyframe.set("easing",e);let o=r&&r.params||{},s=c5(t,this._globalTimelineStyles);for(let[a,l]of s){let c=Rl(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??oi),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,i)=>{let r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,e=new Set,i=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((d,h)=>{d===pu?t.add(h):d===oi&&e.add(h)}),i||c.set("offset",l/this.duration),r.push(c)});let o=[...t.values()],s=[...e.values()];if(i){let a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return Bw(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}},Ow=class extends sg{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(t,e,i,r,o,s,a=!1){super(t,e,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){let o=[],s=i+e,a=e/s,l=new Map(t[0]);l.set("offset",0),o.push(l);let c=new Map(t[0]);c.set("offset",wP(a)),o.push(c);let d=t.length-1;for(let h=1;h<=d;h++){let m=new Map(t[h]),p=m.get("offset"),g=e+p*i;m.set("offset",wP(g/s)),o.push(m)}i=s,e=0,r="",t=o}return Bw(this.element,t,this.preStyleProps,this.postStyleProps,i,e,r,!0)}};ww={},ag=class{_triggerName;ast;_stateStyles;constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,r){return d5(this.ast.matchers,t,e,i,r)}buildStyles(t,e,i){let r=this._stateStyles.get("*");return t!==void 0&&(r=this._stateStyles.get(t?.toString())||r),r?r.buildStyles(e,i):new Map}build(t,e,i,r,o,s,a,l,c,d){let h=[],m=this.ast.options&&this.ast.options.params||ww,p=a&&a.params||ww,g=this.buildStyles(i,p,h),y=l&&l.params||ww,E=this.buildStyles(r,y,h),D=new Set,k=new Map,he=new Map,ge=r==="void",At={params:kP(y,m),delay:this.ast.options?.delay},dt=d?[]:FP(t,e,this.ast.animation,o,s,g,E,At,c,h),Tt=0;return dt.forEach(nn=>{Tt=Math.max(nn.duration+nn.delay,Tt)}),h.length?DP(e,this._triggerName,i,r,ge,g,E,[],[],k,he,Tt,h):(dt.forEach(nn=>{let Eo=nn.element,Gs=gn(k,Eo,new Set);nn.preStyleProps.forEach(wo=>Gs.add(wo));let zw=gn(he,Eo,new Set);nn.postStyleProps.forEach(wo=>zw.add(wo)),Eo!==e&&D.add(Eo)}),DP(e,this._triggerName,i,r,ge,g,E,dt,[...D.values()],k,he,Tt))}};Nw=class{styles;defaultParams;normalizer;constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){let i=new Map,r=kP(t,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=Rl(s,r,e));let l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),i.set(a,s)})}),i}};Fw=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,e.states.forEach(r=>{let o=r.options&&r.options.params||{};this.states.set(r.name,new Nw(r.style,o,i))}),SP(this.states,"true","1"),SP(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new ag(t,r,this.states))}),this.fallbackTransition=f5(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,r){return this.transitionFactories.find(s=>s.match(t,e,i,r))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}};h5=new _u,kw=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i}register(t,e){let i=[],r=[],o=NP(this._driver,e,i,r);if(i.length)throw sP(i);this._animations.set(t,o)}_buildPlayer(t,e,i){let r=t.element,o=mw(this._normalizer,t.keyframes,e,i);return this._driver.animate(r,o,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){let r=[],o=this._animations.get(t),s,a=new Map;if(o?(s=FP(this._driver,e,o,bw,Ym,new Map,new Map,i,h5,r),s.forEach(d=>{let h=gn(a,d.element,new Map);d.postStyleProps.forEach(m=>h.set(m,null))})):(r.push(aP()),s=[]),r.length)throw lP(r);a.forEach((d,h)=>{d.forEach((m,p)=>{d.set(p,this._driver.computeStyle(h,p,oi))})});let l=s.map(d=>{let h=a.get(d.element);return this._buildPlayer(d,new Map,h)}),c=xr(l);return this._playersById.set(t,c),c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){let e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);let i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){let e=this._playersById.get(t);if(!e)throw cP(t);return e}listen(t,e,i,r){let o=qm(e,"","","");return Wm(this._getPlayer(t),i,o,r),()=>{}}command(t,e,i,r){if(i=="register"){this.register(t,r[0]);return}if(i=="create"){let s=r[0]||{};this.create(t,e,s);return}let o=this._getPlayer(t);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t);break}}},IP="ng-animate-queued",p5=".ng-animate-queued",Dw="ng-animate-disabled",m5=".ng-animate-disabled",g5="ng-star-inserted",y5=".ng-star-inserted",v5=[],LP={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},_5={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ai="__ng_removed",bu=class{namespaceId;value;options;get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;let i=t&&t.hasOwnProperty("value"),r=i?t.value:t;if(this.value=x5(r),i){let o=t,{value:s}=o,a=pg(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){let e=t.params;if(e){let i=this.options.params;Object.keys(e).forEach(r=>{i[r]==null&&(i[r]=e[r])})}}},vu="void",Sw=new bu(vu),Lw=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this._hostClassName="ng-tns-"+t,Pn(e,this._hostClassName)}listen(t,e,i,r){if(!this._triggers.has(e))throw dP(i,e);if(i==null||i.length==0)throw uP(e);if(!C5(i))throw fP(i,e);let o=gn(this._elementListeners,t,[]),s={name:e,phase:i,callback:r};o.push(s);let a=gn(this._engine.statesByElement,t,new Map);return a.has(e)||(Pn(t,mu),Pn(t,mu+"-"+e),a.set(e,Sw)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(t,e){return this._triggers.has(t)?!1:(this._triggers.set(t,e),!0)}_getTrigger(t){let e=this._triggers.get(t);if(!e)throw hP(t);return e}trigger(t,e,i,r=!0){let o=this._getTrigger(e),s=new xu(this.id,e,t),a=this._engine.statesByElement.get(t);a||(Pn(t,mu),Pn(t,mu+"-"+e),this._engine.statesByElement.set(t,a=new Map));let l=a.get(e),c=new bu(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=Sw),!(c.value===vu)&&l.value===c.value){if(!D5(l.params,c.params)){let y=[],E=o.matchStyles(l.value,l.params,y),D=o.matchStyles(c.value,c.params,y);y.length?this._engine.reportError(y):this._engine.afterFlush(()=>{Co(t,E),si(t,D)})}return}let m=gn(this._engine.playersByElement,t,[]);m.forEach(y=>{y.namespaceId==this.id&&y.triggerName==e&&y.queued&&y.destroy()});let p=o.matchTransition(l.value,c.value,t,c.params),g=!1;if(!p){if(!r)return;p=o.fallbackTransition,g=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:p,fromState:l,toState:c,player:s,isFallbackTransition:g}),g||(Pn(t,IP),s.onStart(()=>{Ol(t,IP)})),s.onDone(()=>{let y=this.players.indexOf(s);y>=0&&this.players.splice(y,1);let E=this._engine.playersByElement.get(t);if(E){let D=E.indexOf(s);D>=0&&E.splice(D,1)}}),this.players.push(s),m.push(s),s}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);let e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){let i=this._engine.driver.query(t,gu,!0);i.forEach(r=>{if(r[ai])return;let o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(t,e,i,r){let o=this._engine.statesByElement.get(t),s=new Map;if(o){let a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){let d=this.trigger(t,c,vu,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,s),i&&xr(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){let e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){let r=new Set;e.forEach(o=>{let s=o.name;if(r.has(s))return;r.add(s);let l=this._triggers.get(s).fallbackTransition,c=i.get(s)||Sw,d=new bu(vu),h=new xu(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:l,fromState:c,toState:d,player:h,isFallbackTransition:!0})})}}removeNode(t,e){let i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(i.totalAnimations){let o=i.players.length?i.playersByQueriedElement.get(t):[];if(o&&o.length)r=!0;else{let s=t;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)i.markElementAsRemoved(this.id,t,!1,e);else{let o=t[ai];(!o||o===LP)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){Pn(t,this._hostClassName)}drainQueuedTransitions(t){let e=[];return this._queue.forEach(i=>{let r=i.player;if(r.destroyed)return;let o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){let l=qm(o,i.triggerName,i.fromState.value,i.toState.value);l._data=t,Wm(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{let o=i.transition.ast.depCount,s=r.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}},Pw=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(t,e)=>{};_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i}get queuedPlayers(){let t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){let i=new Lw(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){let i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){let l=r.get(a);if(l){let c=i.indexOf(l);i.splice(c+1,0,t),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(t)}else i.push(t);return r.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let r=this._namespaceLookup[t];r&&r.register(e,i)&&this.totalAnimations++}destroy(t,e){t&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(t);this.namespacesByHostElement.delete(i.hostElement);let r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(e),delete this._namespaceLookup[t]}))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){let e=new Set,i=this.statesByElement.get(t);if(i){for(let r of i.values())if(r.namespaceId){let o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}}return e}trigger(t,e,i,r){if(tg(e)){let o=this._fetchNamespace(t);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(t,e,i,r){if(!tg(e))return;let o=e[ai];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(t){let s=this._fetchNamespace(t);s&&s.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Pn(t,Dw)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Ol(t,Dw))}removeNode(t,e,i){if(tg(e)){let r=t?this._fetchNamespace(t):null;r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i);let o=this.namespacesByHostElement.get(e);o&&o.id!==t&&o.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,i,r,o){this.collectedLeaveElements.push(e),e[ai]={namespaceId:t,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,e,i,r,o){return tg(e)?this._fetchNamespace(t).listen(e,i,r,o):()=>{}}_buildInstruction(t,e,i,r,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,r,t.fromState.options,t.toState.options,e,o)}destroyInnerAnimations(t){let e=this.driver.query(t,gu,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(t,Qm,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){let e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){let e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return xr(this.players).onDone(()=>t());t()})}processLeaveNode(t){let e=t[ai];if(e&&e.setForRemoval){if(t[ai]=LP,e.namespaceId){this.destroyInnerAnimations(t);let i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(Dw)&&this.markElementAsDisabled(t,!1),this.driver.query(t,m5,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++){let r=this.collectedEnterElements[i];Pn(r,g5)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let i=[];try{e=this._flushAnimations(i,t)}finally{for(let r=0;r<i.length;r++)i[r]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++){let r=this.collectedLeaveElements[i];this.processLeaveNode(r)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],e.length?xr(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(t){throw pP(t)}_flushAnimations(t,e){let i=new _u,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(B=>{d.add(B);let q=this.driver.query(B,p5,!0);for(let X=0;X<q.length;X++)d.add(q[X])});let h=this.bodyNode,m=Array.from(this.statesByElement.keys()),p=MP(m,this.collectedEnterElements),g=new Map,y=0;p.forEach((B,q)=>{let X=bw+y++;g.set(q,X),B.forEach(Se=>Pn(Se,X))});let E=[],D=new Set,k=new Set;for(let B=0;B<this.collectedLeaveElements.length;B++){let q=this.collectedLeaveElements[B],X=q[ai];X&&X.setForRemoval&&(E.push(q),D.add(q),X.hasAnimation?this.driver.query(q,y5,!0).forEach(Se=>D.add(Se)):k.add(q))}let he=new Map,ge=MP(m,Array.from(D));ge.forEach((B,q)=>{let X=Ym+y++;he.set(q,X),B.forEach(Se=>Pn(Se,X))}),t.push(()=>{p.forEach((B,q)=>{let X=g.get(q);B.forEach(Se=>Ol(Se,X))}),ge.forEach((B,q)=>{let X=he.get(q);B.forEach(Se=>Ol(Se,X))}),E.forEach(B=>{this.processLeaveNode(B)})});let At=[],dt=[];for(let B=this._namespaceList.length-1;B>=0;B--)this._namespaceList[B].drainQueuedTransitions(e).forEach(X=>{let Se=X.player,bt=X.element;if(At.push(Se),this.collectedEnterElements.length){let Ft=bt[ai];if(Ft&&Ft.setForMove){if(Ft.previousTriggersValues&&Ft.previousTriggersValues.has(X.triggerName)){let Do=Ft.previousTriggersValues.get(X.triggerName),Dn=this.statesByElement.get(X.element);if(Dn&&Dn.has(X.triggerName)){let Cu=Dn.get(X.triggerName);Cu.value=Do,Dn.set(X.triggerName,Cu)}}Se.destroy();return}}let li=!h||!this.driver.containsElement(h,bt),vn=he.get(bt),Cr=g.get(bt),et=this._buildInstruction(X,i,Cr,vn,li);if(et.errors&&et.errors.length){dt.push(et);return}if(li){Se.onStart(()=>Co(bt,et.fromStyles)),Se.onDestroy(()=>si(bt,et.toStyles)),r.push(Se);return}if(X.isFallbackTransition){Se.onStart(()=>Co(bt,et.fromStyles)),Se.onDestroy(()=>si(bt,et.toStyles)),r.push(Se);return}let Ww=[];et.timelines.forEach(Ft=>{Ft.stretchStartingKeyframe=!0,this.disabledNodes.has(Ft.element)||Ww.push(Ft)}),et.timelines=Ww,i.append(bt,et.timelines);let XP={instruction:et,player:Se,element:bt};s.push(XP),et.queriedElements.forEach(Ft=>gn(a,Ft,[]).push(Se)),et.preStyleProps.forEach((Ft,Do)=>{if(Ft.size){let Dn=l.get(Do);Dn||l.set(Do,Dn=new Set),Ft.forEach((Cu,hg)=>Dn.add(hg))}}),et.postStyleProps.forEach((Ft,Do)=>{let Dn=c.get(Do);Dn||c.set(Do,Dn=new Set),Ft.forEach((Cu,hg)=>Dn.add(hg))})});if(dt.length){let B=[];dt.forEach(q=>{B.push(mP(q.triggerName,q.errors))}),At.forEach(q=>q.destroy()),this.reportError(B)}let Tt=new Map,nn=new Map;s.forEach(B=>{let q=B.element;i.has(q)&&(nn.set(q,q),this._beforeAnimationBuild(B.player.namespaceId,B.instruction,Tt))}),r.forEach(B=>{let q=B.element;this._getPreviousPlayers(q,!1,B.namespaceId,B.triggerName,null).forEach(Se=>{gn(Tt,q,[]).push(Se),Se.destroy()})});let Eo=E.filter(B=>RP(B,l,c)),Gs=new Map;TP(Gs,this.driver,k,c,oi).forEach(B=>{RP(B,l,c)&&Eo.push(B)});let wo=new Map;p.forEach((B,q)=>{TP(wo,this.driver,new Set(B),l,pu)}),Eo.forEach(B=>{let q=Gs.get(B),X=wo.get(B);Gs.set(B,new Map([...q?.entries()??[],...X?.entries()??[]]))});let fg=[],$w=[],Gw={};s.forEach(B=>{let{element:q,player:X,instruction:Se}=B;if(i.has(q)){if(d.has(q)){X.onDestroy(()=>si(q,Se.toStyles)),X.disabled=!0,X.overrideTotalTime(Se.totalTime),r.push(X);return}let bt=Gw;if(nn.size>1){let vn=q,Cr=[];for(;vn=vn.parentNode;){let et=nn.get(vn);if(et){bt=et;break}Cr.push(vn)}Cr.forEach(et=>nn.set(et,bt))}let li=this._buildAnimation(X.namespaceId,Se,Tt,o,wo,Gs);if(X.setRealPlayer(li),bt===Gw)fg.push(X);else{let vn=this.playersByElement.get(bt);vn&&vn.length&&(X.parentPlayer=xr(vn)),r.push(X)}}else Co(q,Se.fromStyles),X.onDestroy(()=>si(q,Se.toStyles)),$w.push(X),d.has(q)&&r.push(X)}),$w.forEach(B=>{let q=o.get(B.element);if(q&&q.length){let X=xr(q);B.setRealPlayer(X)}}),r.forEach(B=>{B.parentPlayer?B.syncPlayerEvents(B.parentPlayer):B.destroy()});for(let B=0;B<E.length;B++){let q=E[B],X=q[ai];if(Ol(q,Ym),X&&X.hasAnimation)continue;let Se=[];if(a.size){let li=a.get(q);li&&li.length&&Se.push(...li);let vn=this.driver.query(q,Qm,!0);for(let Cr=0;Cr<vn.length;Cr++){let et=a.get(vn[Cr]);et&&et.length&&Se.push(...et)}}let bt=Se.filter(li=>!li.destroyed);bt.length?E5(this,q,bt):this.processLeaveNode(q)}return E.length=0,fg.forEach(B=>{this.players.push(B),B.onDone(()=>{B.destroy();let q=this.players.indexOf(B);this.players.splice(q,1)}),B.play()}),fg}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,r,o){let s=[];if(e){let a=this.playersByQueriedElement.get(t);a&&(s=a)}else{let a=this.playersByElement.get(t);if(a){let l=!o||o==vu;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(t,e,i){let r=e.triggerName,o=e.element,s=e.isRemovalTransition?void 0:t,a=e.isRemovalTransition?void 0:r;for(let l of e.timelines){let c=l.element,d=c!==o,h=gn(i,c,[]);this._getPreviousPlayers(c,d,s,a,e.toState).forEach(p=>{let g=p.getRealPlayer();g.beforeDestroy&&g.beforeDestroy(),p.destroy(),h.push(p)})}Co(o,e.fromStyles)}_buildAnimation(t,e,i,r,o,s){let a=e.triggerName,l=e.element,c=[],d=new Set,h=new Set,m=e.timelines.map(g=>{let y=g.element;d.add(y);let E=y[ai];if(E&&E.removedBeforeQueried)return new br(g.duration,g.delay);let D=y!==l,k=w5((i.get(y)||v5).map(Tt=>Tt.getRealPlayer())).filter(Tt=>{let nn=Tt;return nn.element?nn.element===y:!1}),he=o.get(y),ge=s.get(y),At=mw(this._normalizer,g.keyframes,he,ge),dt=this._buildPlayer(g,At,k);if(g.subTimeline&&r&&h.add(y),D){let Tt=new xu(t,a,y);Tt.setRealPlayer(dt),c.push(Tt)}return dt});c.forEach(g=>{gn(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>b5(this.playersByQueriedElement,g.element,g))}),d.forEach(g=>Pn(g,xw));let p=xr(m);return p.onDestroy(()=>{d.forEach(g=>Ol(g,xw)),si(l,e.toStyles)}),h.forEach(g=>{gn(r,g,[]).push(p)}),p}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new br(t.duration,t.delay)}},xu=class{namespaceId;triggerName;element;_player=new br;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>Wm(t,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){let e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){gn(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){let e=this._player;e.triggerCallback&&e.triggerCallback(t)}};Nl=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(t,e)=>{};constructor(t,e,i){this._driver=e,this._normalizer=i,this._transitionEngine=new Pw(t.body,e,i),this._timelineEngine=new kw(t.body,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(t,e,i,r,o){let s=t+"-"+r,a=this._triggerCache[s];if(!a){let l=[],c=[],d=NP(this._driver,o,l,c);if(l.length)throw oP(r,l);a=u5(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,r,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,r){this._transitionEngine.insertNode(t,e,i,r)}onRemove(t,e,i){this._transitionEngine.removeNode(t,e,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,i,r){if(i.charAt(0)=="@"){let[o,s]=gw(i),a=r;this._timelineEngine.command(o,e,s,a)}else this._transitionEngine.trigger(t,e,i,r)}listen(t,e,i,r,o){if(i.charAt(0)=="@"){let[s,a]=gw(i);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(t,e,i,r,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(t){this._transitionEngine.afterFlushAnimationsDone(t)}};I5=(()=>{class n{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r;let o=n.initialStylesByElement.get(e);o||n.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&si(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(si(this._element,this._initialStyles),this._endStyles&&(si(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(Co(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Co(this._element,this._endStyles),this._endStyles=null),si(this._element,this._initialStyles),this._state=3)}}return n})();lg=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(t,e,i,r){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=r,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map;let e=()=>this._onFinish();this.domPlayer.addEventListener("finish",e),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",e)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){let e=[];return t.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(t,e,i){return t.animate(this._convertKeyframesToObject(e),i)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{r!=="offset"&&t.set(r,this._finished?i:Xm(this.element,r))}),this.currentSnapshot=t}triggerCallback(t){let e=t==="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},cg=class{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}containsElement(t,e){return yw(t,e)}getParentElement(t){return Km(t)}query(t,e,i){return vw(t,e,i)}computeStyle(t,e,i){return Xm(t,e)}animate(t,e,i,r,o,s=[]){let a=r==0?"both":"forwards",l={duration:i,delay:r,fill:a};o&&(l.easing=o);let c=new Map,d=s.filter(p=>p instanceof lg);_P(i,r)&&d.forEach(p=>{p.currentSnapshot.forEach((g,y)=>c.set(y,g))});let h=yP(e).map(p=>new Map(p));h=bP(t,h,c);let m=S5(t,h);return new lg(t,h,l,m)}},ng="@",jP="@.disabled",dg=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(t,e,i,r){this.namespaceId=t,this.delegate=e,this.engine=i,this._onDestroy=r}get data(){return this.delegate.data}destroyNode(t){this.delegate.destroyNode?.(t)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,r=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,r)}removeChild(t,e,i){this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,r){this.delegate.setAttribute(t,e,i,r)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,r){this.delegate.setStyle(t,e,i,r)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){e.charAt(0)==ng&&e==jP?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i,r){return this.delegate.listen(t,e,i,r)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}},jw=class extends dg{factory;constructor(t,e,i,r,o){super(e,i,r,o),this.factory=t,this.namespaceId=e}setProperty(t,e,i){e.charAt(0)==ng?e.charAt(1)=="."&&e==jP?(i=i===void 0?!0:!!i,this.disableAnimations(t,i)):this.engine.process(this.namespaceId,t,e.slice(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i,r){if(e.charAt(0)==ng){let o=T5(t),s=e.slice(1),a="";return s.charAt(0)!=ng&&([s,a]=M5(s)),this.engine.listen(this.namespaceId,o,s,a,l=>{let c=l._data||-1;this.factory.scheduleListenerCallback(c,i,l)})}return this.delegate.listen(t,e,i,r)}};ug=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(t,e,i){this.delegate=t,this.engine=e,this._zone=i,e.onRemovalComplete=(r,o)=>{o?.removeChild(null,r)}}createRenderer(t,e){let r=this.delegate.createRenderer(t,e);if(!t||!e?.data?.animation){let c=this._rendererCache,d=c.get(r);if(!d){let h=()=>c.delete(r);d=new dg("",r,this.engine,h),c.set(r,d)}return d}let o=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,t,c.name,c)};return e.data.animation.forEach(a),new jw(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,i){if(t>=0&&t<this._microtaskId){this._zone.run(()=>e(i));return}let r=this._animationCallbacksBuffer;r.length==0&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),r.push([e,i])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(t){this.engine.flush(),this.delegate.componentReplaced?.(t)}}});function N5(){return new ig}function F5(n,t,e){return new ug(n,t,e)}function BP(){return Rn("NgEagerAnimations"),[...k5]}var O5,VP,Jwe,k5,UP=f(()=>{"use strict";_();_();Uw();Uw();Le();Jb();O5=(()=>{class n extends Nl{constructor(e,i,r){super(e,i,r)}ngOnDestroy(){this.flush()}static \u0275fac=function(i){return new(i||n)(S(U),S(zs),S($s))};static \u0275prov=v({token:n,factory:n.\u0275fac})}return n})();VP=[{provide:$s,useFactory:N5},{provide:Nl,useClass:O5},{provide:ft,useFactory:F5,deps:[Gc,Nl,P]}],Jwe=[{provide:zs,useClass:Vw},{provide:Gr,useValue:"NoopAnimations"},...VP],k5=[{provide:zs,useFactory:()=>new cg},{provide:Gr,useFactory:()=>"BrowserAnimations"},...VP]});var HP,zP=f(()=>{"use strict";Il();HP=()=>({provide:Sl,useFactory:()=>({supportEmail:"",maxCharLength:1e4,subscriptionUrl:"",useLocalQuota:!0})})});var $P,GP=f(()=>{"use strict";op();$P=()=>({provide:za,useValue:{}})});var WP,qP=f(()=>{"use strict";_();op();we();WP=(n,t)=>{let e=u(za),i=window;if(e.skipAuthUrls?.find(r=>n.url.includes(r)))return t(n);if(i.getTildeWebComponentAuthToken){let r=i.getTildeWebComponentAuthToken;return Pe(r()).pipe(Ke(o=>{let s=n.clone({setHeaders:{Authorization:`Bearer ${o}`}});return t(s)}))}if(e.xApiKey){let r=n.clone({setHeaders:{"X-Api-Key":`${e.xApiKey}`}});return t(r)}return t(n)}});var KP,YP=f(()=>{"use strict";Ns();KP=()=>{let n="https://services.tilde.com/service";return{provide:Kd,useFactory:()=>({sharedConfiguration:{xAppId:""},quotaService:{url:`${n}/quota/usage`},llmService:{url:`${n}/language-assistant`}})}}});var Hw,QP=f(()=>{"use strict";Qc();_();UP();Dt();zP();GP();qP();YP();Hw={providers:[sx(ax([WP])),BP(),Tf(Di.forRoot()),HP(),KP(),$P()]}});var L5=t1(ZP=>{hT();Xc();VL();cw();UL();QP();jC();Er(null,null,function*(){let n=yield tx(Hw),t=Lb(_m,{injector:n.injector}),e=Lb(Gm,{injector:n.injector});customElements.define("tilde-text-to-speech",t),customElements.define("tilde-llm",e)});BL.production||ex(jL,Hw).catch(n=>console.error(n))});export default L5();
|