@tilde-nlp/ngx-common 6.1.89 → 6.1.91

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.
@@ -1,66 +1,30 @@
1
- var C0=Object.defineProperty,ck=Object.defineProperties;var dk=Object.getOwnPropertyDescriptors;var Fc=Object.getOwnPropertySymbols;var w0=Object.prototype.hasOwnProperty,E0=Object.prototype.propertyIsEnumerable;var x0=(t,n,e)=>n in t?C0(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,x=(t,n)=>{for(var e in n||={})w0.call(n,e)&&x0(t,e,n[e]);if(Fc)for(var e of Fc(n))E0.call(n,e)&&x0(t,e,n[e]);return t},ce=(t,n)=>ck(t,dk(n));var hp=(t,n)=>{var e={};for(var i in t)w0.call(t,i)&&n.indexOf(i)<0&&(e[i]=t[i]);if(t!=null&&Fc)for(var i of Fc(t))n.indexOf(i)<0&&E0.call(t,i)&&(e[i]=t[i]);return e};var f=(t,n)=>()=>(t&&(n=t(t=0)),n);var uk=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports),fk=(t,n)=>{for(var e in n)C0(t,e,{get:n[e],enumerable:!0})};var Ko=(t,n,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(t,n)).next())});function D0(t,n){return Object.is(t,n)}function be(t){let n=ft;return ft=t,n}function I0(){return ft}function hk(){return Oa}function vp(t){if(Oa)throw new Error("");if(ft===null)return;ft.consumerOnSignalRead(t);let n=ft.nextProducerIndex++;if(Uc(ft),n<ft.producerNode.length&&ft.producerNode[n]!==t&&ka(ft)){let e=ft.producerNode[n];Bc(e,ft.producerIndexOfThis[n])}ft.producerNode[n]!==t&&(ft.producerNode[n]=t,ft.producerIndexOfThis[n]=ka(ft)?R0(t,ft,n):0),ft.producerLastReadVersion[n]=t.version}function pk(){Nc++}function S0(t){if(!(ka(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Nc)){if(!t.producerMustRecompute(t)&&!jc(t)){t.dirty=!1,t.lastCleanEpoch=Nc;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=Nc}}function M0(t){if(t.liveConsumerNode===void 0)return;let n=Oa;Oa=!0;try{for(let e of t.liveConsumerNode)e.dirty||T0(e)}finally{Oa=n}}function A0(){return ft?.consumerAllowSignalWrites!==!1}function T0(t){t.dirty=!0,M0(t),t.consumerMarkedDirty?.(t)}function Fa(t){return t&&(t.nextProducerIndex=0),be(t)}function Pc(t,n){if(be(n),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(ka(t))for(let e=t.nextProducerIndex;e<t.producerNode.length;e++)Bc(t.producerNode[e],t.producerIndexOfThis[e]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function jc(t){Uc(t);for(let n=0;n<t.producerNode.length;n++){let e=t.producerNode[n],i=t.producerLastReadVersion[n];if(i!==e.version||(S0(e),i!==e.version))return!0}return!1}function Vc(t){if(Uc(t),ka(t))for(let n=0;n<t.producerNode.length;n++)Bc(t.producerNode[n],t.producerIndexOfThis[n]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function R0(t,n,e){if(O0(t),t.liveConsumerNode.length===0&&k0(t))for(let i=0;i<t.producerNode.length;i++)t.producerIndexOfThis[i]=R0(t.producerNode[i],t,i);return t.liveConsumerIndexOfThis.push(e),t.liveConsumerNode.push(n)-1}function Bc(t,n){if(O0(t),t.liveConsumerNode.length===1&&k0(t))for(let i=0;i<t.producerNode.length;i++)Bc(t.producerNode[i],t.producerIndexOfThis[i]);let e=t.liveConsumerNode.length-1;if(t.liveConsumerNode[n]=t.liveConsumerNode[e],t.liveConsumerIndexOfThis[n]=t.liveConsumerIndexOfThis[e],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,n<t.liveConsumerNode.length){let i=t.liveConsumerIndexOfThis[n],r=t.liveConsumerNode[n];Uc(r),r.producerIndexOfThis[i]=n}}function ka(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function Uc(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function O0(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function k0(t){return t.producerNode!==void 0}function yp(t){let n=Object.create(mk);n.computation=t;let e=()=>{if(S0(n),vp(n),n.value===Lc)throw n.error;return n.value};return e[hn]=n,e}function gk(){throw new Error}function N0(){F0()}function L0(t){F0=t}function P0(t){let n=Object.create(V0);n.value=t;let e=()=>(vp(n),n.value);return e[hn]=n,e}function bp(t,n){A0()||N0(),t.equal(t.value,n)||(t.value=n,yk(t))}function j0(t,n){A0()||N0(),bp(t,n(t.value))}function yk(t){t.version++,pk(),M0(t),vk?.()}function B0(t,n,e){let i=Object.create(bk);e&&(i.consumerAllowSignalWrites=!0),i.fn=t,i.schedule=n;let r=l=>{i.cleanupFn=l};function o(l){return l.fn===null&&l.schedule===null}function s(l){o(l)||(Vc(l),l.cleanupFn(),l.fn=null,l.schedule=null,l.cleanupFn=gp)}let a=()=>{if(i.fn===null)return;if(hk())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(i.dirty=!1,i.hasRun&&!jc(i))return;i.hasRun=!0;let l=Fa(i);try{i.cleanupFn(),i.cleanupFn=gp,i.fn(r)}finally{Pc(i,l)}};return i.ref={notify:()=>T0(i),run:a,cleanup:()=>i.cleanupFn(),destroy:()=>s(i),[hn]:i},i.ref}var ft,Oa,Nc,hn,Qo,pp,mp,Lc,mk,F0,vk,V0,gp,bk,U0=f(()=>{"use strict";ft=null,Oa=!1,Nc=1,hn=Symbol("SIGNAL");Qo={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};pp=Symbol("UNSET"),mp=Symbol("COMPUTING"),Lc=Symbol("ERRORED"),mk=ce(x({},Qo),{value:pp,dirty:!0,error:null,equal:D0,producerMustRecompute(t){return t.value===pp||t.value===mp},producerRecomputeValue(t){if(t.value===mp)throw new Error("Detected cycle in computations.");let n=t.value;t.value=mp;let e=Fa(t),i;try{i=t.computation()}catch(r){i=Lc,t.error=r}finally{Pc(t,e)}if(n!==pp&&n!==Lc&&i!==Lc&&t.equal(n,i)){t.value=n;return}t.value=i,t.version++}});F0=gk;vk=null;V0=ce(x({},Qo),{equal:D0,value:void 0});gp=()=>{},bk=ce(x({},Qo),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule!==null&&t.schedule(t.ref)},hasRun:!1,cleanupFn:gp})});function q(t){return typeof t=="function"}var ct=f(()=>{"use strict"});function Zo(t){let e=t(i=>{Error.call(i),i.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var zc=f(()=>{"use strict"});var $c,z0=f(()=>{"use strict";zc();$c=Zo(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:
1
+ var b0=Object.defineProperty,cF=Object.defineProperties;var dF=Object.getOwnPropertyDescriptors;var Fc=Object.getOwnPropertySymbols;var _0=Object.prototype.hasOwnProperty,x0=Object.prototype.propertyIsEnumerable;var y0=(t,n,e)=>n in t?b0(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,x=(t,n)=>{for(var e in n||={})_0.call(n,e)&&y0(t,e,n[e]);if(Fc)for(var e of Fc(n))x0.call(n,e)&&y0(t,e,n[e]);return t},ae=(t,n)=>cF(t,dF(n));var cp=(t,n)=>{var e={};for(var i in t)_0.call(t,i)&&n.indexOf(i)<0&&(e[i]=t[i]);if(t!=null&&Fc)for(var i of Fc(t))n.indexOf(i)<0&&x0.call(t,i)&&(e[i]=t[i]);return e};var f=(t,n)=>()=>(t&&(n=t(t=0)),n);var uF=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports),fF=(t,n)=>{for(var e in n)b0(t,e,{get:n[e],enumerable:!0})};var Yo=(t,n,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(t,n)).next())});function C0(t,n){return Object.is(t,n)}function ve(t){let n=ft;return ft=t,n}function w0(){return ft}function hF(){return Oa}function hp(t){if(Oa)throw new Error("");if(ft===null)return;ft.consumerOnSignalRead(t);let n=ft.nextProducerIndex++;if(Bc(ft),n<ft.producerNode.length&&ft.producerNode[n]!==t&&Fa(ft)){let e=ft.producerNode[n];Vc(e,ft.producerIndexOfThis[n])}ft.producerNode[n]!==t&&(ft.producerNode[n]=t,ft.producerIndexOfThis[n]=Fa(ft)?M0(t,ft,n):0),ft.producerLastReadVersion[n]=t.version}function pF(){kc++}function E0(t){if(!(Fa(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===kc)){if(!t.producerMustRecompute(t)&&!Pc(t)){t.dirty=!1,t.lastCleanEpoch=kc;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=kc}}function D0(t){if(t.liveConsumerNode===void 0)return;let n=Oa;Oa=!0;try{for(let e of t.liveConsumerNode)e.dirty||S0(e)}finally{Oa=n}}function I0(){return ft?.consumerAllowSignalWrites!==!1}function S0(t){t.dirty=!0,D0(t),t.consumerMarkedDirty?.(t)}function ka(t){return t&&(t.nextProducerIndex=0),ve(t)}function Lc(t,n){if(ve(n),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Fa(t))for(let e=t.nextProducerIndex;e<t.producerNode.length;e++)Vc(t.producerNode[e],t.producerIndexOfThis[e]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Pc(t){Bc(t);for(let n=0;n<t.producerNode.length;n++){let e=t.producerNode[n],i=t.producerLastReadVersion[n];if(i!==e.version||(E0(e),i!==e.version))return!0}return!1}function jc(t){if(Bc(t),Fa(t))for(let n=0;n<t.producerNode.length;n++)Vc(t.producerNode[n],t.producerIndexOfThis[n]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function M0(t,n,e){if(A0(t),t.liveConsumerNode.length===0&&T0(t))for(let i=0;i<t.producerNode.length;i++)t.producerIndexOfThis[i]=M0(t.producerNode[i],t,i);return t.liveConsumerIndexOfThis.push(e),t.liveConsumerNode.push(n)-1}function Vc(t,n){if(A0(t),t.liveConsumerNode.length===1&&T0(t))for(let i=0;i<t.producerNode.length;i++)Vc(t.producerNode[i],t.producerIndexOfThis[i]);let e=t.liveConsumerNode.length-1;if(t.liveConsumerNode[n]=t.liveConsumerNode[e],t.liveConsumerIndexOfThis[n]=t.liveConsumerIndexOfThis[e],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,n<t.liveConsumerNode.length){let i=t.liveConsumerIndexOfThis[n],r=t.liveConsumerNode[n];Bc(r),r.producerIndexOfThis[i]=n}}function Fa(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function Bc(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function A0(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function T0(t){return t.producerNode!==void 0}function pp(t){let n=Object.create(mF);n.computation=t;let e=()=>{if(E0(n),hp(n),n.value===Nc)throw n.error;return n.value};return e[hn]=n,e}function gF(){throw new Error}function O0(){R0()}function F0(t){R0=t}function k0(t){let n=Object.create(L0);n.value=t;let e=()=>(hp(n),n.value);return e[hn]=n,e}function mp(t,n){I0()||O0(),t.equal(t.value,n)||(t.value=n,yF(t))}function N0(t,n){I0()||O0(),mp(t,n(t.value))}function yF(t){t.version++,pF(),D0(t),vF?.()}function P0(t,n,e){let i=Object.create(bF);e&&(i.consumerAllowSignalWrites=!0),i.fn=t,i.schedule=n;let r=l=>{i.cleanupFn=l};function o(l){return l.fn===null&&l.schedule===null}function s(l){o(l)||(jc(l),l.cleanupFn(),l.fn=null,l.schedule=null,l.cleanupFn=fp)}let a=()=>{if(i.fn===null)return;if(hF())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(i.dirty=!1,i.hasRun&&!Pc(i))return;i.hasRun=!0;let l=ka(i);try{i.cleanupFn(),i.cleanupFn=fp,i.fn(r)}finally{Lc(i,l)}};return i.ref={notify:()=>S0(i),run:a,cleanup:()=>i.cleanupFn(),destroy:()=>s(i),[hn]:i},i.ref}var ft,Oa,kc,hn,Ko,dp,up,Nc,mF,R0,vF,L0,fp,bF,j0=f(()=>{"use strict";ft=null,Oa=!1,kc=1,hn=Symbol("SIGNAL");Ko={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};dp=Symbol("UNSET"),up=Symbol("COMPUTING"),Nc=Symbol("ERRORED"),mF=ae(x({},Ko),{value:dp,dirty:!0,error:null,equal:C0,producerMustRecompute(t){return t.value===dp||t.value===up},producerRecomputeValue(t){if(t.value===up)throw new Error("Detected cycle in computations.");let n=t.value;t.value=up;let e=ka(t),i;try{i=t.computation()}catch(r){i=Nc,t.error=r}finally{Lc(t,e)}if(n!==dp&&n!==Nc&&i!==Nc&&t.equal(n,i)){t.value=n;return}t.value=i,t.version++}});R0=gF;vF=null;L0=ae(x({},Ko),{equal:C0,value:void 0});fp=()=>{},bF=ae(x({},Ko),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule!==null&&t.schedule(t.ref)},hasRun:!1,cleanupFn:fp})});function q(t){return typeof t=="function"}var lt=f(()=>{"use strict"});function Qo(t){let e=t(i=>{Error.call(i),i.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Uc=f(()=>{"use strict"});var zc,V0=f(()=>{"use strict";Uc();zc=Qo(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:
2
2
  ${e.map((i,r)=>`${r+1}) ${i.toString()}`).join(`
3
- `)}`:"",this.name="UnsubscriptionError",this.errors=e})});function Wr(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var Hc=f(()=>{"use strict"});function Gc(t){return t instanceof _e||t&&"closed"in t&&q(t.remove)&&q(t.add)&&q(t.unsubscribe)}function $0(t){q(t)?t():t.unsubscribe()}var _e,_p,qr=f(()=>{"use strict";ct();z0();Hc();_e=class t{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let o of e)o.remove(this);else e.remove(this);let{initialTeardown:i}=this;if(q(i))try{i()}catch(o){n=o instanceof $c?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{$0(o)}catch(s){n=n??[],s instanceof $c?n=[...n,...s.errors]:n.push(s)}}if(n)throw new $c(n)}}add(n){var e;if(n&&n!==this)if(this.closed)$0(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(n)}}_hasParent(n){let{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){let{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&Wr(e,n)}remove(n){let{_finalizers:e}=this;e&&Wr(e,n),n instanceof t&&n._removeParent(this)}};_e.EMPTY=(()=>{let t=new _e;return t.closed=!0,t})();_p=_e.EMPTY});var Sn,Na=f(()=>{"use strict";Sn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}});var Xo,xp=f(()=>{"use strict";Xo={setTimeout(t,n,...e){let{delegate:i}=Xo;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=Xo;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0}});function Wc(t){Xo.setTimeout(()=>{let{onUnhandledError:n}=Sn;if(n)n(t);else throw t})}var Cp=f(()=>{"use strict";Na();xp()});function La(){}var wp=f(()=>{"use strict"});function G0(t){return Ep("E",void 0,t)}function W0(t){return Ep("N",t,void 0)}function Ep(t,n,e){return{kind:t,value:n,error:e}}var H0,q0=f(()=>{"use strict";H0=Ep("C",void 0,void 0)});function Jo(t){if(Sn.useDeprecatedSynchronousErrorHandling){let n=!Yr;if(n&&(Yr={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:i}=Yr;if(Yr=null,e)throw i}}else t()}function Y0(t){Sn.useDeprecatedSynchronousErrorHandling&&Yr&&(Yr.errorThrown=!0,Yr.error=t)}var Yr,qc=f(()=>{"use strict";Na();Yr=null});function Dp(t,n){return _k.call(t,n)}function Yc(t){Sn.useDeprecatedSynchronousErrorHandling?Y0(t):Wc(t)}function xk(t){throw t}function Ip(t,n){let{onStoppedNotification:e}=Sn;e&&Xo.setTimeout(()=>e(t,n))}var Kr,_k,Sp,hi,Ck,Kc=f(()=>{"use strict";ct();qr();Na();Cp();wp();q0();xp();qc();Kr=class extends _e{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Gc(n)&&n.add(this)):this.destination=Ck}static create(n,e,i){return new hi(n,e,i)}next(n){this.isStopped?Ip(W0(n),this):this._next(n)}error(n){this.isStopped?Ip(G0(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Ip(H0,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},_k=Function.prototype.bind;Sp=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){Yc(i)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){Yc(i)}else Yc(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){Yc(e)}}},hi=class extends Kr{constructor(n,e,i){super();let r;if(q(n)||!n)r={next:n??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&Sn.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Dp(n.next,o),error:n.error&&Dp(n.error,o),complete:n.complete&&Dp(n.complete,o)}):r=n}this.destination=new Sp(r)}};Ck={closed:!0,next:La,error:xk,complete:La}});var es,Qc=f(()=>{"use strict";es=typeof Symbol=="function"&&Symbol.observable||"@@observable"});function Ft(t){return t}var Ki=f(()=>{"use strict"});function Mp(...t){return Ap(t)}function Ap(t){return t.length===0?Ft:t.length===1?t[0]:function(e){return t.reduce((i,r)=>r(i),e)}}var Tp=f(()=>{"use strict";Ki()});function K0(t){var n;return(n=t??Sn.Promise)!==null&&n!==void 0?n:Promise}function wk(t){return t&&q(t.next)&&q(t.error)&&q(t.complete)}function Ek(t){return t&&t instanceof Kr||wk(t)&&Gc(t)}var Z,It=f(()=>{"use strict";Kc();qr();Qc();Tp();Na();ct();qc();Z=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,r){let o=Ek(e)?e:new hi(e,i,r);return Jo(()=>{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=K0(i),new i((r,o)=>{let s=new hi({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)}[es](){return this}pipe(...e){return Ap(e)(this)}toPromise(e){return e=K0(e),new e((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return t.create=n=>new t(n),t})()});function Rp(t){return q(t?.lift)}function ae(t){return n=>{if(Rp(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}var qe=f(()=>{"use strict";ct()});function re(t,n,e,i,r){return new Op(t,n,e,i,r)}var Op,tt=f(()=>{"use strict";Kc();Op=class extends Kr{constructor(n,e,i,r,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}}});function ts(){return ae((t,n)=>{let e=null;t._refCount++;let i=re(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){e=null;return}let r=t._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}var kp=f(()=>{"use strict";qe();tt()});var Qr,Q0=f(()=>{"use strict";It();qr();kp();tt();qe();Qr=class extends Z{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Rp(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new _e;let e=this.getSubject();n.add(this.source.subscribe(re(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=_e.EMPTY)}return n}refCount(){return ts()(this)}}});var Z0,X0=f(()=>{"use strict";zc();Z0=Zo(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"})});var R,Zc,Pa=f(()=>{"use strict";It();qr();X0();Hc();qc();R=(()=>{class t 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 Zc(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new Z0}next(e){Jo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(e)}})}error(e){Jo(()=>{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(){Jo(()=>{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?_p:(this.currentObservers=null,o.push(e),new _e(()=>{this.currentObservers=null,Wr(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 t.create=(n,e)=>new Zc(n,e),t})(),Zc=class extends R{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.next)===null||i===void 0||i.call(e,n)}error(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.error)===null||i===void 0||i.call(e,n)}complete(){var n,e;(e=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||e===void 0||e.call(n)}_subscribe(n){var e,i;return(i=(e=this.source)===null||e===void 0?void 0:e.subscribe(n))!==null&&i!==void 0?i:_p}}});var it,J0=f(()=>{"use strict";Pa();it=class extends R{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){let{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}});var ja,Fp=f(()=>{"use strict";ja={now(){return(ja.delegate||Date).now()},delegate:void 0}});var Zr,Np=f(()=>{"use strict";Pa();Fp();Zr=class extends R{constructor(n=1/0,e=1/0,i=ja){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){let{isStopped:e,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;e||(i.push(n),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;s<o.length&&!n.closed;s+=i?1:2)n.next(o[s]);return this._checkFinalizedStatuses(n),e}_trimBuffer(){let{_bufferSize:n,_timestampProvider:e,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*n;if(n<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 Xc,ex=f(()=>{"use strict";qr();Xc=class extends _e{constructor(n,e){super()}schedule(n,e=0){return this}}});var Va,tx=f(()=>{"use strict";Va={setInterval(t,n,...e){let{delegate:i}=Va;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){let{delegate:n}=Va;return(n?.clearInterval||clearInterval)(t)},delegate:void 0}});var Jc,nx=f(()=>{"use strict";ex();tx();Hc();Jc=class extends Xc{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var i;if(this.closed)return this;this.state=n;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(n,e,i=0){return Va.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(i!=null&&this.delay===i&&this.pending===!1)return e;e!=null&&Va.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let i=this._execute(n,e);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let i=!1,r;try{this.work(n)}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:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,Wr(i,this),n!=null&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}}});var ns,ix=f(()=>{"use strict";Fp();ns=class t{constructor(n,e=t.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}};ns.now=ja.now});var ed,rx=f(()=>{"use strict";ix();ed=class extends ns{constructor(n,e=ns.now){super(n,e),this.actions=[],this._active=!1}flush(n){let{actions:e}=this;if(this._active){e.push(n);return}let i;this._active=!0;do if(i=n.execute(n.state,n.delay))break;while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}}});var Ba,ox,td=f(()=>{"use strict";nx();rx();Ba=new ed(Jc),ox=Ba});var Nt,Ua=f(()=>{"use strict";It();Nt=new Z(t=>t.complete())});function nd(t){return t&&q(t.schedule)}var Lp=f(()=>{"use strict";ct()});function Pp(t){return t[t.length-1]}function id(t){return q(Pp(t))?t.pop():void 0}function zn(t){return nd(Pp(t))?t.pop():void 0}function sx(t,n){return typeof Pp(t)=="number"?t.pop():n}var Xr=f(()=>{"use strict";ct();Lp()});function lx(t,n,e,i){function r(o){return o instanceof e?o:new e(function(s){s(o)})}return new(e||(e=Promise))(function(o,s){function a(d){try{c(i.next(d))}catch(u){s(u)}}function l(d){try{c(i.throw(d))}catch(u){s(u)}}function c(d){d.done?o(d.value):r(d.value).then(a,l)}c((i=i.apply(t,n||[])).next())})}function ax(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Jr(t){return this instanceof Jr?(this.v=t,this):new Jr(t)}function cx(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=e.apply(t,n||[]),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(h){return function(v){return Promise.resolve(v).then(h,u)}}function a(h,v){i[h]&&(r[h]=function(b){return new Promise(function(E,M){o.push([h,b,E,M])>1||l(h,b)})},v&&(r[h]=v(r[h])))}function l(h,v){try{c(i[h](v))}catch(b){m(o[0][3],b)}}function c(h){h.value instanceof Jr?Promise.resolve(h.value.v).then(d,u):m(o[0][2],h)}function d(h){l("next",h)}function u(h){l("throw",h)}function m(h,v){h(v),o.shift(),o.length&&l(o[0][0],o[0][1])}}function dx(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],e;return n?n.call(t):(t=typeof ax=="function"?ax(t):t[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=t[o]&&function(s){return new Promise(function(a,l){s=t[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 jp=f(()=>{"use strict"});var is,rd=f(()=>{"use strict";is=t=>t&&typeof t.length=="number"&&typeof t!="function"});function od(t){return q(t?.then)}var Vp=f(()=>{"use strict";ct()});function sd(t){return q(t[es])}var Bp=f(()=>{"use strict";Qc();ct()});function ad(t){return Symbol.asyncIterator&&q(t?.[Symbol.asyncIterator])}var Up=f(()=>{"use strict";ct()});function ld(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}var zp=f(()=>{"use strict"});function Dk(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var cd,$p=f(()=>{"use strict";cd=Dk()});function dd(t){return q(t?.[cd])}var Hp=f(()=>{"use strict";$p();ct()});function ud(t){return cx(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:i,done:r}=yield Jr(e.read());if(r)return yield Jr(void 0);yield yield Jr(i)}}finally{e.releaseLock()}})}function fd(t){return q(t?.getReader)}var hd=f(()=>{"use strict";jp();ct()});function Ne(t){if(t instanceof Z)return t;if(t!=null){if(sd(t))return Ik(t);if(is(t))return Sk(t);if(od(t))return Mk(t);if(ad(t))return ux(t);if(dd(t))return Ak(t);if(fd(t))return Tk(t)}throw ld(t)}function Ik(t){return new Z(n=>{let e=t[es]();if(q(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Sk(t){return new Z(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}function Mk(t){return new Z(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,Wc)})}function Ak(t){return new Z(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function ux(t){return new Z(n=>{Rk(t,n).catch(e=>n.error(e))})}function Tk(t){return ux(ud(t))}function Rk(t,n){var e,i,r,o;return lx(this,void 0,void 0,function*(){try{for(e=dx(t);i=yield e.next(),!i.done;){let s=i.value;if(n.next(s),n.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}}n.complete()})}var Lt=f(()=>{"use strict";jp();rd();Vp();It();Bp();Up();zp();Hp();hd();ct();Cp();Qc()});function zt(t,n,e,i=0,r=!1){let o=n.schedule(function(){e(),r?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(o),!r)return o}var rs=f(()=>{"use strict"});function pd(t,n=0){return ae((e,i)=>{e.subscribe(re(i,r=>zt(i,t,()=>i.next(r),n),()=>zt(i,t,()=>i.complete(),n),r=>zt(i,t,()=>i.error(r),n)))})}var Gp=f(()=>{"use strict";rs();qe();tt()});function md(t,n=0){return ae((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}var Wp=f(()=>{"use strict";qe()});function fx(t,n){return Ne(t).pipe(md(n),pd(n))}var hx=f(()=>{"use strict";Lt();Gp();Wp()});function px(t,n){return Ne(t).pipe(md(n),pd(n))}var mx=f(()=>{"use strict";Lt();Gp();Wp()});function gx(t,n){return new Z(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}var vx=f(()=>{"use strict";It()});function yx(t,n){return new Z(e=>{let i;return zt(e,n,()=>{i=t[cd](),zt(e,n,()=>{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 bx=f(()=>{"use strict";It();$p();ct();rs()});function gd(t,n){if(!t)throw new Error("Iterable cannot be null");return new Z(e=>{zt(e,n,()=>{let i=t[Symbol.asyncIterator]();zt(e,n,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}var qp=f(()=>{"use strict";It();rs()});function _x(t,n){return gd(ud(t),n)}var xx=f(()=>{"use strict";qp();hd()});function Cx(t,n){if(t!=null){if(sd(t))return fx(t,n);if(is(t))return gx(t,n);if(od(t))return px(t,n);if(ad(t))return gd(t,n);if(dd(t))return yx(t,n);if(fd(t))return _x(t,n)}throw ld(t)}var wx=f(()=>{"use strict";hx();mx();vx();bx();qp();Bp();Vp();rd();Hp();Up();zp();hd();xx()});function Le(t,n){return n?Cx(t,n):Ne(t)}var os=f(()=>{"use strict";wx();Lt()});function O(...t){let n=zn(t);return Le(t,n)}var Ex=f(()=>{"use strict";Xr();os()});function Qi(t,n){let e=q(t)?t:()=>t,i=r=>r.error(e());return new Z(n?r=>n.schedule(i,0,r):i)}var Dx=f(()=>{"use strict";It();ct()});function pn(t){return!!t&&(t instanceof Z||q(t.lift)&&q(t.subscribe))}var Ix=f(()=>{"use strict";It();ct()});var pi,za=f(()=>{"use strict";zc();pi=Zo(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"})});function Sx(t){return t instanceof Date&&!isNaN(t)}var Mx=f(()=>{"use strict"});function F(t,n){return ae((e,i)=>{let r=0;e.subscribe(re(i,o=>{i.next(t.call(n,o,r++))}))})}var ss=f(()=>{"use strict";qe();tt()});function kk(t,n){return Ok(n)?t(...n):t(n)}function as(t){return F(n=>kk(t,n))}var Ok,vd=f(()=>{"use strict";ss();({isArray:Ok}=Array)});function yd(t){if(t.length===1){let n=t[0];if(Fk(n))return{args:n,keys:null};if(jk(n)){let e=Pk(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}function jk(t){return t&&typeof t=="object"&&Nk(t)===Lk}var Fk,Nk,Lk,Pk,Yp=f(()=>{"use strict";({isArray:Fk}=Array),{getPrototypeOf:Nk,prototype:Lk,keys:Pk}=Object});function bd(t,n){return t.reduce((e,i,r)=>(e[i]=n[r],e),{})}var Kp=f(()=>{"use strict"});function eo(...t){let n=zn(t),e=id(t),{args:i,keys:r}=yd(t);if(i.length===0)return Le([],n);let o=new Z(Vk(i,n,r?s=>bd(r,s):Ft));return e?o.pipe(as(e)):o}function Vk(t,n,e=Ft){return i=>{Ax(n,()=>{let{length:r}=t,o=new Array(r),s=r,a=r;for(let l=0;l<r;l++)Ax(n,()=>{let c=Le(t[l],n),d=!1;c.subscribe(re(i,u=>{o[l]=u,d||(d=!0,a--),a||i.next(e(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}function Ax(t,n,e){t?zt(e,t,n):n()}var Tx=f(()=>{"use strict";It();Yp();os();Ki();vd();Xr();Kp();tt();rs()});function Rx(t,n,e,i,r,o,s,a){let l=[],c=0,d=0,u=!1,m=()=>{u&&!l.length&&!c&&n.complete()},h=b=>c<i?v(b):l.push(b),v=b=>{o&&n.next(b),c++;let E=!1;Ne(e(b,d++)).subscribe(re(n,M=>{r?.(M),o?h(M):n.next(M)},()=>{E=!0},void 0,()=>{if(E)try{for(c--;l.length&&c<i;){let M=l.shift();s?zt(n,s,()=>v(M)):v(M)}m()}catch(M){n.error(M)}}))};return t.subscribe(re(n,h,()=>{u=!0,m()})),()=>{a?.()}}var Ox=f(()=>{"use strict";Lt();rs();tt()});function He(t,n,e=1/0){return q(n)?He((i,r)=>F((o,s)=>n(i,o,r,s))(Ne(t(i,r))),e):(typeof n=="number"&&(e=n),ae((i,r)=>Rx(i,r,t,e)))}var ls=f(()=>{"use strict";ss();Lt();qe();Ox();ct()});function Zi(t=1/0){return He(Ft,t)}var _d=f(()=>{"use strict";ls();Ki()});function kx(){return Zi(1)}var Fx=f(()=>{"use strict";_d()});function Mn(...t){return kx()(Le(t,zn(t)))}var Qp=f(()=>{"use strict";Fx();Xr();os()});function Kt(t){return new Z(n=>{Ne(t()).subscribe(n)})}var Nx=f(()=>{"use strict";It();Lt()});function to(...t){let n=id(t),{args:e,keys:i}=yd(t),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 u=!1;Ne(e[d]).subscribe(re(o,m=>{u||(u=!0,c--),a[d]=m},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(i?bd(i,a):a),o.complete())}))}});return n?r.pipe(as(n)):r}var Lx=f(()=>{"use strict";It();Yp();Lt();Xr();tt();vd();Kp()});function mi(t,n,e,i){if(q(e)&&(i=e,e=void 0),i)return mi(t,n,e).pipe(as(i));let[r,o]=Gk(t)?Uk.map(s=>a=>t[s](n,a,e)):$k(t)?Bk.map(Px(t,n)):Hk(t)?zk.map(Px(t,n)):[];if(!r&&is(t))return He(s=>mi(s,n,e))(Ne(t));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 Px(t,n){return e=>i=>t[e](n,i)}function $k(t){return q(t.addListener)&&q(t.removeListener)}function Hk(t){return q(t.on)&&q(t.off)}function Gk(t){return q(t.addEventListener)&&q(t.removeEventListener)}var Bk,Uk,zk,jx=f(()=>{"use strict";Lt();It();ls();rd();ct();vd();Bk=["addListener","removeListener"],Uk=["addEventListener","removeEventListener"],zk=["on","off"]});function Vx(t=0,n,e=ox){let i=-1;return n!=null&&(nd(n)?e=n:i=n),new Z(r=>{let o=Sx(t)?+t-e.now():t;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 Bx=f(()=>{"use strict";It();td();Lp();Mx()});function St(...t){let n=zn(t),e=sx(t,1/0),i=t;return i.length?i.length===1?Ne(i[0]):Zi(e)(Le(i,n)):Nt}var Ux=f(()=>{"use strict";_d();Lt();Ua();Xr();os()});function xe(t,n){return ae((e,i)=>{let r=0;e.subscribe(re(i,o=>t.call(n,o,r++)&&i.next(o)))})}var $a=f(()=>{"use strict";qe();tt()});var zx=f(()=>{"use strict"});function $x(t){return ae((n,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()};n.subscribe(re(e,c=>{i=!0,r=c,o||Ne(t(c)).subscribe(o=re(e,a,l))},()=>{s=!0,(!i||!o||o.closed)&&e.complete()}))})}var Hx=f(()=>{"use strict";qe();Lt();tt()});function xd(t,n=Ba){return $x(()=>Vx(t,n))}var Gx=f(()=>{"use strict";td();Hx();Bx()});function Qt(t){return ae((n,e)=>{let i=null,r=!1,o;i=n.subscribe(re(e,void 0,void 0,s=>{o=Ne(t(s,Qt(t)(n))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}var Zp=f(()=>{"use strict";Lt();tt();qe()});function Wx(t,n,e,i,r){return(o,s)=>{let a=e,l=n,c=0;o.subscribe(re(s,d=>{let u=c++;l=a?t(l,d,u):(a=!0,d),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}var qx=f(()=>{"use strict";tt()});function An(t,n){return q(n)?He(t,n,1):He(t,1)}var Yx=f(()=>{"use strict";ls();ct()});function gi(t,n=Ba){return ae((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+t,d=n.now();if(d<c){r=this.schedule(void 0,c-d),i.add(r);return}a()}e.subscribe(re(i,c=>{o=c,s=n.now(),r||(r=n.schedule(l,t),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}var Xp=f(()=>{"use strict";td();qe();tt()});function Xi(t){return ae((n,e)=>{let i=!1;n.subscribe(re(e,r=>{i=!0,e.next(r)},()=>{i||e.next(t),e.complete()}))})}var Cd=f(()=>{"use strict";qe();tt()});function Ue(t){return t<=0?()=>Nt:ae((n,e)=>{let i=0;n.subscribe(re(e,r=>{++i<=t&&(e.next(r),t<=i&&e.complete())}))})}var Jp=f(()=>{"use strict";Ua();qe();tt()});function em(t){return F(()=>t)}var Kx=f(()=>{"use strict";ss()});function no(t,n=Ft){return t=t??Wk,ae((e,i)=>{let r,o=!0;e.subscribe(re(i,s=>{let a=n(s);(o||!t(r,a))&&(o=!1,r=a,i.next(s))}))})}function Wk(t,n){return t===n}var Qx=f(()=>{"use strict";Ki();qe();tt()});function wd(t=qk){return ae((n,e)=>{let i=!1;n.subscribe(re(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(t())))})}function qk(){return new pi}var tm=f(()=>{"use strict";za();qe();tt()});function $t(t){return ae((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}var nm=f(()=>{"use strict";qe()});function $n(t,n){let e=arguments.length>=2;return i=>i.pipe(t?xe((r,o)=>t(r,o,i)):Ft,Ue(1),e?Xi(n):wd(()=>new pi))}var Zx=f(()=>{"use strict";za();$a();Jp();Cd();tm();Ki()});function cs(t){return t<=0?()=>Nt:ae((n,e)=>{let i=[];n.subscribe(re(e,r=>{i.push(r),t<i.length&&i.shift()},()=>{for(let r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}var im=f(()=>{"use strict";Ua();qe();tt()});function rm(t,n){let e=arguments.length>=2;return i=>i.pipe(t?xe((r,o)=>t(r,o,i)):Ft,cs(1),e?Xi(n):wd(()=>new pi))}var Xx=f(()=>{"use strict";za();$a();im();tm();Cd();Ki()});function om(t,n){return ae(Wx(t,n,arguments.length>=2,!0))}var Jx=f(()=>{"use strict";qe();qx()});function Ha(t={}){let{connector:n=()=>new R,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=t;return o=>{let s,a,l,c=0,d=!1,u=!1,m=()=>{a?.unsubscribe(),a=void 0},h=()=>{m(),s=l=void 0,d=u=!1},v=()=>{let b=s;h(),b?.unsubscribe()};return ae((b,E)=>{c++,!u&&!d&&m();let M=l=l??n();E.add(()=>{c--,c===0&&!u&&!d&&(a=sm(v,r))}),M.subscribe(E),!s&&c>0&&(s=new hi({next:B=>M.next(B),error:B=>{u=!0,m(),a=sm(h,e,B),M.error(B)},complete:()=>{d=!0,m(),a=sm(h,i),M.complete()}}),Ne(b).subscribe(s))})(o)}}function sm(t,n,...e){if(n===!0){t();return}if(n===!1)return;let i=new hi({next:()=>{i.unsubscribe(),t()}});return Ne(n(...e)).subscribe(i)}var am=f(()=>{"use strict";Lt();Pa();Kc();qe()});function io(t,n,e){let i,r=!1;return t&&typeof t=="object"?{bufferSize:i=1/0,windowTime:n=1/0,refCount:r=!1,scheduler:e}=t:i=t??1/0,Ha({connector:()=>new Zr(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}var eC=f(()=>{"use strict";Np();am()});function Ga(t){return xe((n,e)=>t<=e)}var tC=f(()=>{"use strict";$a()});function Zt(...t){let n=zn(t);return ae((e,i)=>{(n?Mn(t,e,n):Mn(t,e)).subscribe(i)})}var nC=f(()=>{"use strict";Qp();Xr();qe()});function Ye(t,n){return ae((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(t(l,d)).subscribe(r=re(i,u=>i.next(n?n(l,u,d,c++):u),()=>{r=null,a()}))},()=>{s=!0,a()}))})}var iC=f(()=>{"use strict";Lt();qe();tt()});function he(t){return ae((n,e)=>{Ne(t).subscribe(re(e,()=>e.complete(),La)),!e.closed&&n.subscribe(e)})}var lm=f(()=>{"use strict";qe();tt();Lt();wp()});function cm(t,n=!1){return ae((e,i)=>{let r=0;e.subscribe(re(i,o=>{let s=t(o,r++);(s||n)&&i.next(o),!s&&i.complete()}))})}var rC=f(()=>{"use strict";qe();tt()});function Pe(t,n,e){let i=q(t)||n||e?{next:t,error:n,complete:e}:t;return i?ae((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)}))}):Ft}var dm=f(()=>{"use strict";ct();qe();tt();Ki()});var Re=f(()=>{"use strict";It();Q0();Pa();J0();Np();qr();Tp();Ix();za();Tx();Qp();Nx();Lx();os();jx();Ux();Ex();Dx();Ua();zx();Zp();Xp();nm();ss();ls();lm();dm()});var dt=f(()=>{"use strict";Gx();Zp();Yx();Xp();Cd();Qx();$a();nm();Zx();Xx();ss();Kx();_d();ls();kp();Jx();am();eC();tC();nC();iC();Jp();im();lm();rC();dm()});function du(t,n){return`${`NG0${Math.abs(t)}`}${n?": "+n:""}`}function il(t){return{toString:t}.toString()}function Yk(t){return function(...e){if(t){let i=t(...e);for(let r in i)this[r]=i[r]}}}function QC(t,n,e){return il(()=>{let i=Yk(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;let s=new r(...o);return a.annotation=s,a;function a(l,c,d){let u=l.hasOwnProperty(Ed)?l[Ed]:Object.defineProperty(l,Ed,{value:[]})[Ed];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),l}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}function je(t){for(let n in t)if(t[n]===je)return n;throw Error("Could not find renamed property on target object.")}function Kk(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function jt(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(jt).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let n=t.toString();if(n==null)return""+n;let e=n.indexOf(`
4
- `);return e===-1?n:n.substring(0,e)}function Em(t,n){return t==null||t===""?n===null?"":n:n==null||n===""?t:t+" "+n}function cr(t){return t.__forward_ref__=cr,t.toString=function(){return jt(this())},t}function xt(t){return ZC(t)?t():t}function ZC(t){return typeof t=="function"&&t.hasOwnProperty(Qk)&&t.__forward_ref__===cr}function _(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function N(t){return{providers:t.providers||[],imports:t.imports||[]}}function uu(t){return oC(t,JC)||oC(t,ew)}function XC(t){return uu(t)!==null}function oC(t,n){return t.hasOwnProperty(n)?t[n]:null}function Zk(t){let n=t&&(t[JC]||t[ew]);return n||null}function sC(t){return t&&(t.hasOwnProperty(aC)||t.hasOwnProperty(Xk))?t[aC]:null}function tw(t){return t&&!!t.\u0275providers}function oo(t){return typeof t=="string"?t:t==null?"":String(t)}function iF(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():oo(t)}function rF(t,n){let e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new T(-200,t)}function Ng(t,n){throw new T(-201,!1)}function nw(){return Dm}function Ht(t){let n=Dm;return Dm=t,n}function iw(t,n,e){let i=uu(t);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(e&pe.Optional)return null;if(n!==void 0)return n;Ng(t,"Injector")}function cF(){return ps}function Ji(t){let n=ps;return ps=t,n}function dF(t,n=pe.Default){if(ps===void 0)throw new T(-203,!1);return ps===null?iw(t,void 0,n):ps.get(t,n&pe.Optional?null:void 0,n)}function g(t,n=pe.Default){return(nw()||dF)(xt(t),n)}function y(t,n=pe.Default){return g(t,fu(n))}function fu(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Sm(t){let n=[];for(let e=0;e<t.length;e++){let i=xt(t[e]);if(Array.isArray(i)){if(i.length===0)throw new T(900,!1);let r,o=pe.Default;for(let s=0;s<i.length;s++){let a=i[s],l=uF(a);typeof l=="number"?l===-1?r=a.token:o|=l:r=a}n.push(g(r,o))}else n.push(g(i))}return n}function rw(t,n){return t[Im]=n,t.prototype[Im]=n,t}function uF(t){return t[Im]}function fF(t,n,e,i){let r=t[Vd];throw n[cC]&&r.unshift(n[cC]),t.message=hF(`
5
- `+t.message,r,e,i),t[sF]=r,t[Vd]=null,t}function hF(t,n,e,i=null){t=t&&t.charAt(0)===`
6
- `&&t.charAt(1)==lF?t.slice(2):t;let r=jt(n);if(Array.isArray(n))r=n.map(jt).join(" -> ");else if(typeof n=="object"){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):jt(a)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${t.replace(aF,`
7
- `)}`}function so(t,n){let e=t.hasOwnProperty(jd);return e?t[jd]:null}function pF(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i<t.length;i++){let r=t[i],o=n[i];if(e&&(r=e(r),o=e(o)),o!==r)return!1}return!0}function mF(t){return t.flat(Number.POSITIVE_INFINITY)}function Lg(t,n){t.forEach(e=>Array.isArray(e)?Lg(e,n):n(e))}function ow(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function Bd(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function gF(t,n){let e=[];for(let i=0;i<t;i++)e.push(n);return e}function vF(t,n,e,i){let r=t.length;if(r==n)t.push(e,i);else if(r===1)t.push(i,t[0]),t[0]=e;else{for(r--,t.push(t[r-1],t[r]);r>n;){let o=r-2;t[r]=t[o],r--}t[n]=e,t[n+1]=i}}function pu(t,n,e){let i=ol(t,n);return i>=0?t[i|1]=e:(i=~i,vF(t,i,n,e)),i}function um(t,n){let e=ol(t,n);if(e>=0)return t[e|1]}function ol(t,n){return yF(t,n,1)}function yF(t,n,e){let i=0,r=t.length>>e;for(;r!==i;){let o=i+(r-i>>1),s=t[o<<e];if(n===s)return o<<e;s>n?r=o:i=o+1}return~(r<<e)}function bF(t,n,e){let i=t.length;for(;;){let r=t.indexOf(n,e);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let o=n.length;if(r+o===i||t.charCodeAt(r+o)<=32)return r}e=r+1}}function Mm(t,n,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++];t.setAttribute(n,s,a,o)}else{let o=r,s=e[++i];_F(o)?t.setProperty(n,o,s):t.setAttribute(n,o,s),i++}}return i}function cw(t){return t===3||t===4||t===6}function _F(t){return t.charCodeAt(0)===64}function Qa(t,n){if(!(n===null||n.length===0))if(t===null||t.length===0)t=n.slice();else{let e=-1;for(let i=0;i<n.length;i++){let r=n[i];typeof r=="number"?e=r:e===0||(e===-1||e===2?dC(t,e,r,null,n[++i]):dC(t,e,r,null,null))}}return t}function dC(t,n,e,i,r){let o=0,s=t.length;if(n===-1)s=-1;else for(;o<t.length;){let a=t[o++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=o-1;break}}}for(;o<t.length;){let a=t[o];if(typeof a=="number")break;if(a===e){if(i===null){r!==null&&(t[o+1]=r);return}else if(i===t[o+1]){t[o+2]=r;return}}o++,i!==null&&o++,r!==null&&o++}s!==-1&&(t.splice(s,0,n),o=s+1),t.splice(o++,0,e),i!==null&&t.splice(o++,0,i),r!==null&&t.splice(o++,0,r)}function xF(t,n,e,i){let r=0;if(i){for(;r<n.length&&typeof n[r]=="string";r+=2)if(n[r]==="class"&&bF(n[r+1].toLowerCase(),e,0)!==-1)return!0}else if(Pg(t))return!1;if(r=n.indexOf(1,r),r>-1){let o;for(;++r<n.length&&typeof(o=n[r])=="string";)if(o.toLowerCase()===e)return!0}return!1}function Pg(t){return t.type===4&&t.value!==dw}function CF(t,n,e){let i=t.type===4&&!e?dw:t.value;return n===i}function wF(t,n,e){let i=4,r=t.attrs,o=r!==null?IF(r):0,s=!1;for(let a=0;a<n.length;a++){let l=n[a];if(typeof l=="number"){if(!s&&!Tn(i)&&!Tn(l))return!1;if(s&&Tn(l))continue;s=!1,i=l|i&1;continue}if(!s)if(i&4){if(i=2|i&1,l!==""&&!CF(t,l,e)||l===""&&n.length===1){if(Tn(i))return!1;s=!0}}else if(i&8){if(r===null||!xF(t,r,l,e)){if(Tn(i))return!1;s=!0}}else{let c=n[++a],d=EF(l,r,Pg(t),e);if(d===-1){if(Tn(i))return!1;s=!0;continue}if(c!==""){let u;if(d>o?u="":u=r[d+1].toLowerCase(),i&2&&c!==u){if(Tn(i))return!1;s=!0}}}}return Tn(i)||s}function Tn(t){return(t&1)===0}function EF(t,n,e,i){if(n===null)return-1;let r=0;if(i||!e){let o=!1;for(;r<n.length;){let s=n[r];if(s===t)return r;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=n[++r];for(;typeof a=="string";)a=n[++r];continue}else{if(s===4)break;if(s===0){r+=4;continue}}r+=o?1:2}return-1}else return SF(n,t)}function uw(t,n,e=!1){for(let i=0;i<n.length;i++)if(wF(t,n[i],e))return!0;return!1}function DF(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if(!(e&1))return n[e+1]}return null}function IF(t){for(let n=0;n<t.length;n++){let e=t[n];if(cw(e))return n}return t.length}function SF(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){let i=t[e];if(typeof i=="number")return-1;if(i===n)return e;e++}return-1}function MF(t,n){e:for(let e=0;e<n.length;e++){let i=n[e];if(t.length===i.length){for(let r=0;r<t.length;r++)if(t[r]!==i[r])continue e;return!0}}return!1}function uC(t,n){return t?":not("+n.trim()+")":n}function AF(t){let n=t[0],e=1,i=2,r="",o=!1;for(;e<t.length;){let s=t[e];if(typeof s=="string")if(i&2){let a=t[++e];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else i&8?r+="."+s:i&4&&(r+=" "+s);else r!==""&&!Tn(s)&&(n+=uC(o,r),r=""),i=s,o=o||!Tn(i);e++}return r!==""&&(n+=uC(o,r)),n}function TF(t){return t.map(AF).join(",")}function RF(t){let n=[],e=[],i=1,r=2;for(;i<t.length;){let o=t[i];if(typeof o=="string")r===2?o!==""&&n.push(o,t[++i]):r===8&&e.push(o);else{if(!Tn(r))break;r=o}i++}return{attrs:n,classes:e}}function Y(t){return il(()=>{let n=mw(t),e=ce(x({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===lw.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Wn.Emulated,styles:t.styles||Pt,_:null,schemas:t.schemas||null,tView:null,id:""});gw(e);let i=t.dependencies;return e.directiveDefs=hC(i,!1),e.pipeDefs=hC(i,!0),e.id=FF(e),e})}function OF(t){return ir(t)||jg(t)}function kF(t){return t!==null}function L(t){return il(()=>({type:t.type,bootstrap:t.bootstrap||Pt,declarations:t.declarations||Pt,imports:t.imports||Pt,exports:t.exports||Pt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function fC(t,n){if(t==null)return vi;let e={};for(let i in t)if(t.hasOwnProperty(i)){let r=t[i],o,s,a=nr.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(e[o]=a!==nr.None?[i,a]:i,n[o]=s):e[o]=i}return e}function V(t){return il(()=>{let n=mw(t);return gw(n),n})}function Ss(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function ir(t){return t[Jk]||null}function jg(t){return t[eF]||null}function fw(t){return t[tF]||null}function hw(t){let n=ir(t)||jg(t)||fw(t);return n!==null?n.standalone:!1}function pw(t,n){let e=t[nF]||null;if(!e&&n===!0)throw new Error(`Type ${jt(t)} does not have '\u0275mod' property.`);return e}function mw(t){let n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:t.inputs||vi,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Pt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:fC(t.inputs,n),outputs:fC(t.outputs),debugInfo:null}}function gw(t){t.features?.forEach(n=>n(t))}function hC(t,n){if(!t)return null;let e=n?fw:OF;return()=>(typeof t=="function"?t():t).map(i=>e(i)).filter(kF)}function FF(t){let n=0,e=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let r of e)n=Math.imul(31,n)+r.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function sl(t){return{\u0275providers:t}}function Vg(...t){return{\u0275providers:vw(!0,t),\u0275fromNgModule:!0}}function vw(t,...n){let e=[],i=new Set,r,o=s=>{e.push(s)};return Lg(n,s=>{let a=s;Am(a,o,[],i)&&(r||=[],r.push(a))}),r!==void 0&&yw(r,o),e}function yw(t,n){for(let e=0;e<t.length;e++){let{ngModule:i,providers:r}=t[e];Bg(r,o=>{n(o,i)})}}function Am(t,n,e,i){if(t=xt(t),!t)return!1;let r=null,o=sC(t),s=!o&&ir(t);if(!o&&!s){let l=t.ngModule;if(o=sC(l),o)r=l;else return!1}else{if(s&&!s.standalone)return!1;r=t}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)Am(c,n,e,i)}}else if(o){if(o.imports!=null&&!a){i.add(r);let c;try{Lg(o.imports,d=>{Am(d,n,e,i)&&(c||=[],c.push(d))})}finally{}c!==void 0&&yw(c,n)}if(!a){let c=so(r)||(()=>new r);n({provide:r,useFactory:c,deps:Pt},r),n({provide:aw,useValue:r,multi:!0},r),n({provide:gs,useValue:()=>g(r),multi:!0},r)}let l=o.providers;if(l!=null&&!a){let c=t;Bg(l,d=>{n(d,c)})}}else return!1;return r!==t&&t.providers!==void 0}function Bg(t,n){for(let e of t)tw(e)&&(e=e.\u0275providers),Array.isArray(e)?Bg(e,n):n(e)}function bw(t){return t!==null&&typeof t=="object"&&NF in t}function LF(t){return!!(t&&t.useExisting)}function PF(t){return!!(t&&t.useFactory)}function vs(t){return typeof t=="function"}function jF(t){return!!t.useClass}function Ug(){return fm===void 0&&(fm=new Ud),fm}function Tm(t){let n=uu(t),e=n!==null?n.factory:so(t);if(e!==null)return e;if(t instanceof w)throw new T(204,!1);if(t instanceof Function)return BF(t);throw new T(204,!1)}function BF(t){if(t.length>0)throw new T(204,!1);let e=Zk(t);return e!==null?()=>e.factory(t):()=>new t}function UF(t){if(bw(t))return ds(void 0,t.useValue);{let n=_w(t);return ds(n,Rd)}}function _w(t,n,e){let i;if(vs(t)){let r=xt(t);return so(r)||Tm(r)}else if(bw(t))i=()=>xt(t.useValue);else if(PF(t))i=()=>t.useFactory(...Sm(t.deps||[]));else if(LF(t))i=()=>g(xt(t.useExisting));else{let r=xt(t&&(t.useClass||t.provide));if(zF(t))i=()=>new r(...Sm(t.deps));else return so(r)||Tm(r)}return i}function ds(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function zF(t){return!!t.deps}function $F(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function HF(t){return typeof t=="function"||typeof t=="object"&&t instanceof w}function Rm(t,n){for(let e of t)Array.isArray(e)?Rm(e,n):e&&tw(e)?Rm(e.\u0275providers,n):n(e)}function gn(t,n){t instanceof Za&&t.assertNotDestroyed();let e,i=Ji(t),r=Ht(void 0);try{return n()}finally{Ji(i),Ht(r)}}function xw(){return nw()!==void 0||cF()!=null}function zg(t){if(!xw())throw new T(-203,!1)}function GF(t){return typeof t=="function"}function tr(t){return Array.isArray(t)&&typeof t[ww]=="object"}function Ci(t){return Array.isArray(t)&&t[ww]===!0}function $g(t){return(t.flags&4)!==0}function vu(t){return t.componentOffset>-1}function yu(t){return(t.flags&1)===1}function rr(t){return!!t.template}function Om(t){return(t[X]&512)!==0}function Ew(t,n,e,i){n!==null?n.applyValueToInputSignal(n,i):t[e]=i}function Ve(){return Dw}function Dw(t){return t.type.prototype.ngOnChanges&&(t.setInput=qF),WF}function WF(){let t=Sw(this),n=t?.current;if(n){let e=t.previous;if(e===vi)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function qF(t,n,e,i,r){let o=this.declaredInputs[i],s=Sw(t)||YF(t,{previous:vi,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new Ja(c&&c.currentValue,e,l===vi),Ew(t,n,r,e)}function Sw(t){return t[Iw]||null}function YF(t,n){return t[Iw]=n}function Yn(t){for(;Array.isArray(t);)t=t[xi];return t}function Aw(t,n){return Yn(n[t])}function vn(t,n){return Yn(n[t.index])}function Hg(t,n){return t.data[n]}function Gg(t,n){return t[n]}function dr(t,n){let e=n[t];return tr(e)?e:e[xi]}function QF(t){return(t[X]&4)===4}function Wg(t){return(t[X]&128)===128}function ZF(t){return Ci(t[Tt])}function or(t,n){return n==null?null:t[n]}function Tw(t){t[us]=0}function Rw(t){t[X]&1024||(t[X]|=1024,Wg(t)&&_u(t))}function XF(t,n){for(;t>0;)n=n[Ms],t--;return n}function bu(t){return!!(t[X]&9216||t[mn]?.dirty)}function km(t){t[qn].changeDetectionScheduler?.notify(8),t[X]&64&&(t[X]|=1024),bu(t)&&_u(t)}function _u(t){t[qn].changeDetectionScheduler?.notify(0);let n=co(t);for(;n!==null&&!(n[X]&8192||(n[X]|=8192,!Wg(n)));)n=co(n)}function Ow(t,n){if((t[X]&256)===256)throw new T(911,!1);t[er]===null&&(t[er]=[]),t[er].push(n)}function JF(t,n){if(t[er]===null)return;let e=t[er].indexOf(n);e!==-1&&t[er].splice(e,1)}function co(t){let n=t[Tt];return Ci(n)?n[Tt]:n}function eN(){return ue.lFrame.elementDepthCount}function tN(){ue.lFrame.elementDepthCount++}function nN(){ue.lFrame.elementDepthCount--}function Fw(){return ue.bindingsEnabled}function Nw(){return ue.skipHydrationRootTNode!==null}function iN(t){return ue.skipHydrationRootTNode===t}function rN(){ue.skipHydrationRootTNode=null}function J(){return ue.lFrame.lView}function Xe(){return ue.lFrame.tView}function ge(t){return ue.lFrame.contextLView=t,t[Mt]}function ve(t){return ue.lFrame.contextLView=null,t}function wt(){let t=Lw();for(;t!==null&&t.type===64;)t=t.parent;return t}function Lw(){return ue.lFrame.currentTNode}function oN(){let t=ue.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function go(t,n){let e=ue.lFrame;e.currentTNode=t,e.isParent=n}function qg(){return ue.lFrame.isParent}function Yg(){ue.lFrame.isParent=!1}function sN(){return ue.lFrame.contextLView}function Pw(){return kw}function gC(t){kw=t}function As(){let t=ue.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function aN(){return ue.lFrame.bindingIndex}function lN(t){return ue.lFrame.bindingIndex=t}function vo(){return ue.lFrame.bindingIndex++}function Kg(t){let n=ue.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function cN(){return ue.lFrame.inI18n}function dN(t,n){let e=ue.lFrame;e.bindingIndex=e.bindingRootIndex=t,Fm(n)}function uN(){return ue.lFrame.currentDirectiveIndex}function Fm(t){ue.lFrame.currentDirectiveIndex=t}function fN(t){let n=ue.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function Qg(){return ue.lFrame.currentQueryIndex}function xu(t){ue.lFrame.currentQueryIndex=t}function hN(t){let n=t[oe];return n.type===2?n.declTNode:n.type===1?t[Wt]:null}function jw(t,n,e){if(e&pe.SkipSelf){let r=n,o=t;for(;r=r.parent,r===null&&!(e&pe.Host);)if(r=hN(o),r===null||(o=o[Ms],r.type&10))break;if(r===null)return!1;n=r,t=o}let i=ue.lFrame=Vw();return i.currentTNode=n,i.lView=t,!0}function Zg(t){let n=Vw(),e=t[oe];ue.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function Vw(){let t=ue.lFrame,n=t===null?null:t.child;return n===null?Bw(t):n}function Bw(t){let n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=n),n}function Uw(){let t=ue.lFrame;return ue.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}function Xg(){let t=Uw();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function pN(t){return(ue.lFrame.contextLView=XF(t,ue.lFrame.contextLView))[Mt]}function wi(){return ue.lFrame.selectedIndex}function uo(t){ue.lFrame.selectedIndex=t}function Cu(){let t=ue.lFrame;return Hg(t.tView,t.selectedIndex)}function al(){ue.lFrame.currentNamespace=Mw}function $w(){mN()}function mN(){ue.lFrame.currentNamespace=null}function gN(){return ue.lFrame.currentNamespace}function wu(){return Hw}function Eu(t){Hw=t}function vN(t,n,e){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){let s=Dw(n);(e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s)}r&&(e.preOrderHooks??=[]).push(0-t,r),o&&((e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o))}function Du(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e<i;e++){let o=t.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=o;s&&(t.contentHooks??=[]).push(-e,s),a&&((t.contentHooks??=[]).push(e,a),(t.contentCheckHooks??=[]).push(e,a)),l&&(t.viewHooks??=[]).push(-e,l),c&&((t.viewHooks??=[]).push(e,c),(t.viewCheckHooks??=[]).push(e,c)),d!=null&&(t.destroyHooks??=[]).push(e,d)}}function kd(t,n,e){Gw(t,n,3,e)}function Fd(t,n,e,i){(t[X]&3)===e&&Gw(t,n,e,i)}function hm(t,n){let e=t[X];(e&3)===n&&(e&=16383,e+=1,t[X]=e)}function Gw(t,n,e,i){let r=i!==void 0?t[us]&65535:0,o=i??-1,s=n.length-1,a=0;for(let l=r;l<s;l++)if(typeof n[l+1]=="number"){if(a=n[l],i!=null&&a>=i)break}else n[l]<0&&(t[us]+=65536),(a<o||o==-1)&&(yN(t,e,n,l),t[us]=(t[us]&4294901760)+l+2),l++}function vC(t,n){Hn(4,t,n);let e=be(null);try{n.call(t)}finally{be(e),Hn(5,t,n)}}function yN(t,n,e,i){let r=e[i]<0,o=e[i+1],s=r?-e[i]:e[i],a=t[s];r?t[X]>>14<t[us]>>16&&(t[X]&3)===n&&(t[X]+=16384,vC(a,o)):vC(a,o)}function bN(t){return t instanceof fo}function _N(t){return(t.flags&8)!==0}function xN(t){return(t.flags&16)!==0}function Ww(t){return t!==ms}function Gd(t){return t&32767}function CN(t){return t>>16}function Wd(t,n){let e=CN(t),i=n;for(;e>0;)i=i[Ms],e--;return i}function qd(t){let n=Lm;return Lm=t,n}function DN(t,n,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty(qa)&&(i=e[qa]),i==null&&(i=e[qa]=EN++);let r=i&qw,o=1<<r;n.data[t+(r>>Yw)]|=o}function Yd(t,n){let e=Kw(t,n);if(e!==-1)return e;let i=n[oe];i.firstCreatePass&&(t.injectorIndex=n.length,mm(i.data,t),mm(n,null),mm(i.blueprint,null));let r=Jg(t,n),o=t.injectorIndex;if(Ww(r)){let s=Gd(r),a=Wd(r,n),l=a[oe].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function mm(t,n){t.push(0,0,0,0,0,0,0,0,n)}function Kw(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function Jg(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,i=null,r=n;for(;r!==null;){if(i=eE(r),i===null)return ms;if(e++,r=r[Ms],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return ms}function Pm(t,n,e){DN(t,n,e)}function IN(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let i=e.length,r=0;for(;r<i;){let o=e[r];if(cw(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===n)return e[r+1];r=r+2}}}return null}function Qw(t,n,e){if(e&pe.Optional||t!==void 0)return t;Ng(n,"NodeInjector")}function Zw(t,n,e,i){if(e&pe.Optional&&i===void 0&&(i=null),!(e&(pe.Self|pe.Host))){let r=t[bs],o=Ht(void 0);try{return r?r.get(n,i,e&pe.Optional):iw(n,i,e&pe.Optional)}finally{Ht(o)}}return Qw(i,n,e)}function Xw(t,n,e,i=pe.Default,r){if(t!==null){if(n[X]&2048&&!(i&pe.Self)){let s=TN(t,n,e,i,Gn);if(s!==Gn)return s}let o=Jw(t,n,e,i,Gn);if(o!==Gn)return o}return Zw(n,e,i,r)}function Jw(t,n,e,i,r){let o=MN(e);if(typeof o=="function"){if(!jw(n,t,i))return i&pe.Host?Qw(r,e,i):Zw(n,e,i,r);try{let s;if(s=o(i),s==null&&!(i&pe.Optional))Ng(e);else return s}finally{zw()}}else if(typeof o=="number"){let s=null,a=Kw(t,n),l=ms,c=i&pe.Host?n[Xt][Wt]:null;for((a===-1||i&pe.SkipSelf)&&(l=a===-1?Jg(t,n):n[a+8],l===ms||!bC(i,!1)?a=-1:(s=n[oe],a=Gd(l),n=Wd(l,n)));a!==-1;){let d=n[oe];if(yC(o,a,d.data)){let u=SN(a,n,e,s,i,c);if(u!==Gn)return u}l=n[a+8],l!==ms&&bC(i,n[oe].data[a+8]===c)&&yC(o,a,n)?(s=d,a=Gd(l),n=Wd(l,n)):a=-1}}return r}function SN(t,n,e,i,r,o){let s=n[oe],a=s.data[t+8],l=i==null?vu(a)&&Lm:i!=s&&(a.type&3)!==0,c=r&pe.Host&&o===a,d=Nd(a,s,e,l,c);return d!==null?ho(n,s,d,a):Gn}function Nd(t,n,e,i,r){let o=t.providerIndexes,s=n.data,a=o&1048575,l=t.directiveStart,c=t.directiveEnd,d=o>>20,u=i?a:a+d,m=r?a+d:c;for(let h=u;h<m;h++){let v=s[h];if(h<l&&e===v||h>=l&&v.type===e)return h}if(r){let h=s[l];if(h&&rr(h)&&h.type===e)return l}return null}function ho(t,n,e,i){let r=t[e],o=n.data;if(bN(r)){let s=r;s.resolving&&rF(iF(o[e]));let a=qd(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?Ht(s.injectImpl):null,d=jw(t,i,pe.Default);try{r=t[e]=s.factory(void 0,o,t,i),n.firstCreatePass&&e>=i.directiveStart&&vN(e,o[e],n)}finally{c!==null&&Ht(c),qd(a),s.resolving=!1,zw()}}return r}function MN(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(qa)?t[qa]:void 0;return typeof n=="number"?n>=0?n&qw:AN:n}function yC(t,n,e){let i=1<<t;return!!(e[n+(t>>Yw)]&i)}function bC(t,n){return!(t&pe.Self)&&!(t&pe.Host&&n)}function AN(){return new ro(wt(),J())}function Je(t){return il(()=>{let n=t.prototype.constructor,e=n[jd]||jm(n),i=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){let o=r[jd]||jm(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function jm(t){return ZC(t)?()=>{let n=jm(xt(t));return n&&n()}:so(t)}function TN(t,n,e,i,r){let o=t,s=n;for(;o!==null&&s!==null&&s[X]&2048&&!(s[X]&512);){let a=Jw(o,s,e,i|pe.Self,Gn);if(a!==Gn)return a;let l=o.parent;if(!l){let c=s[Cw];if(c){let d=c.get(e,Gn,i);if(d!==Gn)return d}l=eE(s),s=s[Ms]}o=l}return r}function eE(t){let n=t[oe],e=n.type;return e===2?n.declTNode:e===1?t[Wt]:null}function ur(t){return IN(wt(),t)}function _C(t,n=null,e=null,i){let r=tE(t,n,e,i);return r.resolveInjectorInitializers(),r}function tE(t,n=null,e=null,i,r=new Set){let o=[e||Pt,Vg(t)];return i=i||(typeof t=="object"?void 0:jt(t)),new Za(o,n||Ug(),i||null,r)}function gm(t){return t[ON]}function kN(){return new Vm(J())}function Kd(...t){}function iE(t){let n,e;function i(){t=Kd;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),i()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),i()})),()=>i()}function xC(t){return queueMicrotask(()=>t()),()=>{t=Kd}}function tv(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function LN(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){iE(()=>{t.callbackScheduled=!1,Um(t),t.isCheckStableRunning=!0,tv(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),Um(t)}function PN(t){let n=()=>{LN(t)},e=FN++;t._inner=t._inner.fork({name:"angular",properties:{[ev]:!0,[Qd]:e,[Qd+e]:!0},onInvokeTask:(i,r,o,s,a,l)=>{if(jN(l))return i.invokeTask(o,s,a,l);try{return CC(t),i.invokeTask(o,s,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),wC(t)}},onInvoke:(i,r,o,s,a,l,c)=>{try{return CC(t),i.invoke(o,s,a,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!VN(l)&&n(),wC(t)}},onHasTask:(i,r,o,s)=>{i.hasTask(o,s),r===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Um(t),tv(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,r,o,s)=>(i.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function Um(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function CC(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function wC(t){t._nesting--,tv(t)}function jN(t){return rE(t,"__ignore_ng_zone__")}function VN(t){return rE(t,"__scheduler_tick__")}function rE(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}function UN(){return Ts(wt(),J())}function Ts(t,n){return new j(vn(t,n))}function oE(t){return t instanceof j?t.nativeElement:t}function zN(){return this._results[Symbol.iterator]()}function sE(t){return(t.flags&128)===128}function HN(){return $N++}function GN(t){aE.set(t[gu],t)}function $m(t){aE.delete(t[gu])}function sr(t,n){tr(n)?(t[EC]=n[gu],GN(n)):t[EC]=n}function lE(t){return dE(t[Xa])}function cE(t){return dE(t[On])}function dE(t){for(;t!==null&&!Ci(t);)t=t[On];return t}function uE(t){Hm=t}function fE(){if(Hm!==void 0)return Hm;if(typeof document<"u")return document;throw new T(210,!1)}function iv(t,n,e=!1){return KN(t,n,e)}function ZN(){if(Dd===void 0&&(Dd=null,Ya.trustedTypes))try{Dd=Ya.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Dd}function Su(t){return ZN()?.createHTML(t)||t}function pE(){if(Id===void 0&&(Id=null,Ya.trustedTypes))try{Id=Ya.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Id}function DC(t){return pE()?.createHTML(t)||t}function IC(t){return pE()?.createScriptURL(t)||t}function yn(t){return t instanceof bi?t.changingThisBreaksApplicationSecurity:t}function Di(t,n){let e=XN(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${KC})`)}return e===n}function XN(t){return t instanceof bi&&t.getTypeName()||null}function mE(t){return new Gm(t)}function gE(t){return new Wm(t)}function vE(t){return new qm(t)}function yE(t){return new Ym(t)}function bE(t){return new Km(t)}function JN(t){let n=new Zm(t);return eL()?new Qm(n):n}function eL(){try{return!!new window.DOMParser().parseFromString(Su(""),"text/html")}catch{return!1}}function Mu(t){return t=String(t),t.match(tL)?t:"unsafe:"+t}function Ii(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function cl(...t){let n={};for(let e of t)for(let i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}function cL(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function dL(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw EE(n);return n}function uL(t){let n=t.firstChild;if(n&&cL(t,n))throw EE(n);return n}function MC(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function EE(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}function AC(t){return t.replace(/&/g,"&amp;").replace(fL,function(n){let e=n.charCodeAt(0),i=n.charCodeAt(1);return"&#"+((e-55296)*1024+(i-56320)+65536)+";"}).replace(hL,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function rv(t,n){let e=null;try{Sd=Sd||JN(t);let i=n?String(n):"";e=Sd.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=Sd.getInertBodyElement(i)}while(i!==o);let a=new Xm().sanitizeChildren(TC(e)||e);return Su(a)}finally{if(e){let i=TC(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function TC(t){return"content"in t&&pL(t)?t.content:null}function pL(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}function fr(t){let n=sv();return n?DC(n.sanitize(Et.HTML,t)||""):Di(t,"HTML")?DC(yn(t)):rv(fE(),oo(t))}function ov(t){let n=sv();return n?n.sanitize(Et.URL,t)||"":Di(t,"URL")?yn(t):Mu(oo(t))}function mL(t){let n=sv();if(n)return IC(n.sanitize(Et.RESOURCE_URL,t)||"");if(Di(t,"ResourceURL"))return IC(yn(t));throw new T(904,!1)}function gL(t,n){return n==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||n==="href"&&(t==="base"||t==="link")?mL:ov}function DE(t,n,e){return gL(n,e)(t)}function sv(){let t=J();return t&&t[qn].sanitizer}function _L(t){return t.replace(vL,n=>n.replace(yL,bL))}function IE(t){return t instanceof Function?t():t}function SE(t){return(t??y(Me)).get(gt)==="browser"}function av(t,n){return xL(t,n)}function fs(t,n,e,i,r){if(i!=null){let o,s=!1;Ci(i)?o=i:tr(i)&&(s=!0,i=i[xi]);let a=Yn(i);t===0&&e!==null?r==null?OE(n,e,a):Zd(n,e,a,r||null,!0):t===1&&e!==null?Zd(n,e,a,r||null,!0):t===2?NL(n,a,s):t===3&&n.destroyNode(a),o!=null&&PL(n,t,o,e,r)}}function CL(t,n){return t.createText(n)}function wL(t,n,e){t.setValue(n,e)}function EL(t,n){return t.createComment(_L(n))}function ME(t,n,e){return t.createElement(n,e)}function DL(t,n){AE(t,n),n[xi]=null,n[Wt]=null}function IL(t,n,e,i,r,o){i[xi]=r,i[Wt]=n,Ru(t,i,e,1,r,o)}function AE(t,n){n[qn].changeDetectionScheduler?.notify(9),Ru(t,n,n[Ze],2,null,null)}function SL(t){let n=t[Xa];if(!n)return vm(t[oe],t);for(;n;){let e=null;if(tr(n))e=n[Xa];else{let i=n[At];i&&(e=i)}if(!e){for(;n&&!n[On]&&n!==t;)tr(n)&&vm(n[oe],n),n=n[Tt];n===null&&(n=t),tr(n)&&vm(n[oe],n),e=n&&n[On]}n=e}}function ML(t,n,e,i){let r=At+i,o=e.length;i>0&&(e[r-1][On]=n),i<o-At?(n[On]=e[r],ow(e,At+i,n)):(e.push(n),n[On]=null),n[Tt]=e;let s=n[ao];s!==null&&e!==s&&TE(s,n);let a=n[yi];a!==null&&a.insertView(t),km(n),n[X]|=128}function TE(t,n){let e=t[_s],i=n[Tt];if(tr(i))t[X]|=Hd.HasTransplantedViews;else{let r=i[Tt][Xt];n[Xt]!==r&&(t[X]|=Hd.HasTransplantedViews)}e===null?t[_s]=[n]:e.push(n)}function lv(t,n){let e=t[_s],i=e.indexOf(n);e.splice(i,1)}function el(t,n){if(t.length<=At)return;let e=At+n,i=t[e];if(i){let r=i[ao];r!==null&&r!==t&&lv(r,i),n>0&&(t[e-1][On]=i[On]);let o=Bd(t,At+n);DL(i[oe],i);let s=o[yi];s!==null&&s.detachView(o[oe]),i[Tt]=null,i[On]=null,i[X]&=-129}return i}function Au(t,n){if(!(n[X]&256)){let e=n[Ze];e.destroyNode&&Ru(t,n,e,3,null,null),SL(n)}}function vm(t,n){if(n[X]&256)return;let e=be(null);try{n[X]&=-129,n[X]|=256,n[mn]&&Vc(n[mn]),TL(t,n),AL(t,n),n[oe].type===1&&n[Ze].destroy();let i=n[ao];if(i!==null&&Ci(n[Tt])){i!==n[Tt]&&lv(i,n);let r=n[yi];r!==null&&r.detachView(t)}$m(n)}finally{be(e)}}function AL(t,n){let e=t.cleanup,i=n[zd];if(e!==null)for(let o=0;o<e.length-1;o+=2)if(typeof e[o]=="string"){let s=e[o+3];s>=0?i[s]():i[-s].unsubscribe(),o+=2}else{let s=i[e[o+1]];e[o].call(s)}i!==null&&(n[zd]=null);let r=n[er];if(r!==null){n[er]=null;for(let o=0;o<r.length;o++){let s=r[o];s()}}}function TL(t,n){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let i=0;i<e.length;i+=2){let r=n[e[i]];if(!(r instanceof fo)){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];Hn(4,a,l);try{l.call(a)}finally{Hn(5,a,l)}}else{Hn(4,r,o);try{o.call(r)}finally{Hn(5,r,o)}}}}}function RE(t,n,e){return RL(t,n.parent,e)}function RL(t,n,e){let i=n;for(;i!==null&&i.type&168;)n=i,i=n.parent;if(i===null)return e[xi];{let{componentOffset:r}=i;if(r>-1){let{encapsulation:o}=t.data[i.directiveStart+r];if(o===Wn.None||o===Wn.Emulated)return null}return vn(i,e)}}function Zd(t,n,e,i,r){t.insertBefore(n,e,i,r)}function OE(t,n,e){t.appendChild(n,e)}function RC(t,n,e,i,r){i!==null?Zd(t,n,e,i,r):OE(t,n,e)}function kE(t,n){return t.parentNode(n)}function OL(t,n){return t.nextSibling(n)}function FE(t,n,e){return FL(t,n,e)}function kL(t,n,e){return t.type&40?vn(t,e):null}function Tu(t,n,e,i){let r=RE(t,i,n),o=n[Ze],s=i.parent||n[Wt],a=FE(s,i,n);if(r!=null)if(Array.isArray(e))for(let l=0;l<e.length;l++)RC(o,r,e[l],a,!1);else RC(o,r,e,a,!1);OC!==void 0&&OC(o,i,n,e,r)}function Wa(t,n){if(n!==null){let e=n.type;if(e&3)return vn(n,t);if(e&4)return Jm(-1,t[n.index]);if(e&8){let i=n.child;if(i!==null)return Wa(t,i);{let r=t[n.index];return Ci(r)?Jm(-1,r):Yn(r)}}else{if(e&128)return Wa(t,n.next);if(e&32)return av(n,t)()||Yn(t[n.index]);{let i=NE(t,n);if(i!==null){if(Array.isArray(i))return i[0];let r=co(t[Xt]);return Wa(r,i)}else return Wa(t,n.next)}}}return null}function NE(t,n){if(n!==null){let i=t[Xt][Wt],r=n.projection;return i.projection[r]}return null}function Jm(t,n){let e=At+t+1;if(e<n.length){let i=n[e],r=i[oe].firstChild;if(r!==null)return Wa(i,r)}return n[lo]}function NL(t,n,e){t.removeChild(null,n,e)}function cv(t,n,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&&n===0&&(a&&sr(Yn(a),i),e.flags|=2),(e.flags&32)!==32)if(l&8)cv(t,n,e.child,i,r,o,!1),fs(n,t,r,a,o);else if(l&32){let c=av(e,i),d;for(;d=c();)fs(n,t,r,d,o);fs(n,t,r,a,o)}else l&16?LE(t,n,i,e,r,o):fs(n,t,r,a,o);e=s?e.projectionNext:e.next}}function Ru(t,n,e,i,r,o){cv(e,i,t.firstChild,n,r,o,!1)}function LL(t,n,e){let i=n[Ze],r=RE(t,e,n),o=e.parent||n[Wt],s=FE(o,e,n);LE(i,0,n,e,r,s)}function LE(t,n,e,i,r,o){let s=e[Xt],l=s[Wt].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let d=l[c];fs(n,t,r,d,o)}else{let c=l,d=s[Tt];sE(i)&&(c.flags|=128),cv(t,n,c,d,r,o,!0)}}function PL(t,n,e,i,r){let o=e[lo],s=Yn(e);o!==s&&fs(n,t,i,o,r);for(let a=At;a<e.length;a++){let l=e[a];Ru(l[oe],l,t,n,i,o)}}function jL(t,n,e,i,r){if(n)r?t.addClass(e,i):t.removeClass(e,i);else{let o=i.indexOf("-")===-1?void 0:_i.DashCase;r==null?t.removeStyle(e,i,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=_i.Important),t.setStyle(e,i,r,o))}}function VL(t,n,e){t.setAttribute(n,"style",e)}function PE(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function jE(t,n,e){let{mergedAttrs:i,classes:r,styles:o}=e;i!==null&&Mm(t,n,i),r!==null&&PE(t,n,r),o!==null&&VL(t,n,o)}function C(t=1){VE(Xe(),J(),wi()+t,!1)}function VE(t,n,e,i){if(!i)if((n[X]&3)===3){let o=t.preOrderCheckHooks;o!==null&&kd(n,o,e)}else{let o=t.preOrderHooks;o!==null&&Fd(n,o,0,e)}uo(e)}function p(t,n=pe.Default){let e=J();if(e===null)return g(t,n);let i=wt();return Xw(i,e,xt(t),n)}function Rs(){let t="invalid";throw new Error(t)}function BE(t,n,e,i,r,o){let s=be(null);try{let a=null;r&nr.SignalBased&&(a=n[i][hn]),a!==null&&a.transformFn!==void 0&&(o=a.transformFn(o)),r&nr.HasDecoratorInputTransform&&(o=t.inputTransforms[i].call(n,o)),t.setInput!==null?t.setInput(n,a,o,e,i):Ew(n,a,i,o)}finally{be(s)}}function BL(t,n){let e=t.hostBindingOpCodes;if(e!==null)try{for(let i=0;i<e.length;i++){let r=e[i];if(r<0)uo(~r);else{let o=r,s=e[++i],a=e[++i];dN(s,o);let l=n[o];a(2,l)}}}finally{uo(-1)}}function Ou(t,n,e,i,r,o,s,a,l,c,d){let u=n.blueprint.slice();return u[xi]=r,u[X]=i|4|128|8|64,(c!==null||t&&t[X]&2048)&&(u[X]|=2048),Tw(u),u[Tt]=u[Ms]=t,u[Mt]=e,u[qn]=s||t&&t[qn],u[Ze]=a||t&&t[Ze],u[bs]=l||t&&t[bs]||null,u[Wt]=o,u[gu]=HN(),u[ys]=d,u[Cw]=c,u[Xt]=n.type==2?t[Xt]:u,u}function Os(t,n,e,i,r){let o=t.data[n];if(o===null)o=UL(t,n,e,i,r),cN()&&(o.flags|=32);else if(o.type&64){o.type=e,o.value=i,o.attrs=r;let s=oN();o.injectorIndex=s===null?-1:s.injectorIndex}return go(o,!0),o}function UL(t,n,e,i,r){let o=Lw(),s=qg(),a=s?o:o&&o.parent,l=t.data[n]=qL(t,a,e,n,i,r);return t.firstChild===null&&(t.firstChild=l),o!==null&&(s?o.child==null&&l.parent!==null&&(o.child=l):o.next===null&&(o.next=l,l.prev=o)),l}function UE(t,n,e,i){if(e===0)return-1;let r=n.length;for(let o=0;o<e;o++)n.push(i),t.blueprint.push(i),t.data.push(null);return r}function zE(t,n,e,i,r){let o=wi(),s=i&2;try{uo(-1),s&&n.length>mt&&VE(t,n,mt,!1),Hn(s?2:0,r),e(i,r)}finally{uo(o),Hn(s?3:1,r)}}function dv(t,n,e){if($g(n)){let i=be(null);try{let r=n.directiveStart,o=n.directiveEnd;for(let s=r;s<o;s++){let a=t.data[s];if(a.contentQueries){let l=e[s];a.contentQueries(1,l,s)}}}finally{be(i)}}}function uv(t,n,e){Fw()&&(JL(t,n,e,vn(e,n)),(e.flags&64)===64&&GE(t,n,e))}function fv(t,n,e=vn){let i=n.localNames;if(i!==null){let r=n.index+1;for(let o=0;o<i.length;o+=2){let s=i[o+1],a=s===-1?e(n,t):t[s];t[r++]=a}}}function $E(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=hv(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function hv(t,n,e,i,r,o,s,a,l,c,d){let u=mt+i,m=u+r,h=zL(u,m),v=typeof c=="function"?c():c;return h[oe]={type:t,blueprint:h,template:e,queries:null,viewQuery:a,declTNode:n,data:h.slice().fill(null,u),bindingStartIndex:u,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:v,incompleteFirstPass:!1,ssrId:d}}function zL(t,n){let e=[];for(let i=0;i<n;i++)e.push(i<t?null:nn);return e}function $L(t,n,e,i){let o=i.get(QN,hE)||e===Wn.ShadowDom,s=t.selectRootElement(n,o);return HL(s),s}function HL(t){GL(t)}function WL(t,n,e,i){let r=YE(n);r.push(e),t.firstCreatePass&&KE(t).push(i,r.length-1)}function qL(t,n,e,i,r,o){let s=n?n.injectorIndex:-1,a=0;return Nw()&&(a|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function kC(t,n,e,i,r){for(let o in n){if(!n.hasOwnProperty(o))continue;let s=n[o];if(s===void 0)continue;i??={};let a,l=nr.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(r!==null){if(!r.hasOwnProperty(o))continue;c=r[o]}t===0?FC(i,e,c,a,l):FC(i,e,c,a)}return i}function FC(t,n,e,i,r){let o;t.hasOwnProperty(e)?(o=t[e]).push(n,i):o=t[e]=[n,i],r!==void 0&&o.push(r)}function YL(t,n,e){let i=n.directiveStart,r=n.directiveEnd,o=t.data,s=n.attrs,a=[],l=null,c=null;for(let d=i;d<r;d++){let u=o[d],m=e?e.get(u):null,h=m?m.inputs:null,v=m?m.outputs:null;l=kC(0,u.inputs,d,l,h),c=kC(1,u.outputs,d,c,v);let b=l!==null&&s!==null&&!Pg(n)?d1(l,d,s):null;a.push(b)}l!==null&&(l.hasOwnProperty("class")&&(n.flags|=8),l.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=a,n.inputs=l,n.outputs=c}function KL(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function pv(t,n,e,i,r,o,s,a){let l=vn(n,e),c=n.inputs,d;!a&&c!=null&&(d=c[i])?(gv(t,e,d,i,r),vu(n)&&QL(e,n.index)):n.type&3?(i=KL(i),r=s!=null?s(r,n.value||"",i):r,o.setProperty(l,i,r)):n.type&12}function QL(t,n){let e=dr(n,t);e[X]&16||(e[X]|=64)}function mv(t,n,e,i){if(Fw()){let r=i===null?null:{"":-1},o=t1(t,e),s,a;o===null?s=a=null:[s,a]=o,s!==null&&HE(t,n,e,s,r,a),r&&n1(e,i,r)}e.mergedAttrs=Qa(e.mergedAttrs,e.attrs)}function HE(t,n,e,i,r,o){for(let c=0;c<i.length;c++)Pm(Yd(e,n),t,i[c].type);r1(e,t.data.length,i.length);for(let c=0;c<i.length;c++){let d=i[c];d.providersResolver&&d.providersResolver(d)}let s=!1,a=!1,l=UE(t,n,i.length,null);for(let c=0;c<i.length;c++){let d=i[c];e.mergedAttrs=Qa(e.mergedAttrs,d.hostAttrs),o1(t,e,n,l,d),i1(l,d,r),d.contentQueries!==null&&(e.flags|=4),(d.hostBindings!==null||d.hostAttrs!==null||d.hostVars!==0)&&(e.flags|=64);let u=d.type.prototype;!s&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),s=!0),!a&&(u.ngOnChanges||u.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),a=!0),l++}YL(t,e,o)}function ZL(t,n,e,i,r){let o=r.hostBindings;if(o){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~n.index;XL(s)!=a&&s.push(a),s.push(e,i,o)}}function XL(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function JL(t,n,e,i){let r=e.directiveStart,o=e.directiveEnd;vu(e)&&s1(n,e,t.data[r+e.componentOffset]),t.firstCreatePass||Yd(e,n),sr(i,n);let s=e.initialInputs;for(let a=r;a<o;a++){let l=t.data[a],c=ho(n,t,a,e);if(sr(c,n),s!==null&&c1(n,a-r,c,l,e,s),rr(l)){let d=dr(e.index,n);d[Mt]=ho(n,t,a,e)}}}function GE(t,n,e){let i=e.directiveStart,r=e.directiveEnd,o=e.index,s=uN();try{uo(o);for(let a=i;a<r;a++){let l=t.data[a],c=n[a];Fm(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&e1(l,c)}}finally{uo(-1),Fm(s)}}function e1(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function t1(t,n){let e=t.directiveRegistry,i=null,r=null;if(e)for(let o=0;o<e.length;o++){let s=e[o];if(uw(n,s.selectors,!1))if(i||(i=[]),rr(s))if(s.findHostDirectiveDefs!==null){let a=[];r=r||new Map,s.findHostDirectiveDefs(s,a,r),i.unshift(...a,s);let l=a.length;eg(t,n,l)}else i.unshift(s),eg(t,n,0);else r=r||new Map,s.findHostDirectiveDefs?.(s,i,r),i.push(s)}return i===null?null:[i,r]}function eg(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function n1(t,n,e){if(n){let i=t.localNames=[];for(let r=0;r<n.length;r+=2){let o=e[n[r+1]];if(o==null)throw new T(-301,!1);i.push(n[r],o)}}}function i1(t,n,e){if(e){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)e[n.exportAs[i]]=t;rr(n)&&(e[""]=t)}}function r1(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function o1(t,n,e,i,r){t.data[i]=r;let o=r.factory||(r.factory=so(r.type,!0)),s=new fo(o,rr(r),p);t.blueprint[i]=s,e[i]=s,ZL(t,n,i,UE(t,e,r.hostVars,nn),r)}function s1(t,n,e){let i=vn(n,t),r=$E(e),o=t[qn].rendererFactory,s=16;e.signals?s=4096:e.onPush&&(s=64);let a=ku(t,Ou(t,r,null,s,i,n,null,o.createRenderer(i,e),null,null,null));t[n.index]=a}function a1(t,n,e,i,r,o){let s=vn(t,n);l1(n[Ze],s,o,t.value,e,i,r)}function l1(t,n,e,i,r,o,s){if(o==null)t.removeAttribute(n,r,e);else{let a=s==null?oo(o):s(o,i||"",r);t.setAttribute(n,r,a,e)}}function c1(t,n,e,i,r,o){let s=o[n];if(s!==null)for(let a=0;a<s.length;){let l=s[a++],c=s[a++],d=s[a++],u=s[a++];BE(i,e,l,c,d,u)}}function d1(t,n,e){let i=null,r=0;for(;r<e.length;){let o=e[r];if(o===0){r+=4;continue}else if(o===5){r+=2;continue}if(typeof o=="number")break;if(t.hasOwnProperty(o)){i===null&&(i=[]);let s=t[o];for(let a=0;a<s.length;a+=3)if(s[a]===n){i.push(o,s[a+1],s[a+2],e[r+1]);break}}r+=2}return i}function WE(t,n,e,i){return[t,!0,0,n,null,i,null,e,null,null]}function qE(t,n){let e=t.contentQueries;if(e!==null){let i=be(null);try{for(let r=0;r<e.length;r+=2){let o=e[r],s=e[r+1];if(s!==-1){let a=t.data[s];xu(o),a.contentQueries(2,n[s],s)}}}finally{be(i)}}}function ku(t,n){return t[Xa]?t[pC][On]=n:t[Xa]=n,t[pC]=n,n}function tg(t,n,e){xu(0);let i=be(null);try{n(t,e)}finally{be(i)}}function YE(t){return t[zd]??=[]}function KE(t){return t.cleanup??=[]}function QE(t,n){let e=t[bs],i=e?e.get(Gt,null):null;i&&i.handleError(n)}function gv(t,n,e,i,r){for(let o=0;o<e.length;){let s=e[o++],a=e[o++],l=e[o++],c=n[s],d=t.data[s];BE(d,c,i,a,l,r)}}function ZE(t,n,e){let i=Aw(n,t);wL(t[Ze],i,e)}function u1(t,n){let e=dr(n,t),i=e[oe];f1(i,e);let r=e[xi];r!==null&&e[ys]===null&&(e[ys]=iv(r,e[bs])),vv(i,e,e[Mt])}function f1(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function vv(t,n,e){Zg(n);try{let i=t.viewQuery;i!==null&&tg(1,i,e);let r=t.template;r!==null&&zE(t,n,r,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[yi]?.finishViewCreation(t),t.staticContentQueries&&qE(t,n),t.staticViewQueries&&tg(2,t.viewQuery,e);let o=t.components;o!==null&&h1(n,o)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{n[X]&=-5,Xg()}}function h1(t,n){for(let e=0;e<n.length;e++)u1(t,n[e])}function dl(t,n,e,i){let r=be(null);try{let o=n.tView,a=t[X]&4096?4096:16,l=Ou(t,o,e,a,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),c=t[n.index];l[ao]=c;let d=t[yi];return d!==null&&(l[yi]=d.createEmbeddedView(o)),vv(o,l,e),l}finally{be(r)}}function XE(t,n){let e=At+n;if(e<t.length)return t[e]}function Cs(t,n){return!n||n.firstChild===null||sE(t)}function ul(t,n,e,i=!0){let r=n[oe];if(ML(r,n,t,e),i){let s=Jm(e,t),a=n[Ze],l=kE(a,t[lo]);l!==null&&IL(r,t[Wt],a,n,l,s)}let o=n[ys];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function JE(t,n){let e=el(t,n);return e!==void 0&&Au(e[oe],e),e}function Xd(t,n,e,i,r=!1){for(;e!==null;){if(e.type===128){e=r?e.projectionNext:e.next;continue}let o=n[e.index];o!==null&&i.push(Yn(o)),Ci(o)&&p1(o,i);let s=e.type;if(s&8)Xd(t,n,e.child,i);else if(s&32){let a=av(e,n),l;for(;l=a();)i.push(l)}else if(s&16){let a=NE(n,e);if(Array.isArray(a))i.push(...a);else{let l=co(n[Xt]);Xd(l[oe],l,a,i,!0)}}e=r?e.projectionNext:e.next}return i}function p1(t,n){for(let e=At;e<t.length;e++){let i=t[e],r=i[oe].firstChild;r!==null&&Xd(i[oe],i,r,n)}t[lo]!==t[xi]&&n.push(t[lo])}function m1(t){return t[mn]??g1(t)}function g1(t){let n=eD.pop()??Object.create(y1);return n.lView=t,n}function v1(t){t.lView[mn]!==t&&(t.lView=null,eD.push(t))}function b1(t){let n=t[mn]??Object.create(_1);return n.lView=t,n}function tD(t){return t.type!==2}function nD(t,n=!0,e=0){let i=t[qn],r=i.rendererFactory,o=!1;o||r.begin?.();try{C1(t,e)}catch(s){throw n&&QE(t,s),s}finally{o||(r.end?.(),i.inlineEffectRunner?.flush())}}function C1(t,n){let e=Pw();try{gC(!0),ng(t,n);let i=0;for(;bu(t);){if(i===x1)throw new T(103,!1);i++,ng(t,1)}}finally{gC(e)}}function w1(t,n,e,i){let r=n[X];if((r&256)===256)return;let o=!1,s=!1;!o&&n[qn].inlineEffectRunner?.flush(),Zg(n);let a=!0,l=null,c=null;o||(tD(t)?(c=m1(n),l=Fa(c)):I0()===null?(a=!1,c=b1(n),l=Fa(c)):n[mn]&&(Vc(n[mn]),n[mn]=null));try{Tw(n),lN(t.bindingStartIndex),e!==null&&zE(t,n,e,2,i);let d=(r&3)===3;if(!o)if(d){let h=t.preOrderCheckHooks;h!==null&&kd(n,h,null)}else{let h=t.preOrderHooks;h!==null&&Fd(n,h,0,null),hm(n,0)}if(s||E1(n),iD(n,0),t.contentQueries!==null&&qE(t,n),!o)if(d){let h=t.contentCheckHooks;h!==null&&kd(n,h)}else{let h=t.contentHooks;h!==null&&Fd(n,h,1),hm(n,1)}BL(t,n);let u=t.components;u!==null&&oD(n,u,0);let m=t.viewQuery;if(m!==null&&tg(2,m,i),!o)if(d){let h=t.viewCheckHooks;h!==null&&kd(n,h)}else{let h=t.viewHooks;h!==null&&Fd(n,h,2),hm(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[Od]){for(let h of n[Od])h();n[Od]=null}o||(n[X]&=-73)}catch(d){throw o||_u(n),d}finally{c!==null&&(Pc(c,l),a&&v1(c)),Xg()}}function iD(t,n){for(let e=lE(t);e!==null;e=cE(e))for(let i=At;i<e.length;i++){let r=e[i];rD(r,n)}}function E1(t){for(let n=lE(t);n!==null;n=cE(n)){if(!(n[X]&Hd.HasTransplantedViews))continue;let e=n[_s];for(let i=0;i<e.length;i++){let r=e[i];Rw(r)}}}function D1(t,n,e){let i=dr(n,t);rD(i,e)}function rD(t,n){Wg(t)&&ng(t,n)}function ng(t,n){let i=t[oe],r=t[X],o=t[mn],s=!!(n===0&&r&16);if(s||=!!(r&64&&n===0),s||=!!(r&1024),s||=!!(o?.dirty&&jc(o)),s||=!1,o&&(o.dirty=!1),t[X]&=-9217,s)w1(i,t,i.template,t[Mt]);else if(r&8192){iD(t,1);let a=i.components;a!==null&&oD(t,a,1)}}function oD(t,n,e){for(let i=0;i<n.length;i++)D1(t,n[i],e)}function yv(t,n){let e=Pw()?64:1088;for(t[qn].changeDetectionScheduler?.notify(n);t;){t[X]|=e;let i=co(t);if(Om(t)&&!i)return t;t=i}return null}function M1(){return Fu(wt(),J())}function Fu(t,n){return t.type&4?new S1(n,t,Ts(t,n)):null}function ws(t,n){return A1(t,n)}function T1(t){let n=Error(`No component factory found for ${jt(t)}.`);return n[R1]=t,n}function O1(){let t=J(),n=wt(),e=dr(n.index,t);return(tr(e)?e:t)[Ze]}function eu(t,n,e){let i=e?t.styles:null,r=e?t.classes:null,o=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")o=a;else if(o==1)r=Em(r,a);else if(o==2){let l=a,c=n[++s];i=Em(i,l+": "+c+";")}}e?t.styles=i:t.stylesWithoutHost=i,e?t.classes=r:t.classesWithoutHost=r}function NC(t,n){let e=[];for(let i in t){if(!t.hasOwnProperty(i))continue;let r=t[i];if(r===void 0)continue;let o=Array.isArray(r),s=o?r[0]:r,a=o?r[1]:nr.None;n?e.push({propName:s,templateName:i,isSignal:(a&nr.SignalBased)!==0}):e.push({propName:s,templateName:i})}return e}function F1(t){let n=t.toLowerCase();return n==="svg"?Mw:n==="math"?KF:null}function N1(t,n){let e=t[oe],i=mt;return t[i]=n,Os(e,i,2,"#host",null)}function L1(t,n,e,i,r,o,s){let a=r[oe];P1(i,t,n,s);let l=null;n!==null&&(l=iv(n,r[bs]));let c=o.rendererFactory.createRenderer(n,e),d=16;e.signals?d=4096:e.onPush&&(d=64);let u=Ou(r,$E(e),null,d,r[t.index],t,o,c,null,null,l);return a.firstCreatePass&&eg(a,t,i.length-1),ku(r,u),r[t.index]=u}function P1(t,n,e,i){for(let r of t)n.mergedAttrs=Qa(n.mergedAttrs,r.hostAttrs);n.mergedAttrs!==null&&(eu(n,n.mergedAttrs,!0),e!==null&&jE(i,e,n))}function j1(t,n,e,i,r,o){let s=wt(),a=r[oe],l=vn(s,r);HE(a,r,s,e,null,i);for(let d=0;d<e.length;d++){let u=s.directiveStart+d,m=ho(r,a,u,s);sr(m,r)}GE(a,r,s),l&&sr(l,r);let c=ho(r,a,s.directiveStart+s.componentOffset,s);if(t[Mt]=r[Mt]=c,o!==null)for(let d of o)d(c,n);return dv(a,s,r),c}function V1(t,n,e,i){if(i)Mm(t,e,["ng-version","18.2.13"]);else{let{attrs:r,classes:o}=RF(n.selectors[0]);r&&Mm(t,e,r),o&&o.length>0&&PE(t,e,o.join(" "))}}function B1(t,n,e){let i=t.projection=[];for(let r=0;r<n.length;r++){let o=e[r];i.push(o!=null?Array.from(o):null)}}function U1(){let t=wt();Du(J()[oe],t)}function z1(){let t=wt();return cD(t,J())}function LC(t){return t[$d]}function ym(t){return t[$d]||(t[$d]=[])}function cD(t,n){let e,i=n[t.index];return Ci(i)?e=i:(e=WE(i,n,null,t),n[t.index]=e,ku(n,e)),G1(e,n,t,i),new lD(e,t,n)}function H1(t,n){let e=t[Ze],i=e.createComment(""),r=vn(n,t),o=kE(e,r);return Zd(e,o,i,OL(e,r),!1),i}function q1(t,n,e){return W1(t,n,e)}function Y1(t,n,e,i){if(t[lo])return;let r;e.type&8?r=Yn(i):r=H1(n,e),t[lo]=r}function K1(t,n){let e=t.localNames;if(e!==null){for(let i=0;i<e.length;i+=2)if(e[i]===n)return e[i+1]}return null}function Q1(t,n){return t.type&11?Ts(t,n):t.type&4?Fu(t,n):null}function Z1(t,n,e,i){return e===-1?Q1(n,t):e===-2?X1(t,n,i):ho(t,t[oe],e,n)}function X1(t,n,e){if(e===j)return Ts(n,t);if(e===Jt)return Fu(n,t);if(e===Rt)return cD(n,t)}function dD(t,n,e,i){let r=n[yi].queries[i];if(r.matches===null){let o=t.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(Z1(n,d,s[l+1],e.metadata.read))}}r.matches=a}return r.matches}function dg(t,n,e,i){let r=t.queries.getByIndex(e),o=r.matches;if(o!==null){let s=dD(t,n,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=n[-l];for(let u=At;u<d.length;u++){let m=d[u];m[ao]===m[Tt]&&dg(m[oe],m,c,i)}if(d[_s]!==null){let u=d[_s];for(let m=0;m<u.length;m++){let h=u[m];dg(h[oe],h,c,i)}}}}}return i}function _v(t,n){return t[yi].queries[n].queryList}function uD(t,n,e){let i=new xs((e&4)===4);return WL(t,n,i,i.destroy),(n[yi]??=new ag).queries.push(new sg(i))-1}function J1(t,n,e){let i=Xe();return i.firstCreatePass&&(hD(i,new nu(t,n,e),-1),(n&2)===2&&(i.staticViewQueries=!0)),uD(i,J(),n)}function fD(t,n,e,i){let r=Xe();if(r.firstCreatePass){let o=wt();hD(r,new nu(n,e,i),o.index),tP(r,t),(e&2)===2&&(r.staticContentQueries=!0)}return uD(r,J(),e)}function eP(t){return t.split(",").map(n=>n.trim())}function hD(t,n,e){t.queries===null&&(t.queries=new lg),t.queries.track(new cg(n,e))}function tP(t,n){let e=t.contentQueries||(t.contentQueries=[]),i=e.length?e[e.length-1]:-1;n!==i&&e.push(t.queries.length-1,n)}function xv(t,n){return t.queries.getByIndex(n)}function pD(t,n){let e=t[oe],i=xv(e,n);return i.crossesNgTemplate?dg(e,t,n,[]):dD(e,t,i,n)}function bn(t){PC.has(t)||(PC.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Nu(t){return typeof t=="function"&&t[hn]!==void 0}function rn(t,n){bn("NgSignals");let e=P0(t),i=e[hn];return n?.equal&&(i.equal=n.equal),e.set=r=>bp(i,r),e.update=r=>j0(i,r),e.asReadonly=nP.bind(e),e}function nP(){let t=this[hn];if(t.readonlyFn===void 0){let n=()=>this();n[hn]=t,t.readonlyFn=n}return t.readonlyFn}function mD(t){return Nu(t)&&typeof t.set=="function"}function gD(t,n){let e,i=yp(()=>{e._dirtyCounter();let r=sP(e,t);if(n&&r===void 0)throw new T(-951,!1);return r});return e=i[hn],e._dirtyCounter=rn(0),e._flatValue=void 0,i}function iP(){return gD(!0,!1)}function rP(){return gD(!0,!0)}function oP(t,n){let e=t[hn];e._lView=J(),e._queryIndex=n,e._queryList=_v(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(i=>i+1))}function sP(t,n){let e=t._lView,i=t._queryIndex;if(e===void 0||i===void 0||e[X]&4)return n?void 0:Pt;let r=_v(e,i),o=pD(e,i);return r.reset(o,oE),n?r.first:r._changesDetected||t._flatValue===void 0?t._flatValue=r.toArray():t._flatValue}function jC(t,n){return iP()}function aP(t,n){return rP()}function lP(t){return Object.getPrototypeOf(t.prototype).constructor}function ye(t){let n=lP(t.type),e=!0,i=[t];for(;n;){let r;if(rr(t))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new T(903,!1);r=n.\u0275dir}if(r){if(e){i.push(r);let s=t;s.inputs=Md(t.inputs),s.inputTransforms=Md(t.inputTransforms),s.declaredInputs=Md(t.declaredInputs),s.outputs=Md(t.outputs);let a=r.hostBindings;a&&hP(t,a);let l=r.viewQuery,c=r.contentQueries;if(l&&uP(t,l),c&&fP(t,c),cP(t,r),Kk(t.outputs,r.outputs),rr(r)&&r.data.animation){let d=t.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(t),a===ye&&(e=!1)}}n=Object.getPrototypeOf(n)}dP(i)}function cP(t,n){for(let e in n.inputs){if(!n.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let i=n.inputs[e];if(i!==void 0&&(t.inputs[e]=i,t.declaredInputs[e]=n.declaredInputs[e],n.inputTransforms!==null)){let r=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(r))continue;t.inputTransforms??={},t.inputTransforms[r]=n.inputTransforms[r]}}}function dP(t){let n=0,e=null;for(let i=t.length-1;i>=0;i--){let r=t[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Qa(r.hostAttrs,e=Qa(e,r.hostAttrs))}}function Md(t){return t===vi?{}:t===Pt?[]:t}function uP(t,n){let e=t.viewQuery;e?t.viewQuery=(i,r)=>{n(i,r),e(i,r)}:t.viewQuery=n}function fP(t,n){let e=t.contentQueries;e?t.contentQueries=(i,r,o)=>{n(i,r,o),e(i,r,o)}:t.contentQueries=n}function hP(t,n){let e=t.hostBindings;e?t.hostBindings=(i,r)=>{n(i,r),e(i,r)}:t.hostBindings=n}function yD(t){let n=e=>{let i=Array.isArray(t);e.hostDirectives===null?(e.findHostDirectiveDefs=bD,e.hostDirectives=i?t.map(ug):[t]):i?e.hostDirectives.unshift(...t.map(ug)):e.hostDirectives.unshift(t)};return n.ngInherit=!0,n}function bD(t,n,e){if(t.hostDirectives!==null)for(let i of t.hostDirectives)if(typeof i=="function"){let r=i();for(let o of r)VC(ug(o),n,e)}else VC(i,n,e)}function VC(t,n,e){let i=jg(t.directive);pP(i.declaredInputs,t.inputs),bD(i,n,e),e.set(i,t),n.push(i)}function ug(t){return typeof t=="function"?{directive:xt(t),inputs:vi,outputs:vi}:{directive:xt(t.directive),inputs:BC(t.inputs),outputs:BC(t.outputs)}}function BC(t){if(t===void 0||t.length===0)return vi;let n={};for(let e=0;e<t.length;e+=2)n[t[e]]=t[e+1];return n}function pP(t,n){for(let e in n)if(n.hasOwnProperty(e)){let i=n[e],r=t[e];t[i]=r}}function vt(t){let n=t.inputConfig,e={};for(let i in n)if(n.hasOwnProperty(i)){let r=n[i];Array.isArray(r)&&r[3]&&(e[i]=r[3])}t.inputTransforms=e}function Lu(t,n,e=null){return new iu({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}function _D(t){return gP(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function mP(t,n){if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{let e=t[Symbol.iterator](),i;for(;!(i=e.next()).done;)n(i.value)}}function gP(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Pu(t,n,e){return t[n]=e}function vP(t,n){return t[n]}function tn(t,n,e){let i=t[n];return Object.is(i,e)?!1:(t[n]=e,!0)}function Cv(t,n,e,i){let r=tn(t,n,e);return tn(t,n+1,i)||r}function yP(t,n,e,i,r){let o=Cv(t,n,e,i);return tn(t,n+2,r)||o}function bP(t){return(t.flags&32)===32}function _P(t,n,e,i,r,o,s,a,l){let c=n.consts,d=Os(n,t,4,s||null,a||null);mv(n,e,d,or(c,l)),Du(n,d);let u=d.tView=hv(2,d,i,r,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return n.queries!==null&&(n.queries.template(n,d),u.queries=n.queries.embeddedTView(d)),d}function ru(t,n,e,i,r,o,s,a,l,c){let d=e+mt,u=n.firstCreatePass?_P(d,n,t,i,r,o,s,a,l):n.data[d];go(u,!1);let m=xP(n,t,u,e);wu()&&Tu(n,t,m,u),sr(m,t);let h=WE(m,t,m,u);return t[d]=h,ku(t,h),q1(h,u,t),yu(u)&&uv(n,t,u),l!=null&&fv(t,u,c),u}function ie(t,n,e,i,r,o,s,a){let l=J(),c=Xe(),d=or(c.consts,o);return ru(l,c,t,n,e,i,r,d,s,a),ie}function CP(t,n,e,i){return Eu(!0),n[Ze].createComment("")}function fl(t,n){!n?.injector&&zg(fl);let e=n?.injector??y(Me);return SE(e)?(bn("NgAfterRender"),CD(t,e,n,!1)):wD}function kn(t,n){!n?.injector&&zg(kn);let e=n?.injector??y(Me);return SE(e)?(bn("NgAfterNextRender"),CD(t,e,n,!0)):wD}function wP(t,n){if(t instanceof Function){let e=[void 0,void 0,void 0,void 0];return e[n]=t,e}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function CD(t,n,e,i){let r=n.get(xD);r.impl??=n.get(pg);let o=e?.phase??hs.MixedReadWrite,s=e?.manualCleanup!==!0?n.get(Iu):null,a=new mg(r.impl,wP(t,o),i,s);return r.impl.register(a),a}function Ie(t,n,e,i){let r=J(),o=vo();if(tn(r,o,n)){let s=Xe(),a=Cu();a1(a,r,t,n,e,i)}return Ie}function ED(t,n,e,i){return tn(t,vo(),e)?n+oo(e)+i:nn}function EP(t,n,e,i,r,o){let s=aN(),a=Cv(t,s,e,r);return Kg(2),a?n+oo(e)+i+oo(r)+o:nn}function Ad(t,n){return t<<17|n<<2}function mo(t){return t>>17&32767}function DP(t){return(t&2)==2}function IP(t,n){return t&131071|n<<17}function gg(t){return t|2}function Is(t){return(t&131068)>>2}function bm(t,n){return t&-131069|n<<2}function SP(t){return(t&1)===1}function vg(t){return t|1}function MP(t,n,e,i,r,o){let s=o?n.classBindings:n.styleBindings,a=mo(s),l=Is(s);t[i]=e;let c=!1,d;if(Array.isArray(e)){let u=e;d=u[1],(d===null||ol(u,d)>0)&&(c=!0)}else d=e;if(r)if(l!==0){let m=mo(t[a+1]);t[i+1]=Ad(m,a),m!==0&&(t[m+1]=bm(t[m+1],i)),t[a+1]=IP(t[a+1],i)}else t[i+1]=Ad(a,0),a!==0&&(t[a+1]=bm(t[a+1],i)),a=i;else t[i+1]=Ad(l,0),a===0?a=i:t[l+1]=bm(t[l+1],i),l=i;c&&(t[i+1]=gg(t[i+1])),UC(t,d,i,!0),UC(t,d,i,!1),AP(n,d,t,i,o),s=Ad(a,l),o?n.classBindings=s:n.styleBindings=s}function AP(t,n,e,i,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof n=="string"&&ol(o,n)>=0&&(e[i+1]=vg(e[i+1]))}function UC(t,n,e,i){let r=t[e+1],o=n===null,s=i?mo(r):Is(r),a=!1;for(;s!==0&&(a===!1||o);){let l=t[s],c=t[s+1];TP(l,n)&&(a=!0,t[s+1]=i?vg(c):gg(c)),s=i?mo(c):Is(c)}a&&(t[e+1]=i?gg(r):vg(r))}function TP(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?ol(t,n)>=0:!1}function RP(t){return t.substring(Rn.key,Rn.keyEnd)}function OP(t){return kP(t),DD(t,ID(t,0,Rn.textEnd))}function DD(t,n){let e=Rn.textEnd;return e===n?-1:(n=Rn.keyEnd=FP(t,Rn.key=n,e),ID(t,n,e))}function kP(t){Rn.key=0,Rn.keyEnd=0,Rn.value=0,Rn.valueEnd=0,Rn.textEnd=t.length}function ID(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function FP(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function S(t,n,e){let i=J(),r=vo();if(tn(i,r,n)){let o=Xe(),s=Cu();pv(o,s,i,t,n,i[Ze],e,!1)}return S}function yg(t,n,e,i,r){let o=n.inputs,s=r?"class":"style";gv(t,e,o[s],s,i)}function bo(t,n,e){return MD(t,n,e,!1),bo}function de(t,n){return MD(t,n,null,!0),de}function _o(t){AD(BP,SD,t,!0)}function SD(t,n){for(let e=OP(n);e>=0;e=DD(n,e))pu(t,RP(n),!0)}function MD(t,n,e,i){let r=J(),o=Xe(),s=Kg(2);if(o.firstUpdatePass&&RD(o,t,s,i),n!==nn&&tn(r,s,n)){let a=o.data[wi()];OD(o,a,r,r[Ze],t,r[s+1]=zP(n,e),i,s)}}function AD(t,n,e,i){let r=Xe(),o=Kg(2);r.firstUpdatePass&&RD(r,null,o,i);let s=J();if(e!==nn&&tn(s,o,e)){let a=r.data[wi()];if(kD(a,i)&&!TD(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(e=Em(l,e||"")),yg(r,a,s,e,i)}else UP(r,a,s,s[Ze],s[o+1],s[o+1]=VP(t,n,e),i,o)}}function TD(t,n){return n>=t.expandoStartIndex}function RD(t,n,e,i){let r=t.data;if(r[e+1]===null){let o=r[wi()],s=TD(t,e);kD(o,i)&&n===null&&!s&&(n=!1),n=NP(r,o,n,i),MP(r,o,n,e,s,i)}}function NP(t,n,e,i){let r=fN(t),o=i?n.residualClasses:n.residualStyles;if(r===null)(i?n.classBindings:n.styleBindings)===0&&(e=_m(null,t,n,e,i),e=nl(e,n.attrs,i),o=null);else{let s=n.directiveStylingLast;if(s===-1||t[s]!==r)if(e=_m(r,t,n,e,i),o===null){let l=LP(t,n,i);l!==void 0&&Array.isArray(l)&&(l=_m(null,t,n,l[1],i),l=nl(l,n.attrs,i),PP(t,n,i,l))}else o=jP(t,n,i)}return o!==void 0&&(i?n.residualClasses=o:n.residualStyles=o),e}function LP(t,n,e){let i=e?n.classBindings:n.styleBindings;if(Is(i)!==0)return t[mo(i)]}function PP(t,n,e,i){let r=e?n.classBindings:n.styleBindings;t[mo(r)]=i}function jP(t,n,e){let i,r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<r;o++){let s=t[o].hostAttrs;i=nl(i,s,e)}return nl(i,n.attrs,e)}function _m(t,n,e,i,r){let o=null,s=e.directiveEnd,a=e.directiveStylingLast;for(a===-1?a=e.directiveStart:a++;a<s&&(o=n[a],i=nl(i,o.hostAttrs,r),o!==t);)a++;return t!==null&&(e.directiveStylingLast=a),i}function nl(t,n,e){let i=e?1:2,r=-1;if(n!==null)for(let o=0;o<n.length;o++){let s=n[o];typeof s=="number"?r=s:r===i&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),pu(t,s,e?!0:n[++o]))}return t===void 0?null:t}function VP(t,n,e){if(e==null||e==="")return Pt;let i=[],r=yn(e);if(Array.isArray(r))for(let o=0;o<r.length;o++)t(i,r[o],!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&t(i,o,r[o]);else typeof r=="string"&&n(i,r);return i}function BP(t,n,e){let i=String(n);i!==""&&!i.includes(" ")&&pu(t,i,e)}function UP(t,n,e,i,r,o,s,a){r===nn&&(r=Pt);let l=0,c=0,d=0<r.length?r[0]:null,u=0<o.length?o[0]:null;for(;d!==null||u!==null;){let m=l<r.length?r[l+1]:void 0,h=c<o.length?o[c+1]:void 0,v=null,b;d===u?(l+=2,c+=2,m!==h&&(v=u,b=h)):u===null||d!==null&&d<u?(l+=2,v=d):(c+=2,v=u,b=h),v!==null&&OD(t,n,e,i,v,b,s,a),d=l<r.length?r[l]:null,u=c<o.length?o[c]:null}}function OD(t,n,e,i,r,o,s,a){if(!(n.type&3))return;let l=t.data,c=l[a+1],d=SP(c)?zC(l,n,e,r,Is(c),s):void 0;if(!ou(d)){ou(o)||DP(c)&&(o=zC(l,null,e,r,a,s));let u=Aw(wi(),e);jL(i,s,u,r,o)}}function zC(t,n,e,i,r,o){let s=n===null,a;for(;r>0;){let l=t[r],c=Array.isArray(l),d=c?l[1]:l,u=d===null,m=e[r+1];m===nn&&(m=u?Pt:void 0);let h=u?um(m,i):d===i?m:void 0;if(c&&!ou(h)&&(h=um(l,i)),ou(h)&&(a=h,s))return a;let v=t[r+1];r=s?mo(v):Is(v)}if(n!==null){let l=o?n.residualClasses:n.residualStyles;l!=null&&(a=um(l,i))}return a}function ou(t){return t!==void 0}function zP(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=jt(yn(t)))),t}function kD(t,n){return(t.flags&(n?8:16))!==0}function ju(t,n,e){let i=J(),r=ED(i,t,n,e);AD(pu,SD,r,!0)}function xm(t,n,e,i,r){return t===e&&Object.is(n,i)?1:Object.is(r(t,n),r(e,i))?-1:0}function $P(t,n,e){let i,r,o=0,s=t.length-1,a=void 0;if(Array.isArray(n)){let l=n.length-1;for(;o<=s&&o<=l;){let c=t.at(o),d=n[o],u=xm(o,c,o,d,e);if(u!==0){u<0&&t.updateValue(o,d),o++;continue}let m=t.at(s),h=n[l],v=xm(s,m,l,h,e);if(v!==0){v<0&&t.updateValue(s,h),s--,l--;continue}let b=e(o,c),E=e(s,m),M=e(o,d);if(Object.is(M,E)){let B=e(l,h);Object.is(B,b)?(t.swap(o,s),t.updateValue(s,h),l--,s--):t.move(s,o),t.updateValue(o,d),o++;continue}if(i??=new su,r??=HC(t,o,s,e),_g(t,i,o,M))t.updateValue(o,d),o++,s++;else if(r.has(M))i.set(b,t.detach(o)),s--;else{let B=t.create(o,n[o]);t.attach(o,B),o++,s++}}for(;o<=l;)$C(t,i,e,o,n[o]),o++}else if(n!=null){let l=n[Symbol.iterator](),c=l.next();for(;!c.done&&o<=s;){let d=t.at(o),u=c.value,m=xm(o,d,o,u,e);if(m!==0)m<0&&t.updateValue(o,u),o++,c=l.next();else{i??=new su,r??=HC(t,o,s,e);let h=e(o,u);if(_g(t,i,o,h))t.updateValue(o,u),o++,s++,c=l.next();else if(!r.has(h))t.attach(o,t.create(o,u)),o++,s++,c=l.next();else{let v=e(o,d);i.set(v,t.detach(o)),s--}}}for(;!c.done;)$C(t,i,e,t.length,c.value),c=l.next()}for(;o<=s;)t.destroy(t.detach(s--));i?.forEach(l=>{t.destroy(l)})}function _g(t,n,e,i){return n!==void 0&&n.has(i)?(t.attach(e,n.get(i)),n.delete(i),!0):!1}function $C(t,n,e,i,r){if(_g(t,n,i,e(i,r)))t.updateValue(i,r);else{let o=t.create(i,r);t.attach(i,o)}}function HC(t,n,e,i){let r=new Set;for(let o=n;o<=e;o++)r.add(i(o,t.at(o)));return r}function ot(t,n){bn("NgControlFlow");let e=J(),i=vo(),r=e[i]!==nn?e[i]:-1,o=r!==-1?au(e,mt+r):void 0,s=0;if(tn(e,i,t)){let a=be(null);try{if(o!==void 0&&JE(o,s),t!==-1){let l=mt+t,c=au(e,l),d=Eg(e[oe],l),u=ws(c,d.tView.ssrId),m=dl(e,d,n,{dehydratedView:u});ul(c,m,s,Cs(d,u))}}finally{be(a)}}else if(o!==void 0){let a=XE(o,s);a!==void 0&&(a[Mt]=n)}}function FD(t){return t}function ND(t,n,e,i,r,o,s,a,l,c,d,u,m){bn("NgControlFlow");let h=J(),v=Xe(),b=l!==void 0,E=J(),M=a?s.bind(E[Xt][Mt]):s,B=new Cg(b,M);E[mt+t]=B,ru(h,v,t+1,n,e,i,r,or(v.consts,o)),b&&ru(h,v,t+2,l,c,d,u,or(v.consts,m))}function LD(t){let n=be(null),e=wi();try{let i=J(),r=i[oe],o=i[e],s=e+1,a=au(i,s);if(o.liveCollection===void 0){let c=Eg(r,s);o.liveCollection=new wg(a,i,c)}else o.liveCollection.reset();let l=o.liveCollection;if($P(l,t,o.trackByFn),l.updateIndexes(),o.hasEmptyBlock){let c=vo(),d=l.length===0;if(tn(i,c,d)){let u=e+2,m=au(i,u);if(d){let h=Eg(r,u),v=ws(m,h.tView.ssrId),b=dl(i,h,void 0,{dehydratedView:v});ul(m,b,0,Cs(h,v))}else JE(m,0)}}}finally{be(n)}}function au(t,n){return t[n]}function HP(t,n){return el(t,n)}function GP(t,n){return XE(t,n)}function Eg(t,n){return Hg(t,n)}function WP(t,n,e,i,r,o){let s=n.consts,a=or(s,r),l=Os(n,t,2,i,a);return mv(n,e,l,or(s,o)),l.attrs!==null&&eu(l,l.attrs,!1),l.mergedAttrs!==null&&eu(l,l.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,l),l}function D(t,n,e,i){let r=J(),o=Xe(),s=mt+t,a=r[Ze],l=o.firstCreatePass?WP(s,o,r,n,e,i):o.data[s],c=qP(o,r,l,a,n,t);r[s]=c;let d=yu(l);return go(l,!0),jE(a,c,l),!bP(l)&&wu()&&Tu(o,r,c,l),eN()===0&&sr(c,r),tN(),d&&(uv(o,r,l),dv(o,l,r)),i!==null&&fv(r,l),D}function A(){let t=wt();qg()?Yg():(t=t.parent,go(t,!1));let n=t;iN(n)&&rN(),nN();let e=Xe();return e.firstCreatePass&&(Du(e,t),$g(t)&&e.queries.elementEnd(t)),n.classesWithoutHost!=null&&_N(n)&&yg(e,n,J(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&xN(n)&&yg(e,n,J(),n.stylesWithoutHost,!1),A}function ee(t,n,e,i){return D(t,n,e,i),A(),ee}function YP(t,n,e,i,r){let o=n.consts,s=or(o,i),a=Os(n,t,8,"ng-container",s);s!==null&&eu(a,s,!0);let l=or(o,r);return mv(n,e,a,l),n.queries!==null&&n.queries.elementStart(n,a),a}function Vu(t,n,e){let i=J(),r=Xe(),o=t+mt,s=r.firstCreatePass?YP(o,r,i,n,e):r.data[o];go(s,!0);let a=KP(r,i,s,t);return i[o]=a,wu()&&Tu(r,i,a,s),sr(a,i),yu(s)&&(uv(r,i,s),dv(r,s,i)),e!=null&&fv(i,s),Vu}function Bu(){let t=wt(),n=Xe();return qg()?Yg():(t=t.parent,go(t,!1)),n.firstCreatePass&&(Du(n,t),$g(t)&&n.queries.elementEnd(t)),Bu}function hl(t,n,e){return Vu(t,n,e),Bu(),hl}function Oe(){return J()}function hr(t,n,e){let i=J(),r=vo();if(tn(i,r,n)){let o=Xe(),s=Cu();pv(o,s,i,t,n,i[Ze],e,!0)}return hr}function ZP(t){typeof t=="string"&&(QP=t.toLowerCase().replace(/_/g,"-"))}function te(t,n,e,i){let r=J(),o=Xe(),s=wt();return PD(o,r,r[Ze],s,t,n,i),te}function JP(t,n,e,i){let r=t.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=n[zd],l=r[o+2];return a.length>l?a[l]:null}typeof s=="string"&&(o+=2)}return null}function PD(t,n,e,i,r,o,s){let a=yu(i),c=t.firstCreatePass&&KE(t),d=n[Mt],u=YE(n),m=!0;if(i.type&3||s){let b=vn(i,n),E=s?s(b):b,M=u.length,B=s?De=>s(Yn(De[i.index])):i.index,G=null;if(!s&&a&&(G=JP(t,n,r,i.index)),G!==null){let De=G.__ngLastListenerFn__||G;De.__ngNextListenerFn__=o,G.__ngLastListenerFn__=o,m=!1}else{o=WC(i,n,d,o),XP(b,r,o);let De=e.listen(E,r,o);u.push(o,De),c&&c.push(r,B,M,M+1)}}else o=WC(i,n,d,o);let h=i.outputs,v;if(m&&h!==null&&(v=h[r])){let b=v.length;if(b)for(let E=0;E<b;E+=2){let M=v[E],B=v[E+1],nt=n[M][B].subscribe(o),Te=u.length;u.push(o,nt),c&&c.push(r,i.index,Te,-(Te+1))}}}function GC(t,n,e,i){let r=be(null);try{return Hn(6,n,e),e(i)!==!1}catch(o){return QE(t,o),!1}finally{Hn(7,n,e),be(r)}}function WC(t,n,e,i){return function r(o){if(o===Function)return i;let s=t.componentOffset>-1?dr(t.index,n):n;yv(s,5);let a=GC(n,e,i,o),l=r.__ngNextListenerFn__;for(;l;)a=GC(n,e,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function $(t=1){return pN(t)}function ej(t,n){let e=null,i=DF(t);for(let r=0;r<n.length;r++){let o=n[r];if(o==="*"){e=r;continue}if(i===null?uw(t,o,!0):MF(i,o))return r}return e}function on(t){let n=J()[Xt][Wt];if(!n.projection){let e=t?t.length:1,i=n.projection=gF(e,null),r=i.slice(),o=n.child;for(;o!==null;){if(o.type!==128){let s=t?ej(o,t):0;s!==null&&(r[s]?r[s].projectionNext=o:i[s]=o,r[s]=o)}o=o.next}}}function Ge(t,n=0,e,i,r,o){let s=J(),a=Xe(),l=i?t+1:null;l!==null&&ru(s,a,l,i,r,o,null,e);let c=Os(a,mt+t,16,null,e||null);c.projection===null&&(c.projection=n),Yg();let u=!s[ys]||Nw();s[Xt][Wt].projection[c.projection]===null&&l!==null?tj(s,a,l):u&&(c.flags&32)!==32&&LL(a,s,c)}function tj(t,n,e){let i=mt+e,r=n.data[i],o=t[i],s=ws(o,r.tView.ssrId),a=dl(t,r,void 0,{dehydratedView:s});ul(o,a,0,Cs(r,s))}function Fn(t,n,e,i){fD(t,n,e,i)}function Be(t,n,e){J1(t,n,e)}function Ce(t){let n=J(),e=Xe(),i=Qg();xu(i+1);let r=xv(e,i);if(t.dirty&&QF(n)===((r.metadata.flags&2)===2)){if(r.matches===null)t.reset([]);else{let o=pD(n,i);t.reset(o,oE),t.notifyOnChanges()}return!0}return!1}function we(){return _v(J(),Qg())}function jD(t,n,e,i,r){oP(n,fD(t,e,i,r))}function VD(t=1){xu(Qg()+t)}function nj(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}function qt(t){let n=sN();return Gg(n,mt+t)}function ne(t,n=""){let e=J(),i=Xe(),r=t+mt,o=i.firstCreatePass?Os(i,r,1,n,null):i.data[r],s=ij(i,e,o,n,t);e[r]=s,wu()&&Tu(i,e,s,o),go(o,!1)}function st(t){return We("",t,""),st}function We(t,n,e){let i=J(),r=ED(i,t,n,e);return r!==nn&&ZE(i,wi(),r),We}function wv(t,n,e,i,r){let o=J(),s=EP(o,t,n,e,i,r);return s!==nn&&ZE(o,wi(),s),wv}function ks(t,n,e){mD(n)&&(n=n());let i=J(),r=vo();if(tn(i,r,n)){let o=Xe(),s=Cu();pv(o,s,i,t,n,i[Ze],e,!1)}return ks}function pl(t,n){let e=mD(t);return e&&t.set(n),e}function Fs(t,n){let e=J(),i=Xe(),r=wt();return PD(i,e,e[Ze],r,t,n),Fs}function rj(t,n,e){let i=Xe();if(i.firstCreatePass){let r=rr(t);Dg(e,i.data,i.blueprint,r,!0),Dg(n,i.data,i.blueprint,r,!1)}}function Dg(t,n,e,i,r){if(t=xt(t),Array.isArray(t))for(let o=0;o<t.length;o++)Dg(t[o],n,e,i,r);else{let o=Xe(),s=J(),a=wt(),l=vs(t)?t:xt(t.provide),c=_w(t),d=a.providerIndexes&1048575,u=a.directiveStart,m=a.providerIndexes>>20;if(vs(t)||!t.multi){let h=new fo(c,r,p),v=wm(l,n,r?d:d+m,u);v===-1?(Pm(Yd(a,s),o,l),Cm(o,t,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),e.push(h),s.push(h)):(e[v]=h,s[v]=h)}else{let h=wm(l,n,d+m,u),v=wm(l,n,d,d+m),b=h>=0&&e[h],E=v>=0&&e[v];if(r&&!E||!r&&!b){Pm(Yd(a,s),o,l);let M=aj(r?sj:oj,e.length,r,i,c);!r&&E&&(e[v].providerFactory=M),Cm(o,t,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),e.push(M),s.push(M)}else{let M=BD(e[r?v:h],c,!r&&i);Cm(o,t,h>-1?h:v,M)}!r&&i&&E&&e[v].componentProviders++}}}function Cm(t,n,e,i){let r=vs(n),o=jF(n);if(r||o){let l=(o?xt(n.useClass):n).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&n.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 BD(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function wm(t,n,e,i){for(let r=e;r<i;r++)if(n[r]===t)return r;return-1}function oj(t,n,e,i){return Ig(this.multi,[])}function sj(t,n,e,i){let r=this.multi,o;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=ho(e,e[oe],this.providerFactory.index,i);o=a.slice(0,s),Ig(r,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],Ig(r,o);return o}function Ig(t,n){for(let e=0;e<t.length;e++){let i=t[e];n.push(i())}return n}function aj(t,n,e,i,r){let o=new fo(t,e,p);return o.multi=[],o.index=n,o.componentProviders=0,BD(o,r,i&&!e),o}function Ot(t,n=[]){return e=>{e.providersResolver=(i,r)=>rj(i,r?r(t):t,n)}}function Ee(t){bn("NgStandalone"),t.getStandaloneInjector=n=>n.get(lj).getOrCreateStandaloneInjector(t)}function Uu(t,n,e){let i=As()+t,r=J();return r[i]===nn?Pu(r,i,e?n.call(e):n()):vP(r,i)}function zu(t,n,e,i){return $D(J(),As(),t,n,e,i)}function UD(t,n,e,i,r){return HD(J(),As(),t,n,e,i,r)}function zD(t,n,e,i,r,o){return cj(J(),As(),t,n,e,i,r,o)}function Ev(t,n){let e=t[n];return e===nn?void 0:e}function $D(t,n,e,i,r,o){let s=n+e;return tn(t,s,r)?Pu(t,s+1,o?i.call(o,r):i(r)):Ev(t,s+1)}function HD(t,n,e,i,r,o,s){let a=n+e;return Cv(t,a,r,o)?Pu(t,a+2,s?i.call(s,r,o):i(r,o)):Ev(t,a+2)}function cj(t,n,e,i,r,o,s,a){let l=n+e;return yP(t,l,r,o,s)?Pu(t,l+3,a?i.call(a,r,o,s):i(r,o,s)):Ev(t,l+3)}function K(t,n){let e=Xe(),i,r=t+mt;e.firstCreatePass?(i=dj(n,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks??=[]).push(r,i.onDestroy)):i=e.data[r];let o=i.factory||(i.factory=so(i.type,!0)),s,a=Ht(p);try{let l=qd(!1),c=o();return qd(l),nj(e,J(),r,c),c}finally{Ht(a)}}function dj(t,n){if(n)for(let e=n.length-1;e>=0;e--){let i=n[e];if(t===i.name)return i}}function se(t,n,e){let i=t+mt,r=J(),o=Gg(r,i);return GD(r,i)?$D(r,As(),n,o.transform,e,o):o.transform(e)}function xo(t,n,e,i){let r=t+mt,o=J(),s=Gg(o,r);return GD(o,r)?HD(o,As(),n,s.transform,e,i,s):s.transform(e,i)}function GD(t,n){return t[oe].data[n].pure}function Co(t,n){return Fu(t,n)}function wo(t){return!!t&&typeof t.then=="function"}function qD(t){return!!t&&typeof t.subscribe=="function"}function uj(){L0(()=>{throw new T(600,!1)})}function fj(t){return t.isBoundToModule}function pj(t,n,e){try{let i=e();return wo(i)?i.catch(r=>{throw n.runOutsideAngular(()=>t.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}function Ld(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function mj(t,n,e,i){if(!e&&!bu(t))return;nD(t,n,e&&!i?0:1)}function vj({ngZoneFactory:t,ignoreChangesOutsideZone:n,scheduleInRootZone:e}){return t??=()=>new k(ce(x({},yj()),{scheduleInRootZone:e})),[{provide:k,useFactory:t},{provide:gs,multi:!0,useFactory:()=>{let i=y(gj,{optional:!0});return()=>i.initialize()}},{provide:gs,multi:!0,useFactory:()=>{let i=y(bj);return()=>{i.initialize()}}},n===!0?{provide:sD,useValue:!0}:[],{provide:aD,useValue:e??nE}]}function yj(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}function xj(){return typeof $localize<"u"&&$localize.locale||lu}function Td(t){return!t.moduleRef}function Cj(t){let n=Td(t)?t.r3Injector:t.moduleRef.injector,e=n.get(k);return e.run(()=>{Td(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let i=n.get(Gt,null),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:o=>{i.handleError(o)}})}),Td(t)){let o=()=>n.destroy(),s=t.platformInjector.get(Mg);s.add(o),n.onDestroy(()=>{r.unsubscribe(),s.delete(o)})}else{let o=()=>t.moduleRef.destroy(),s=t.platformInjector.get(Mg);s.add(o),t.moduleRef.onDestroy(()=>{Ld(t.allPlatformModules,t.moduleRef),r.unsubscribe(),s.delete(o)})}return pj(i,e,()=>{let o=n.get(YD);return o.runInitializers(),o.donePromise.then(()=>{let s=n.get(Wu,lu);if(ZP(s||lu),Td(t)){let a=n.get(_n);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return wj(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function wj(t,n){let e=t.injector.get(_n);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>e.bootstrap(i));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new T(-403,!1);n.push(t)}function Ej(t=[],n){return Me.create({name:n,providers:[{provide:mu,useValue:"platform"},{provide:Mg,useValue:new Set([()=>Pd=null])},...t]})}function Dj(t=[]){if(Pd)return Pd;let n=Ej(t);return Pd=n,uj(),Ij(n),n}function Ij(t){t.get(nv,null)?.forEach(e=>e())}function Sj(t){return Mj(wt(),J(),(t&16)===16)}function Mj(t,n,e){if(vu(t)&&!e){let i=dr(t.index,n);return new po(i,i)}else if(t.type&175){let i=n[Xt];return new po(i,n)}return null}function qC(t,n,e){let i=t.previousIndex;if(i===null)return i;let r=0;return e&&i<e.length&&(r=e[i]),i+n+r}function YC(){return new qu([new Ag])}function Dv(t){try{let{rootComponent:n,appProviders:e,platformProviders:i}=t,r=Dj(i),o=[vj({}),{provide:Es,useExisting:_j},...e||[]],s=new iu({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1});return Cj({r3Injector:s.injector,platformInjector:r,rootComponent:n})}catch(n){return Promise.reject(n)}}function Ae(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Si(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}function Mi(t,n){bn("NgSignals");let e=yp(t);return n?.equal&&(e[hn].equal=n.equal),e}function xn(t){let n=be(null);try{return t()}finally{be(n)}}function Iv(t,n){bn("NgSignals"),!n?.injector&&zg(Iv);let e=n?.injector??y(Me),i=n?.manualCleanup!==!0?e.get(Iu):null,r=new Fg(e.get(Tj),t,typeof Zone>"u"?null:Zone.current,i,e,n?.allowSignalWrites??!1),o=e.get(et,null,{optional:!0});return!o||!(o._lView[X]&8)?r.watcher.notify():(o._lView[Od]??=[]).push(r.watcher.notify),r}function KD(t){let n=ir(t);if(!n)return null;let e=new Ds(n);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 n.standalone},get isSignal(){return n.signals}}}var KC,T,Ed,Ya,Qk,JC,aC,ew,Xk,w,Jk,eF,tF,nF,jd,qa,lC,pe,Dm,oF,Ka,Im,Vd,sF,aF,lF,cC,ps,rl,hu,vi,Pt,gs,sw,aw,Ud,lw,Wn,nr,dw,NF,mu,Rd,VF,fm,Ct,Za,xi,oe,X,Tt,On,Wt,ys,zd,Mt,bs,qn,Ze,Xa,pC,Ms,Xt,ao,us,yi,gu,Cw,er,Od,mn,mt,ww,lo,$d,_s,At,Hd,Ja,Iw,mC,Hn,Mw,KF,ue,kw,zw,Hw,ms,fo,pm,Nm,Lm,wN,qw,Yw,EN,Gn,ro,Me,RN,ON,nE,Iu,Vm,Ei,Bm,P,ev,Qd,FN,k,NN,zm,Gt,BN,j,xs,aE,$N,EC,Hm,ll,WN,nv,gt,rt,yo,qN,YN,KN,hE,QN,Dd,Id,bi,Gm,Wm,qm,Ym,Km,Qm,Zm,tL,_E,xE,CE,nL,iL,rL,SC,wE,oL,sL,aL,lL,Xm,fL,hL,Sd,Et,vL,yL,bL,_i,xL,FL,OC,nn,GL,eD,y1,_1,x1,po,Jt,I1,S1,x7,A1,Es,bv,sD,aD,ig,Jd,R1,rg,en,ar,Qn,k1,tu,Ds,og,Rt,$1,lD,G1,W1,sg,ag,nu,lg,cg,PC,vD,lr,tl,fg,hg,iu,xP,hs,xD,pg,mg,wD,Rn,bg,su,xg,Cg,wg,qP,KP,lu,QP,XP,ij,lj,Kn,$u,WD,Hu,YD,Ns,hj,_n,Sg,Gu,gj,bj,_j,Wu,Mg,Pd,et,Ag,Aj,Tg,Rg,Og,cu,qu,Tj,Rj,kg,Fg,I=f(()=>{"use strict";U0();Re();dt();KC="https://g.co/ng/security#xss",T=class extends Error{constructor(n,e){super(du(n,e)),this.code=n}};Ed="__parameters__";Ya=globalThis;Qk=je({__forward_ref__:je});JC=je({\u0275prov:je}),aC=je({\u0275inj:je}),ew=je({ngInjectableDef:je}),Xk=je({ngInjectorDef:je}),w=class{constructor(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=_({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};Jk=je({\u0275cmp:je}),eF=je({\u0275dir:je}),tF=je({\u0275pipe:je}),nF=je({\u0275mod:je}),jd=je({\u0275fac:je}),qa=je({__NG_ELEMENT_ID__:je}),lC=je({__NG_ENV_ID__:je});pe=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(pe||{});oF={},Ka=oF,Im="__NG_DI_FLAG__",Vd="ngTempTokenPath",sF="ngTokenPath",aF=/\n/gm,lF="\u0275",cC="__source";rl=rw(QC("Optional"),8),hu=rw(QC("SkipSelf"),4);vi={},Pt=[],gs=new w(""),sw=new w("",-1),aw=new w(""),Ud=class{get(n,e=Ka){if(e===Ka){let i=new Error(`NullInjectorError: No provider for ${jt(n)}!`);throw i.name="NullInjectorError",i}return e}},lw=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(lw||{}),Wn=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Wn||{}),nr=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(nr||{});dw="ng-template";NF=je({provide:String,useValue:je});mu=new w(""),Rd={},VF={};Ct=class{},Za=class extends Ct{get destroyed(){return this._destroyed}constructor(n,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Rm(n,s=>this.processProvider(s)),this.records.set(sw,ds(void 0,this)),r.has("environment")&&this.records.set(Ct,ds(void 0,this));let o=this.records.get(mu);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(aw,Pt,pe.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let n=be(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(),be(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();let e=Ji(this),i=Ht(void 0),r;try{return n()}finally{Ji(e),Ht(i)}}get(n,e=Ka,i=pe.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(lC))return n[lC](this);i=fu(i);let r,o=Ji(this),s=Ht(void 0);try{if(!(i&pe.SkipSelf)){let l=this.records.get(n);if(l===void 0){let c=HF(n)&&uu(n);c&&this.injectableDefInScope(c)?l=ds(Tm(n),Rd):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l)}let a=i&pe.Self?Ug():this.parent;return e=i&pe.Optional&&e===Ka?null:e,a.get(n,e)}catch(a){if(a.name==="NullInjectorError"){if((a[Vd]=a[Vd]||[]).unshift(jt(n)),o)throw a;return fF(a,n,"R3InjectorError",this.source)}else throw a}finally{Ht(s),Ji(o)}}resolveInjectorInitializers(){let n=be(null),e=Ji(this),i=Ht(void 0),r;try{let o=this.get(gs,Pt,pe.Self);for(let s of o)s()}finally{Ji(e),Ht(i),be(n)}}toString(){let n=[],e=this.records;for(let i of e.keys())n.push(jt(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new T(205,!1)}processProvider(n){n=xt(n);let e=vs(n)?n:xt(n&&n.provide),i=UF(n);if(!vs(n)&&n.multi===!0){let r=this.records.get(e);r||(r=ds(void 0,Rd,!0),r.factory=()=>Sm(r.multi),this.records.set(e,r)),e=n,r.multi.push(n)}this.records.set(e,i)}hydrate(n,e){let i=be(null);try{return e.value===Rd&&(e.value=VF,e.value=e.factory()),typeof e.value=="object"&&e.value&&$F(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{be(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=xt(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};xi=0,oe=1,X=2,Tt=3,On=4,Wt=5,ys=6,zd=7,Mt=8,bs=9,qn=10,Ze=11,Xa=12,pC=13,Ms=14,Xt=15,ao=16,us=17,yi=18,gu=19,Cw=20,er=21,Od=22,mn=23,mt=25,ww=1,lo=7,$d=8,_s=9,At=10,Hd=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Hd||{});Ja=class{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}};Ve.ngInherit=!0;Iw="__ngSimpleChanges__";mC=null,Hn=function(t,n,e){mC?.(t,n,e)},Mw="svg",KF="math";ue={lFrame:Bw(null),bindingsEnabled:!0,skipHydrationRootTNode:null},kw=!1;zw=Uw;Hw=!0;ms=-1,fo=class{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}};pm={},Nm=class{constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){i=fu(i);let r=this.injector.get(n,pm,i);return r!==pm||e===pm?r:this.parentInjector.get(n,e,i)}};Lm=!0;wN=256,qw=wN-1,Yw=5,EN=0,Gn={};ro=class{constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return Xw(this._tNode,this._lView,n,fu(i),e)}};Me=class t{static{this.THROW_IF_NOT_FOUND=Ka}static{this.NULL=new Ud}static create(n,e){if(Array.isArray(n))return _C({name:""},e,n,"");{let i=n.name??"";return _C({name:i},n.parent,n.providers,i)}}static{this.\u0275prov=_({token:t,providedIn:"any",factory:()=>g(sw)})}static{this.__NG_ELEMENT_ID__=-1}};RN=new w("");RN.__NG_ELEMENT_ID__=t=>{let n=wt();if(n===null)throw new T(204,!1);if(n.type&2)return n.value;if(t&pe.Optional)return null;throw new T(204,!1)};ON="ngOriginalError";nE=!0,Iu=(()=>{class t{static{this.__NG_ELEMENT_ID__=kN}static{this.__NG_ENV_ID__=e=>e}}return t})(),Vm=class extends Iu{constructor(n){super(),this._lView=n}onDestroy(n){return Ow(this._lView,n),()=>JF(this._lView,n)}};Ei=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new it(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=_({token:t,providedIn:"root",factory:()=>new t})}}return t})(),Bm=class extends R{constructor(n=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=n,xw()&&(this.destroyRef=y(Iu,{optional:!0})??void 0,this.pendingTasks=y(Ei,{optional:!0})??void 0)}emit(n){let e=be(null);try{super.next(n)}finally{be(e)}}subscribe(n,e,i){let r=n,o=e||(()=>null),s=i;if(n&&typeof n=="object"){let l=n;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 n instanceof _e&&n.add(a),a}wrapInTimeout(n){return e=>{let i=this.pendingTasks?.add();setTimeout(()=>{n(e),i!==void 0&&this.pendingTasks?.remove(i)})}}},P=Bm;ev="isAngularZone",Qd=ev+"_ID",FN=0,k=class t{constructor(n){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new P(!1),this.onMicrotaskEmpty=new P(!1),this.onStable=new P(!1),this.onError=new P(!1);let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=nE}=n;if(typeof Zone>"u")throw new T(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,PN(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(ev)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new T(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,r){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,NN,Kd,Kd);try{return o.runTask(s,e,i)}finally{o.cancelTask(s)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}},NN={};zm=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new P,this.onMicrotaskEmpty=new P,this.onStable=new P,this.onError=new P}run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,r){return n.apply(e,i)}};Gt=class{constructor(){this._console=console}handleError(n){let e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&gm(n);for(;e&&gm(e);)e=gm(e);return e||null}},BN=new w("",{providedIn:"root",factory:()=>{let t=y(k),n=y(Gt);return e=>t.runOutsideAngular(()=>n.handleError(e))}});j=(()=>{class t{constructor(e){this.nativeElement=e}static{this.__NG_ELEMENT_ID__=UN}}return t})();xs=class t{get changes(){return this._changes??=new P}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let e=t.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=zN)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;let i=mF(n);(this._changesDetected=!pF(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};aE=new Map,$N=0;EC="__ngContext__";ll=new w("",{providedIn:"root",factory:()=>WN}),WN="ng",nv=new w(""),gt=new w("",{providedIn:"platform",factory:()=>"unknown"}),rt=new w(""),yo=new w("",{providedIn:"root",factory:()=>fE().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),qN="h",YN="b",KN=()=>null;hE=!1,QN=new w("",{providedIn:"root",factory:()=>hE});bi=class{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${KC})`}},Gm=class extends bi{getTypeName(){return"HTML"}},Wm=class extends bi{getTypeName(){return"Style"}},qm=class extends bi{getTypeName(){return"Script"}},Ym=class extends bi{getTypeName(){return"URL"}},Km=class extends bi{getTypeName(){return"ResourceURL"}};Qm=class{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let e=new window.DOMParser().parseFromString(Su(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}},Zm=class{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=Su(n),e}};tL=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;_E=Ii("area,br,col,hr,img,wbr"),xE=Ii("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),CE=Ii("rp,rt"),nL=cl(CE,xE),iL=cl(xE,Ii("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")),rL=cl(CE,Ii("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")),SC=cl(_E,iL,rL,nL),wE=Ii("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),oL=Ii("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"),sL=Ii("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"),aL=cl(wE,oL,sL),lL=Ii("script,style,template"),Xm=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let e=n.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=uL(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=dL(e);if(o){e=o;break}e=r.pop()}}return this.buf.join("")}startElement(n){let e=MC(n).toLowerCase();if(!SC.hasOwnProperty(e))return this.sanitizedSomething=!0,!lL.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let i=n.attributes;for(let r=0;r<i.length;r++){let o=i.item(r),s=o.name,a=s.toLowerCase();if(!aL.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;wE[a]&&(l=Mu(l)),this.buf.push(" ",s,'="',AC(l),'"')}return this.buf.push(">"),!0}endElement(n){let e=MC(n).toLowerCase();SC.hasOwnProperty(e)&&!_E.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(AC(n))}};fL=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,hL=/([^\#-~ |!])/g;Et=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Et||{});vL=/^>|^->|<!--|-->|--!>|<!-$/g,yL=/(<|>)/g,bL="\u200B$1\u200B";_i=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(_i||{});FL=kL;nn={};GL=()=>null;eD=[];y1=ce(x({},Qo),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{_u(t.lView)},consumerOnSignalRead(){this.lView[mn]=this}});_1=ce(x({},Qo),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let n=co(t.lView);for(;n&&!tD(n[oe]);)n=co(n);n&&Rw(n)},consumerOnSignalRead(){this.lView[mn]=this}});x1=100;po=class{get rootNodes(){let n=this._lView,e=n[oe];return Xd(e,n,e.firstChild,[])}constructor(n,e,i=!0){this._lView=n,this._cdRefInjectingView=e,this.notifyErrorHandler=i,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Mt]}set context(n){this._lView[Mt]=n}get destroyed(){return(this._lView[X]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[Tt];if(Ci(n)){let e=n[$d],i=e?e.indexOf(this):-1;i>-1&&(el(n,i),Bd(e,i))}this._attachedToViewContainer=!1}Au(this._lView[oe],this._lView)}onDestroy(n){Ow(this._lView,n)}markForCheck(){yv(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[X]&=-129}reattach(){km(this._lView),this._lView[X]|=128}detectChanges(){this._lView[X]|=1024,nD(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Om(this._lView),e=this._lView[ao];e!==null&&!n&&lv(e,this._lView),AE(this._lView[oe],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=n;let e=Om(this._lView),i=this._lView[ao];i!==null&&!e&&TE(i,this._lView),km(this._lView)}},Jt=(()=>{class t{static{this.__NG_ELEMENT_ID__=M1}}return t})(),I1=Jt,S1=class extends I1{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,e){return this.createEmbeddedViewImpl(n,e)}createEmbeddedViewImpl(n,e,i){let r=dl(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:e,dehydratedView:i});return new po(r)}};x7=new RegExp(`^(\\d+)*(${YN}|${qN})*(.*)`),A1=()=>null;Es=class{},bv=new w("",{providedIn:"root",factory:()=>!1}),sD=new w(""),aD=new w(""),ig=class{},Jd=class{};R1="ngComponent",rg=class{resolveComponentFactory(n){throw T1(n)}},en=class{static{this.NULL=new rg}},ar=class{},Qn=(()=>{class t{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>O1()}}return t})();k1=(()=>{class t{static{this.\u0275prov=_({token:t,providedIn:"root",factory:()=>null})}}return t})();tu=class extends en{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=ir(n);return new Ds(e,this.ngModule)}};Ds=class extends Jd{get inputs(){let n=this.componentDef,e=n.inputTransforms,i=NC(n.inputs,!0);if(e!==null)for(let r of i)e.hasOwnProperty(r.propName)&&(r.transform=e[r.propName]);return i}get outputs(){return NC(this.componentDef.outputs,!1)}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=TF(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!e}create(n,e,i,r){let o=be(null);try{r=r||this.ngModule;let s=r instanceof Ct?r:r?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Nm(n,s):n,l=a.get(ar,null);if(l===null)throw new T(407,!1);let c=a.get(k1,null),d=a.get(Es,null),u={rendererFactory:l,sanitizer:c,inlineEffectRunner:null,changeDetectionScheduler:d},m=l.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",v=i?$L(m,i,this.componentDef.encapsulation,a):ME(m,h,F1(h)),b=512;this.componentDef.signals?b|=4096:this.componentDef.onPush||(b|=16);let E=null;v!==null&&(E=iv(v,a,!0));let M=hv(0,null,null,1,0,null,null,null,null,null,null),B=Ou(null,M,null,b,null,null,u,m,a,null,E);Zg(B);let G,De,nt=null;try{let Te=this.componentDef,$e,ht=null;Te.findHostDirectiveDefs?($e=[],ht=new Map,Te.findHostDirectiveDefs(Te,$e,ht),$e.push(Te)):$e=[Te];let fi=N1(B,v);nt=L1(fi,v,Te,$e,B,u,m),De=Hg(M,mt),v&&V1(m,Te,v,i),e!==void 0&&B1(De,this.ngContentSelectors,e),G=j1(nt,Te,$e,ht,B,[U1]),vv(M,B,null)}catch(Te){throw nt!==null&&$m(nt),$m(B),Te}finally{Xg()}return new og(this.componentType,G,Ts(De,B),B,De)}finally{be(o)}}},og=class extends ig{constructor(n,e,i,r,o){super(),this.location=i,this._rootLView=r,this._tNode=o,this.previousInputValues=null,this.instance=e,this.hostView=this.changeDetectorRef=new po(r,void 0,!1),this.componentType=n}setInput(n,e){let i=this._tNode.inputs,r;if(i!==null&&(r=i[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let o=this._rootLView;gv(o[oe],o,r,n,e),this.previousInputValues.set(n,e);let s=dr(this._tNode.index,o);yv(s,1)}}get injector(){return new ro(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};Rt=(()=>{class t{static{this.__NG_ELEMENT_ID__=z1}}return t})();$1=Rt,lD=class extends $1{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return Ts(this._hostTNode,this._hostLView)}get injector(){return new ro(this._hostTNode,this._hostLView)}get parentInjector(){let n=Jg(this._hostTNode,this._hostLView);if(Ww(n)){let e=Wd(n,this._hostLView),i=Gd(n),r=e[oe].data[i+8];return new ro(r,e)}else return new ro(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=LC(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-At}createEmbeddedView(n,e,i){let r,o;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector);let s=ws(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(e||{},o,s);return this.insertImpl(a,r,Cs(this._hostTNode,s)),a}createComponent(n,e,i,r,o){let s=n&&!GF(n),a;if(s)a=e;else{let v=e||{};a=v.index,i=v.injector,r=v.projectableNodes,o=v.environmentInjector||v.ngModuleRef}let l=s?n:new Ds(ir(n)),c=i||this.parentInjector;if(!o&&l.ngModule==null){let b=(s?c:this.parentInjector).get(Ct,null);b&&(o=b)}let d=ir(l.componentType??{}),u=ws(this._lContainer,d?.id??null),m=u?.firstChild??null,h=l.create(c,r,m,o);return this.insertImpl(h.hostView,a,Cs(this._hostTNode,u)),h}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){let r=n._lView;if(ZF(r)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let l=r[Tt],c=new lD(l,l[Wt],l[Tt]);c.detach(c.indexOf(n))}}let o=this._adjustIndex(e),s=this._lContainer;return ul(s,r,o,i),n.attachToViewContainerRef(),ow(ym(s),o,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=LC(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),i=el(this._lContainer,e);i&&(Bd(ym(this._lContainer),e),Au(i[oe],i))}detach(n){let e=this._adjustIndex(n,-1),i=el(this._lContainer,e);return i&&Bd(ym(this._lContainer),e)!=null?new po(i):null}_adjustIndex(n,e=0){return n??this.length+e}};G1=Y1,W1=()=>!1;sg=class t{constructor(n){this.queryList=n,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},ag=class t{constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let i=n.contentQueries!==null?n.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 t(r)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let e=0;e<this.queries.length;e++)xv(n,e).matches!==null&&this.queries[e].setDirty()}},nu=class{constructor(n,e,i=null){this.flags=e,this.read=i,typeof n=="string"?this.predicate=eP(n):this.predicate=n}},lg=class t{constructor(n=[]){this.queries=n}elementStart(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,e)}elementEnd(n){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(n)}embeddedTView(n){let e=null;for(let i=0;i<this.length;i++){let r=e!==null?e.length:0,o=this.getByIndex(i).embeddedTView(n,r);o&&(o.indexInDeclarationView=i,e!==null?e.push(o):e=[o])}return e!==null?new t(e):null}template(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,e)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},cg=class t{constructor(n,e=-1){this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(n,e){this.isApplyingToNode(e)&&this.matchTNode(n,e)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,e){this.elementStart(n,e)}embeddedTView(n,e){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,e),new t(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let e=this._declarationNodeIndex,i=n.parent;for(;i!==null&&i.type&8&&i.index!==e;)i=i.parent;return e===(i!==null?i.index:-1)}return this._appliesToNextNode}matchTNode(n,e){let i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){let o=i[r];this.matchTNodeWithReadOption(n,e,K1(e,o)),this.matchTNodeWithReadOption(n,e,Nd(e,n,o,!1,!1))}else i===Jt?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,Nd(e,n,i,!1,!1))}matchTNodeWithReadOption(n,e,i){if(i!==null){let r=this.metadata.read;if(r!==null)if(r===j||r===Rt||r===Jt&&e.type&4)this.addMatch(e.index,-2);else{let o=Nd(e,n,r,!1,!1);o!==null&&this.addMatch(e.index,o)}else this.addMatch(e.index,i)}}addMatch(n,e){this.matches===null?this.matches=[n,e]:this.matches.push(n,e)}};PC=new Set;vD=(jC.required=aP,jC);lr=class{},tl=class{},fg=class extends lr{constructor(n,e,i,r=!0){super(),this.ngModuleType=n,this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new tu(this);let o=pw(n);this._bootstrapComponents=IE(o.bootstrap),this._r3Injector=tE(n,e,[{provide:lr,useValue:this},{provide:en,useValue:this.componentFactoryResolver},...i],jt(n),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},hg=class extends tl{constructor(n){super(),this.moduleType=n}create(n){return new fg(this.moduleType,n,[])}},iu=class extends lr{constructor(n){super(),this.componentFactoryResolver=new tu(this),this.instance=null;let e=new Za([...n.providers,{provide:lr,useValue:this},{provide:en,useValue:this.componentFactoryResolver}],n.parent||Ug(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};xP=CP;hs=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(hs||{}),xD=(()=>{class t{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=_({token:t,providedIn:"root",factory:()=>new t})}}return t})(),pg=class t{constructor(){this.ngZone=y(k),this.scheduler=y(Es),this.errorHandler=y(Gt,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[hs.EarlyRead,hs.Write,hs.MixedReadWrite,hs.Read]}execute(){this.executing=!0;for(let n of t.PHASES)for(let e of this.sequences)if(!(e.erroredOrDestroyed||!e.hooks[n]))try{e.pipelinedValue=this.ngZone.runOutsideAngular(()=>e.hooks[n](e.pipelinedValue))}catch(i){e.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(6))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static{this.\u0275prov=_({token:t,providedIn:"root",factory:()=>new t})}},mg=class{constructor(n,e,i,r){this.impl=n,this.hooks=e,this.once=i,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};wD={destroy(){}};Rn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};bg=class{destroy(n){}updateValue(n,e){}swap(n,e){let i=Math.min(n,e),r=Math.max(n,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(n,e){this.attach(e,this.detach(n))}};su=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let e=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(n,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,e){if(this.kvMap.has(n)){let i=this.kvMap.get(n);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(n,e)}forEach(n){for(let[e,i]of this.kvMap)if(n(i,e),this._vMap!==void 0){let r=this._vMap;for(;r.has(i);)i=r.get(i),n(i,e)}}};xg=class{constructor(n,e,i){this.lContainer=n,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-At}};Cg=class{constructor(n,e,i){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=i}};wg=class extends bg{constructor(n,e,i){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=i,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-At}at(n){return this.getLView(n)[Mt].$implicit}attach(n,e){let i=e[ys];this.needsIndexUpdate||=n!==this.length,ul(this.lContainer,e,n,Cs(this.templateTNode,i))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,HP(this.lContainer,n)}create(n,e){let i=ws(this.lContainer,this.templateTNode.tView.ssrId),r=dl(this.hostLView,this.templateTNode,new xg(this.lContainer,e,n),{dehydratedView:i});return this.operationsCounter?.recordCreate(),r}destroy(n){Au(n[oe],n),this.operationsCounter?.recordDestroy()}updateValue(n,e){this.getLView(n)[Mt].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[Mt].$index=n}getLView(n){return GP(this.lContainer,n)}};qP=(t,n,e,i,r,o)=>(Eu(!0),ME(i,r,gN()));KP=(t,n,e,i)=>(Eu(!0),EL(n[Ze],""));lu="en-US",QP=lu;XP=(t,n,e)=>{};ij=(t,n,e,i,r)=>(Eu(!0),CL(n[Ze],i));lj=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=vw(!1,e.type),r=i.length>0?Lu([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=_({token:t,providedIn:"environment",factory:()=>new t(g(Ct))})}}return t})();Kn=class{constructor(n){this.full=n;let e=n.split(".");this.major=e[0],this.minor=e[1],this.patch=e.slice(2).join(".")}},$u=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"platform"})}}return t})(),WD=new w("");Hu=new w(""),YD=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i}),this.appInits=y(Hu,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let o=r();if(wo(o))e.push(o);else if(qD(o)){let s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});e.push(s)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),e.length===0&&i(),this.initialized=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Ns=new w("");hj=10;_n=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=y(BN),this.afterRenderManager=y(xD),this.zonelessEnabled=y(bv),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new R,this.afterTick=new R,this.componentTypes=[],this.components=[],this.isStable=y(Ei).hasPendingTasks.pipe(F(e=>!e)),this._injector=y(Ct)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{e.unsubscribe()})}get injector(){return this._injector}bootstrap(e,i){let r=e instanceof Jd;if(!this._injector.get(YD).done){let m=!r&&hw(e),h=!1;throw new T(405,h)}let s;r?s=e:s=this._injector.get(en).resolveComponentFactory(e),this.componentTypes.push(s.componentType);let a=fj(s)?void 0:this._injector.get(lr),l=i||s.selector,c=s.create(Me.NULL,[],l,a),d=c.location.nativeElement,u=c.injector.get(WD,null);return u?.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),Ld(this.components,c),u?.unregisterApplication(d)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new T(101,!1);let e=be(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,be(e),this.afterTick.next()}}synchronize(){let e=null;this._injector.destroyed||(e=this._injector.get(ar,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;this.dirtyFlags!==0&&i++<hj;)this.synchronizeOnce(e)}synchronizeOnce(e){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(i);for(let{_lView:r,notifyErrorHandler:o}of this._views)mj(r,o,i,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&7)return}else e?.begin?.(),e?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:e})=>bu(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;Ld(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);let i=this._injector.get(Ns,[]);[...this._bootstrapListeners,...i].forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>Ld(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new T(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();Sg=class{constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}},Gu=(()=>{class t{compileModuleSync(e){return new hg(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let i=this.compileModuleSync(e),r=pw(e),o=IE(r.declarations).reduce((s,a)=>{let l=ir(a);return l&&s.push(new Ds(l)),s},[]);return new Sg(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),gj=(()=>{class t{constructor(){this.zone=y(k),this.changeDetectionScheduler=y(Es),this.applicationRef=y(_n)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();bj=(()=>{class t{constructor(){this.subscription=new _e,this.initialized=!1,this.zone=y(k),this.pendingTasks=y(Ei)}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(()=>{k.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{k.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),_j=(()=>{class t{constructor(){this.appRef=y(_n),this.taskService=y(Ei),this.ngZone=y(k),this.zonelessEnabled=y(bv),this.disableScheduling=y(sD,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new _e,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Qd):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(y(aD,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof zm||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?xC:iE;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Qd+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(e),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,xC(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();Wu=new w("",{providedIn:"root",factory:()=>y(Wu,pe.Optional|pe.SkipSelf)||xj()}),Mg=new w("");Pd=null;et=(()=>{class t{static{this.__NG_ELEMENT_ID__=Sj}}return t})();Ag=class{constructor(){}supports(n){return _D(n)}create(n){return new Tg(n)}},Aj=(t,n)=>n,Tg=class{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||Aj}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){let s=!i||e&&e.currentIndex<qC(i,r,o)?e:i,a=qC(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 h=m<o.length?o[m]:o[m]=0,v=h+m;d<=v&&v<c&&(o[m]=h+1)}let u=s.previousIndex;o[u]=d-c}}a!==l&&n(s,a,l)}}forEachPreviousItem(n){let e;for(e=this._previousItHead;e!==null;e=e._nextPrevious)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachMovedItem(n){let e;for(e=this._movesHead;e!==null;e=e._nextMoved)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}forEachIdentityChange(n){let e;for(e=this._identityChangesHead;e!==null;e=e._nextIdentityChange)n(e)}diff(n){if(n==null&&(n=[]),!_D(n))throw new T(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._itHead,i=!1,r,o,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)o=n[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,mP(n,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=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,r){let o;return n===null?o=this._itTail:(o=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,o,r)):(n=this._linkedRecords===null?null:this._linkedRecords.get(i,r),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,o,r)):n=this._addAfter(new Rg(e,i),o,r)),n}_verifyReinsertion(n,e,i,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return o!==null?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;n!==null;){let e=n._next;this._addToRemovals(this._unlink(n)),n=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,e,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let r=n._prevRemoved,o=n._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){let r=e===null?this._itHead:e._next;return n._next=r,n._prev=e,r===null?this._itTail=n:r._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new cu),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,i=n._next;return e===null?this._itHead=i:e._next=i,i===null?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new cu),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},Rg=class{constructor(n,e){this.item=n,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},Og=class{constructor(){this._head=null,this._tail=null}add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;i!==null;i=i._nextDup)if((e===null||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){let e=n._prevDup,i=n._nextDup;return e===null?this._head=i:e._nextDup=i,i===null?this._tail=e:i._prevDup=e,this._head===null}},cu=class{constructor(){this.map=new Map}put(n){let e=n.trackById,i=this.map.get(e);i||(i=new Og,this.map.set(e,i)),i.add(n)}get(n,e){let i=n,r=this.map.get(i);return r?r.get(n,e):null}remove(n){let e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};qu=(()=>{class t{static{this.\u0275prov=_({token:t,providedIn:"root",factory:YC})}constructor(e){this.factories=e}static create(e,i){if(i!=null){let r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||YC()),deps:[[t,new hu,new rl]]}}find(e){let i=this.factories.find(r=>r.supports(e));if(i!=null)return i;throw new T(901,!1)}}return t})();Tj=new w("",{providedIn:"root",factory:()=>y(Rj)}),Rj=(()=>{class t{static{this.\u0275prov=_({token:t,providedIn:"root",factory:()=>new kg})}}return t})(),kg=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=y(Ei),this.taskId=null}scheduleEffect(n){if(this.enqueue(n),this.taskId===null){let e=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(e),this.taskId=null})}}enqueue(n){let e=n.creationZone;this.queues.has(e)||this.queues.set(e,new Set);let i=this.queues.get(e);i.has(n)||(this.queuedEffectCount++,i.add(n))}flush(){for(;this.queuedEffectCount>0;)for(let[n,e]of this.queues)n===null?this.flushQueue(e):n.run(()=>this.flushQueue(e))}flushQueue(n){for(let e of n)n.delete(e),this.queuedEffectCount--,e.run()}},Fg=class{constructor(n,e,i,r,o,s){this.scheduler=n,this.effectFn=e,this.creationZone=i,this.injector=o,this.watcher=B0(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}runEffect(n){try{this.effectFn(n)}catch(e){this.injector.get(Gt,null,{optional:!0})?.handleError(e)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}});function Oj(t){return t.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}function kj(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}function Fj(t){return typeof t=="function"}function Nj(t,n){if(!Sv){let e=Element.prototype;Sv=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?Sv.call(t,n):!1}function Lj(t,n){return t===n||t!==t&&n!==n}function Pj(t){let n={};return t.forEach(({propName:e,templateName:i,transform:r})=>{n[Oj(i)]=[e,r]}),n}function jj(t,n){return n.get(en).resolveComponentFactory(t).inputs}function Vj(t,n){let e=t.childNodes,i=n.map(()=>[]),r=-1;n.some((o,s)=>o==="*"?(r=s,!0):!1);for(let o=0,s=e.length;o<s;++o){let a=e[o],l=Bj(a,n,r);l!==-1&&i[l].push(a)}return i}function Bj(t,n,e){let i=e;return kj(t)&&n.some((r,o)=>r!=="*"&&Nj(t,r)?(i=o,!0):!1),i}function Rv(t,n){let e=jj(t,n.injector),i=n.strategyFactory||new Mv(t,n.injector),r=Pj(e);class o extends Tv{static{this.observedAttributes=Object.keys(r)}get ngElementStrategy(){if(!this._ngElementStrategy){let a=this._ngElementStrategy=i.create(this.injector||n.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}constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,c,d){let[u,m]=r[a];this.ngElementStrategy.setInputValue(u,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 Yu,Sv,Uj,Mv,Av,Tv,QD=f(()=>{"use strict";I();Re();dt();Yu={schedule(t,n){let e=setTimeout(t,n);return()=>clearTimeout(e)},scheduleBeforeRender(t){if(typeof window>"u")return Yu.schedule(t,0);if(typeof window.requestAnimationFrame>"u")return Yu.schedule(t,16);let n=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(n)}};Uj=10,Mv=class{constructor(n,e){this.componentFactory=e.get(en).resolveComponentFactory(n)}create(n){return new Av(this.componentFactory,n)}},Av=class{constructor(n,e){this.componentFactory=n,this.injector=e,this.eventEmitters=new Zr(1),this.events=this.eventEmitters.pipe(Ye(i=>St(...i))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:i})=>i)),this.ngZone=this.injector.get(k),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(n){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(n)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=Yu.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},Uj))})}getInputValue(n){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(n):this.componentRef.instance[n])}setInputValue(n,e,i){this.runInZone(()=>{if(i&&(e=i.call(this.componentRef?.instance,e)),this.componentRef===null){this.initialInputValues.set(n,e);return}Lj(e,this.getInputValue(n))&&!(e===void 0&&this.unchangedInputs.has(n))||(this.recordInputChange(n,e),this.unchangedInputs.delete(n),this.hasInputChanges=!0,this.componentRef.instance[n]=e,this.scheduleDetectChanges())})}initializeComponent(n){let e=Me.create({providers:[],parent:this.injector}),i=Vj(n,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,i,n),this.viewChangeDetectorRef=this.componentRef.injector.get(et),this.implementsOnChanges=Fj(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(_n).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:n,transform:e})=>{this.initialInputValues.has(n)&&this.setInputValue(n,this.initialInputValues.get(n),e)}),this.initialInputValues.clear()}initializeOutputs(n){let e=this.componentFactory.outputs.map(({propName:i,templateName:r})=>n.instance[i].pipe(F(s=>({name:r,value:s}))));this.eventEmitters.next(e)}callNgOnChanges(n){if(!this.implementsOnChanges||this.inputChanges===null)return;let e=this.inputChanges;this.inputChanges=null,n.instance.ngOnChanges(e)}markViewForCheck(n){this.hasInputChanges&&(this.hasInputChanges=!1,n.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Yu.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(n,e){if(!this.implementsOnChanges)return;this.inputChanges===null&&(this.inputChanges={});let i=this.inputChanges[n];if(i){i.currentValue=e;return}let r=this.unchangedInputs.has(n),o=r?void 0:this.getInputValue(n);this.inputChanges[n]=new Ja(o,e,r)}detectChanges(){this.componentRef!==null&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(n){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(n):n()}},Tv=class extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}});function Ti(){return nI}function iI(t){nI??=t}function jv(t,n){if(t.length==0)return n;if(n.length==0)return t;let e=0;return t.endsWith("/")&&e++,n.startsWith("/")&&e++,e==2?t+n.substring(1):e==1?t+n:t+"/"+n}function ZD(t){let n=t.match(/#|\?|$/),e=n&&n.index||t.length,i=e-(t[e-1]==="/"?1:0);return t.slice(0,i)+t.slice(e)}function Ai(t){return t&&t[0]!=="?"?"?"+t:t}function Gj(){return new Zn(g(Ri))}function Wj(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function XD(t){return t.replace(/\/index.html$/,"")}function qj(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}function Qu(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let i=e.indexOf("="),[r,o]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}function eI(t,n){t.context.$implicit=n.item}function tI(t,n){if(!!!(!n||n.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${jt(n)}'.`)}function Yj(t,n){return new T(2100,!1)}function Xn(t){return t===Bv}function Oi(t){return t===Kj}function Qj(t,n){let e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=i.currentNode;for(;r;){let o=r.shadowRoot;if(o){let s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}r=i.nextNode()}}return null}var nI,Ku,z,Pv,rI,Hj,Ri,oI,Vv,sI,Zn,Ov,JD,pr,kv,Zu,mr,Fv,Xu,aI,at,Bv,Kj,lI,Nv,Lv,Ls,me=f(()=>{"use strict";I();I();nI=null;Ku=class{},z=new w(""),Pv=(()=>{class t{historyGo(e){throw new Error("")}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:()=>y(Hj),providedIn:"platform"})}}return t})(),rI=new w(""),Hj=(()=>{class t extends Pv{constructor(){super(),this._doc=y(z),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ti().getBaseHref(this._doc)}onPopState(e){let i=Ti().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){let i=Ti().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,i,r){this._history.pushState(e,i,r)}replaceState(e,i,r){this._history.replaceState(e,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:()=>new t,providedIn:"platform"})}}return t})();Ri=(()=>{class t{historyGo(e){throw new Error("")}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:()=>y(Vv),providedIn:"root"})}}return t})(),oI=new w(""),Vv=(()=>{class t extends Ri{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??y(z).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 jv(this._baseHref,e)}path(e=!1){let i=this._platformLocation.pathname+Ai(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+Ai(o));this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+Ai(o));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static{this.\u0275fac=function(i){return new(i||t)(g(Pv),g(oI,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),sI=(()=>{class t extends Ri{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(e){let i=jv(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+Ai(o));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+Ai(o));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static{this.\u0275fac=function(i){return new(i||t)(g(Pv),g(oI,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),Zn=(()=>{class t{constructor(e){this._subject=new P,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;let i=this._locationStrategy.getBaseHref();this._basePath=qj(ZD(XD(i))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Ai(i))}normalize(e){return t.stripTrailingSlash(Wj(this._basePath,XD(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+Ai(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Ai(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i,complete:r})}static{this.normalizeQueryParams=Ai}static{this.joinWithSlash=jv}static{this.stripTrailingSlash=ZD}static{this.\u0275fac=function(i){return new(i||t)(g(Ri))}}static{this.\u0275prov=_({token:t,factory:()=>Gj(),providedIn:"root"})}}return t})();Ov=/\s+/,JD=[],pr=(()=>{class t{constructor(e,i){this._ngEl=e,this._renderer=i,this.initialClasses=JD,this.stateMap=new Map}set klass(e){this.initialClasses=e!=null?e.trim().split(Ov):JD}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(Ov):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(Ov).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(Qn))}}static{this.\u0275dir=V({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return t})(),kv=class{constructor(n,e,i,r){this.$implicit=n,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}},Zu=(()=>{class t{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;if(!this._differ&&e)if(0)try{}catch{}else 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 kv(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),eI(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);eI(o,r)})}static ngTemplateContextGuard(e,i){return!0}static{this.\u0275fac=function(i){return new(i||t)(p(Rt),p(Jt),p(qu))}}static{this.\u0275dir=V({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return t})();mr=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new Fv,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){tI("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){tI("ngIfElse",e),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 ngTemplateContextGuard(e,i){return!0}static{this.\u0275fac=function(i){return new(i||t)(p(Rt),p(Jt))}}static{this.\u0275dir=V({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return t})(),Fv=class{constructor(){this.$implicit=null,this.ngIf=null}};Xu=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(e,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static{this.\u0275fac=function(i){return new(i||t)(p(Rt))}}static{this.\u0275dir=V({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Ve]})}}return t})();aI=(()=>{class t{transform(e){if(e==null)return null;if(typeof e!="string")throw Yj(t,e);return e.toUpperCase()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=Ss({name:"uppercase",type:t,pure:!0,standalone:!0})}}return t})(),at=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({})}}return t})(),Bv="browser",Kj="server";lI=(()=>{class t{static{this.\u0275prov=_({token:t,providedIn:"root",factory:()=>Xn(y(gt))?new Nv(y(z),window):new Lv})}}return t})(),Nv=class{constructor(n,e){this.document=n,this.window=e,this.offset=()=>[0,0]}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){let e=Qj(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n}scrollToElement(n){let e=n.getBoundingClientRect(),i=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}};Lv=class{setOffset(n){}getScrollPosition(){return[0,0]}scrollToPosition(n){}scrollToAnchor(n){}setHistoryScrollRestoration(n){}},Ls=class{}});function Zj(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[s,a]=o==-1?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}function cI(t){return encodeURIComponent(t).replace(Xj,(n,e)=>Jj[e]??n)}function Ju(t){return`${t}`}function eV(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function dI(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function uI(t){return typeof Blob<"u"&&t instanceof Blob}function fI(t){return typeof FormData<"u"&&t instanceof FormData}function tV(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}function Uv(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}function hI(t){if(t.url)return t.url;let n=rV.toLocaleLowerCase();return t.headers.get(n)}function Gv(){}function sV(t){t.then(Gv,Gv)}function aV(t,n){return n(t)}function lV(t,n,e){return(i,r)=>gn(e,()=>n(i,o=>t(o,r)))}function fV(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}function yV(t,n){let e=t.url.toLowerCase();if(!y(vI)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return n(t);let i=y(nf).getToken(),r=y(gV);return i!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,i)})),n(t)}function bV(t,n){return{\u0275kind:t,\u0275providers:n}}function bI(...t){let n=[br,mI,pI,{provide:gl,useExisting:pI},{provide:ef,useFactory:()=>y(oV,{optional:!0})??y(mI)},{provide:Wv,useValue:yV,multi:!0},{provide:vI,useValue:!0},{provide:nf,useClass:vV}];for(let e of t)n.push(...e.\u0275providers);return sl(n)}function _I(t){return bV(yI.Interceptors,t.map(n=>({provide:Wv,useValue:n,multi:!0})))}var gl,ef,Jn,zv,Xj,Jj,vr,$v,ml,yr,vl,tf,yl,gr,gI,nV,br,iV,rV,oV,Hv,Wv,cV,dV,pI,uV,mI,vI,hV,pV,mV,gV,nf,vV,yI,bl=f(()=>{"use strict";I();I();Re();dt();me();me();gl=class{},ef=class{},Jn=class t{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
8
- `).forEach(e=>{let i=e.indexOf(":");if(i>0){let r=e.slice(0,i),o=r.toLowerCase(),s=e.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,i)=>{this.setHeaderEntries(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(n.name,e);let r=(n.op==="a"?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":let o=n.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}setHeaderEntries(n,e){let i=(Array.isArray(e)?e:[e]).map(o=>o.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}},zv=class{encodeKey(n){return cI(n)}encodeValue(n){return cI(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};Xj=/%(\d[a-f0-9])/gi,Jj={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};vr=class t{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new zv,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=Zj(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let i=n.fromObject[e],r=Array.isArray(i)?i.map(Ju):[Ju(i)];this.map.set(e,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(i=>{let r=n[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(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(Ju(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let i=this.map.get(n.param)||[],r=i.indexOf(Ju(n.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}},$v=class{constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};ml=class t{constructor(n,e,i,r){this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase();let o;if(eV(this.method)||r?(this.body=i!==void 0?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Jn,this.context??=new $v,!this.params)this.params=new vr,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"||dI(this.body)||uI(this.body)||fI(this.body)||tV(this.body)?this.body:this.body instanceof vr?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||fI(this.body)?null:uI(this.body)?this.body.type||null:dI(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof vr?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(n={}){let e=n.method||this.method,i=n.url||this.url,r=n.responseType||this.responseType,o=n.transferCache??this.transferCache,s=n.body!==void 0?n.body:this.body,a=n.withCredentials??this.withCredentials,l=n.reportProgress??this.reportProgress,c=n.headers||this.headers,d=n.params||this.params,u=n.context??this.context;return n.setHeaders!==void 0&&(c=Object.keys(n.setHeaders).reduce((m,h)=>m.set(h,n.setHeaders[h]),c)),n.setParams&&(d=Object.keys(n.setParams).reduce((m,h)=>m.set(h,n.setParams[h]),d)),new t(e,i,s,{params:d,headers:c,context:u,reportProgress:l,responseType:r,withCredentials:a,transferCache:o})}},yr=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(yr||{}),vl=class{constructor(n,e=200,i="OK"){this.headers=n.headers||new Jn,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},tf=class t extends vl{constructor(n={}){super(n),this.type=yr.ResponseHeader}clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},yl=class t extends vl{constructor(n={}){super(n),this.type=yr.Response,this.body=n.body!==void 0?n.body:null}clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},gr=class extends vl{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},gI=200,nV=204;br=(()=>{class t{constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof ml)o=e;else{let l;r.headers instanceof Jn?l=r.headers:l=new Jn(r.headers);let c;r.params&&(r.params instanceof vr?c=r.params:c=new vr({fromObject:r.params})),o=new ml(e,i,r.body!==void 0?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}let s=O(o).pipe(An(l=>this.handler.handle(l)));if(e instanceof ml||r.observe==="events")return s;let a=s.pipe(xe(l=>l instanceof yl));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(F(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(F(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(F(l=>{if(l.body!==null&&typeof l.body!="string")throw new Error("Response is not a string.");return l.body}));case"json":default:return a.pipe(F(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:new vr().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,Uv(r,i))}post(e,i,r={}){return this.request("POST",e,Uv(r,i))}put(e,i,r={}){return this.request("PUT",e,Uv(r,i))}static{this.\u0275fac=function(i){return new(i||t)(g(gl))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),iV=/^\)\]\}',?\n/,rV="X-Request-URL";oV=(()=>{class t{constructor(){this.fetchImpl=y(Hv,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e)),this.ngZone=y(k)}handle(e){return new Z(i=>{let r=new AbortController;return this.doRequest(e,r.signal,i).then(Gv,o=>i.error(new gr({error:o}))),()=>r.abort()})}doRequest(e,i,r){return Ko(this,null,function*(){let o=this.createRequestInit(e),s;try{let h=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,x({signal:i},o)));sV(h),r.next({type:yr.Sent}),s=yield h}catch(h){r.error(new gr({error:h,status:h.status??0,statusText:h.statusText,url:e.urlWithParams,headers:h.headers}));return}let a=new Jn(s.headers),l=s.statusText,c=hI(s)??e.urlWithParams,d=s.status,u=null;if(e.reportProgress&&r.next(new tf({headers:a,status:d,statusText:l,url:c})),s.body){let h=s.headers.get("content-length"),v=[],b=s.body.getReader(),E=0,M,B,G=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Ko(this,null,function*(){for(;;){let{done:nt,value:Te}=yield b.read();if(nt)break;if(v.push(Te),E+=Te.length,e.reportProgress){B=e.responseType==="text"?(B??"")+(M??=new TextDecoder).decode(Te,{stream:!0}):void 0;let $e=()=>r.next({type:yr.DownloadProgress,total:h?+h:void 0,loaded:E,partialText:B});G?G.run($e):$e()}}}));let De=this.concatChunks(v,E);try{let nt=s.headers.get("Content-Type")??"";u=this.parseBody(e,De,nt)}catch(nt){r.error(new gr({error:nt,headers:new Jn(s.headers),status:s.status,statusText:s.statusText,url:hI(s)??e.urlWithParams}));return}}d===0&&(d=u?gI:0),d>=200&&d<300?(r.next(new yl({body:u,headers:a,status:d,statusText:l,url:c})),r.complete()):r.error(new gr({error:u,headers:a,status:d,statusText:l,url:c}))})}parseBody(e,i,r){switch(e.responseType){case"json":let o=new TextDecoder().decode(i).replace(iV,"");return o===""?null:JSON.parse(o);case"text":return new TextDecoder().decode(i);case"blob":return new Blob([i],{type:r});case"arraybuffer":return i.buffer}}createRequestInit(e){let i={},r=e.withCredentials?"include":void 0;if(e.headers.forEach((o,s)=>i[o]=s.join(",")),e.headers.has("Accept")||(i.Accept="application/json, text/plain, */*"),!e.headers.has("Content-Type")){let o=e.detectContentTypeHeader();o!==null&&(i["Content-Type"]=o)}return{body:e.serializeBody(),method:e.method,headers:i,credentials:r}}concatChunks(e,i){let r=new Uint8Array(i),o=0;for(let s of e)r.set(s,o),o+=s.length;return r}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),Hv=class{};Wv=new w(""),cV=new w(""),dV=new w("",{providedIn:"root",factory:()=>!0}),pI=(()=>{class t extends gl{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null,this.pendingTasks=y(Ei),this.contributeToStability=y(dV)}handle(e){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(Wv),...this.injector.get(cV,[])]));this.chain=i.reduceRight((r,o)=>lV(r,o,this.injector),aV)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe($t(()=>this.pendingTasks.remove(i)))}else return this.chain(e,i=>this.backend.handle(i))}static{this.\u0275fac=function(i){return new(i||t)(g(ef),g(Ct))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),uV=/^\)\]\}',?\n/;mI=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new T(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?Le(i.\u0275loadImpl()):O(null)).pipe(Ye(()=>new Z(o=>{let s=i.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((b,E)=>s.setRequestHeader(b,E.join(","))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){let b=e.detectContentTypeHeader();b!==null&&s.setRequestHeader("Content-Type",b)}if(e.responseType){let b=e.responseType.toLowerCase();s.responseType=b!=="json"?b:"text"}let a=e.serializeBody(),l=null,c=()=>{if(l!==null)return l;let b=s.statusText||"OK",E=new Jn(s.getAllResponseHeaders()),M=fV(s)||e.url;return l=new tf({headers:E,status:s.status,statusText:b,url:M}),l},d=()=>{let{headers:b,status:E,statusText:M,url:B}=c(),G=null;E!==nV&&(G=typeof s.response>"u"?s.responseText:s.response),E===0&&(E=G?gI:0);let De=E>=200&&E<300;if(e.responseType==="json"&&typeof G=="string"){let nt=G;G=G.replace(uV,"");try{G=G!==""?JSON.parse(G):null}catch(Te){G=nt,De&&(De=!1,G={error:Te,text:G})}}De?(o.next(new yl({body:G,headers:b,status:E,statusText:M,url:B||void 0})),o.complete()):o.error(new gr({error:G,headers:b,status:E,statusText:M,url:B||void 0}))},u=b=>{let{url:E}=c(),M=new gr({error:b,status:s.status||0,statusText:s.statusText||"Unknown Error",url:E||void 0});o.error(M)},m=!1,h=b=>{m||(o.next(c()),m=!0);let E={type:yr.DownloadProgress,loaded:b.loaded};b.lengthComputable&&(E.total=b.total),e.responseType==="text"&&s.responseText&&(E.partialText=s.responseText),o.next(E)},v=b=>{let E={type:yr.UploadProgress,loaded:b.loaded};b.lengthComputable&&(E.total=b.total),o.next(E)};return s.addEventListener("load",d),s.addEventListener("error",u),s.addEventListener("timeout",u),s.addEventListener("abort",u),e.reportProgress&&(s.addEventListener("progress",h),a!==null&&s.upload&&s.upload.addEventListener("progress",v)),s.send(a),o.next({type:yr.Sent}),()=>{s.removeEventListener("error",u),s.removeEventListener("abort",u),s.removeEventListener("load",d),s.removeEventListener("timeout",u),e.reportProgress&&(s.removeEventListener("progress",h),a!==null&&s.upload&&s.upload.removeEventListener("progress",v)),s.readyState!==s.DONE&&s.abort()}})))}static{this.\u0275fac=function(i){return new(i||t)(g(Ls))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),vI=new w(""),hV="XSRF-TOKEN",pV=new w("",{providedIn:"root",factory:()=>hV}),mV="X-XSRF-TOKEN",gV=new w("",{providedIn:"root",factory:()=>mV}),nf=class{},vV=(()=>{class t{constructor(e,i,r){this.doc=e,this.platform=i,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Qu(e,this.cookieName),this.lastCookieString=e),this.lastToken}static{this.\u0275fac=function(i){return new(i||t)(g(z),g(gt),g(pV))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})();yI=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(yI||{})});function xV(){return _l=_l||document.querySelector("base"),_l?_l.getAttribute("href"):null}function CV(t){return new URL(t,document.baseURI).pathname}function MV(t){return DV.replace(Jv,t)}function AV(t){return EV.replace(Jv,t)}function II(t,n){return n.map(e=>e.replace(Jv,t))}function xI(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}function SI(t,n){return Dv(x({rootComponent:t},AI(n)))}function MI(t){return Dv(AI(t))}function AI(t){return{appProviders:[...jV,...t?.providers??[]],platformProviders:PV}}function FV(){Qv.makeCurrent()}function NV(){return new Gt}function LV(){return uE(document),document}var Kv,Qv,_l,wV,Zv,wI,rf,qv,EI,Yv,Jv,DI,EV,DV,IV,SV,of,xl,Xv,Cl,sf,TV,CI,RV,OV,kV,PV,jV,TI,wl,VV,Ps=f(()=>{"use strict";me();I();I();Kv=class extends Ku{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Qv=class t extends Kv{static makeCurrent(){iI(new t)}onAndCancel(n,e,i){return n.addEventListener(e,i),()=>{n.removeEventListener(e,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=xV();return e==null?null:CV(e)}resetBaseElement(){_l=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Qu(document.cookie,n)}},_l=null;wV=(()=>{class t{build(){return new XMLHttpRequest}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),Zv=new w(""),wI=(()=>{class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(r=>{r.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,r){return this._findPluginFor(i).addEventListener(e,i,r)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(o=>o.supports(e)),!i)throw new T(5101,!1);return this._eventNameToPlugin.set(e,i),i}static{this.\u0275fac=function(i){return new(i||t)(g(Zv),g(k))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),rf=class{constructor(n){this._doc=n}},qv="ng-app-id",EI=(()=>{class t{constructor(e,i,r,o={}){this.doc=e,this.appId=i,this.nonce=r,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Oi(o),this.resetHostNodes()}addStyles(e){for(let i of e)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(e){for(let i of e)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let e=this.styleNodesInDOM;e&&(e.forEach(i=>i.remove()),e.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(let i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(let i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){let i=this.styleRef;i.get(e)?.elements?.forEach(r=>r.remove()),i.delete(e)}collectServerRenderedStyles(){let e=this.doc.head?.querySelectorAll(`style[${qv}="${this.appId}"]`);if(e?.length){let i=new Map;return e.forEach(r=>{r.textContent!=null&&i.set(r.textContent,r)}),i}return null}changeUsageCount(e,i){let r=this.styleRef;if(r.has(e)){let o=r.get(e);return o.usage+=i,o.usage}return r.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){let r=this.styleNodesInDOM,o=r?.get(i);if(o?.parentNode===e)return r.delete(i),o.removeAttribute(qv),o;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(qv,this.appId),e.appendChild(s),s}}addStyleToHost(e,i){let r=this.getStyleElement(e,i),o=this.styleRef,s=o.get(i)?.elements;s?s.push(r):o.set(i,{elements:[r],usage:1})}resetHostNodes(){let e=this.hostNodes;e.clear(),e.add(this.doc.head)}static{this.\u0275fac=function(i){return new(i||t)(g(z),g(ll),g(yo,8),g(gt))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),Yv={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"},Jv=/%COMP%/g,DI="%COMP%",EV=`_nghost-${DI}`,DV=`_ngcontent-${DI}`,IV=!0,SV=new w("",{providedIn:"root",factory:()=>IV});of=(()=>{class t{constructor(e,i,r,o,s,a,l,c=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=Oi(a),this.defaultRenderer=new xl(e,s,l,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Wn.ShadowDom&&(i=ce(x({},i),{encapsulation:Wn.Emulated}));let r=this.getOrCreateRenderer(e,i);return r instanceof sf?r.applyToHost(e):r instanceof Cl&&r.applyStyles(),r}getOrCreateRenderer(e,i){let r=this.rendererByCompId,o=r.get(i.id);if(!o){let s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,u=this.platformIsServer;switch(i.encapsulation){case Wn.Emulated:o=new sf(l,c,i,this.appId,d,s,a,u);break;case Wn.ShadowDom:return new Xv(l,c,e,i,s,a,this.nonce,u);default:o=new Cl(l,c,i,d,s,a,u);break}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(i){return new(i||t)(g(wI),g(EI),g(ll),g(SV),g(z),g(gt),g(k),g(yo))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),xl=class{constructor(n,e,i,r){this.eventManager=n,this.doc=e,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,e){return e?this.doc.createElementNS(Yv[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(xI(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(xI(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){e.remove()}selectRootElement(n,e){let i=typeof n=="string"?this.doc.querySelector(n):n;if(!i)throw new T(-5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,r){if(r){e=r+":"+e;let o=Yv[r];o?n.setAttributeNS(o,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){let r=Yv[i];r?n.removeAttributeNS(r,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,r){r&(_i.DashCase|_i.Important)?n.style.setProperty(e,i,r&_i.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&_i.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n!=null&&(n[e]=i)}setValue(n,e){n.nodeValue=e}listen(n,e,i){if(typeof n=="string"&&(n=Ti().getGlobalEventTarget(this.doc,n),!n))throw new Error(`Unsupported event target ${n} for event ${e}`);return this.eventManager.addEventListener(n,e,this.decoratePreventDefault(i))}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};Xv=class extends xl{constructor(n,e,i,r,o,s,a,l){super(n,o,s,l),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=II(r.id,r.styles);for(let d of c){let u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Cl=class extends xl{constructor(n,e,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r,this.styles=l?II(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},sf=class extends Cl{constructor(n,e,i,r,o,s,a,l){let c=r+"-"+i.id;super(n,e,i,o,s,a,l,c),this.contentAttr=MV(c),this.hostAttr=AV(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}},TV=(()=>{class t extends rf{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r){return e.addEventListener(i,r,!1),()=>this.removeEventListener(e,i,r)}removeEventListener(e,i,r){return e.removeEventListener(i,r)}static{this.\u0275fac=function(i){return new(i||t)(g(z))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),CI=["alt","control","meta","shift"],RV={"\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"},OV={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},kV=(()=>{class t extends rf{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,r){let o=t.parseEventName(i),s=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ti().onAndCancel(e,o.domEventName,s))}static parseEventName(e){let i=e.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let o=t._normalizeKey(i.pop()),s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),CI.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=RV[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"),CI.forEach(s=>{if(s!==r){let a=OV[s];a(e)&&(o+=s+".")}}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{t.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static{this.\u0275fac=function(i){return new(i||t)(g(z))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})();PV=[{provide:gt,useValue:Bv},{provide:nv,useValue:FV,multi:!0},{provide:z,useFactory:LV,deps:[]}],jV=[{provide:mu,useValue:"root"},{provide:Gt,useFactory:NV,deps:[]},{provide:Zv,useClass:TV,multi:!0,deps:[z,k,gt]},{provide:Zv,useClass:kV,multi:!0,deps:[z]},of,EI,wI,{provide:ar,useExisting:of},{provide:Ls,useClass:wV,deps:[]},[]],TI=(()=>{class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static{this.\u0275fac=function(i){return new(i||t)(g(z))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),wl=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=g(VV),r},providedIn:"root"})}}return t})(),VV=(()=>{class t extends wl{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 Di(i,"HTML")?yn(i):rv(this._doc,String(i)).toString();case Et.STYLE:return Di(i,"Style")?yn(i):i;case Et.SCRIPT:if(Di(i,"Script"))return yn(i);throw new T(5200,!1);case Et.URL:return Di(i,"URL")?yn(i):Mu(String(i));case Et.RESOURCE_URL:if(Di(i,"ResourceURL"))return yn(i);throw new T(5201,!1);default:throw new T(5202,!1)}}bypassSecurityTrustHtml(e){return mE(e)}bypassSecurityTrustStyle(e){return gE(e)}bypassSecurityTrustScript(e){return vE(e)}bypassSecurityTrustUrl(e){return yE(e)}bypassSecurityTrustResourceUrl(e){return bE(e)}static{this.\u0275fac=function(i){return new(i||t)(g(z))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});function lf(t,n){if(t===n)return!0;if(t===null||n===null)return!1;if(t!==t&&n!==n)return!0;let e=typeof t,i=typeof n,r,o,s;if(e==i&&e=="object")if(Array.isArray(t)){if(!Array.isArray(n))return!1;if((r=t.length)==n.length){for(o=0;o<r;o++)if(!lf(t[o],n[o]))return!1;return!0}}else{if(Array.isArray(n))return!1;s=Object.create(null);for(o in t){if(!lf(t[o],n[o]))return!1;s[o]=!0}for(o in n)if(!(o in s)&&typeof n[o]<"u")return!1;return!0}return!1}function _r(t){return typeof t<"u"&&t!==null}function Il(t){return af(t)&&!ay(t)}function af(t){return typeof t=="object"}function ay(t){return Array.isArray(t)}function ly(t){return typeof t=="string"}function BV(t){return typeof t=="function"}function ty(t,n){let e=Object.assign({},t);return af(t)?(af(t)&&af(n)&&Object.keys(n).forEach(i=>{Il(n[i])?i in t?e[i]=ty(t[i],n[i]):Object.assign(e,{[i]:n[i]}):Object.assign(e,{[i]:n[i]})}),e):ty({},n)}function ny(t,n){let e=n.split(".");n="";do n+=e.shift(),_r(t)&&_r(t[n])&&(Il(t[n])||ay(t[n])||!e.length)?(t=t[n],n=""):e.length?n+=".":t=void 0;while(e.length);return t}function UV(t,n,e){let i=n.split("."),r=t;for(let o=0;o<i.length;o++){let s=i[o];o===i.length-1?r[s]=e:((!r[s]||!Il(r[s]))&&(r[s]={}),r=r[s])}}var js,RI,Dl,OI,Vs,kI,Bs,FI,cf,iy,ry,oy,sy,El,Fi,yt,ei,bt=f(()=>{"use strict";I();I();Re();dt();js=class{},RI=(()=>{class t extends js{getTranslation(e){return O({})}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})();static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})(),Dl=class{},OI=(()=>{class t{handle(e){return e.key}static \u0275fac=function(i){return new(i||t)};static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})();Vs=class{},kI=(()=>{class t extends Vs{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,i){if(ly(e))return this.interpolateString(e,i);if(BV(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=ny(i,o);return _r(s)?s:r}):e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})();static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})(),Bs=class{},FI=(()=>{class t extends Bs{compile(e,i){return e}compileTranslations(e,i){return e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})();static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})(),cf=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new P;onLangChange=new P;onDefaultLangChange=new P},iy=new w("ISOALTE_TRANSLATE_SERVICE"),ry=new w("USE_DEFAULT_LANG"),oy=new w("DEFAULT_LANGUAGE"),sy=new w("USE_EXTEND"),El=t=>pn(t)?t:O(t),Fi=(()=>{class t{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new P;_onLangChange=new P;_onDefaultLangChange=new P;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};lastUseLanguage=null;get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}constructor(e,i,r,o,s,a=!0,l=!1,c=!1,d){this.store=e,this.currentLoader=i,this.compiler=r,this.parser=o,this.missingTranslationHandler=s,this.useDefaultLang=a,this.isolate=l,this.extend=c,d&&this.setDefaultLang(d)}setDefaultLang(e){if(e===this.defaultLang)return;let i=this.retrieveTranslations(e);typeof i<"u"?(this.defaultLang==null&&(this.defaultLang=e),i.pipe(Ue(1)).subscribe(()=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(this.lastUseLanguage=e,e===this.currentLang)return O(this.translations[e]);this.currentLang||(this.currentLang=e);let i=this.retrieveTranslations(e);return pn(i)?(i.pipe(Ue(1)).subscribe(()=>{this.changeLang(e)}),i):(this.changeLang(e),O(this.translations[e]))}changeLang(e){e===this.lastUseLanguage&&(this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),this.defaultLang==null&&this.changeDefaultLang(e))}retrieveTranslations(e){if(typeof this.translations[e]>"u"||this.extend)return this._translationRequests[e]=this._translationRequests[e]||this.loadAndCompileTranslations(e),this._translationRequests[e]}getTranslation(e){return this.loadAndCompileTranslations(e)}loadAndCompileTranslations(e){this.pending=!0;let i=this.currentLoader.getTranslation(e).pipe(io(1),Ue(1));return this.loadingTranslations=i.pipe(F(r=>this.compiler.compileTranslations(r,e)),io(1),Ue(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[e]=this.extend&&this.translations[e]?x(x({},r),this.translations[e]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),i}setTranslation(e,i,r=!1){let o=this.compiler.compileTranslations(i,e);(r||this.extend)&&this.translations[e]?this.translations[e]=ty(this.translations[e],o):this.translations[e]=o,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(i=>{this.langs.indexOf(i)===-1&&this.langs.push(i)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(e,i,r){let o;if(e&&(o=this.runInterpolation(ny(e,i),r)),o===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.runInterpolation(ny(this.translations[this.defaultLang],i),r)),o===void 0){let s={key:i,translateService:this};typeof r<"u"&&(s.interpolateParams=r),o=this.missingTranslationHandler.handle(s)}return o!==void 0?o:i}runInterpolation(e,i){if(ay(e))return e.map(r=>this.runInterpolation(r,i));if(Il(e)){let r={};for(let o in e)r[o]=this.runInterpolation(e[o],i);return r}else return this.parser.interpolate(e,i)}getParsedResult(e,i,r){if(i instanceof Array){let o={},s=!1;for(let l of i)o[l]=this.getParsedResultForKey(e,l,r),s=s||pn(o[l]);if(!s)return o;let a=i.map(l=>El(o[l]));return to(a).pipe(F(l=>{let c={};return l.forEach((d,u)=>{c[i[u]]=d}),c}))}return this.getParsedResultForKey(e,i,r)}get(e,i){if(!_r(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(An(r=>El(this.getParsedResult(r,e,i)))):El(this.getParsedResult(this.translations[this.currentLang],e,i))}getStreamOnTranslationChange(e,i){if(!_r(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return Mn(Kt(()=>this.get(e,i)),this.onTranslationChange.pipe(Ye(r=>{let o=this.getParsedResult(r.translations,e,i);return El(o)})))}stream(e,i){if(!_r(e)||!e.length)throw new Error('Parameter "key" required');return Mn(Kt(()=>this.get(e,i)),this.onLangChange.pipe(Ye(r=>{let o=this.getParsedResult(r.translations,e,i);return El(o)})))}instant(e,i){if(!_r(e)||e.length===0)throw new Error('Parameter "key" is required and cannot be empty');let r=this.getParsedResult(this.translations[this.currentLang],e,i);return pn(r)?Array.isArray(e)?e.reduce((o,s)=>(o[s]=s,o),{}):e:r}set(e,i,r=this.currentLang){UV(this.translations[r],e,ly(i)?this.compiler.compile(i,r):this.compiler.compileTranslations(i,r)),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.loadAndCompileTranslations(e)}resetLang(e){delete this._translationRequests[e],delete this.translations[e]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let e=this.getBrowserCultureLang();return e?e.split(/[-_]/)[0]:void 0}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}static \u0275fac=function(i){return new(i||t)(g(cf),g(js),g(Bs),g(Vs),g(Dl),g(ry),g(iy),g(sy),g(oy))};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),yt=(()=>{class t{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(e,i){this.translate=e,this._ref=i}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(r,e,i);pn(s)?s.subscribe(o):o(s)}this.translate.get(e,i).subscribe(o)}transform(e,...i){if(!e||!e.length)return e;if(lf(e,this.lastKey)&&lf(i,this.lastParams))return this.value;let r;if(_r(i[0])&&i.length)if(ly(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 Il(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.currentLang&&(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.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.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.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(i){return new(i||t)(p(Fi,16),p(et,16))};static \u0275pipe=Ss({name:"translate",type:t,pure:!1,standalone:!0});static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})(),ei=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:js,useClass:RI},e.compiler||{provide:Bs,useClass:FI},e.parser||{provide:Vs,useClass:kI},e.missingTranslationHandler||{provide:Dl,useClass:OI},cf,{provide:iy,useValue:e.isolate},{provide:ry,useValue:e.useDefaultLang},{provide:sy,useValue:e.extend},{provide:oy,useValue:e.defaultLanguage},Fi]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:js,useClass:RI},e.compiler||{provide:Bs,useClass:FI},e.parser||{provide:Vs,useClass:kI},e.missingTranslationHandler||{provide:Dl,useClass:OI},{provide:iy,useValue:e.isolate},{provide:ry,useValue:e.useDefaultLang},{provide:sy,useValue:e.extend},{provide:oy,useValue:e.defaultLanguage},Fi]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=L({type:t});static \u0275inj=N({})}return t})()});var Us,df=f(()=>{"use strict";I();Us=new w("web-component-auth")});var uf,cy=f(()=>{"use strict";I();bt();df();I();uf=(()=>{class t{#e;#t;#n;#r;#i;get uiLanguage(){return this.#i}set uiLanguage(e){e!==this.#i&&(this.#i=e,this.#i=e,this.#c())}constructor(e){this.#e="lang",this.#t=y(Fi),this.#n=y(Us),this.setLanguageFromBrowser=!1,this.defaultLanguage="en",this.#r=e}ngOnInit(){this.#s(),this.#l(this.#r),this.#o()}ngOnChanges(){this.#s(),this.#o()}ensureTypeBool(e){return e===!0||e==="true"}#l(e){for(let i in e)e[i]&&this.#t.setTranslation(i,e[i],!0)}#o(){this.#t.setDefaultLang(this.defaultLanguage),this.setLanguageFromBrowser&&this.#d(),this.uiLanguage||(this.uiLanguage=this.defaultLanguage),this.#t.use(this.uiLanguage)}#s(){this.xApiKey&&(this.#n.xApiKey=this.xApiKey),this.skipAuthUrls&&(this.#n.skipAuthUrls=typeof this.skipAuthUrls=="string"?JSON.parse(this.skipAuthUrls):this.skipAuthUrls)}#c(){this.#t.use(this.uiLanguage)}#d(){let e=this.#a();!this.uiLanguage&&e!==this.defaultLanguage&&(this.uiLanguage=e);let i=a=>{for(let l of a)if(l.type==="attributes"&&l.attributeName===this.#e){let c=this.#a();this.uiLanguage=c}},r=new MutationObserver(i),o=document.querySelector("html"),s={attributes:!0,attributeFilter:[this.#e]};r.observe(o,s)}#a(){return document.querySelector("html").getAttribute(this.#e).split("-")[0]}static{this.\u0275fac=function(i){Rs()}}static{this.\u0275dir=V({type:t,inputs:{setLanguageFromBrowser:"setLanguageFromBrowser",defaultLanguage:"defaultLanguage",skipAuthUrls:"skipAuthUrls",uiLanguage:"uiLanguage",xApiKey:"xApiKey"},features:[Ve]})}}return t})()});function HV(){let t=Ti()?Ti().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}function xr(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function zI(t){return t!=null&&typeof t.length=="number"}function qV(t){return n=>{if(xr(n.value)||xr(t))return null;let e=parseFloat(n.value);return!isNaN(e)&&e<t?{min:{min:t,actual:n.value}}:null}}function YV(t){return n=>{if(xr(n.value)||xr(t))return null;let e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}function KV(t){return xr(t.value)?{required:!0}:null}function QV(t){return t.value===!0?null:{required:!0}}function ZV(t){return xr(t.value)||WV.test(t.value)?null:{email:!0}}function XV(t){return n=>xr(n.value)||!zI(n.value)?null:n.value.length<t?{minlength:{requiredLength:t,actualLength:n.value.length}}:null}function JV(t){return n=>zI(n.value)&&n.value.length>t?{maxlength:{requiredLength:t,actualLength:n.value.length}}:null}function eB(t){if(!t)return $I;let n,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),i=>{if(xr(i.value))return null;let r=i.value;return n.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function $I(t){return null}function HI(t){return t!=null}function GI(t){return wo(t)?Le(t):t}function WI(t){let n={};return t.forEach(e=>{n=e!=null?x(x({},n),e):n}),Object.keys(n).length===0?null:n}function qI(t,n){return n.map(e=>e(t))}function tB(t){return!t.validate}function YI(t){return t.map(n=>tB(n)?n:e=>n.validate(e))}function KI(t){if(!t)return null;let n=t.filter(HI);return n.length==0?null:function(e){return WI(qI(e,n))}}function my(t){return t!=null?KI(YI(t)):null}function QI(t){if(!t)return null;let n=t.filter(HI);return n.length==0?null:function(e){let i=qI(e,n).map(GI);return to(i).pipe(F(WI))}}function gy(t){return t!=null?QI(YI(t)):null}function NI(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function ZI(t){return t._rawValidators}function XI(t){return t._rawAsyncValidators}function dy(t){return t?Array.isArray(t)?t:[t]:[]}function pf(t,n){return Array.isArray(t)?t.includes(n):t===n}function LI(t,n){let e=dy(n);return dy(t).forEach(r=>{pf(e,r)||e.push(r)}),e}function PI(t,n){return dy(n).filter(e=>!pf(t,e))}function JI(t){return(Ef(t)?t.validators:t)||null}function iB(t){return Array.isArray(t)?my(t):t||null}function eS(t,n){return(Ef(n)?n.asyncValidators:t)||null}function rB(t){return Array.isArray(t)?gy(t):t||null}function Ef(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function oB(t,n,e){let i=t.controls;if(!(n?Object.keys(i):i).length)throw new T(1e3,"");if(!i[e])throw new T(1001,"")}function sB(t,n,e){t._forEachChild((i,r)=>{if(e[r]===void 0)throw new T(1002,"")})}function aB(t,n){return[...n.path,t]}function Ol(t,n,e=Df){vy(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),cB(t,n),uB(t,n),dB(t,n),lB(t,n)}function bf(t,n,e=!0){let i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),xf(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function _f(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function lB(t,n){if(n.valueAccessor.setDisabledState){let e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function vy(t,n){let e=ZI(t);n.validator!==null?t.setValidators(NI(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let i=XI(t);n.asyncValidator!==null?t.setAsyncValidators(NI(i,n.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let r=()=>t.updateValueAndValidity();_f(n._rawValidators,r),_f(n._rawAsyncValidators,r)}function xf(t,n){let e=!1;if(t!==null){if(n.validator!==null){let r=ZI(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==n.validator);o.length!==r.length&&(e=!0,t.setValidators(o))}}if(n.asyncValidator!==null){let r=XI(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==n.asyncValidator);o.length!==r.length&&(e=!0,t.setAsyncValidators(o))}}}let i=()=>{};return _f(n._rawValidators,i),_f(n._rawAsyncValidators,i),e}function cB(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&tS(t,n)})}function dB(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&tS(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function tS(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function uB(t,n){let e=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function nS(t,n){t==null,vy(t,n)}function fB(t,n){return xf(t,n)}function iS(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function hB(t){return Object.getPrototypeOf(t.constructor)===zV}function rS(t,n){t._syncPendingControls(),n.forEach(e=>{let i=e.control;i.updateOn==="submit"&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function oS(t,n){if(!n)return null;Array.isArray(n);let e,i,r;return n.forEach(o=>{o.constructor===Hs?e=o:hB(o)?i=o:r=o}),r||i||e||null}function pB(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function jI(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function VI(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var UI,zV,py,$V,GV,Hs,Cf,wf,WV,hf,mf,Eo,Ni,uy,nB,rQ,Gs,Sl,ff,zs,Ml,Cr,gf,Tl,Rl,$s,fy,hy,vf,yf,Ws,Df,mB,Al,yy,kl,gB,vB,BI,Fl,sS,yB,by,bB,_y,aS,If,lS,Li=f(()=>{"use strict";I();I();me();Re();dt();UI=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static{this.\u0275fac=function(i){return new(i||t)(p(Qn),p(j))}}static{this.\u0275dir=V({type:t})}}return t})(),zV=(()=>{class t extends UI{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})()}static{this.\u0275dir=V({type:t,features:[ye]})}}return t})(),py=new w(""),$V={provide:py,useExisting:cr(()=>Hs),multi:!0};GV=new w(""),Hs=(()=>{class t extends UI{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!HV())}writeValue(e){let i=e??"";this.setProperty("value",i)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static{this.\u0275fac=function(i){return new(i||t)(p(Qn),p(j),p(GV,8))}}static{this.\u0275dir=V({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,r){i&1&&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)})},features:[Ot([$V]),ye]})}}return t})();Cf=new w(""),wf=new w(""),WV=/^(?=.{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])?)*$/,hf=class{static min(n){return qV(n)}static max(n){return YV(n)}static required(n){return KV(n)}static requiredTrue(n){return QV(n)}static email(n){return ZV(n)}static minLength(n){return XV(n)}static maxLength(n){return JV(n)}static pattern(n){return eB(n)}static nullValidator(n){return $I(n)}static compose(n){return KI(n)}static composeAsync(n){return QI(n)}};mf=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=my(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=gy(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},Eo=class extends mf{get formDirective(){return null}get path(){return null}},Ni=class extends mf{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},uy=class{constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},nB={"[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"},rQ=ce(x({},nB),{"[class.ng-submitted]":"isSubmitted"}),Gs=(()=>{class t extends uy{constructor(e){super(e)}static{this.\u0275fac=function(i){return new(i||t)(p(Ni,2))}}static{this.\u0275dir=V({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&de("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[ye]})}}return t})(),Sl="VALID",ff="INVALID",zs="PENDING",Ml="DISABLED",Cr=class{},gf=class extends Cr{constructor(n,e){super(),this.value=n,this.source=e}},Tl=class extends Cr{constructor(n,e){super(),this.pristine=n,this.source=e}},Rl=class extends Cr{constructor(n,e){super(),this.touched=n,this.source=e}},$s=class extends Cr{constructor(n,e){super(),this.status=n,this.source=e}},fy=class extends Cr{constructor(n){super(),this.source=n}},hy=class extends Cr{constructor(n){super(),this.source=n}};vf=class{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=Mi(()=>this.statusReactive()),this.statusReactive=rn(void 0),this._pristine=Mi(()=>this.pristineReactive()),this.pristineReactive=rn(!0),this._touched=Mi(()=>this.touchedReactive()),this.touchedReactive=rn(!1),this._events=new R,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return xn(this.statusReactive)}set status(n){xn(()=>this.statusReactive.set(n))}get valid(){return this.status===Sl}get invalid(){return this.status===ff}get pending(){return this.status==zs}get disabled(){return this.status===Ml}get enabled(){return this.status!==Ml}get pristine(){return xn(this.pristineReactive)}set pristine(n){xn(()=>this.pristineReactive.set(n))}get dirty(){return!this.pristine}get touched(){return xn(this.touchedReactive)}set touched(n){xn(()=>this.touchedReactive.set(n))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(LI(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(LI(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(PI(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(PI(n,this._rawAsyncValidators))}hasValidator(n){return pf(this._rawValidators,n)}hasAsyncValidator(n){return pf(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(ce(x({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new Rl(!0,i))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),e&&n.emitEvent!==!1&&this._events.next(new Rl(!1,i))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(ce(x({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new Tl(!1,i))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),e&&n.emitEvent!==!1&&this._events.next(new Tl(!0,i))}markAsPending(n={}){this.status=zs;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new $s(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(ce(x({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Ml,this.errors=null,this._forEachChild(r=>{r.disable(ce(x({},n),{onlySelf:!0}))}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new gf(this.value,i)),this._events.next(new $s(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ce(x({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Sl,this._forEachChild(i=>{i.enable(ce(x({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(ce(x({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Sl||this.status===zs)&&this._runAsyncValidator(i,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new gf(this.value,e)),this._events.next(new $s(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(ce(x({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ml:Sl}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=zs,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let i=GI(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(n,e){let i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new $s(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,i)}_initObservables(){this.valueChanges=new P,this.statusChanges=new P}_calculateStatus(){return this._allControlsDisabled()?Ml:this.errors?ff:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(zs)?zs:this._anyControlsHaveStatus(ff)?ff:Sl}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),r&&this._events.next(new Tl(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new Rl(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Ef(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=iB(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=rB(this._rawAsyncValidators)}},yf=class extends vf{constructor(n,e,i){super(JI(e),eS(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){sB(this,!0,n),Object.keys(n).forEach(i=>{oB(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(i=>{let r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,r)=>{i.reset(n?n[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>i._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}},Ws=new w("CallSetDisabledState",{providedIn:"root",factory:()=>Df}),Df="always";mB={provide:Eo,useExisting:cr(()=>yy)},Al=Promise.resolve(),yy=(()=>{class t extends Eo{get submitted(){return xn(this.submittedReactive)}constructor(e,i,r){super(),this.callSetDisabledState=r,this._submitted=Mi(()=>this.submittedReactive()),this.submittedReactive=rn(!1),this._directives=new Set,this.ngSubmit=new P,this.form=new yf({},my(e),gy(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Al.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Ol(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Al.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Al.then(()=>{let i=this._findContainer(e.path),r=new yf({});nS(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Al.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){Al.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),rS(this.form,this._directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static{this.\u0275fac=function(i){return new(i||t)(p(Cf,10),p(wf,10),p(Ws,8))}}static{this.\u0275dir=V({type:t,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"],features:[Ot([mB]),ye]})}}return t})();kl=class extends vf{constructor(n=null,e,i){super(JI(e),eS(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ef(e)&&(e.nonNullable||e.initialValueIsDefault)&&(VI(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){jI(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){jI(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){VI(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},gB=t=>t instanceof kl,vB={provide:Ni,useExisting:cr(()=>Fl)},BI=Promise.resolve(),Fl=(()=>{class t extends Ni{constructor(e,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new kl,this._registered=!1,this.name="",this.update=new P,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=oS(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),iS(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(){Ol(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){BI.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,r=i!==0&&Ae(i);BI.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?aB(e,this._parent):[e]}static{this.\u0275fac=function(i){return new(i||t)(p(Eo,9),p(Cf,10),p(wf,10),p(py,10),p(et,8),p(Ws,8))}}static{this.\u0275dir=V({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ot([vB]),ye,Ve]})}}return t})(),sS=new w(""),yB={provide:Ni,useExisting:cr(()=>by)},by=(()=>{class t extends Ni{set isDisabled(e){}static{this._ngModelWarningSentOnce=!1}constructor(e,i,r,o,s){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=s,this.update=new P,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=oS(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let i=e.form.previousValue;i&&bf(i,this,!1),Ol(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}iS(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&bf(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static{this.\u0275fac=function(i){return new(i||t)(p(Cf,10),p(wf,10),p(py,10),p(sS,8),p(Ws,8))}}static{this.\u0275dir=V({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Ot([yB]),ye,Ve]})}}return t})(),bB={provide:Eo,useExisting:cr(()=>_y)},_y=(()=>{class t extends Eo{get submitted(){return xn(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}constructor(e,i,r){super(),this.callSetDisabledState=r,this._submitted=Mi(()=>this._submittedReactive()),this._submittedReactive=rn(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new P,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(xf(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 Ol(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){bf(e.control||null,e,!1),pB(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),rS(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new fy(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 hy(this.form))}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,r=this.form.get(e.path);i!==r&&(bf(i||null,e),gB(r)&&(Ol(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);nS(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let i=this.form.get(e.path);i&&fB(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){vy(this.form,this),this._oldForm&&xf(this._oldForm,this)}_checkFormPresent(){this.form}static{this.\u0275fac=function(i){return new(i||t)(p(Cf,10),p(wf,10),p(Ws,8))}}static{this.\u0275dir=V({type:t,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"],features:[Ot([bB]),ye,Ve]})}}return t})(),aS=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({})}}return t})(),If=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Ws,useValue:e.callSetDisabledState??Df}]}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[aS]})}}return t})(),lS=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:sS,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Ws,useValue:e.callSetDisabledState??Df}]}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[aS]})}}return t})()});function _B(){if(Nl==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Nl=!0}))}finally{Nl=Nl||!1}return Nl}function wr(t){return _B()?t:!!t.capture}function Af(){if(Do==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Do=!1,Do;if("scrollBehavior"in document.documentElement.style)Do=!0;else{let t=Element.prototype.scrollTo;t?Do=!/\{\s*\[native code\]\s*\}/.test(t.toString()):Do=!1}}return Do}function qs(){if(typeof document!="object"||!document)return Nn.NORMAL;if(Mf==null){let t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",t.appendChild(e),document.body.appendChild(t),Mf=Nn.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,Mf=t.scrollLeft===0?Nn.NEGATED:Nn.INVERTED),t.remove()}return Mf}function xB(){if(xy==null){let t=typeof document<"u"?document.head:null;xy=!!(t&&(t.createShadowRoot||t.attachShadow))}return xy}function cS(t){if(xB()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function Ll(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function sn(t){return t.composedPath?t.composedPath()[0]:t.target}function Pl(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Cy,ke,Nl,Nn,Mf,Do,xy,Vt=f(()=>{"use strict";I();I();me();try{Cy=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Cy=!1}ke=(()=>{class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Xn(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||Cy)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(i){return new(i||t)(g(gt))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();Nn=function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t}(Nn||{})});function Bt(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var Dr=f(()=>{"use strict"});function Ys(t){return t!=null&&`${t}`!="false"}function Ir(t,n=0){return CB(t)?Number(t):arguments.length===2?n:0}function CB(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Ks(t){return Array.isArray(t)?t:[t]}function lt(t){return t==null?"":typeof t=="string"?t:`${t}px`}function Pi(t){return t instanceof j?t.nativeElement:t}var ji=f(()=>{"use strict";I()});var wB,Tf,wy=f(()=>{"use strict";I();wB=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Tf=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({providers:[wB]})}}return t})()});function DB(t,n){if(!dS.has(t))try{Io||(Io=document.createElement("style"),n&&Io.setAttribute("nonce",n),Io.setAttribute("type","text/css"),document.head.appendChild(Io)),Io.sheet&&(Io.sheet.insertRule(`@media ${t} {body{ }}`,0),dS.add(t))}catch(e){console.error(e)}}function IB(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}function uS(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}var dS,Io,EB,fS,hS=f(()=>{"use strict";I();I();ji();Re();dt();Vt();dS=new Set,EB=(()=>{class t{constructor(e,i){this._platform=e,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):IB}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&DB(e,this._nonce),this._matchMedia(e)}static{this.\u0275fac=function(i){return new(i||t)(g(ke),g(yo,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();fS=(()=>{class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new R}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return uS(Ks(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=uS(Ks(e)).map(s=>this._registerQuery(s).observable),o=eo(r);return o=Mn(o.pipe(Ue(1)),o.pipe(Ga(1),gi(0))),o.pipe(F(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(Zt(i),F(({matches:s})=>({query:e,matches:s})),he(this._destroySubject)),mql:i};return this._queries.set(e,o),o}static{this.\u0275fac=function(i){return new(i||t)(g(EB),g(k))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});function ky(t,n,e){let i=Ff(t,n);e=e.trim(),!i.some(r=>r.trim()===e)&&(i.push(e),t.setAttribute(n,i.join(yS)))}function jf(t,n,e){let i=Ff(t,n);e=e.trim();let r=i.filter(o=>o!==e);r.length?t.setAttribute(n,r.join(yS)):t.removeAttribute(n)}function Ff(t,n){return t.getAttribute(n)?.match(/\S+/g)??[]}function Ey(t,n){return typeof t=="string"?`${n||""}/${t}`:t}function pS(t,n){t.id||(t.id=`${bS}-${n}-${Iy++}`)}function UB(t){try{return t.frameElement}catch{return null}}function zB(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function $B(t){let n=t.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function HB(t){return WB(t)&&t.type=="hidden"}function GB(t){return qB(t)&&t.hasAttribute("href")}function WB(t){return t.nodeName.toLowerCase()=="input"}function qB(t){return t.nodeName.toLowerCase()=="a"}function xS(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let n=t.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function mS(t){if(!xS(t))return null;let n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function YB(t){let n=t.nodeName.toLowerCase(),e=n==="input"&&t.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function KB(t){return HB(t)?!1:$B(t)||GB(t)||t.hasAttribute("contenteditable")||xS(t)}function QB(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}function Fy(t){return t.buttons===0||t.detail===0}function Ny(t){let n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}function t2(){return null}var yS,bS,Rf,Iy,_S,BB,Sy,My,Nf,jl,Ay,Vf,ZB,XB,CS,Qs,JB,e2,n2,i2,wS,kf,r2,Of,Sr,So,gS,vS,Dy,Ly,Bf,Ln=f(()=>{"use strict";me();I();I();Vt();Vt();Dr();Re();dt();wy();ji();hS();yS=" ";bS="cdk-describedby-message",Rf="cdk-describedby-host",Iy=0,_S=(()=>{class t{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${Iy++}`,this._document=e,this._id=y(ll)+"-"+Iy++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;let o=Ey(i,r);typeof i!="string"?(pS(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=Ey(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(`[${Rf}="${this._id}"]`);for(let i=0;i<e.length;i++)this._removeCdkDescribedByReferenceIds(e[i]),e[i].removeAttribute(Rf);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,i){let r=this._document.createElement("div");pS(r,this._id),r.textContent=e,i&&r.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(Ey(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&&!this._platform.isBrowser&&r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(e){let i=Ff(e,"aria-describedby").filter(r=>r.indexOf(bS)!=0);e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){let r=this._messageRegistry.get(i);ky(e,"aria-describedby",r.messageElement.id),e.setAttribute(Rf,this._id),r.referenceCount++}_removeMessageReference(e,i){let r=this._messageRegistry.get(i);r.referenceCount--,jf(e,"aria-describedby",r.messageElement.id),e.removeAttribute(Rf)}_isElementDescribedByMessage(e,i){let r=Ff(e,"aria-describedby"),o=this._messageRegistry.get(i),s=o&&o.messageElement.id;return!!s&&r.indexOf(s)!=-1}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&typeof i=="object")return!0;let r=i==null?"":`${i}`.trim(),o=e.getAttribute("aria-label");return r?!o||o.trim()!==r:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static{this.\u0275fac=function(i){return new(i||t)(g(z),g(ke))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();BB=200,Sy=class{constructor(n,e){this._letterKeyStream=new R,this._items=[],this._selectedItemIndex=-1,this._pressedLetters=[],this._selectedItem=new R,this.selectedItem=this._selectedItem;let i=typeof e?.debounceInterval=="number"?e.debounceInterval:BB;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(Pe(e=>this._pressedLetters.push(e)),gi(n),xe(()=>this._pressedLetters.length>0),F(()=>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=[]})}},My=class{constructor(n,e){this._items=n,this._activeItemIndex=-1,this._activeItem=rn(null),this._wrap=!1,this._typeaheadSubscription=_e.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=i=>i.disabled,this.tabOut=new R,this.change=new R,n instanceof xs?this._itemChangesSubscription=n.changes.subscribe(i=>this._itemsChanged(i.toArray())):Nu(n)&&(this._effectRef=Iv(()=>this._itemsChanged(n()),{injector:e}))}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new Sy(e,{debounceInterval:typeof n=="number"?n: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(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem();this.updateActiveItem(n),this._activeItem()!==e&&this.change.next(this._activeItemIndex)}onKeydown(n){let e=n.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[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||Bt(n,"shiftKey"))&&this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){let e=this._getItemsArray(),i=typeof n=="number"?n:e.indexOf(n),r=e[i];this._activeItem.set(r??null),this._activeItemIndex=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(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){let e=this._getItemsArray();for(let i=1;i<=e.length;i++){let r=(this._activeItemIndex+n*i+e.length)%e.length,o=e[r];if(!this._skipPredicateFn(o)){this.setActiveItem(r);return}}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,e){let i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(n+=e,!i[n])return;this.setActiveItem(n)}}_getItemsArray(){return Nu(this._items)?this._items():this._items instanceof xs?this._items.toArray():this._items}_itemsChanged(n){this._typeahead?.setItems(n);let e=this._activeItem();if(e){let i=n.indexOf(e);i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i))}}},Nf=class extends My{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}},jl=(()=>{class t{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return zB(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=UB(QB(e));if(i&&(mS(i)===-1||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),o=mS(e);return e.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!YB(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 KB(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}static{this.\u0275fac=function(i){return new(i||t)(g(ke))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();Ay=class{get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}constructor(n,e,i,r,o=!1,s){this._element=n,this._checker=e,this._ngZone=i,this._document=r,this._injector=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){let e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let 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(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.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 n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?kn(n,{injector:this._injector}):setTimeout(n)}},Vf=(()=>{class t{constructor(e,i,r){this._checker=e,this._ngZone=i,this._injector=y(Me),this._document=r}create(e,i=!1){return new Ay(e,this._checker,this._ngZone,this._document,i,this._injector)}static{this.\u0275fac=function(i){return new(i||t)(g(jl),g(k),g(z))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();ZB=new w("cdk-input-modality-detector-options"),XB={ignoreKeys:[18,17,224,91,16]},CS=650,Qs=wr({passive:!0,capture:!0}),JB=(()=>{class t{get mostRecentModality(){return this._modality.value}constructor(e,i,r,o){this._platform=e,this._mostRecentTarget=null,this._modality=new it(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=sn(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<CS||(this._modality.next(Fy(s)?"keyboard":"mouse"),this._mostRecentTarget=sn(s))},this._onTouchstart=s=>{if(Ny(s)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=sn(s)},this._options=x(x({},XB),o),this.modalityDetected=this._modality.pipe(Ga(1)),this.modalityChanged=this.modalityDetected.pipe(no()),e.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,Qs),r.addEventListener("mousedown",this._onMousedown,Qs),r.addEventListener("touchstart",this._onTouchstart,Qs)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Qs),document.removeEventListener("mousedown",this._onMousedown,Qs),document.removeEventListener("touchstart",this._onTouchstart,Qs))}static{this.\u0275fac=function(i){return new(i||t)(g(ke),g(k),g(z),g(ZB,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),e2=new w("liveAnnouncerElement",{providedIn:"root",factory:t2});n2=new w("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),i2=0,wS=(()=>{class t{constructor(e,i,r,o){this._ngZone=i,this._defaultOptions=o,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...i){let r=this._defaultOptions,o,s;return i.length===1&&typeof i[0]=="number"?s=i[0]:[o,s]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),s==null&&r&&(s=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o<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-${i2++}`,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{this.\u0275fac=function(i){return new(i||t)(g(e2,8),g(k),g(z),g(n2,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),kf=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(kf||{}),r2=new w("cdk-focus-monitor-default-options"),Of=wr({passive:!0,capture:!0}),Sr=(()=>{class t{constructor(e,i,r,o,s){this._ngZone=e,this._platform=i,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new R,this._rootNodeFocusAndBlurListener=a=>{let l=sn(a);for(let c=l;c;c=c.parentElement)a.type==="focus"?this._onFocus(a,c):this._onBlur(a,c)},this._document=o,this._detectionMode=s?.detectionMode||kf.IMMEDIATE}monitor(e,i=!1){let r=Pi(e);if(!this._platform.isBrowser||r.nodeType!==1)return O();let o=cS(r)||this._getDocument(),s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;let a={checkChildren:i,subject:new R,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){let i=Pi(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=Pi(e),s=this._getDocument().activeElement;o===s?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===kf.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===kf.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?CS:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,i){let r=this._elementInfo.get(i),o=sn(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,Of),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Of)}),this._rootNodeFocusListenerCount.set(i,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(he(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,Of),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Of),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{this.\u0275fac=function(i){return new(i||t)(g(k),g(ke),g(JB),g(z,8),g(r2,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),So=function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t}(So||{}),gS="cdk-high-contrast-black-on-white",vS="cdk-high-contrast-white-on-black",Dy="cdk-high-contrast-active",Ly=(()=>{class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=y(fS).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return So.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 So.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return So.BLACK_ON_WHITE}return So.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Dy,gS,vS),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===So.BLACK_ON_WHITE?e.add(Dy,gS):i===So.WHITE_ON_BLACK&&e.add(Dy,vS)}}static{this.\u0275fac=function(i){return new(i||t)(g(ke),g(z))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Bf=(()=>{class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}static{this.\u0275fac=function(i){return new(i||t)(g(Ly))}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[Tf]})}}return t})()});function s2(){return y(z)}function l2(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?a2.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var o2,a2,kt,ni,Cn=f(()=>{"use strict";I();I();me();o2=new w("cdk-dir-doc",{providedIn:"root",factory:s2});a2=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;kt=(()=>{class t{constructor(e){if(this.value="ltr",this.change=new P,e){let i=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.value=l2(i||r||"ltr")}}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(i){return new(i||t)(g(o2,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ni=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({})}}return t})()});function f2(t,n){if(t&1&&ee(0,"mat-pseudo-checkbox",1),t&2){let e=$();S("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function h2(t,n){if(t&1&&ee(0,"mat-pseudo-checkbox",3),t&2){let e=$();S("disabled",e.disabled)}}function p2(t,n){if(t&1&&(D(0,"span",4),ne(1),A()),t&2){let e=$();C(),We("(",e.group.label,")")}}function m2(){return!0}function y2(t,n,e){let i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),r=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+r*r)}function NS(t,n,e){if(e.length){let i=n.toArray(),r=e.toArray(),o=0;for(let s=0;s<t+1;s++)i[s].group&&i[s].group===r[o]&&o++;return o}return 0}function LS(t,n,e,i){return t<e?t:t+n>e+i?Math.max(0,t-i+n):e}var c2,d2,u2,g2,Ke,zf,OS,wn,Vy,ES,By,DS,v2,IS,SS,MS,Uy,kS,FS,$y,b2,_2,Hy,Gy,x2,zy,Xs,Wy,AS,TS,Py,jy,RS,Uf,PS,Pn=f(()=>{"use strict";I();I();Ln();Ln();Cn();me();Vt();Vt();ji();Re();Dr();c2=["text"],d2=[[["mat-icon"]],"*"],u2=["mat-icon","*"];g2=new w("mat-sanity-checks",{providedIn:"root",factory:m2}),Ke=(()=>{class t{constructor(e,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return Pl()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[e]}static{this.\u0275fac=function(i){return new(i||t)(g(Ly),g(g2,8),g(z))}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[ni,ni]})}}return t})(),zf=class{constructor(n,e,i,r,o){this._defaultMatcher=n,this.ngControl=e,this._parentFormGroup=i,this._parentForm=r,this._stateChanges=o,this.errorState=!1}updateErrorState(){let n=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!==n&&(this.errorState=o,this._stateChanges.next())}},OS=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),wn=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(wn||{}),Vy=class{constructor(n,e,i,r=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=wn.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},ES=wr({passive:!0,capture:!0}),By=class{constructor(){this._events=new Map,this._delegateEventHandler=n=>{let e=sn(n);e&&this._events.get(n.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(o=>o.handleEvent(n))})}}addHandler(n,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])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,ES)})}removeHandler(n,e,i){let r=this._events.get(n);if(!r)return;let o=r.get(e);o&&(o.delete(i),o.size===0&&r.delete(e),r.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,ES)))}},DS={enterDuration:225,exitDuration:150},v2=800,IS=wr({passive:!0,capture:!0}),SS=["mousedown","touchstart"],MS=["mouseup","mouseleave","touchend","touchcancel"],Uy=class t{static{this._eventManager=new By}constructor(n,e,i,r){this._target=n,this._ngZone=e,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Pi(i))}fadeInRipple(n,e,i={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=x(x({},DS),i.animation);i.centered&&(n=r.left+r.width/2,e=r.top+r.height/2);let s=i.radius||y2(n,e,r),a=n-r.left,l=e-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${a-s}px`,d.style.top=`${l-s}px`,d.style.height=`${s*2}px`,d.style.width=`${s*2}px`,i.color!=null&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let u=window.getComputedStyle(d),m=u.transitionProperty,h=u.transitionDuration,v=m==="none"||h==="0s"||h==="0s, 0s"||r.width===0&&r.height===0,b=new Vy(this,d,i,v);d.style.transform="scale3d(1, 1, 1)",b.state=wn.FADING_IN,i.persistent||(this._mostRecentTransientRipple=b);let E=null;return!v&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let M=()=>{E&&(E.fallbackTimer=null),clearTimeout(G),this._finishRippleTransition(b)},B=()=>this._destroyRipple(b),G=setTimeout(B,c+100);d.addEventListener("transitionend",M),d.addEventListener("transitioncancel",B),E={onTransitionEnd:M,onTransitionCancel:B,fallbackTimer:G}}),this._activeRipples.set(b,E),(v||!c)&&this._finishRippleTransition(b),b}fadeOutRipple(n){if(n.state===wn.FADING_OUT||n.state===wn.HIDDEN)return;let e=n.element,i=x(x({},DS),n.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=wn.FADING_OUT,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=Pi(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,SS.forEach(i=>{t._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{MS.forEach(e=>{this._triggerElement.addEventListener(e,this,IS)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===wn.FADING_IN?this._startFadeOutTransition(n):n.state===wn.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=wn.VISIBLE,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=wn.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=Fy(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+v2;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!Ny(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=n.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(n=>{let e=n.state===wn.VISIBLE||n.config.terminateOnPointerUp&&n.state===wn.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(SS.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(MS.forEach(e=>n.removeEventListener(e,this,IS)),this._pointerUpEventsRegistered=!1))}};kS=new w("mat-ripple-global-options"),FS=(()=>{class t{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,i,r,o,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new Uy(this,i,e,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:x(x(x({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,r){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,x(x({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,x(x({},this.rippleConfig),e))}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(k),p(ke),p(kS,8),p(rt,8))}}static{this.\u0275dir=V({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){i&2&&de("mat-ripple-unbounded",r.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}}return t})(),$y=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[Ke,Ke]})}}return t})(),b2=(()=>{class t{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}static{this.\u0275fac=function(i){return new(i||t)(p(rt,8))}}static{this.\u0275cmp=Y({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,r){i&2&&de("mat-pseudo-checkbox-indeterminate",r.state==="indeterminate")("mat-pseudo-checkbox-checked",r.state==="checked")("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal",r.appearance==="minimal")("mat-pseudo-checkbox-full",r.appearance==="full")("_mat-animation-noopable",r._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[Ee],decls:0,vars:0,template:function(i,r){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-app-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-app-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}}return t})(),_2=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[Ke]})}}return t})(),Hy=new w("MAT_OPTION_PARENT_COMPONENT"),Gy=new w("MatOptgroup"),x2=0,zy=class{constructor(n,e=!1){this.source=n,this.isUserInput=e}},Xs=(()=>{class t{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=e}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(e,i,r,o){this._element=e,this._changeDetectorRef=i,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${x2++}`,this.onSelectionChange=new P,this._stateChanges=new R}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)&&!Bt(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 zy(this,e))}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(et),p(Hy,8),p(Gy,8))}}static{this.\u0275cmp=Y({type:t,selectors:[["mat-option"]],viewQuery:function(i,r){if(i&1&&Be(c2,7),i&2){let o;Ce(o=we())&&(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&&(hr("id",r.id),Ie("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),de("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",Ae]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[vt,Ee],ngContentSelectors:u2,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,r){i&1&&(on(d2),ie(0,f2,1,2,"mat-pseudo-checkbox",1),Ge(1),D(2,"span",2,0),Ge(4,1),A(),ie(5,h2,1,1,"mat-pseudo-checkbox",3)(6,p2,2,1,"span",4),ee(7,"div",5)),i&2&&(ot(r.multiple?0:-1),C(5),ot(!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),C(),ot(r.group&&r.group._inert?6:-1),C(),S("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[b2,FS],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-app-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color);outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-app-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return t})();Wy=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[$y,Ke,_2]})}}return t})(),AS={capture:!0},TS=["focus","mousedown","mouseenter","touchstart"],Py="mat-ripple-loader-uninitialized",jy="mat-ripple-loader-class-name",RS="mat-ripple-loader-centered",Uf="mat-ripple-loader-disabled",PS=(()=>{class t{constructor(){this._document=y(z,{optional:!0}),this._animationMode=y(rt,{optional:!0}),this._globalRippleOptions=y(kS,{optional:!0}),this._platform=y(ke),this._ngZone=y(k),this._hosts=new Map,this._onInteraction=e=>{let i=sn(e);if(i instanceof HTMLElement){let r=i.closest(`[${Py}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r)}},this._ngZone.runOutsideAngular(()=>{for(let e of TS)this._document?.addEventListener(e,this._onInteraction,AS)})}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);for(let i of TS)this._document?.removeEventListener(i,this._onInteraction,AS)}configureRipple(e,i){e.setAttribute(Py,this._globalRippleOptions?.namespace??""),(i.className||!e.hasAttribute(jy))&&e.setAttribute(jy,i.className||""),i.centered&&e.setAttribute(RS,""),i.disabled&&e.setAttribute(Uf,"")}getRipple(e){return this._hosts.get(e)||this._createRipple(e)}setDisabled(e,i){let r=this._hosts.get(e);if(r){r.disabled=i;return}i?e.setAttribute(Uf,""):e.removeAttribute(Uf)}_createRipple(e){if(!this._document)return;let i=this._hosts.get(e);if(i)return i;e.querySelector(".mat-ripple")?.remove();let r=this._document.createElement("span");r.classList.add("mat-ripple",e.getAttribute(jy)),e.append(r);let o=new FS(new j(r),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return o._isInitialized=!0,o.trigger=e,o.centered=e.hasAttribute(RS),o.disabled=e.hasAttribute(Uf),this.attachRipple(e,o),o}attachRipple(e,i){e.removeAttribute(Py),this._hosts.set(e,i)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.ngOnDestroy(),this._hosts.delete(e))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var C2,w2,E2,D2,I2,S2,M2,A2,jS,ii,Js,Mr,an=f(()=>{"use strict";Vt();I();I();Ln();Pn();C2=["mat-button",""],w2=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],E2=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],D2=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",I2=["mat-icon-button",""],S2=["*"],M2=new w("MAT_BUTTON_CONFIG"),A2=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],jS=(()=>{class t{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}constructor(e,i,r,o){this._elementRef=e,this._platform=i,this._ngZone=r,this._animationMode=o,this._focusMonitor=y(Sr),this._rippleLoader=y(PS),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let s=y(M2,{optional:!0}),a=e.nativeElement,l=a.classList;this.disabledInteractive=s?.disabledInteractive??!1,this.color=s?.color??null,this._rippleLoader?.configureRipple(a,{className:"mat-mdc-button-ripple"});for(let{attribute:c,mdcClasses:d}of A2)a.hasAttribute(c)&&l.add(...d)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static{this.\u0275fac=function(i){Rs()}}static{this.\u0275dir=V({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",Ae],disabled:[2,"disabled","disabled",Ae],ariaDisabled:[2,"aria-disabled","ariaDisabled",Ae],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Ae]},features:[vt]})}}return t})(),ii=(()=>{class t extends jS{constructor(e,i,r,o){super(e,i,r,o)}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(ke),p(k),p(rt,8))}}static{this.\u0275cmp=Y({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,r){i&2&&(Ie("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),_o(r.color?"mat-"+r.color:""),de("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[ye,Ee],attrs:C2,ngContentSelectors:E2,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(on(w2),ee(0,"span",0),Ge(1),D(2,"span",1),Ge(3,1),A(),Ge(4,2),ee(5,"span",2)(6,"span",3)),i&2&&de("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 8px);height:var(--mdc-text-button-container-height);font-family:var(--mdc-text-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-app-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-filled-button-horizontal-padding, 16px);height:var(--mdc-filled-button-container-height);font-family:var(--mdc-filled-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-app-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-app-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-app-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-app-level1));height:var(--mdc-protected-button-container-height);font-family:var(--mdc-protected-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-app-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-app-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-app-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-app-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-outlined-button-horizontal-padding, 15px);height:var(--mdc-outlined-button-container-height);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-app-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-app-corner-full));border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-app-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-app-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}}return t})(),Js=(()=>{class t extends jS{constructor(e,i,r,o){super(e,i,r,o),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(ke),p(k),p(rt,8))}}static{this.\u0275cmp=Y({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,r){i&2&&(Ie("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),_o(r.color?"mat-"+r.color:""),de("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[ye,Ee],attrs:I2,ngContentSelectors:S2,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(on(),ee(0,"span",0),Ge(1),ee(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',D2],encapsulation:2,changeDetection:0})}}return t})(),Mr=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[Ke,$y,Ke]})}}return t})()});function R2(){if(Gf===void 0&&(Gf=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(Gf=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Gf}function Bl(t){return R2()?.createHTML(t)||t}function VS(t){return Error(`Unable to find icon with the name "${t}"`)}function O2(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function BS(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function US(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}function Wf(t){return t.cloneNode(!0)}function zS(t,n){return t+":"+n}function k2(t){return!!(t.url&&t.options)}function L2(){let t=y(z),n=t?t.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}var T2,Gf,Vi,Yy,F2,N2,$S,P2,j2,ri,qf,Bi=f(()=>{"use strict";I();I();Pn();me();Re();dt();bl();Ps();T2=["*"];Vi=class{constructor(n,e,i){this.url=n,this.svgText=e,this.options=i}},Yy=(()=>{class t{constructor(e,i,r,o){this._httpClient=e,this._sanitizer=i,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=r}addSvgIcon(e,i,r){return this.addSvgIconInNamespace("",e,i,r)}addSvgIconLiteral(e,i,r){return this.addSvgIconLiteralInNamespace("",e,i,r)}addSvgIconInNamespace(e,i,r,o){return this._addSvgIconConfig(e,i,new Vi(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 US(r);let a=Bl(s);return this._addSvgIconConfig(e,i,new Vi("",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 Vi(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){let o=this._sanitizer.sanitize(Et.HTML,i);if(!o)throw US(i);let s=Bl(o);return this._addSvgIconSetConfig(e,new Vi("",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 BS(e);let r=this._cachedIconsByUrl.get(i);return r?O(Wf(r)):this._loadSvgIconFromConfig(new Vi(e,null)).pipe(Pe(o=>this._cachedIconsByUrl.set(i,o)),F(o=>Wf(o)))}getNamedSvgIcon(e,i=""){let r=zS(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):Qi(VS(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?O(Wf(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(F(i=>Wf(i)))}_getSvgFromIconSetConfigs(e,i){let r=this._extractIconWithNameFromAnySet(e,i);if(r)return O(r);let o=i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(Qt(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)),O(null)})));return to(o).pipe(F(()=>{let s=this._extractIconWithNameFromAnySet(e,i);if(!s)throw VS(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(Pe(i=>e.svgText=i),F(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?O(null):this._fetchIcon(e).pipe(Pe(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(Bl("<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(Bl("<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 O2();if(i==null)throw Error(`Cannot fetch icon from URL "${i}".`);let s=this._sanitizer.sanitize(Et.RESOURCE_URL,i);if(!s)throw BS(i);let a=this._inProgressUrlFetches.get(s);if(a)return a;let l=this._httpClient.get(s,{responseType:"text",withCredentials:o}).pipe(F(c=>Bl(c)),$t(()=>this._inProgressUrlFetches.delete(s)),Ha());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(zS(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 k2(o)?new Vi(o.url,null,o.options):new Vi(o,null)}}static{this.\u0275fac=function(i){return new(i||t)(g(br,8),g(wl),g(z,8),g(Gt))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();F2=new w("MAT_ICON_DEFAULT_OPTIONS"),N2=new w("mat-icon-location",{providedIn:"root",factory:L2});$S=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],P2=$S.map(t=>`[${t}]`).join(", "),j2=/^url\(['"]?#(.*?)['"]?\)$/,ri=(()=>{class t{get color(){return this._color||this._defaultColor}set color(e){this._color=e}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){let i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){let i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(e,i,r,o,s,a){this._elementRef=e,this._iconRegistry=i,this._location=o,this._errorHandler=s,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=_e.EMPTY,a&&(a.color&&(this.color=this._defaultColor=a.color),a.fontSet&&(this.fontSet=a.fontSet)),r||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let r=e.childNodes[i];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),i.forEach(r=>e.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(s=>{o.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){let i=e.querySelectorAll(P2),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<i.length;o++)$S.forEach(s=>{let a=i[o],l=a.getAttribute(s),c=l?l.match(j2):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(Ue(1)).subscribe(o=>this._setSvgElement(o),o=>{let s=`Error retrieving icon ${i}:${r}! ${o.message}`;this._errorHandler.handleError(new Error(s))})}}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(Yy),ur("aria-hidden"),p(N2),p(Gt),p(F2,8))}}static{this.\u0275cmp=Y({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,r){i&2&&(Ie("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),_o(r.color?"mat-"+r.color:""),de("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",Ae],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[vt,Ee],ngContentSelectors:T2,decls:1,vars:0,template:function(i,r){i&1&&(on(),Ge(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}}return t})(),qf=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[Ke,Ke]})}}return t})()});var HS,GS=f(()=>{"use strict";bl();I();I();HS=(()=>{class t{#e=y(br);play(e,i){return this.#e.get(`https://services.tilde.com/service/tts?system=${i.voice}&text=${e}`,{responseType:"blob"})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});function B2(t,n){if(t&1&&(al(),D(0,"svg",11),ee(1,"circle",12),A()),t&2){let e=$();Ie("viewBox",e._viewBox()),C(),bo("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),Ie("r",e._circleRadius())}}function z2(){return{diameter:WS}}var V2,U2,WS,$2,Yf,qS,Kf=f(()=>{"use strict";I();I();me();Pn();V2=["determinateSpinner"];U2=new w("mat-progress-spinner-default-options",{providedIn:"root",factory:z2});WS=100,$2=10,Yf=(()=>{class t{get color(){return this._color||this._defaultColor}set color(e){this._color=e}constructor(e,i,r){this._elementRef=e,this._defaultColor="primary",this._value=0,this._diameter=WS,this._noopAnimations=i==="NoopAnimations"&&!!r&&!r._forceAnimations,this.mode=e.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",r&&(r.color&&(this.color=this._defaultColor=r.color),r.diameter&&(this.diameter=r.diameter),r.strokeWidth&&(this.strokeWidth=r.strokeWidth))}get value(){return this.mode==="determinate"?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,e||0))}get diameter(){return this._diameter}set diameter(e){this._diameter=e||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=e||0}_circleRadius(){return(this.diameter-$2)/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{this.\u0275fac=function(i){return new(i||t)(p(j),p(rt,8),p(U2))}}static{this.\u0275cmp=Y({type:t,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(i,r){if(i&1&&Be(V2,5),i&2){let o;Ce(o=we())&&(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&&(Ie("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",r.mode==="determinate"?r.value:null)("mode",r.mode),_o("mat-"+r.color),bo("width",r.diameter,"px")("height",r.diameter,"px")("--mdc-circular-progress-size",r.diameter+"px")("--mdc-circular-progress-active-indicator-width",r.diameter+"px"),de("_mat-animation-noopable",r._noopAnimations)("mdc-circular-progress--indeterminate",r.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",Si],diameter:[2,"diameter","diameter",Si],strokeWidth:[2,"strokeWidth","strokeWidth",Si]},exportAs:["matProgressSpinner"],standalone:!0,features:[vt,Ee],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&&(ie(0,B2,2,8,"ng-template",null,0,Co),D(2,"div",2,1),al(),D(4,"svg",3),ee(5,"circle",4),A()(),$w(),D(6,"div",5)(7,"div",6)(8,"div",7),hl(9,8),A(),D(10,"div",9),hl(11,8),A(),D(12,"div",10),hl(13,8),A()()()),i&2){let o=qt(1);C(4),Ie("viewBox",r._viewBox()),C(),bo("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeDashOffset(),"px")("stroke-width",r._circleStrokeWidth(),"%"),Ie("r",r._circleRadius()),C(4),S("ngTemplateOutlet",o),C(2),S("ngTemplateOutlet",o),C(2),S("ngTemplateOutlet",o)}},dependencies:[Xu],styles:[".mat-mdc-progress-spinner{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(--mdc-circular-progress-active-indicator-width)}.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}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}.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 1568.2352941176ms 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(--mdc-circular-progress-active-indicator-color, var(--mat-app-primary))}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.cdk-high-contrast-active .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 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress__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 5332ms 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)}}"],encapsulation:2,changeDetection:0})}}return t})(),qS=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[at,Ke]})}}return t})()});var Qf,YS=f(()=>{"use strict";Re();Qf=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(n=!1,e,i=!0,r){this._multiple=n,this._emitChanges=i,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new R,e&&e.length&&(n?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);let e=this.selected,i=new Set(n);n.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(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();let e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}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(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){n.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(n,e){if(this.compareWith){e=e??this._selection;for(let i of e)if(this.compareWith(n,i))return i;return n}else return n}}});var W2,ta,Ky,q2,na,ea,Qy,Ar=f(()=>{"use strict";ji();I();Re();dt();Vt();Vt();me();Cn();Cn();W2=20,ta=(()=>{class t{constructor(e,i,r){this._ngZone=e,this._platform=i,this._scrolled=new R,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=W2){return this._platform.isBrowser?new Z(i=>{this._globalSubscription||this._addGlobalListener();let r=e>0?this._scrolled.pipe(xd(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):O()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(xe(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let r=Pi(i),o=e.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();return mi(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static{this.\u0275fac=function(i){return new(i||t)(g(k),g(ke),g(z,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Ky=(()=>{class t{constructor(e,i,r,o){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=r,this.dir=o,this._destroyed=new R,this._elementScrolled=new Z(s=>this.ngZone.runOutsideAngular(()=>mi(this.elementRef.nativeElement,"scroll").pipe(he(this._destroyed)).subscribe(s)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let i=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=r?e.end:e.start),e.right==null&&(e.right=r?e.start:e.end),e.bottom!=null&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&qs()!=Nn.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),qs()==Nn.INVERTED?e.left=e.right:qs()==Nn.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;Af()?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&&qs()==Nn.INVERTED?e==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:s&&qs()==Nn.NEGATED?e==i?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==i?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(ta),p(k),p(kt,8))}}static{this.\u0275dir=V({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}}return t})(),q2=20,na=(()=>{class t{constructor(e,i,r){this._platform=e,this._change=new R,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(e.isBrowser){let o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect(),s=-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,a=-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0;return{top:s,left:a}}change(e=q2){return e>0?this._change.pipe(xd(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static{this.\u0275fac=function(i){return new(i||t)(g(ke),g(k),g(z,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ea=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({})}}return t})(),Qy=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[ni,ea,ni,ea]})}}return t})()});var zl,Tr,Ao,Xy,ia,Zf,$l,To,Hl=f(()=>{"use strict";I();I();me();zl=class{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},Tr=class extends zl{constructor(n,e,i,r,o){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=r,this.projectableNodes=o}},Ao=class extends zl{constructor(n,e,i,r){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}},Xy=class extends zl{constructor(n){super(),this.element=n instanceof j?n.nativeElement:n}},ia=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof Tr)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof Ao)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof Xy)return this._attachedPortal=n,this.attachDomPortal(n)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},Zf=class extends ia{constructor(n,e,i,r,o){super(),this.outletElement=n,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=s=>{this._document;let a=s.element;a.parentNode;let l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(n){let i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component),r;return n.viewContainerRef?(r=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=i.create(n.injector||this._defaultInjector||Me.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=n,r}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.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=n,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},$l=(()=>{class t extends ia{constructor(e,i,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new P,this.attachDomPortal=o=>{this._document;let s=o.element;s.parentNode;let a=this._document.createComment("dom-portal");o.setAttachedHost(this),s.parentNode.insertBefore(a,s),this._getRootNode().appendChild(s),this._attachedPortal=o,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(s,a)})},this._document=r}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),s=i.createComponent(o,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=e,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static{this.\u0275fac=function(i){return new(i||t)(p(en),p(Rt),p(z))}}static{this.\u0275dir=V({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[ye]})}}return t})(),To=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({})}}return t})()});function tb(t,n){return n.some(e=>{let i=t.bottom<e.top,r=t.top>e.bottom,o=t.right<e.left,s=t.left>e.right;return i||r||o||s})}function QS(t,n){return n.some(e=>{let i=t.top<e.top,r=t.bottom>e.bottom,o=t.left<e.left,s=t.right>e.right;return i||r||o||s})}function ZS(t,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,i=n;for(;i;){if(i===t)return!0;i=e&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}function Ro(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function JS(t){if(typeof t!="number"&&t!=null){let[n,e]=t.split(Z2);return!e||e==="px"?parseFloat(n):null}return t||null}function eM(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}function X2(t,n){return t===n?!0:t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView}function nU(t){return()=>t.scrollStrategies.reposition()}var KS,Jy,eb,Xf,nb,Y2,ra,ib,nM,K2,Q2,oa,Ui,XS,Z2,rb,tM,ob,J2,eU,ut,tU,iM,Gl,sb,iU,Rr,Or=f(()=>{"use strict";Ar();Ar();Ar();me();me();I();I();ji();Vt();Vt();dt();Cn();Cn();Hl();Re();Dr();KS=Af(),Jy=class{constructor(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=lt(-this._previousScrollPosition.left),n.style.top=lt(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,i=n.style,r=e.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),KS&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),KS&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}},eb=class{constructor(n,e,i,r){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(xe(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},Xf=class{enable(){}disable(){}attach(){}};nb=class{constructor(n,e,i,r){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();tb(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}},Y2=(()=>{class t{constructor(e,i,r,o){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new Xf,this.close=s=>new eb(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new Jy(this._viewportRuler,this._document),this.reposition=s=>new nb(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}static{this.\u0275fac=function(i){return new(i||t)(g(ta),g(na),g(k),g(z))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ra=class{constructor(n){if(this.scrollStrategy=new Xf,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){let e=Object.keys(n);for(let i of e)n[i]!==void 0&&(this[i]=n[i])}}},ib=class{constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}},nM=(()=>{class t{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}static{this.\u0275fac=function(i){return new(i||t)(g(z))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),K2=(()=>{class t extends nM{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=r=>{let o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){let a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(r)):a.next(r);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static{this.\u0275fac=function(i){return new(i||t)(g(z),g(k,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Q2=(()=>{class t extends nM{constructor(e,i,r){super(e),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=sn(o)},this._clickListener=o=>{let s=sn(o),a=o.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;let l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){let d=l[c];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(ZS(d.overlayElement,s)||ZS(d.overlayElement,a))break;let u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(o)):u.next(o)}}}add(e){if(super.add(e),!this._isAttached){let i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}static{this.\u0275fac=function(i){return new(i||t)(g(z),g(ke),g(k,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();oa=(()=>{class t{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||Pl()){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),Pl()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}static{this.\u0275fac=function(i){return new(i||t)(g(z),g(ke))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Ui=class{constructor(n,e,i,r,o,s,a,l,c,d=!1,u){this._portalOutlet=n,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=u,this._backdropElement=null,this._backdropClick=new R,this._attachments=new R,this._detachments=new R,this._locationChanges=_e.EMPTY,this._backdropClickHandler=m=>this._backdropClick.next(m),this._backdropTransitionendHandler=m=>{this._disposeBackdrop(m.target)},this._keydownEvents=new R,this._outsidePointerEvents=new R,this._renders=new R,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy,this._afterRenderRef=xn(()=>fl(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=kn(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=null,n&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=x(x({},this._config),n),this._updateElementSize()}setDirection(n){this._config=ce(x({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=lt(this._config.width),n.height=lt(this._config.height),n.minWidth=lt(this._config.minWidth),n.minHeight=lt(this._config.minHeight),n.maxWidth=lt(this._config.maxWidth),n.maxHeight=lt(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let n=this._backdropElement;if(n){if(this._animationsDisabled){this._disposeBackdrop(n);return}n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,e,i){let r=Ks(e||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let n=this._renders.pipe(he(St(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){let n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},XS="cdk-overlay-connected-position-bounding-box",Z2=/([A-Za-z%]+)$/,rb=class{get positions(){return this._preferredPositions}constructor(n,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new R,this._resizeSubscription=_e.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(XS),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let n=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[],s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,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&&Ro(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(XS),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;if(n){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,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,i){let r;if(i.originX=="center")r=n.left+n.width/2;else{let s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;r=i.originX=="start"?s:a}e.left<0&&(r-=e.left);let o;return i.originY=="center"?o=n.top+n.height/2:o=i.originY=="top"?n.top:n.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(n,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:n.x+r,y:n.y+o}}_getOverlayFit(n,e,i,r){let o=eM(e),{x:s,y:a}=n,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let d=0-s,u=s+o.width-i.width,m=0-a,h=a+o.height-i.height,v=this._subtractOverflows(o.width,d,u),b=this._subtractOverflows(o.height,m,h),E=v*b;return{visibleArea:E,isCompletelyWithinViewport:o.width*o.height===E,fitsInViewportVertically:b===o.height,fitsInViewportHorizontally:v==o.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){let r=i.bottom-e.y,o=i.right-e.x,s=JS(this._overlayRef.getConfig().minHeight),a=JS(this._overlayRef.getConfig().minWidth),l=n.fitsInViewportVertically||s!=null&&s<=r,c=n.fitsInViewportHorizontally||a!=null&&a<=o;return l&&c}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let r=eM(e),o=this._viewportRect,s=Math.max(n.x+r.width-o.width,0),a=Math.max(n.y+r.height-o.height,0),l=Math.max(o.top-i.top-n.y,0),c=Math.max(o.left-i.left-n.x,0),d=0,u=0;return r.width<=o.width?d=c||-s:d=n.x<this._viewportMargin?o.left-i.left-n.x:0,r.height<=o.height?u=l||-a:u=n.y<this._viewportMargin?o.top-i.top-n.y:0,this._previousPushAmount={x:d,y:u},{x:n.x+d,y:n.y+u}}_applyPosition(n,e){if(this._setTransformOrigin(n),this._setOverlayElementStyles(e,n),this._setBoundingBoxStyles(e,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){let i=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!X2(this._lastScrollVisibility,i)){let r=new ib(n,i);this._positionChanges.next(r)}this._lastScrollVisibility=i}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),i,r=n.overlayY;n.overlayX==="center"?i="center":this._isRtl()?i=n.overlayX==="start"?"right":"left":i=n.overlayX==="start"?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${i} ${r}`}_calculateBoundingBoxRect(n,e){let i=this._viewportRect,r=this._isRtl(),o,s,a;if(e.overlayY==="top")s=n.y,o=i.height-s+this._viewportMargin;else if(e.overlayY==="bottom")a=i.height-n.y+this._viewportMargin*2,o=i.height-a+this._viewportMargin;else{let h=Math.min(i.bottom-n.y+i.top,n.y),v=this._lastBoundingBoxSize.height;o=h*2,s=n.y-h,o>v&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-v/2)}let l=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,c=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,d,u,m;if(c)m=i.width-n.x+this._viewportMargin*2,d=n.x-this._viewportMargin;else if(l)u=n.x,d=i.right-n.x;else{let h=Math.min(i.right-n.x+i.left,n.x),v=this._lastBoundingBoxSize.width;d=h*2,u=n.x-h,d>v&&!this._isInitialRender&&!this._growAfterOpen&&(u=n.x-v/2)}return{top:s,left:u,bottom:a,right:m,width:d,height:o}}_setBoundingBoxStyles(n,e){let i=this._calculateBoundingBoxRect(n,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=lt(i.height),r.top=lt(i.top),r.bottom=lt(i.bottom),r.width=lt(i.width),r.left=lt(i.left),r.right=lt(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=lt(o)),s&&(r.maxWidth=lt(s))}this._lastBoundingBoxSize=i,Ro(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Ro(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ro(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){let d=this._viewportRuler.getViewportScrollPosition();Ro(i,this._getExactOverlayY(e,n,d)),Ro(i,this._getExactOverlayX(e,n,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=lt(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=lt(s.maxWidth):o&&(i.maxWidth="")),Ro(this._pane.style,i)}_getExactOverlayY(n,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),n.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;r.bottom=`${s-(o.y+this._overlayRect.height)}px`}else r.top=lt(o.y);return r}_getExactOverlayX(n,e,i){let r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i));let s;if(this._isRtl()?s=n.overlayX==="end"?"left":"right":s=n.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;r.right=`${a-(o.x+this._overlayRect.width)}px`}else r.left=lt(o.x);return r}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:QS(n,i),isOriginOutsideView:tb(n,i),isOverlayClipped:QS(e,i),isOverlayOutsideView:tb(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){let n=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+n-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Ks(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){let n=this._origin;if(n instanceof j)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}};tM="cdk-global-overlay-wrapper",ob=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(tM),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=(r==="100%"||r==="100vw")&&(!s||s==="100%"||s==="100vw"),c=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),d=this._xPosition,u=this._xOffset,m=this._overlayRef.getConfig().direction==="rtl",h="",v="",b="";l?b="flex-start":d==="center"?(b="center",m?v=u:h=u):m?d==="left"||d==="end"?(b="flex-end",h=u):(d==="right"||d==="start")&&(b="flex-start",v=u):d==="left"||d==="start"?(b="flex-start",h=u):(d==="right"||d==="end")&&(b="flex-end",v=u),n.position=this._cssPosition,n.marginLeft=l?"0":h,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":v,e.justifyContent=b,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(tM),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},J2=(()=>{class t{constructor(e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new ob}flexibleConnectedTo(e){return new rb(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static{this.\u0275fac=function(i){return new(i||t)(g(na),g(z),g(ke),g(oa))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),eU=0,ut=(()=>{class t{constructor(e,i,r,o,s,a,l,c,d,u,m,h){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=d,this._location=u,this._outsideClickDispatcher=m,this._animationsModuleType=h}create(e){let i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new ra(e);return s.direction=s.direction||this._directionality.value,new Ui(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(Ct))}position(){return this._positionBuilder}_createPaneElement(e){let i=this._document.createElement("div");return i.id=`cdk-overlay-${eU++}`,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(_n)),new Zf(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static{this.\u0275fac=function(i){return new(i||t)(g(Y2),g(oa),g(en),g(J2),g(K2),g(Me),g(k),g(z),g(kt),g(Zn),g(Q2),g(rt,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),tU=[{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"}],iM=new w("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=y(ut);return()=>t.scrollStrategies.reposition()}}),Gl=(()=>{class t{constructor(e){this.elementRef=e}static{this.\u0275fac=function(i){return new(i||t)(p(j))}}static{this.\u0275dir=V({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}}return t})(),sb=(()=>{class t{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}constructor(e,i,r,o,s){this._overlay=e,this._dir=s,this._backdropSubscription=_e.EMPTY,this._attachSubscription=_e.EMPTY,this._detachSubscription=_e.EMPTY,this._positionSubscription=_e.EMPTY,this._disposeOnNavigation=!1,this._ngZone=y(k),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new P,this.positionChange=new P,this.attach=new P,this.detach=new P,this.overlayKeydown=new P,this.overlayOutsideClick=new P,this._templatePortal=new Ao(i,r),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=tU);let e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!Bt(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let r=this._getOriginElement(),o=sn(i);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new ra({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){let i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof Gl?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Gl?this.origin.elementRef.nativeElement:this.origin instanceof j?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(cm(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)(p(ut),p(Jt),p(Rt),p(iM),p(kt,8))}}static{this.\u0275dir=V({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",Ae],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",Ae],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",Ae],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",Ae],push:[2,"cdkConnectedOverlayPush","push",Ae],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",Ae]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[vt,Ve]})}}return t})();iU={provide:iM,deps:[ut],useFactory:nU},Rr=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({providers:[ut,iU],imports:[ni,To,Qy,Qy]})}}return t})()});function ql(t,n){return{type:le.Trigger,name:t,definitions:n,options:{}}}function Yl(t,n=null){return{type:le.Animate,styles:n,timings:t}}function rM(t,n=null){return{type:le.Sequence,steps:t,options:n}}function si(t){return{type:le.Style,styles:t,offset:null}}function Jf(t,n,e){return{type:le.State,name:t,styles:n,options:e}}function sa(t,n,e=null){return{type:le.Transition,expr:t,animation:n,options:e}}function oM(t=null){return{type:le.AnimateChild,options:t}}function sM(t,n,e=null){return{type:le.Query,selector:t,animation:n,options:e}}var le,oi,kr,Wl,eh,th=f(()=>{"use strict";le=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(le||{}),oi="*";kr=class{constructor(n=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},Wl=class{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;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(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){let e=n*this.totalTime;this.players.forEach(i=>{let r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){let n=this.players.reduce((e,i)=>e===null||i.totalTime>e.totalTime?i:e,null);return n!=null?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},eh="!"});function oU(t){return()=>t.scrollStrategies.reposition({scrollThrottle:cM})}function aU(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var rU,cM,dM,sU,lU,aM,lM,cU,dU,uU,fU,ai,hU,aa,zi=f(()=>{"use strict";dt();ji();Dr();I();I();me();Vt();Vt();Ln();Ln();Cn();Or();Or();Hl();Re();Ar();Pn();rU=["tooltip"],cM=20,dM=new w("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=y(ut);return()=>t.scrollStrategies.reposition({scrollThrottle:cM})}});sU={provide:dM,deps:[ut],useFactory:oU};lU=new w("mat-tooltip-default-options",{providedIn:"root",factory:aU}),aM="tooltip-panel",lM=wr({passive:!0}),cU=8,dU=8,uU=24,fU=200,ai=(()=>{class t{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=Ys(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let i=Ys(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=Ir(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Ir(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}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)}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(e,i,r,o,s,a,l,c,d,u,m,h){this._overlay=e,this._elementRef=i,this._scrollDispatcher=r,this._viewContainerRef=o,this._ngZone=s,this._platform=a,this._ariaDescriber=l,this._focusMonitor=c,this._dir=u,this._defaultOptions=m,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=hU,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._touchstartTimeout=null,this._destroyed=new R,this._injector=y(Me),this._scrollStrategy=d,this._document=h,m&&(this._showDelay=m.showDelay,this._hideDelay=m.hideDelay,m.position&&(this.position=m.position),m.positionAtOrigin&&(this.positionAtOrigin=m.positionAtOrigin),m.touchGestures&&(this.touchGestures=m.touchGestures),m.tooltipClass&&(this.tooltipClass=m.tooltipClass)),u.change.pipe(he(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=cU}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(he(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,lM)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),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 Tr(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(he(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 o=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&o._origin instanceof j)return this._overlayRef;this._detach()}let i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return r.positionChanges.pipe(he(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${aM}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(he(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(he(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(he(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&o.keyCode===27&&!Bt(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),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(x(x({},r.main),o.main)),this._addOffset(x(x({},r.fallback),o.fallback))])}_addOffset(e){let i=dU,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(),kn(()=>{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}-${aM}-`;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,lM)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){let i=this._document.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._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}static{this.\u0275fac=function(i){return new(i||t)(p(ut),p(j),p(ta),p(Rt),p(k),p(ke),p(_S),p(Sr),p(dM),p(kt),p(lU,8),p(z))}}static{this.\u0275dir=V({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,r){i&2&&de("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"],standalone:!0})}}return t})(),hU=(()=>{class t{constructor(e,i,r){this._changeDetectorRef=e,this._elementRef=i,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new R,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=r==="NoopAnimations"}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>uU&&e.width>=fU}_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{this.\u0275fac=function(i){return new(i||t)(p(et),p(j),p(rt,8))}}static{this.\u0275cmp=Y({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(i,r){if(i&1&&Be(rU,7),i&2){let o;Ce(o=we())&&(r._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(i,r){i&1&&te("mouseleave",function(s){return r._handleMouseLeave(s)})},standalone:!0,features:[Ee],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=Oe();D(0,"div",1,0),te("animationend",function(a){return ge(o),ve(r._handleAnimationEnd(a))}),D(2,"div",2),ne(3),A()()}i&2&&(de("mdc-tooltip--multiline",r._isMultiline),S("ngClass",r.tooltipClass),C(3),st(r.message))},dependencies:[pr],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(--mdc-plain-tooltip-container-color, var(--mat-app-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-app-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-app-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-app-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-app-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-app-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-app-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-app-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.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}'],encapsulation:2,changeDetection:0})}}return t})(),aa=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({providers:[sU],imports:[Bf,at,Rr,Ke,Ke,ea]})}}return t})()});var lb,uM,fM=f(()=>{"use strict";I();I();Re();dt();lb=class{constructor(n){this._box=n,this._destroyed=new R,this._resizeSubject=new R,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new Z(e=>{let i=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),i.unsubscribe(),this._elementObservables.delete(n)}}).pipe(xe(e=>e.some(i=>i.target===n)),io({bufferSize:1,refCount:!0}),he(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},uM=(()=>{class t{constructor(){this._observers=new Map,this._ngZone=y(k),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(e,i){let r=i?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new lb(r)),this._observers.get(r).observe(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});function EU(t,n){t&1&&ee(0,"span",21)}function DU(t,n){if(t&1&&(D(0,"label",20),Ge(1,1),ie(2,EU,1,0,"span",21),A()),t&2){let e=$(2);S("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),Ie("for",e._control.disableAutomaticLabeling?null:e._control.id),C(2),ot(!e.hideRequiredMarker&&e._control.required?2:-1)}}function IU(t,n){if(t&1&&ie(0,DU,3,5,"label",20),t&2){let e=$();ot(e._hasFloatingLabel()?0:-1)}}function SU(t,n){t&1&&ee(0,"div",7)}function MU(t,n){}function AU(t,n){if(t&1&&ie(0,MU,0,0,"ng-template",13),t&2){$(2);let e=qt(1);S("ngTemplateOutlet",e)}}function TU(t,n){if(t&1&&(D(0,"div",9),ie(1,AU,1,1,null,13),A()),t&2){let e=$();S("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),C(),ot(e._forceDisplayInfixLabel()?-1:1)}}function RU(t,n){t&1&&(D(0,"div",10,2),Ge(2,2),A())}function OU(t,n){t&1&&(D(0,"div",11,3),Ge(2,3),A())}function kU(t,n){}function FU(t,n){if(t&1&&ie(0,kU,0,0,"ng-template",13),t&2){$();let e=qt(1);S("ngTemplateOutlet",e)}}function NU(t,n){t&1&&(D(0,"div",14,4),Ge(2,4),A())}function LU(t,n){t&1&&(D(0,"div",15,5),Ge(2,5),A())}function PU(t,n){t&1&&ee(0,"div",16)}function jU(t,n){if(t&1&&(D(0,"div",18),Ge(1,6),A()),t&2){let e=$();S("@transitionMessages",e._subscriptAnimationState)}}function VU(t,n){if(t&1&&(D(0,"mat-hint",22),ne(1),A()),t&2){let e=$(2);S("id",e._hintLabelId),C(),st(e.hintLabel)}}function BU(t,n){if(t&1&&(D(0,"div",19),ie(1,VU,2,2,"mat-hint",22),Ge(2,7),ee(3,"div",23),Ge(4,8),A()),t&2){let e=$();S("@transitionMessages",e._subscriptAnimationState),C(),ot(e.hintLabel?1:-1)}}function GU(t){let n=t;if(n.offsetParent!==null)return n.scrollWidth;let e=n.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 pU,mU,gU,vU,yU,bU,_U,xU,CU,wU,la,UU,zU,hM,$U,HU,xM,pM,mM,nh,gM,vM,WU,cb,db,qU,yM,bM,YU,_M,KU,ih,rh,Ql=f(()=>{"use strict";I();I();Cn();ji();Vt();me();Re();dt();fM();th();wy();Pn();pU=["notch"],mU=["matFormFieldNotchedOutline",""],gU=["*"],vU=["textField"],yU=["iconPrefixContainer"],bU=["textPrefixContainer"],_U=["iconSuffixContainer"],xU=["textSuffixContainer"],CU=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],wU=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];la=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=V({type:t,selectors:[["mat-label"]],standalone:!0})}}return t})(),UU=new w("MatError"),zU=0,hM=(()=>{class t{constructor(){this.align="start",this.id=`mat-mdc-hint-${zU++}`}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=V({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,r){i&2&&(hr("id",r.id),Ie("align",null),de("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0})}}return t})(),$U=new w("MatPrefix"),HU=new w("MatSuffix"),xM=new w("FloatingLabelParent"),pM=(()=>{class t{get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(e){this._elementRef=e,this._floating=!1,this._monitorResize=!1,this._resizeObserver=y(uM),this._ngZone=y(k),this._parent=y(xM),this._resizeSubscription=new _e}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return GU(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{this.\u0275fac=function(i){return new(i||t)(p(j))}}static{this.\u0275dir=V({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,r){i&2&&de("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}}return t})();mM="mdc-line-ripple--active",nh="mdc-line-ripple--deactivating",gM=(()=>{class t{constructor(e,i){this._elementRef=e,this._handleTransitionEnd=r=>{let o=this._elementRef.nativeElement.classList,s=o.contains(nh);r.propertyName==="opacity"&&s&&o.remove(mM,nh)},i.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(nh),e.add(mM)}deactivate(){this._elementRef.nativeElement.classList.add(nh)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(k))}}static{this.\u0275dir=V({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}}return t})(),vM=(()=>{class t{constructor(e,i){this._elementRef=e,this._ngZone=i,this.open=!1}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(k))}}static{this.\u0275cmp=Y({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,r){if(i&1&&Be(pU,5),i&2){let o;Ce(o=we())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,r){i&2&&de("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[Ee],attrs:mU,ngContentSelectors:gU,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&&(on(),ee(0,"div",1),D(1,"div",2,0),Ge(3),A(),ee(4,"div",3))},encapsulation:2,changeDetection:0})}}return t})(),WU={transitionMessages:ql("transitionMessages",[Jf("enter",si({opacity:1,transform:"translateY(0%)"})),sa("void => enter",[si({opacity:0,transform:"translateY(-5px)"}),Yl("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},cb=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=V({type:t})}}return t})(),db=new w("MatFormField"),qU=new w("MAT_FORM_FIELD_DEFAULT_OPTIONS"),yM=0,bM="fill",YU="auto",_M="fixed",KU="translateY(-50%)",ih=(()=>{class t{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Ys(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||YU}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){let i=this._appearance,r=e||this._defaults?.appearance||bM;this._appearance=r,this._appearance==="outline"&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdate=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||_M}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||_M}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,i,r,o,s,a,l,c){this._elementRef=e,this._changeDetectorRef=i,this._dir=o,this._platform=s,this._defaults=a,this._animationMode=l,this._labelChild=vD(la),this._hideRequiredMarker=!1,this.color="primary",this._appearance=bM,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${yM++}`,this._hintLabelId=`mat-mdc-hint-${yM++}`,this._subscriptAnimationState="",this._destroyed=new R,this._isFocused=null,this._needsOutlineLabelOffsetUpdate=!1,this._previousControl=null,this._injector=y(Me),this.getLabelId=Mi(()=>this._hasFloatingLabel()?this._labelId:null),this._hasFloatingLabel=Mi(()=>!!this._labelChild()),a&&(a.appearance&&(this.appearance=a.appearance),this._hideRequiredMarker=!!a?.hideRequiredMarker,a.color&&(this.color=a.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._previousControl=this._control)}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let i=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),i.controlType&&this._elementRef.nativeElement.classList.add(r+i.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=i.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._valueChanges?.unsubscribe(),i.ngControl&&i.ngControl.valueChanges&&(this._valueChanges=i.ngControl.valueChanges.pipe(he(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(),St(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),fl(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(he(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&&i[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let i=this._hintChildren?this._hintChildren.find(o=>o.align==="start"):null,r=this._hintChildren?this._hintChildren.find(o=>o.align==="end"):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let i=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,o=this._iconSuffixContainer?.nativeElement,s=this._textSuffixContainer?.nativeElement,a=i?.getBoundingClientRect().width??0,l=r?.getBoundingClientRect().width??0,c=o?.getBoundingClientRect().width??0,d=s?.getBoundingClientRect().width??0,u=this._dir.value==="rtl"?"-1":"1",m=`${a+l}px`,v=`calc(${u} * (${m} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var(
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=e})});function Wr(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var $c=f(()=>{"use strict"});function Hc(t){return t instanceof _e||t&&"closed"in t&&q(t.remove)&&q(t.add)&&q(t.unsubscribe)}function B0(t){q(t)?t():t.unsubscribe()}var _e,gp,qr=f(()=>{"use strict";lt();V0();$c();_e=class t{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let o of e)o.remove(this);else e.remove(this);let{initialTeardown:i}=this;if(q(i))try{i()}catch(o){n=o instanceof zc?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{B0(o)}catch(s){n=n??[],s instanceof zc?n=[...n,...s.errors]:n.push(s)}}if(n)throw new zc(n)}}add(n){var e;if(n&&n!==this)if(this.closed)B0(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(n)}}_hasParent(n){let{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){let{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&Wr(e,n)}remove(n){let{_finalizers:e}=this;e&&Wr(e,n),n instanceof t&&n._removeParent(this)}};_e.EMPTY=(()=>{let t=new _e;return t.closed=!0,t})();gp=_e.EMPTY});var Sn,Na=f(()=>{"use strict";Sn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}});var Zo,vp=f(()=>{"use strict";Zo={setTimeout(t,n,...e){let{delegate:i}=Zo;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=Zo;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0}});function Gc(t){Zo.setTimeout(()=>{let{onUnhandledError:n}=Sn;if(n)n(t);else throw t})}var yp=f(()=>{"use strict";Na();vp()});function La(){}var bp=f(()=>{"use strict"});function z0(t){return _p("E",void 0,t)}function $0(t){return _p("N",t,void 0)}function _p(t,n,e){return{kind:t,value:n,error:e}}var U0,H0=f(()=>{"use strict";U0=_p("C",void 0,void 0)});function Xo(t){if(Sn.useDeprecatedSynchronousErrorHandling){let n=!Yr;if(n&&(Yr={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:i}=Yr;if(Yr=null,e)throw i}}else t()}function G0(t){Sn.useDeprecatedSynchronousErrorHandling&&Yr&&(Yr.errorThrown=!0,Yr.error=t)}var Yr,Wc=f(()=>{"use strict";Na();Yr=null});function xp(t,n){return _F.call(t,n)}function qc(t){Sn.useDeprecatedSynchronousErrorHandling?G0(t):Gc(t)}function xF(t){throw t}function Cp(t,n){let{onStoppedNotification:e}=Sn;e&&Zo.setTimeout(()=>e(t,n))}var Kr,_F,wp,fi,CF,Yc=f(()=>{"use strict";lt();qr();Na();yp();bp();H0();vp();Wc();Kr=class extends _e{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Hc(n)&&n.add(this)):this.destination=CF}static create(n,e,i){return new fi(n,e,i)}next(n){this.isStopped?Cp($0(n),this):this._next(n)}error(n){this.isStopped?Cp(z0(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Cp(U0,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},_F=Function.prototype.bind;wp=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){qc(i)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){qc(i)}else qc(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){qc(e)}}},fi=class extends Kr{constructor(n,e,i){super();let r;if(q(n)||!n)r={next:n??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&Sn.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&xp(n.next,o),error:n.error&&xp(n.error,o),complete:n.complete&&xp(n.complete,o)}):r=n}this.destination=new wp(r)}};CF={closed:!0,next:La,error:xF,complete:La}});var Jo,Kc=f(()=>{"use strict";Jo=typeof Symbol=="function"&&Symbol.observable||"@@observable"});function kt(t){return t}var qi=f(()=>{"use strict"});function Ep(...t){return Dp(t)}function Dp(t){return t.length===0?kt:t.length===1?t[0]:function(e){return t.reduce((i,r)=>r(i),e)}}var Ip=f(()=>{"use strict";qi()});function W0(t){var n;return(n=t??Sn.Promise)!==null&&n!==void 0?n:Promise}function wF(t){return t&&q(t.next)&&q(t.error)&&q(t.complete)}function EF(t){return t&&t instanceof Kr||wF(t)&&Hc(t)}var Q,It=f(()=>{"use strict";Yc();qr();Kc();Ip();Na();lt();Wc();Q=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,r){let o=EF(e)?e:new fi(e,i,r);return Xo(()=>{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=W0(i),new i((r,o)=>{let s=new fi({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)}[Jo](){return this}pipe(...e){return Dp(e)(this)}toPromise(e){return e=W0(e),new e((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return t.create=n=>new t(n),t})()});function Sp(t){return q(t?.lift)}function re(t){return n=>{if(Sp(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}var We=f(()=>{"use strict";lt()});function te(t,n,e,i,r){return new Mp(t,n,e,i,r)}var Mp,tt=f(()=>{"use strict";Yc();Mp=class extends Kr{constructor(n,e,i,r,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}}});function es(){return re((t,n)=>{let e=null;t._refCount++;let i=te(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){e=null;return}let r=t._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}var Ap=f(()=>{"use strict";We();tt()});var Qr,q0=f(()=>{"use strict";It();qr();Ap();tt();We();Qr=class extends Q{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Sp(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new _e;let e=this.getSubject();n.add(this.source.subscribe(te(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=_e.EMPTY)}return n}refCount(){return es()(this)}}});var Y0,K0=f(()=>{"use strict";Uc();Y0=Qo(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"})});var R,Qc,Pa=f(()=>{"use strict";It();qr();K0();$c();Wc();R=(()=>{class t extends Q{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let i=new Qc(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new Y0}next(e){Xo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(e)}})}error(e){Xo(()=>{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(){Xo(()=>{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?gp:(this.currentObservers=null,o.push(e),new _e(()=>{this.currentObservers=null,Wr(o,e)}))}_checkFinalizedStatuses(e){let{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){let e=new Q;return e.source=this,e}}return t.create=(n,e)=>new Qc(n,e),t})(),Qc=class extends R{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.next)===null||i===void 0||i.call(e,n)}error(n){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.error)===null||i===void 0||i.call(e,n)}complete(){var n,e;(e=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||e===void 0||e.call(n)}_subscribe(n){var e,i;return(i=(e=this.source)===null||e===void 0?void 0:e.subscribe(n))!==null&&i!==void 0?i:gp}}});var it,Q0=f(()=>{"use strict";Pa();it=class extends R{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){let{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}});var ja,Tp=f(()=>{"use strict";ja={now(){return(ja.delegate||Date).now()},delegate:void 0}});var Zr,Rp=f(()=>{"use strict";Pa();Tp();Zr=class extends R{constructor(n=1/0,e=1/0,i=ja){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){let{isStopped:e,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;e||(i.push(n),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;s<o.length&&!n.closed;s+=i?1:2)n.next(o[s]);return this._checkFinalizedStatuses(n),e}_trimBuffer(){let{_bufferSize:n,_timestampProvider:e,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*n;if(n<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 Zc,Z0=f(()=>{"use strict";qr();Zc=class extends _e{constructor(n,e){super()}schedule(n,e=0){return this}}});var Va,X0=f(()=>{"use strict";Va={setInterval(t,n,...e){let{delegate:i}=Va;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){let{delegate:n}=Va;return(n?.clearInterval||clearInterval)(t)},delegate:void 0}});var Xc,J0=f(()=>{"use strict";Z0();X0();$c();Xc=class extends Zc{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var i;if(this.closed)return this;this.state=n;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(n,e,i=0){return Va.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(i!=null&&this.delay===i&&this.pending===!1)return e;e!=null&&Va.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let i=this._execute(n,e);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let i=!1,r;try{this.work(n)}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:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,Wr(i,this),n!=null&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}}});var ts,ex=f(()=>{"use strict";Tp();ts=class t{constructor(n,e=t.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}};ts.now=ja.now});var Jc,tx=f(()=>{"use strict";ex();Jc=class extends ts{constructor(n,e=ts.now){super(n,e),this.actions=[],this._active=!1}flush(n){let{actions:e}=this;if(this._active){e.push(n);return}let i;this._active=!0;do if(i=n.execute(n.state,n.delay))break;while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}}});var Ba,nx,ed=f(()=>{"use strict";J0();tx();Ba=new Jc(Xc),nx=Ba});var Nt,Ua=f(()=>{"use strict";It();Nt=new Q(t=>t.complete())});function td(t){return t&&q(t.schedule)}var Op=f(()=>{"use strict";lt()});function Fp(t){return t[t.length-1]}function nd(t){return q(Fp(t))?t.pop():void 0}function zn(t){return td(Fp(t))?t.pop():void 0}function ix(t,n){return typeof Fp(t)=="number"?t.pop():n}var Xr=f(()=>{"use strict";lt();Op()});function ox(t,n,e,i){function r(o){return o instanceof e?o:new e(function(s){s(o)})}return new(e||(e=Promise))(function(o,s){function a(d){try{c(i.next(d))}catch(u){s(u)}}function l(d){try{c(i.throw(d))}catch(u){s(u)}}function c(d){d.done?o(d.value):r(d.value).then(a,l)}c((i=i.apply(t,n||[])).next())})}function rx(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Jr(t){return this instanceof Jr?(this.v=t,this):new Jr(t)}function sx(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=e.apply(t,n||[]),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(h){return function(v){return Promise.resolve(v).then(h,u)}}function a(h,v){i[h]&&(r[h]=function(b){return new Promise(function(E,S){o.push([h,b,E,S])>1||l(h,b)})},v&&(r[h]=v(r[h])))}function l(h,v){try{c(i[h](v))}catch(b){m(o[0][3],b)}}function c(h){h.value instanceof Jr?Promise.resolve(h.value.v).then(d,u):m(o[0][2],h)}function d(h){l("next",h)}function u(h){l("throw",h)}function m(h,v){h(v),o.shift(),o.length&&l(o[0][0],o[0][1])}}function ax(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],e;return n?n.call(t):(t=typeof rx=="function"?rx(t):t[Symbol.iterator](),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=t[o]&&function(s){return new Promise(function(a,l){s=t[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 kp=f(()=>{"use strict"});var ns,id=f(()=>{"use strict";ns=t=>t&&typeof t.length=="number"&&typeof t!="function"});function rd(t){return q(t?.then)}var Np=f(()=>{"use strict";lt()});function od(t){return q(t[Jo])}var Lp=f(()=>{"use strict";Kc();lt()});function sd(t){return Symbol.asyncIterator&&q(t?.[Symbol.asyncIterator])}var Pp=f(()=>{"use strict";lt()});function ad(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}var jp=f(()=>{"use strict"});function DF(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ld,Vp=f(()=>{"use strict";ld=DF()});function cd(t){return q(t?.[ld])}var Bp=f(()=>{"use strict";Vp();lt()});function dd(t){return sx(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:i,done:r}=yield Jr(e.read());if(r)return yield Jr(void 0);yield yield Jr(i)}}finally{e.releaseLock()}})}function ud(t){return q(t?.getReader)}var fd=f(()=>{"use strict";kp();lt()});function ke(t){if(t instanceof Q)return t;if(t!=null){if(od(t))return IF(t);if(ns(t))return SF(t);if(rd(t))return MF(t);if(sd(t))return lx(t);if(cd(t))return AF(t);if(ud(t))return TF(t)}throw ad(t)}function IF(t){return new Q(n=>{let e=t[Jo]();if(q(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function SF(t){return new Q(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}function MF(t){return new Q(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,Gc)})}function AF(t){return new Q(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function lx(t){return new Q(n=>{RF(t,n).catch(e=>n.error(e))})}function TF(t){return lx(dd(t))}function RF(t,n){var e,i,r,o;return ox(this,void 0,void 0,function*(){try{for(e=ax(t);i=yield e.next(),!i.done;){let s=i.value;if(n.next(s),n.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}}n.complete()})}var Lt=f(()=>{"use strict";kp();id();Np();It();Lp();Pp();jp();Bp();fd();lt();yp();Kc()});function zt(t,n,e,i=0,r=!1){let o=n.schedule(function(){e(),r?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(o),!r)return o}var is=f(()=>{"use strict"});function hd(t,n=0){return re((e,i)=>{e.subscribe(te(i,r=>zt(i,t,()=>i.next(r),n),()=>zt(i,t,()=>i.complete(),n),r=>zt(i,t,()=>i.error(r),n)))})}var Up=f(()=>{"use strict";is();We();tt()});function pd(t,n=0){return re((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}var zp=f(()=>{"use strict";We()});function cx(t,n){return ke(t).pipe(pd(n),hd(n))}var dx=f(()=>{"use strict";Lt();Up();zp()});function ux(t,n){return ke(t).pipe(pd(n),hd(n))}var fx=f(()=>{"use strict";Lt();Up();zp()});function hx(t,n){return new Q(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}var px=f(()=>{"use strict";It()});function mx(t,n){return new Q(e=>{let i;return zt(e,n,()=>{i=t[ld](),zt(e,n,()=>{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 gx=f(()=>{"use strict";It();Vp();lt();is()});function md(t,n){if(!t)throw new Error("Iterable cannot be null");return new Q(e=>{zt(e,n,()=>{let i=t[Symbol.asyncIterator]();zt(e,n,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}var $p=f(()=>{"use strict";It();is()});function vx(t,n){return md(dd(t),n)}var yx=f(()=>{"use strict";$p();fd()});function bx(t,n){if(t!=null){if(od(t))return cx(t,n);if(ns(t))return hx(t,n);if(rd(t))return ux(t,n);if(sd(t))return md(t,n);if(cd(t))return mx(t,n);if(ud(t))return vx(t,n)}throw ad(t)}var _x=f(()=>{"use strict";dx();fx();px();gx();$p();Lp();Np();id();Bp();Pp();jp();fd();yx()});function Ne(t,n){return n?bx(t,n):ke(t)}var rs=f(()=>{"use strict";_x();Lt()});function O(...t){let n=zn(t);return Ne(t,n)}var xx=f(()=>{"use strict";Xr();rs()});function Yi(t,n){let e=q(t)?t:()=>t,i=r=>r.error(e());return new Q(n?r=>n.schedule(i,0,r):i)}var Cx=f(()=>{"use strict";It();lt()});function pn(t){return!!t&&(t instanceof Q||q(t.lift)&&q(t.subscribe))}var wx=f(()=>{"use strict";It();lt()});var hi,za=f(()=>{"use strict";Uc();hi=Qo(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"})});function Ex(t){return t instanceof Date&&!isNaN(t)}var Dx=f(()=>{"use strict"});function k(t,n){return re((e,i)=>{let r=0;e.subscribe(te(i,o=>{i.next(t.call(n,o,r++))}))})}var os=f(()=>{"use strict";We();tt()});function FF(t,n){return OF(n)?t(...n):t(n)}function ss(t){return k(n=>FF(t,n))}var OF,gd=f(()=>{"use strict";os();({isArray:OF}=Array)});function vd(t){if(t.length===1){let n=t[0];if(kF(n))return{args:n,keys:null};if(jF(n)){let e=PF(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}function jF(t){return t&&typeof t=="object"&&NF(t)===LF}var kF,NF,LF,PF,Hp=f(()=>{"use strict";({isArray:kF}=Array),{getPrototypeOf:NF,prototype:LF,keys:PF}=Object});function yd(t,n){return t.reduce((e,i,r)=>(e[i]=n[r],e),{})}var Gp=f(()=>{"use strict"});function eo(...t){let n=zn(t),e=nd(t),{args:i,keys:r}=vd(t);if(i.length===0)return Ne([],n);let o=new Q(VF(i,n,r?s=>yd(r,s):kt));return e?o.pipe(ss(e)):o}function VF(t,n,e=kt){return i=>{Ix(n,()=>{let{length:r}=t,o=new Array(r),s=r,a=r;for(let l=0;l<r;l++)Ix(n,()=>{let c=Ne(t[l],n),d=!1;c.subscribe(te(i,u=>{o[l]=u,d||(d=!0,a--),a||i.next(e(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}function Ix(t,n,e){t?zt(e,t,n):n()}var Sx=f(()=>{"use strict";It();Hp();rs();qi();gd();Xr();Gp();tt();is()});function Mx(t,n,e,i,r,o,s,a){let l=[],c=0,d=0,u=!1,m=()=>{u&&!l.length&&!c&&n.complete()},h=b=>c<i?v(b):l.push(b),v=b=>{o&&n.next(b),c++;let E=!1;ke(e(b,d++)).subscribe(te(n,S=>{r?.(S),o?h(S):n.next(S)},()=>{E=!0},void 0,()=>{if(E)try{for(c--;l.length&&c<i;){let S=l.shift();s?zt(n,s,()=>v(S)):v(S)}m()}catch(S){n.error(S)}}))};return t.subscribe(te(n,h,()=>{u=!0,m()})),()=>{a?.()}}var Ax=f(()=>{"use strict";Lt();is();tt()});function He(t,n,e=1/0){return q(n)?He((i,r)=>k((o,s)=>n(i,o,r,s))(ke(t(i,r))),e):(typeof n=="number"&&(e=n),re((i,r)=>Mx(i,r,t,e)))}var as=f(()=>{"use strict";os();Lt();We();Ax();lt()});function Ki(t=1/0){return He(kt,t)}var bd=f(()=>{"use strict";as();qi()});function Tx(){return Ki(1)}var Rx=f(()=>{"use strict";bd()});function Mn(...t){return Tx()(Ne(t,zn(t)))}var Wp=f(()=>{"use strict";Rx();Xr();rs()});function Kt(t){return new Q(n=>{ke(t()).subscribe(n)})}var Ox=f(()=>{"use strict";It();Lt()});function to(...t){let n=nd(t),{args:e,keys:i}=vd(t),r=new Q(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 u=!1;ke(e[d]).subscribe(te(o,m=>{u||(u=!0,c--),a[d]=m},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(i?yd(i,a):a),o.complete())}))}});return n?r.pipe(ss(n)):r}var Fx=f(()=>{"use strict";It();Hp();Lt();Xr();tt();gd();Gp()});function pi(t,n,e,i){if(q(e)&&(i=e,e=void 0),i)return pi(t,n,e).pipe(ss(i));let[r,o]=GF(t)?UF.map(s=>a=>t[s](n,a,e)):$F(t)?BF.map(kx(t,n)):HF(t)?zF.map(kx(t,n)):[];if(!r&&ns(t))return He(s=>pi(s,n,e))(ke(t));if(!r)throw new TypeError("Invalid event target");return new Q(s=>{let a=(...l)=>s.next(1<l.length?l:l[0]);return r(a),()=>o(a)})}function kx(t,n){return e=>i=>t[e](n,i)}function $F(t){return q(t.addListener)&&q(t.removeListener)}function HF(t){return q(t.on)&&q(t.off)}function GF(t){return q(t.addEventListener)&&q(t.removeEventListener)}var BF,UF,zF,Nx=f(()=>{"use strict";Lt();It();as();id();lt();gd();BF=["addListener","removeListener"],UF=["addEventListener","removeEventListener"],zF=["on","off"]});function Lx(t=0,n,e=nx){let i=-1;return n!=null&&(td(n)?e=n:i=n),new Q(r=>{let o=Ex(t)?+t-e.now():t;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 Px=f(()=>{"use strict";It();ed();Op();Dx()});function St(...t){let n=zn(t),e=ix(t,1/0),i=t;return i.length?i.length===1?ke(i[0]):Ki(e)(Ne(i,n)):Nt}var jx=f(()=>{"use strict";bd();Lt();Ua();Xr();rs()});function xe(t,n){return re((e,i)=>{let r=0;e.subscribe(te(i,o=>t.call(n,o,r++)&&i.next(o)))})}var $a=f(()=>{"use strict";We();tt()});var Vx=f(()=>{"use strict"});function Bx(t){return re((n,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()};n.subscribe(te(e,c=>{i=!0,r=c,o||ke(t(c)).subscribe(o=te(e,a,l))},()=>{s=!0,(!i||!o||o.closed)&&e.complete()}))})}var Ux=f(()=>{"use strict";We();Lt();tt()});function _d(t,n=Ba){return Bx(()=>Lx(t,n))}var zx=f(()=>{"use strict";ed();Ux();Px()});function Qt(t){return re((n,e)=>{let i=null,r=!1,o;i=n.subscribe(te(e,void 0,void 0,s=>{o=ke(t(s,Qt(t)(n))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}var qp=f(()=>{"use strict";Lt();tt();We()});function $x(t,n,e,i,r){return(o,s)=>{let a=e,l=n,c=0;o.subscribe(te(s,d=>{let u=c++;l=a?t(l,d,u):(a=!0,d),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}var Hx=f(()=>{"use strict";tt()});function An(t,n){return q(n)?He(t,n,1):He(t,1)}var Gx=f(()=>{"use strict";as();lt()});function mi(t,n=Ba){return re((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+t,d=n.now();if(d<c){r=this.schedule(void 0,c-d),i.add(r);return}a()}e.subscribe(te(i,c=>{o=c,s=n.now(),r||(r=n.schedule(l,t),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}var Yp=f(()=>{"use strict";ed();We();tt()});function Qi(t){return re((n,e)=>{let i=!1;n.subscribe(te(e,r=>{i=!0,e.next(r)},()=>{i||e.next(t),e.complete()}))})}var xd=f(()=>{"use strict";We();tt()});function Ue(t){return t<=0?()=>Nt:re((n,e)=>{let i=0;n.subscribe(te(e,r=>{++i<=t&&(e.next(r),t<=i&&e.complete())}))})}var Kp=f(()=>{"use strict";Ua();We();tt()});function Qp(t){return k(()=>t)}var Wx=f(()=>{"use strict";os()});function no(t,n=kt){return t=t??WF,re((e,i)=>{let r,o=!0;e.subscribe(te(i,s=>{let a=n(s);(o||!t(r,a))&&(o=!1,r=a,i.next(s))}))})}function WF(t,n){return t===n}var qx=f(()=>{"use strict";qi();We();tt()});function Cd(t=qF){return re((n,e)=>{let i=!1;n.subscribe(te(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(t())))})}function qF(){return new hi}var Zp=f(()=>{"use strict";za();We();tt()});function $t(t){return re((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}var Xp=f(()=>{"use strict";We()});function $n(t,n){let e=arguments.length>=2;return i=>i.pipe(t?xe((r,o)=>t(r,o,i)):kt,Ue(1),e?Qi(n):Cd(()=>new hi))}var Yx=f(()=>{"use strict";za();$a();Kp();xd();Zp();qi()});function ls(t){return t<=0?()=>Nt:re((n,e)=>{let i=[];n.subscribe(te(e,r=>{i.push(r),t<i.length&&i.shift()},()=>{for(let r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}var Jp=f(()=>{"use strict";Ua();We();tt()});function em(t,n){let e=arguments.length>=2;return i=>i.pipe(t?xe((r,o)=>t(r,o,i)):kt,ls(1),e?Qi(n):Cd(()=>new hi))}var Kx=f(()=>{"use strict";za();$a();Jp();Zp();xd();qi()});function tm(t,n){return re($x(t,n,arguments.length>=2,!0))}var Qx=f(()=>{"use strict";We();Hx()});function Ha(t={}){let{connector:n=()=>new R,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=t;return o=>{let s,a,l,c=0,d=!1,u=!1,m=()=>{a?.unsubscribe(),a=void 0},h=()=>{m(),s=l=void 0,d=u=!1},v=()=>{let b=s;h(),b?.unsubscribe()};return re((b,E)=>{c++,!u&&!d&&m();let S=l=l??n();E.add(()=>{c--,c===0&&!u&&!d&&(a=nm(v,r))}),S.subscribe(E),!s&&c>0&&(s=new fi({next:B=>S.next(B),error:B=>{u=!0,m(),a=nm(h,e,B),S.error(B)},complete:()=>{d=!0,m(),a=nm(h,i),S.complete()}}),ke(b).subscribe(s))})(o)}}function nm(t,n,...e){if(n===!0){t();return}if(n===!1)return;let i=new fi({next:()=>{i.unsubscribe(),t()}});return ke(n(...e)).subscribe(i)}var im=f(()=>{"use strict";Lt();Pa();Yc();We()});function io(t,n,e){let i,r=!1;return t&&typeof t=="object"?{bufferSize:i=1/0,windowTime:n=1/0,refCount:r=!1,scheduler:e}=t:i=t??1/0,Ha({connector:()=>new Zr(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}var Zx=f(()=>{"use strict";Rp();im()});function Ga(t){return xe((n,e)=>t<=e)}var Xx=f(()=>{"use strict";$a()});function Zt(...t){let n=zn(t);return re((e,i)=>{(n?Mn(t,e,n):Mn(t,e)).subscribe(i)})}var Jx=f(()=>{"use strict";Wp();Xr();We()});function qe(t,n){return re((e,i)=>{let r=null,o=0,s=!1,a=()=>s&&!r&&i.complete();e.subscribe(te(i,l=>{r?.unsubscribe();let c=0,d=o++;ke(t(l,d)).subscribe(r=te(i,u=>i.next(n?n(l,u,d,c++):u),()=>{r=null,a()}))},()=>{s=!0,a()}))})}var eC=f(()=>{"use strict";Lt();We();tt()});function fe(t){return re((n,e)=>{ke(t).subscribe(te(e,()=>e.complete(),La)),!e.closed&&n.subscribe(e)})}var rm=f(()=>{"use strict";We();tt();Lt();bp()});function om(t,n=!1){return re((e,i)=>{let r=0;e.subscribe(te(i,o=>{let s=t(o,r++);(s||n)&&i.next(o),!s&&i.complete()}))})}var tC=f(()=>{"use strict";We();tt()});function Le(t,n,e){let i=q(t)||n||e?{next:t,error:n,complete:e}:t;return i?re((r,o)=>{var s;(s=i.subscribe)===null||s===void 0||s.call(i);let a=!0;r.subscribe(te(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)}))}):kt}var sm=f(()=>{"use strict";lt();We();tt();qi()});var Re=f(()=>{"use strict";It();q0();Pa();Q0();Rp();qr();Ip();wx();za();Sx();Wp();Ox();Fx();rs();Nx();jx();xx();Cx();Ua();Vx();qp();Yp();Xp();os();as();rm();sm()});var ct=f(()=>{"use strict";zx();qp();Gx();Yp();xd();qx();$a();Xp();Yx();Kx();os();Wx();bd();as();Ap();Qx();im();Zx();Xx();Jx();eC();Kp();Jp();rm();tC();sm()});function cu(t,n){return`${`NG0${Math.abs(t)}`}${n?": "+n:""}`}function il(t){return{toString:t}.toString()}function YF(t){return function(...e){if(t){let i=t(...e);for(let r in i)this[r]=i[r]}}}function qC(t,n,e){return il(()=>{let i=YF(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;let s=new r(...o);return a.annotation=s,a;function a(l,c,d){let u=l.hasOwnProperty(wd)?l[wd]:Object.defineProperty(l,wd,{value:[]})[wd];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),l}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}function je(t){for(let n in t)if(t[n]===je)return n;throw Error("Could not find renamed property on target object.")}function KF(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function jt(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(jt).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let n=t.toString();if(n==null)return""+n;let e=n.indexOf(`
4
+ `);return e===-1?n:n.substring(0,e)}function _m(t,n){return t==null||t===""?n===null?"":n:n==null||n===""?t:t+" "+n}function ar(t){return t.__forward_ref__=ar,t.toString=function(){return jt(this())},t}function xt(t){return YC(t)?t():t}function YC(t){return typeof t=="function"&&t.hasOwnProperty(QF)&&t.__forward_ref__===ar}function _(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function N(t){return{providers:t.providers||[],imports:t.imports||[]}}function du(t){return nC(t,QC)||nC(t,ZC)}function KC(t){return du(t)!==null}function nC(t,n){return t.hasOwnProperty(n)?t[n]:null}function ZF(t){let n=t&&(t[QC]||t[ZC]);return n||null}function iC(t){return t&&(t.hasOwnProperty(rC)||t.hasOwnProperty(XF))?t[rC]:null}function XC(t){return t&&!!t.\u0275providers}function oo(t){return typeof t=="string"?t:t==null?"":String(t)}function ik(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():oo(t)}function rk(t,n){let e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new M(-200,t)}function Rg(t,n){throw new M(-201,!1)}function JC(){return xm}function Ht(t){let n=xm;return xm=t,n}function ew(t,n,e){let i=du(t);if(i&&i.providedIn=="root")return i.value===void 0?i.value=i.factory():i.value;if(e&he.Optional)return null;if(n!==void 0)return n;Rg(t,"Injector")}function ck(){return hs}function Zi(t){let n=hs;return hs=t,n}function dk(t,n=he.Default){if(hs===void 0)throw new M(-203,!1);return hs===null?ew(t,void 0,n):hs.get(t,n&he.Optional?null:void 0,n)}function g(t,n=he.Default){return(JC()||dk)(xt(t),n)}function y(t,n=he.Default){return g(t,uu(n))}function uu(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function wm(t){let n=[];for(let e=0;e<t.length;e++){let i=xt(t[e]);if(Array.isArray(i)){if(i.length===0)throw new M(900,!1);let r,o=he.Default;for(let s=0;s<i.length;s++){let a=i[s],l=uk(a);typeof l=="number"?l===-1?r=a.token:o|=l:r=a}n.push(g(r,o))}else n.push(g(i))}return n}function tw(t,n){return t[Cm]=n,t.prototype[Cm]=n,t}function uk(t){return t[Cm]}function fk(t,n,e,i){let r=t[jd];throw n[sC]&&r.unshift(n[sC]),t.message=hk(`
5
+ `+t.message,r,e,i),t[sk]=r,t[jd]=null,t}function hk(t,n,e,i=null){t=t&&t.charAt(0)===`
6
+ `&&t.charAt(1)==lk?t.slice(2):t;let r=jt(n);if(Array.isArray(n))r=n.map(jt).join(" -> ");else if(typeof n=="object"){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):jt(a)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${t.replace(ak,`
7
+ `)}`}function so(t,n){let e=t.hasOwnProperty(Pd);return e?t[Pd]:null}function pk(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i<t.length;i++){let r=t[i],o=n[i];if(e&&(r=e(r),o=e(o)),o!==r)return!1}return!0}function mk(t){return t.flat(Number.POSITIVE_INFINITY)}function Og(t,n){t.forEach(e=>Array.isArray(e)?Og(e,n):n(e))}function nw(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function Vd(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function gk(t,n){let e=[];for(let i=0;i<t;i++)e.push(n);return e}function vk(t,n,e,i){let r=t.length;if(r==n)t.push(e,i);else if(r===1)t.push(i,t[0]),t[0]=e;else{for(r--,t.push(t[r-1],t[r]);r>n;){let o=r-2;t[r]=t[o],r--}t[n]=e,t[n+1]=i}}function hu(t,n,e){let i=ol(t,n);return i>=0?t[i|1]=e:(i=~i,vk(t,i,n,e)),i}function am(t,n){let e=ol(t,n);if(e>=0)return t[e|1]}function ol(t,n){return yk(t,n,1)}function yk(t,n,e){let i=0,r=t.length>>e;for(;r!==i;){let o=i+(r-i>>1),s=t[o<<e];if(n===s)return o<<e;s>n?r=o:i=o+1}return~(r<<e)}function bk(t,n,e){let i=t.length;for(;;){let r=t.indexOf(n,e);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let o=n.length;if(r+o===i||t.charCodeAt(r+o)<=32)return r}e=r+1}}function Em(t,n,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++];t.setAttribute(n,s,a,o)}else{let o=r,s=e[++i];_k(o)?t.setProperty(n,o,s):t.setAttribute(n,o,s),i++}}return i}function sw(t){return t===3||t===4||t===6}function _k(t){return t.charCodeAt(0)===64}function Qa(t,n){if(!(n===null||n.length===0))if(t===null||t.length===0)t=n.slice();else{let e=-1;for(let i=0;i<n.length;i++){let r=n[i];typeof r=="number"?e=r:e===0||(e===-1||e===2?aC(t,e,r,null,n[++i]):aC(t,e,r,null,null))}}return t}function aC(t,n,e,i,r){let o=0,s=t.length;if(n===-1)s=-1;else for(;o<t.length;){let a=t[o++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=o-1;break}}}for(;o<t.length;){let a=t[o];if(typeof a=="number")break;if(a===e){if(i===null){r!==null&&(t[o+1]=r);return}else if(i===t[o+1]){t[o+2]=r;return}}o++,i!==null&&o++,r!==null&&o++}s!==-1&&(t.splice(s,0,n),o=s+1),t.splice(o++,0,e),i!==null&&t.splice(o++,0,i),r!==null&&t.splice(o++,0,r)}function xk(t,n,e,i){let r=0;if(i){for(;r<n.length&&typeof n[r]=="string";r+=2)if(n[r]==="class"&&bk(n[r+1].toLowerCase(),e,0)!==-1)return!0}else if(Fg(t))return!1;if(r=n.indexOf(1,r),r>-1){let o;for(;++r<n.length&&typeof(o=n[r])=="string";)if(o.toLowerCase()===e)return!0}return!1}function Fg(t){return t.type===4&&t.value!==aw}function Ck(t,n,e){let i=t.type===4&&!e?aw:t.value;return n===i}function wk(t,n,e){let i=4,r=t.attrs,o=r!==null?Ik(r):0,s=!1;for(let a=0;a<n.length;a++){let l=n[a];if(typeof l=="number"){if(!s&&!Tn(i)&&!Tn(l))return!1;if(s&&Tn(l))continue;s=!1,i=l|i&1;continue}if(!s)if(i&4){if(i=2|i&1,l!==""&&!Ck(t,l,e)||l===""&&n.length===1){if(Tn(i))return!1;s=!0}}else if(i&8){if(r===null||!xk(t,r,l,e)){if(Tn(i))return!1;s=!0}}else{let c=n[++a],d=Ek(l,r,Fg(t),e);if(d===-1){if(Tn(i))return!1;s=!0;continue}if(c!==""){let u;if(d>o?u="":u=r[d+1].toLowerCase(),i&2&&c!==u){if(Tn(i))return!1;s=!0}}}}return Tn(i)||s}function Tn(t){return(t&1)===0}function Ek(t,n,e,i){if(n===null)return-1;let r=0;if(i||!e){let o=!1;for(;r<n.length;){let s=n[r];if(s===t)return r;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=n[++r];for(;typeof a=="string";)a=n[++r];continue}else{if(s===4)break;if(s===0){r+=4;continue}}r+=o?1:2}return-1}else return Sk(n,t)}function lw(t,n,e=!1){for(let i=0;i<n.length;i++)if(wk(t,n[i],e))return!0;return!1}function Dk(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if(!(e&1))return n[e+1]}return null}function Ik(t){for(let n=0;n<t.length;n++){let e=t[n];if(sw(e))return n}return t.length}function Sk(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){let i=t[e];if(typeof i=="number")return-1;if(i===n)return e;e++}return-1}function Mk(t,n){e:for(let e=0;e<n.length;e++){let i=n[e];if(t.length===i.length){for(let r=0;r<t.length;r++)if(t[r]!==i[r])continue e;return!0}}return!1}function lC(t,n){return t?":not("+n.trim()+")":n}function Ak(t){let n=t[0],e=1,i=2,r="",o=!1;for(;e<t.length;){let s=t[e];if(typeof s=="string")if(i&2){let a=t[++e];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else i&8?r+="."+s:i&4&&(r+=" "+s);else r!==""&&!Tn(s)&&(n+=lC(o,r),r=""),i=s,o=o||!Tn(i);e++}return r!==""&&(n+=lC(o,r)),n}function Tk(t){return t.map(Ak).join(",")}function Rk(t){let n=[],e=[],i=1,r=2;for(;i<t.length;){let o=t[i];if(typeof o=="string")r===2?o!==""&&n.push(o,t[++i]):r===8&&e.push(o);else{if(!Tn(r))break;r=o}i++}return{attrs:n,classes:e}}function Y(t){return il(()=>{let n=fw(t),e=ae(x({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===ow.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Wn.Emulated,styles:t.styles||Pt,_:null,schemas:t.schemas||null,tView:null,id:""});hw(e);let i=t.dependencies;return e.directiveDefs=dC(i,!1),e.pipeDefs=dC(i,!0),e.id=kk(e),e})}function Ok(t){return tr(t)||kg(t)}function Fk(t){return t!==null}function L(t){return il(()=>({type:t.type,bootstrap:t.bootstrap||Pt,declarations:t.declarations||Pt,imports:t.imports||Pt,exports:t.exports||Pt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function cC(t,n){if(t==null)return gi;let e={};for(let i in t)if(t.hasOwnProperty(i)){let r=t[i],o,s,a=er.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),n?(e[o]=a!==er.None?[i,a]:i,n[o]=s):e[o]=i}return e}function V(t){return il(()=>{let n=fw(t);return hw(n),n})}function Is(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function tr(t){return t[JF]||null}function kg(t){return t[ek]||null}function cw(t){return t[tk]||null}function dw(t){let n=tr(t)||kg(t)||cw(t);return n!==null?n.standalone:!1}function uw(t,n){let e=t[nk]||null;if(!e&&n===!0)throw new Error(`Type ${jt(t)} does not have '\u0275mod' property.`);return e}function fw(t){let n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:t.inputs||gi,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Pt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:cC(t.inputs,n),outputs:cC(t.outputs),debugInfo:null}}function hw(t){t.features?.forEach(n=>n(t))}function dC(t,n){if(!t)return null;let e=n?cw:Ok;return()=>(typeof t=="function"?t():t).map(i=>e(i)).filter(Fk)}function kk(t){let n=0,e=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let r of e)n=Math.imul(31,n)+r.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function sl(t){return{\u0275providers:t}}function Ng(...t){return{\u0275providers:pw(!0,t),\u0275fromNgModule:!0}}function pw(t,...n){let e=[],i=new Set,r,o=s=>{e.push(s)};return Og(n,s=>{let a=s;Dm(a,o,[],i)&&(r||=[],r.push(a))}),r!==void 0&&mw(r,o),e}function mw(t,n){for(let e=0;e<t.length;e++){let{ngModule:i,providers:r}=t[e];Lg(r,o=>{n(o,i)})}}function Dm(t,n,e,i){if(t=xt(t),!t)return!1;let r=null,o=iC(t),s=!o&&tr(t);if(!o&&!s){let l=t.ngModule;if(o=iC(l),o)r=l;else return!1}else{if(s&&!s.standalone)return!1;r=t}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)Dm(c,n,e,i)}}else if(o){if(o.imports!=null&&!a){i.add(r);let c;try{Og(o.imports,d=>{Dm(d,n,e,i)&&(c||=[],c.push(d))})}finally{}c!==void 0&&mw(c,n)}if(!a){let c=so(r)||(()=>new r);n({provide:r,useFactory:c,deps:Pt},r),n({provide:rw,useValue:r,multi:!0},r),n({provide:ms,useValue:()=>g(r),multi:!0},r)}let l=o.providers;if(l!=null&&!a){let c=t;Lg(l,d=>{n(d,c)})}}else return!1;return r!==t&&t.providers!==void 0}function Lg(t,n){for(let e of t)XC(e)&&(e=e.\u0275providers),Array.isArray(e)?Lg(e,n):n(e)}function gw(t){return t!==null&&typeof t=="object"&&Nk in t}function Lk(t){return!!(t&&t.useExisting)}function Pk(t){return!!(t&&t.useFactory)}function gs(t){return typeof t=="function"}function jk(t){return!!t.useClass}function Pg(){return lm===void 0&&(lm=new Bd),lm}function Im(t){let n=du(t),e=n!==null?n.factory:so(t);if(e!==null)return e;if(t instanceof C)throw new M(204,!1);if(t instanceof Function)return Bk(t);throw new M(204,!1)}function Bk(t){if(t.length>0)throw new M(204,!1);let e=ZF(t);return e!==null?()=>e.factory(t):()=>new t}function Uk(t){if(gw(t))return cs(void 0,t.useValue);{let n=vw(t);return cs(n,Td)}}function vw(t,n,e){let i;if(gs(t)){let r=xt(t);return so(r)||Im(r)}else if(gw(t))i=()=>xt(t.useValue);else if(Pk(t))i=()=>t.useFactory(...wm(t.deps||[]));else if(Lk(t))i=()=>g(xt(t.useExisting));else{let r=xt(t&&(t.useClass||t.provide));if(zk(t))i=()=>new r(...wm(t.deps));else return so(r)||Im(r)}return i}function cs(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function zk(t){return!!t.deps}function $k(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Hk(t){return typeof t=="function"||typeof t=="object"&&t instanceof C}function Sm(t,n){for(let e of t)Array.isArray(e)?Sm(e,n):e&&XC(e)?Sm(e.\u0275providers,n):n(e)}function gn(t,n){t instanceof Za&&t.assertNotDestroyed();let e,i=Zi(t),r=Ht(void 0);try{return n()}finally{Zi(i),Ht(r)}}function yw(){return JC()!==void 0||ck()!=null}function jg(t){if(!yw())throw new M(-203,!1)}function Gk(t){return typeof t=="function"}function Ji(t){return Array.isArray(t)&&typeof t[_w]=="object"}function xi(t){return Array.isArray(t)&&t[_w]===!0}function Vg(t){return(t.flags&4)!==0}function gu(t){return t.componentOffset>-1}function vu(t){return(t.flags&1)===1}function nr(t){return!!t.template}function Mm(t){return(t[Z]&512)!==0}function xw(t,n,e,i){n!==null?n.applyValueToInputSignal(n,i):t[e]=i}function Ve(){return Cw}function Cw(t){return t.type.prototype.ngOnChanges&&(t.setInput=qk),Wk}function Wk(){let t=Ew(this),n=t?.current;if(n){let e=t.previous;if(e===gi)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function qk(t,n,e,i,r){let o=this.declaredInputs[i],s=Ew(t)||Yk(t,{previous:gi,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new Ja(c&&c.currentValue,e,l===gi),xw(t,n,r,e)}function Ew(t){return t[ww]||null}function Yk(t,n){return t[ww]=n}function Yn(t){for(;Array.isArray(t);)t=t[_i];return t}function Iw(t,n){return Yn(n[t])}function vn(t,n){return Yn(n[t.index])}function Bg(t,n){return t.data[n]}function Ug(t,n){return t[n]}function lr(t,n){let e=n[t];return Ji(e)?e:e[_i]}function Qk(t){return(t[Z]&4)===4}function zg(t){return(t[Z]&128)===128}function Zk(t){return xi(t[Tt])}function ir(t,n){return n==null?null:t[n]}function Sw(t){t[ds]=0}function Mw(t){t[Z]&1024||(t[Z]|=1024,zg(t)&&bu(t))}function Xk(t,n){for(;t>0;)n=n[Ss],t--;return n}function yu(t){return!!(t[Z]&9216||t[mn]?.dirty)}function Am(t){t[qn].changeDetectionScheduler?.notify(8),t[Z]&64&&(t[Z]|=1024),yu(t)&&bu(t)}function bu(t){t[qn].changeDetectionScheduler?.notify(0);let n=co(t);for(;n!==null&&!(n[Z]&8192||(n[Z]|=8192,!zg(n)));)n=co(n)}function Aw(t,n){if((t[Z]&256)===256)throw new M(911,!1);t[Xi]===null&&(t[Xi]=[]),t[Xi].push(n)}function Jk(t,n){if(t[Xi]===null)return;let e=t[Xi].indexOf(n);e!==-1&&t[Xi].splice(e,1)}function co(t){let n=t[Tt];return xi(n)?n[Tt]:n}function eN(){return ce.lFrame.elementDepthCount}function tN(){ce.lFrame.elementDepthCount++}function nN(){ce.lFrame.elementDepthCount--}function Rw(){return ce.bindingsEnabled}function Ow(){return ce.skipHydrationRootTNode!==null}function iN(t){return ce.skipHydrationRootTNode===t}function rN(){ce.skipHydrationRootTNode=null}function X(){return ce.lFrame.lView}function Ze(){return ce.lFrame.tView}function ye(t){return ce.lFrame.contextLView=t,t[Mt]}function be(t){return ce.lFrame.contextLView=null,t}function wt(){let t=Fw();for(;t!==null&&t.type===64;)t=t.parent;return t}function Fw(){return ce.lFrame.currentTNode}function oN(){let t=ce.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function go(t,n){let e=ce.lFrame;e.currentTNode=t,e.isParent=n}function $g(){return ce.lFrame.isParent}function Hg(){ce.lFrame.isParent=!1}function sN(){return ce.lFrame.contextLView}function kw(){return Tw}function hC(t){Tw=t}function Ms(){let t=ce.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function aN(){return ce.lFrame.bindingIndex}function lN(t){return ce.lFrame.bindingIndex=t}function vo(){return ce.lFrame.bindingIndex++}function Gg(t){let n=ce.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function cN(){return ce.lFrame.inI18n}function dN(t,n){let e=ce.lFrame;e.bindingIndex=e.bindingRootIndex=t,Tm(n)}function uN(){return ce.lFrame.currentDirectiveIndex}function Tm(t){ce.lFrame.currentDirectiveIndex=t}function fN(t){let n=ce.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function Wg(){return ce.lFrame.currentQueryIndex}function _u(t){ce.lFrame.currentQueryIndex=t}function hN(t){let n=t[ne];return n.type===2?n.declTNode:n.type===1?t[Wt]:null}function Nw(t,n,e){if(e&he.SkipSelf){let r=n,o=t;for(;r=r.parent,r===null&&!(e&he.Host);)if(r=hN(o),r===null||(o=o[Ss],r.type&10))break;if(r===null)return!1;n=r,t=o}let i=ce.lFrame=Lw();return i.currentTNode=n,i.lView=t,!0}function qg(t){let n=Lw(),e=t[ne];ce.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function Lw(){let t=ce.lFrame,n=t===null?null:t.child;return n===null?Pw(t):n}function Pw(t){let n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=n),n}function jw(){let t=ce.lFrame;return ce.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}function Yg(){let t=jw();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function pN(t){return(ce.lFrame.contextLView=Xk(t,ce.lFrame.contextLView))[Mt]}function Ci(){return ce.lFrame.selectedIndex}function uo(t){ce.lFrame.selectedIndex=t}function xu(){let t=ce.lFrame;return Bg(t.tView,t.selectedIndex)}function al(){ce.lFrame.currentNamespace=Dw}function Bw(){mN()}function mN(){ce.lFrame.currentNamespace=null}function gN(){return ce.lFrame.currentNamespace}function Cu(){return Uw}function wu(t){Uw=t}function vN(t,n,e){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){let s=Cw(n);(e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s)}r&&(e.preOrderHooks??=[]).push(0-t,r),o&&((e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o))}function Eu(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e<i;e++){let o=t.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=o;s&&(t.contentHooks??=[]).push(-e,s),a&&((t.contentHooks??=[]).push(e,a),(t.contentCheckHooks??=[]).push(e,a)),l&&(t.viewHooks??=[]).push(-e,l),c&&((t.viewHooks??=[]).push(e,c),(t.viewCheckHooks??=[]).push(e,c)),d!=null&&(t.destroyHooks??=[]).push(e,d)}}function Od(t,n,e){zw(t,n,3,e)}function Fd(t,n,e,i){(t[Z]&3)===e&&zw(t,n,e,i)}function cm(t,n){let e=t[Z];(e&3)===n&&(e&=16383,e+=1,t[Z]=e)}function zw(t,n,e,i){let r=i!==void 0?t[ds]&65535:0,o=i??-1,s=n.length-1,a=0;for(let l=r;l<s;l++)if(typeof n[l+1]=="number"){if(a=n[l],i!=null&&a>=i)break}else n[l]<0&&(t[ds]+=65536),(a<o||o==-1)&&(yN(t,e,n,l),t[ds]=(t[ds]&4294901760)+l+2),l++}function pC(t,n){Hn(4,t,n);let e=ve(null);try{n.call(t)}finally{ve(e),Hn(5,t,n)}}function yN(t,n,e,i){let r=e[i]<0,o=e[i+1],s=r?-e[i]:e[i],a=t[s];r?t[Z]>>14<t[ds]>>16&&(t[Z]&3)===n&&(t[Z]+=16384,pC(a,o)):pC(a,o)}function bN(t){return t instanceof fo}function _N(t){return(t.flags&8)!==0}function xN(t){return(t.flags&16)!==0}function $w(t){return t!==ps}function Hd(t){return t&32767}function CN(t){return t>>16}function Gd(t,n){let e=CN(t),i=n;for(;e>0;)i=i[Ss],e--;return i}function Wd(t){let n=Om;return Om=t,n}function DN(t,n,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty(qa)&&(i=e[qa]),i==null&&(i=e[qa]=EN++);let r=i&Hw,o=1<<r;n.data[t+(r>>Gw)]|=o}function qd(t,n){let e=Ww(t,n);if(e!==-1)return e;let i=n[ne];i.firstCreatePass&&(t.injectorIndex=n.length,um(i.data,t),um(n,null),um(i.blueprint,null));let r=Kg(t,n),o=t.injectorIndex;if($w(r)){let s=Hd(r),a=Gd(r,n),l=a[ne].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function um(t,n){t.push(0,0,0,0,0,0,0,0,n)}function Ww(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function Kg(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,i=null,r=n;for(;r!==null;){if(i=Zw(r),i===null)return ps;if(e++,r=r[Ss],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return ps}function Fm(t,n,e){DN(t,n,e)}function IN(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let i=e.length,r=0;for(;r<i;){let o=e[r];if(sw(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===n)return e[r+1];r=r+2}}}return null}function qw(t,n,e){if(e&he.Optional||t!==void 0)return t;Rg(n,"NodeInjector")}function Yw(t,n,e,i){if(e&he.Optional&&i===void 0&&(i=null),!(e&(he.Self|he.Host))){let r=t[ys],o=Ht(void 0);try{return r?r.get(n,i,e&he.Optional):ew(n,i,e&he.Optional)}finally{Ht(o)}}return qw(i,n,e)}function Kw(t,n,e,i=he.Default,r){if(t!==null){if(n[Z]&2048&&!(i&he.Self)){let s=TN(t,n,e,i,Gn);if(s!==Gn)return s}let o=Qw(t,n,e,i,Gn);if(o!==Gn)return o}return Yw(n,e,i,r)}function Qw(t,n,e,i,r){let o=MN(e);if(typeof o=="function"){if(!Nw(n,t,i))return i&he.Host?qw(r,e,i):Yw(n,e,i,r);try{let s;if(s=o(i),s==null&&!(i&he.Optional))Rg(e);else return s}finally{Vw()}}else if(typeof o=="number"){let s=null,a=Ww(t,n),l=ps,c=i&he.Host?n[Xt][Wt]:null;for((a===-1||i&he.SkipSelf)&&(l=a===-1?Kg(t,n):n[a+8],l===ps||!gC(i,!1)?a=-1:(s=n[ne],a=Hd(l),n=Gd(l,n)));a!==-1;){let d=n[ne];if(mC(o,a,d.data)){let u=SN(a,n,e,s,i,c);if(u!==Gn)return u}l=n[a+8],l!==ps&&gC(i,n[ne].data[a+8]===c)&&mC(o,a,n)?(s=d,a=Hd(l),n=Gd(l,n)):a=-1}}return r}function SN(t,n,e,i,r,o){let s=n[ne],a=s.data[t+8],l=i==null?gu(a)&&Om:i!=s&&(a.type&3)!==0,c=r&he.Host&&o===a,d=kd(a,s,e,l,c);return d!==null?ho(n,s,d,a):Gn}function kd(t,n,e,i,r){let o=t.providerIndexes,s=n.data,a=o&1048575,l=t.directiveStart,c=t.directiveEnd,d=o>>20,u=i?a:a+d,m=r?a+d:c;for(let h=u;h<m;h++){let v=s[h];if(h<l&&e===v||h>=l&&v.type===e)return h}if(r){let h=s[l];if(h&&nr(h)&&h.type===e)return l}return null}function ho(t,n,e,i){let r=t[e],o=n.data;if(bN(r)){let s=r;s.resolving&&rk(ik(o[e]));let a=Wd(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?Ht(s.injectImpl):null,d=Nw(t,i,he.Default);try{r=t[e]=s.factory(void 0,o,t,i),n.firstCreatePass&&e>=i.directiveStart&&vN(e,o[e],n)}finally{c!==null&&Ht(c),Wd(a),s.resolving=!1,Vw()}}return r}function MN(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(qa)?t[qa]:void 0;return typeof n=="number"?n>=0?n&Hw:AN:n}function mC(t,n,e){let i=1<<t;return!!(e[n+(t>>Gw)]&i)}function gC(t,n){return!(t&he.Self)&&!(t&he.Host&&n)}function AN(){return new ro(wt(),X())}function Xe(t){return il(()=>{let n=t.prototype.constructor,e=n[Pd]||km(n),i=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){let o=r[Pd]||km(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function km(t){return YC(t)?()=>{let n=km(xt(t));return n&&n()}:so(t)}function TN(t,n,e,i,r){let o=t,s=n;for(;o!==null&&s!==null&&s[Z]&2048&&!(s[Z]&512);){let a=Qw(o,s,e,i|he.Self,Gn);if(a!==Gn)return a;let l=o.parent;if(!l){let c=s[bw];if(c){let d=c.get(e,Gn,i);if(d!==Gn)return d}l=Zw(s),s=s[Ss]}o=l}return r}function Zw(t){let n=t[ne],e=n.type;return e===2?n.declTNode:e===1?t[Wt]:null}function cr(t){return IN(wt(),t)}function vC(t,n=null,e=null,i){let r=Xw(t,n,e,i);return r.resolveInjectorInitializers(),r}function Xw(t,n=null,e=null,i,r=new Set){let o=[e||Pt,Ng(t)];return i=i||(typeof t=="object"?void 0:jt(t)),new Za(o,n||Pg(),i||null,r)}function fm(t){return t[ON]}function FN(){return new Nm(X())}function Yd(...t){}function eE(t){let n,e;function i(){t=Yd;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),i()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),i()})),()=>i()}function yC(t){return queueMicrotask(()=>t()),()=>{t=Yd}}function Zg(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function LN(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){eE(()=>{t.callbackScheduled=!1,Pm(t),t.isCheckStableRunning=!0,Zg(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),Pm(t)}function PN(t){let n=()=>{LN(t)},e=kN++;t._inner=t._inner.fork({name:"angular",properties:{[Qg]:!0,[Kd]:e,[Kd+e]:!0},onInvokeTask:(i,r,o,s,a,l)=>{if(jN(l))return i.invokeTask(o,s,a,l);try{return bC(t),i.invokeTask(o,s,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),_C(t)}},onInvoke:(i,r,o,s,a,l,c)=>{try{return bC(t),i.invoke(o,s,a,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!VN(l)&&n(),_C(t)}},onHasTask:(i,r,o,s)=>{i.hasTask(o,s),r===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Pm(t),Zg(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,r,o,s)=>(i.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function Pm(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function bC(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function _C(t){t._nesting--,Zg(t)}function jN(t){return tE(t,"__ignore_ng_zone__")}function VN(t){return tE(t,"__scheduler_tick__")}function tE(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}function UN(){return As(wt(),X())}function As(t,n){return new j(vn(t,n))}function nE(t){return t instanceof j?t.nativeElement:t}function zN(){return this._results[Symbol.iterator]()}function iE(t){return(t.flags&128)===128}function HN(){return $N++}function GN(t){rE.set(t[mu],t)}function Vm(t){rE.delete(t[mu])}function rr(t,n){Ji(n)?(t[xC]=n[mu],GN(n)):t[xC]=n}function oE(t){return aE(t[Xa])}function sE(t){return aE(t[On])}function aE(t){for(;t!==null&&!xi(t);)t=t[On];return t}function lE(t){Bm=t}function cE(){if(Bm!==void 0)return Bm;if(typeof document<"u")return document;throw new M(210,!1)}function Jg(t,n,e=!1){return KN(t,n,e)}function ZN(){if(Ed===void 0&&(Ed=null,Ya.trustedTypes))try{Ed=Ya.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ed}function Iu(t){return ZN()?.createHTML(t)||t}function uE(){if(Dd===void 0&&(Dd=null,Ya.trustedTypes))try{Dd=Ya.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Dd}function CC(t){return uE()?.createHTML(t)||t}function wC(t){return uE()?.createScriptURL(t)||t}function yn(t){return t instanceof yi?t.changingThisBreaksApplicationSecurity:t}function Ei(t,n){let e=XN(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${WC})`)}return e===n}function XN(t){return t instanceof yi&&t.getTypeName()||null}function fE(t){return new Um(t)}function hE(t){return new zm(t)}function pE(t){return new $m(t)}function mE(t){return new Hm(t)}function gE(t){return new Gm(t)}function JN(t){let n=new qm(t);return eL()?new Wm(n):n}function eL(){try{return!!new window.DOMParser().parseFromString(Iu(""),"text/html")}catch{return!1}}function Su(t){return t=String(t),t.match(tL)?t:"unsafe:"+t}function Di(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function cl(...t){let n={};for(let e of t)for(let i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}function cL(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function dL(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw xE(n);return n}function uL(t){let n=t.firstChild;if(n&&cL(t,n))throw xE(n);return n}function DC(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function xE(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}function IC(t){return t.replace(/&/g,"&amp;").replace(fL,function(n){let e=n.charCodeAt(0),i=n.charCodeAt(1);return"&#"+((e-55296)*1024+(i-56320)+65536)+";"}).replace(hL,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function ev(t,n){let e=null;try{Id=Id||JN(t);let i=n?String(n):"";e=Id.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=Id.getInertBodyElement(i)}while(i!==o);let a=new Ym().sanitizeChildren(SC(e)||e);return Iu(a)}finally{if(e){let i=SC(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function SC(t){return"content"in t&&pL(t)?t.content:null}function pL(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}function dr(t){let n=nv();return n?CC(n.sanitize(Et.HTML,t)||""):Ei(t,"HTML")?CC(yn(t)):ev(cE(),oo(t))}function tv(t){let n=nv();return n?n.sanitize(Et.URL,t)||"":Ei(t,"URL")?yn(t):Su(oo(t))}function mL(t){let n=nv();if(n)return wC(n.sanitize(Et.RESOURCE_URL,t)||"");if(Ei(t,"ResourceURL"))return wC(yn(t));throw new M(904,!1)}function gL(t,n){return n==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||n==="href"&&(t==="base"||t==="link")?mL:tv}function CE(t,n,e){return gL(n,e)(t)}function nv(){let t=X();return t&&t[qn].sanitizer}function _L(t){return t.replace(vL,n=>n.replace(yL,bL))}function wE(t){return t instanceof Function?t():t}function EE(t){return(t??y(Me)).get(gt)==="browser"}function iv(t,n){return xL(t,n)}function us(t,n,e,i,r){if(i!=null){let o,s=!1;xi(i)?o=i:Ji(i)&&(s=!0,i=i[_i]);let a=Yn(i);t===0&&e!==null?r==null?AE(n,e,a):Qd(n,e,a,r||null,!0):t===1&&e!==null?Qd(n,e,a,r||null,!0):t===2?NL(n,a,s):t===3&&n.destroyNode(a),o!=null&&PL(n,t,o,e,r)}}function CL(t,n){return t.createText(n)}function wL(t,n,e){t.setValue(n,e)}function EL(t,n){return t.createComment(_L(n))}function DE(t,n,e){return t.createElement(n,e)}function DL(t,n){IE(t,n),n[_i]=null,n[Wt]=null}function IL(t,n,e,i,r,o){i[_i]=r,i[Wt]=n,Tu(t,i,e,1,r,o)}function IE(t,n){n[qn].changeDetectionScheduler?.notify(9),Tu(t,n,n[Qe],2,null,null)}function SL(t){let n=t[Xa];if(!n)return hm(t[ne],t);for(;n;){let e=null;if(Ji(n))e=n[Xa];else{let i=n[At];i&&(e=i)}if(!e){for(;n&&!n[On]&&n!==t;)Ji(n)&&hm(n[ne],n),n=n[Tt];n===null&&(n=t),Ji(n)&&hm(n[ne],n),e=n&&n[On]}n=e}}function ML(t,n,e,i){let r=At+i,o=e.length;i>0&&(e[r-1][On]=n),i<o-At?(n[On]=e[r],nw(e,At+i,n)):(e.push(n),n[On]=null),n[Tt]=e;let s=n[ao];s!==null&&e!==s&&SE(s,n);let a=n[vi];a!==null&&a.insertView(t),Am(n),n[Z]|=128}function SE(t,n){let e=t[bs],i=n[Tt];if(Ji(i))t[Z]|=$d.HasTransplantedViews;else{let r=i[Tt][Xt];n[Xt]!==r&&(t[Z]|=$d.HasTransplantedViews)}e===null?t[bs]=[n]:e.push(n)}function rv(t,n){let e=t[bs],i=e.indexOf(n);e.splice(i,1)}function el(t,n){if(t.length<=At)return;let e=At+n,i=t[e];if(i){let r=i[ao];r!==null&&r!==t&&rv(r,i),n>0&&(t[e-1][On]=i[On]);let o=Vd(t,At+n);DL(i[ne],i);let s=o[vi];s!==null&&s.detachView(o[ne]),i[Tt]=null,i[On]=null,i[Z]&=-129}return i}function Mu(t,n){if(!(n[Z]&256)){let e=n[Qe];e.destroyNode&&Tu(t,n,e,3,null,null),SL(n)}}function hm(t,n){if(n[Z]&256)return;let e=ve(null);try{n[Z]&=-129,n[Z]|=256,n[mn]&&jc(n[mn]),TL(t,n),AL(t,n),n[ne].type===1&&n[Qe].destroy();let i=n[ao];if(i!==null&&xi(n[Tt])){i!==n[Tt]&&rv(i,n);let r=n[vi];r!==null&&r.detachView(t)}Vm(n)}finally{ve(e)}}function AL(t,n){let e=t.cleanup,i=n[Ud];if(e!==null)for(let o=0;o<e.length-1;o+=2)if(typeof e[o]=="string"){let s=e[o+3];s>=0?i[s]():i[-s].unsubscribe(),o+=2}else{let s=i[e[o+1]];e[o].call(s)}i!==null&&(n[Ud]=null);let r=n[Xi];if(r!==null){n[Xi]=null;for(let o=0;o<r.length;o++){let s=r[o];s()}}}function TL(t,n){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let i=0;i<e.length;i+=2){let r=n[e[i]];if(!(r instanceof fo)){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];Hn(4,a,l);try{l.call(a)}finally{Hn(5,a,l)}}else{Hn(4,r,o);try{o.call(r)}finally{Hn(5,r,o)}}}}}function ME(t,n,e){return RL(t,n.parent,e)}function RL(t,n,e){let i=n;for(;i!==null&&i.type&168;)n=i,i=n.parent;if(i===null)return e[_i];{let{componentOffset:r}=i;if(r>-1){let{encapsulation:o}=t.data[i.directiveStart+r];if(o===Wn.None||o===Wn.Emulated)return null}return vn(i,e)}}function Qd(t,n,e,i,r){t.insertBefore(n,e,i,r)}function AE(t,n,e){t.appendChild(n,e)}function MC(t,n,e,i,r){i!==null?Qd(t,n,e,i,r):AE(t,n,e)}function TE(t,n){return t.parentNode(n)}function OL(t,n){return t.nextSibling(n)}function RE(t,n,e){return kL(t,n,e)}function FL(t,n,e){return t.type&40?vn(t,e):null}function Au(t,n,e,i){let r=ME(t,i,n),o=n[Qe],s=i.parent||n[Wt],a=RE(s,i,n);if(r!=null)if(Array.isArray(e))for(let l=0;l<e.length;l++)MC(o,r,e[l],a,!1);else MC(o,r,e,a,!1);AC!==void 0&&AC(o,i,n,e,r)}function Wa(t,n){if(n!==null){let e=n.type;if(e&3)return vn(n,t);if(e&4)return Km(-1,t[n.index]);if(e&8){let i=n.child;if(i!==null)return Wa(t,i);{let r=t[n.index];return xi(r)?Km(-1,r):Yn(r)}}else{if(e&128)return Wa(t,n.next);if(e&32)return iv(n,t)()||Yn(t[n.index]);{let i=OE(t,n);if(i!==null){if(Array.isArray(i))return i[0];let r=co(t[Xt]);return Wa(r,i)}else return Wa(t,n.next)}}}return null}function OE(t,n){if(n!==null){let i=t[Xt][Wt],r=n.projection;return i.projection[r]}return null}function Km(t,n){let e=At+t+1;if(e<n.length){let i=n[e],r=i[ne].firstChild;if(r!==null)return Wa(i,r)}return n[lo]}function NL(t,n,e){t.removeChild(null,n,e)}function ov(t,n,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&&n===0&&(a&&rr(Yn(a),i),e.flags|=2),(e.flags&32)!==32)if(l&8)ov(t,n,e.child,i,r,o,!1),us(n,t,r,a,o);else if(l&32){let c=iv(e,i),d;for(;d=c();)us(n,t,r,d,o);us(n,t,r,a,o)}else l&16?FE(t,n,i,e,r,o):us(n,t,r,a,o);e=s?e.projectionNext:e.next}}function Tu(t,n,e,i,r,o){ov(e,i,t.firstChild,n,r,o,!1)}function LL(t,n,e){let i=n[Qe],r=ME(t,e,n),o=e.parent||n[Wt],s=RE(o,e,n);FE(i,0,n,e,r,s)}function FE(t,n,e,i,r,o){let s=e[Xt],l=s[Wt].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let d=l[c];us(n,t,r,d,o)}else{let c=l,d=s[Tt];iE(i)&&(c.flags|=128),ov(t,n,c,d,r,o,!0)}}function PL(t,n,e,i,r){let o=e[lo],s=Yn(e);o!==s&&us(n,t,i,o,r);for(let a=At;a<e.length;a++){let l=e[a];Tu(l[ne],l,t,n,i,o)}}function jL(t,n,e,i,r){if(n)r?t.addClass(e,i):t.removeClass(e,i);else{let o=i.indexOf("-")===-1?void 0:bi.DashCase;r==null?t.removeStyle(e,i,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=bi.Important),t.setStyle(e,i,r,o))}}function VL(t,n,e){t.setAttribute(n,"style",e)}function kE(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function NE(t,n,e){let{mergedAttrs:i,classes:r,styles:o}=e;i!==null&&Em(t,n,i),r!==null&&kE(t,n,r),o!==null&&VL(t,n,o)}function w(t=1){LE(Ze(),X(),Ci()+t,!1)}function LE(t,n,e,i){if(!i)if((n[Z]&3)===3){let o=t.preOrderCheckHooks;o!==null&&Od(n,o,e)}else{let o=t.preOrderHooks;o!==null&&Fd(n,o,0,e)}uo(e)}function p(t,n=he.Default){let e=X();if(e===null)return g(t,n);let i=wt();return Kw(i,e,xt(t),n)}function Ts(){let t="invalid";throw new Error(t)}function PE(t,n,e,i,r,o){let s=ve(null);try{let a=null;r&er.SignalBased&&(a=n[i][hn]),a!==null&&a.transformFn!==void 0&&(o=a.transformFn(o)),r&er.HasDecoratorInputTransform&&(o=t.inputTransforms[i].call(n,o)),t.setInput!==null?t.setInput(n,a,o,e,i):xw(n,a,i,o)}finally{ve(s)}}function BL(t,n){let e=t.hostBindingOpCodes;if(e!==null)try{for(let i=0;i<e.length;i++){let r=e[i];if(r<0)uo(~r);else{let o=r,s=e[++i],a=e[++i];dN(s,o);let l=n[o];a(2,l)}}}finally{uo(-1)}}function Ru(t,n,e,i,r,o,s,a,l,c,d){let u=n.blueprint.slice();return u[_i]=r,u[Z]=i|4|128|8|64,(c!==null||t&&t[Z]&2048)&&(u[Z]|=2048),Sw(u),u[Tt]=u[Ss]=t,u[Mt]=e,u[qn]=s||t&&t[qn],u[Qe]=a||t&&t[Qe],u[ys]=l||t&&t[ys]||null,u[Wt]=o,u[mu]=HN(),u[vs]=d,u[bw]=c,u[Xt]=n.type==2?t[Xt]:u,u}function Rs(t,n,e,i,r){let o=t.data[n];if(o===null)o=UL(t,n,e,i,r),cN()&&(o.flags|=32);else if(o.type&64){o.type=e,o.value=i,o.attrs=r;let s=oN();o.injectorIndex=s===null?-1:s.injectorIndex}return go(o,!0),o}function UL(t,n,e,i,r){let o=Fw(),s=$g(),a=s?o:o&&o.parent,l=t.data[n]=qL(t,a,e,n,i,r);return t.firstChild===null&&(t.firstChild=l),o!==null&&(s?o.child==null&&l.parent!==null&&(o.child=l):o.next===null&&(o.next=l,l.prev=o)),l}function jE(t,n,e,i){if(e===0)return-1;let r=n.length;for(let o=0;o<e;o++)n.push(i),t.blueprint.push(i),t.data.push(null);return r}function VE(t,n,e,i,r){let o=Ci(),s=i&2;try{uo(-1),s&&n.length>mt&&LE(t,n,mt,!1),Hn(s?2:0,r),e(i,r)}finally{uo(o),Hn(s?3:1,r)}}function sv(t,n,e){if(Vg(n)){let i=ve(null);try{let r=n.directiveStart,o=n.directiveEnd;for(let s=r;s<o;s++){let a=t.data[s];if(a.contentQueries){let l=e[s];a.contentQueries(1,l,s)}}}finally{ve(i)}}}function av(t,n,e){Rw()&&(JL(t,n,e,vn(e,n)),(e.flags&64)===64&&zE(t,n,e))}function lv(t,n,e=vn){let i=n.localNames;if(i!==null){let r=n.index+1;for(let o=0;o<i.length;o+=2){let s=i[o+1],a=s===-1?e(n,t):t[s];t[r++]=a}}}function BE(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=cv(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function cv(t,n,e,i,r,o,s,a,l,c,d){let u=mt+i,m=u+r,h=zL(u,m),v=typeof c=="function"?c():c;return h[ne]={type:t,blueprint:h,template:e,queries:null,viewQuery:a,declTNode:n,data:h.slice().fill(null,u),bindingStartIndex:u,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:v,incompleteFirstPass:!1,ssrId:d}}function zL(t,n){let e=[];for(let i=0;i<n;i++)e.push(i<t?null:nn);return e}function $L(t,n,e,i){let o=i.get(QN,dE)||e===Wn.ShadowDom,s=t.selectRootElement(n,o);return HL(s),s}function HL(t){GL(t)}function WL(t,n,e,i){let r=GE(n);r.push(e),t.firstCreatePass&&WE(t).push(i,r.length-1)}function qL(t,n,e,i,r,o){let s=n?n.injectorIndex:-1,a=0;return Ow()&&(a|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function TC(t,n,e,i,r){for(let o in n){if(!n.hasOwnProperty(o))continue;let s=n[o];if(s===void 0)continue;i??={};let a,l=er.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(r!==null){if(!r.hasOwnProperty(o))continue;c=r[o]}t===0?RC(i,e,c,a,l):RC(i,e,c,a)}return i}function RC(t,n,e,i,r){let o;t.hasOwnProperty(e)?(o=t[e]).push(n,i):o=t[e]=[n,i],r!==void 0&&o.push(r)}function YL(t,n,e){let i=n.directiveStart,r=n.directiveEnd,o=t.data,s=n.attrs,a=[],l=null,c=null;for(let d=i;d<r;d++){let u=o[d],m=e?e.get(u):null,h=m?m.inputs:null,v=m?m.outputs:null;l=TC(0,u.inputs,d,l,h),c=TC(1,u.outputs,d,c,v);let b=l!==null&&s!==null&&!Fg(n)?d1(l,d,s):null;a.push(b)}l!==null&&(l.hasOwnProperty("class")&&(n.flags|=8),l.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=a,n.inputs=l,n.outputs=c}function KL(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function dv(t,n,e,i,r,o,s,a){let l=vn(n,e),c=n.inputs,d;!a&&c!=null&&(d=c[i])?(fv(t,e,d,i,r),gu(n)&&QL(e,n.index)):n.type&3?(i=KL(i),r=s!=null?s(r,n.value||"",i):r,o.setProperty(l,i,r)):n.type&12}function QL(t,n){let e=lr(n,t);e[Z]&16||(e[Z]|=64)}function uv(t,n,e,i){if(Rw()){let r=i===null?null:{"":-1},o=t1(t,e),s,a;o===null?s=a=null:[s,a]=o,s!==null&&UE(t,n,e,s,r,a),r&&n1(e,i,r)}e.mergedAttrs=Qa(e.mergedAttrs,e.attrs)}function UE(t,n,e,i,r,o){for(let c=0;c<i.length;c++)Fm(qd(e,n),t,i[c].type);r1(e,t.data.length,i.length);for(let c=0;c<i.length;c++){let d=i[c];d.providersResolver&&d.providersResolver(d)}let s=!1,a=!1,l=jE(t,n,i.length,null);for(let c=0;c<i.length;c++){let d=i[c];e.mergedAttrs=Qa(e.mergedAttrs,d.hostAttrs),o1(t,e,n,l,d),i1(l,d,r),d.contentQueries!==null&&(e.flags|=4),(d.hostBindings!==null||d.hostAttrs!==null||d.hostVars!==0)&&(e.flags|=64);let u=d.type.prototype;!s&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),s=!0),!a&&(u.ngOnChanges||u.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),a=!0),l++}YL(t,e,o)}function ZL(t,n,e,i,r){let o=r.hostBindings;if(o){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~n.index;XL(s)!=a&&s.push(a),s.push(e,i,o)}}function XL(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function JL(t,n,e,i){let r=e.directiveStart,o=e.directiveEnd;gu(e)&&s1(n,e,t.data[r+e.componentOffset]),t.firstCreatePass||qd(e,n),rr(i,n);let s=e.initialInputs;for(let a=r;a<o;a++){let l=t.data[a],c=ho(n,t,a,e);if(rr(c,n),s!==null&&c1(n,a-r,c,l,e,s),nr(l)){let d=lr(e.index,n);d[Mt]=ho(n,t,a,e)}}}function zE(t,n,e){let i=e.directiveStart,r=e.directiveEnd,o=e.index,s=uN();try{uo(o);for(let a=i;a<r;a++){let l=t.data[a],c=n[a];Tm(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&e1(l,c)}}finally{uo(-1),Tm(s)}}function e1(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function t1(t,n){let e=t.directiveRegistry,i=null,r=null;if(e)for(let o=0;o<e.length;o++){let s=e[o];if(lw(n,s.selectors,!1))if(i||(i=[]),nr(s))if(s.findHostDirectiveDefs!==null){let a=[];r=r||new Map,s.findHostDirectiveDefs(s,a,r),i.unshift(...a,s);let l=a.length;Qm(t,n,l)}else i.unshift(s),Qm(t,n,0);else r=r||new Map,s.findHostDirectiveDefs?.(s,i,r),i.push(s)}return i===null?null:[i,r]}function Qm(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function n1(t,n,e){if(n){let i=t.localNames=[];for(let r=0;r<n.length;r+=2){let o=e[n[r+1]];if(o==null)throw new M(-301,!1);i.push(n[r],o)}}}function i1(t,n,e){if(e){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)e[n.exportAs[i]]=t;nr(n)&&(e[""]=t)}}function r1(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function o1(t,n,e,i,r){t.data[i]=r;let o=r.factory||(r.factory=so(r.type,!0)),s=new fo(o,nr(r),p);t.blueprint[i]=s,e[i]=s,ZL(t,n,i,jE(t,e,r.hostVars,nn),r)}function s1(t,n,e){let i=vn(n,t),r=BE(e),o=t[qn].rendererFactory,s=16;e.signals?s=4096:e.onPush&&(s=64);let a=Ou(t,Ru(t,r,null,s,i,n,null,o.createRenderer(i,e),null,null,null));t[n.index]=a}function a1(t,n,e,i,r,o){let s=vn(t,n);l1(n[Qe],s,o,t.value,e,i,r)}function l1(t,n,e,i,r,o,s){if(o==null)t.removeAttribute(n,r,e);else{let a=s==null?oo(o):s(o,i||"",r);t.setAttribute(n,r,a,e)}}function c1(t,n,e,i,r,o){let s=o[n];if(s!==null)for(let a=0;a<s.length;){let l=s[a++],c=s[a++],d=s[a++],u=s[a++];PE(i,e,l,c,d,u)}}function d1(t,n,e){let i=null,r=0;for(;r<e.length;){let o=e[r];if(o===0){r+=4;continue}else if(o===5){r+=2;continue}if(typeof o=="number")break;if(t.hasOwnProperty(o)){i===null&&(i=[]);let s=t[o];for(let a=0;a<s.length;a+=3)if(s[a]===n){i.push(o,s[a+1],s[a+2],e[r+1]);break}}r+=2}return i}function $E(t,n,e,i){return[t,!0,0,n,null,i,null,e,null,null]}function HE(t,n){let e=t.contentQueries;if(e!==null){let i=ve(null);try{for(let r=0;r<e.length;r+=2){let o=e[r],s=e[r+1];if(s!==-1){let a=t.data[s];_u(o),a.contentQueries(2,n[s],s)}}}finally{ve(i)}}}function Ou(t,n){return t[Xa]?t[uC][On]=n:t[Xa]=n,t[uC]=n,n}function Zm(t,n,e){_u(0);let i=ve(null);try{n(t,e)}finally{ve(i)}}function GE(t){return t[Ud]??=[]}function WE(t){return t.cleanup??=[]}function qE(t,n){let e=t[ys],i=e?e.get(Gt,null):null;i&&i.handleError(n)}function fv(t,n,e,i,r){for(let o=0;o<e.length;){let s=e[o++],a=e[o++],l=e[o++],c=n[s],d=t.data[s];PE(d,c,i,a,l,r)}}function YE(t,n,e){let i=Iw(n,t);wL(t[Qe],i,e)}function u1(t,n){let e=lr(n,t),i=e[ne];f1(i,e);let r=e[_i];r!==null&&e[vs]===null&&(e[vs]=Jg(r,e[ys])),hv(i,e,e[Mt])}function f1(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function hv(t,n,e){qg(n);try{let i=t.viewQuery;i!==null&&Zm(1,i,e);let r=t.template;r!==null&&VE(t,n,r,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[vi]?.finishViewCreation(t),t.staticContentQueries&&HE(t,n),t.staticViewQueries&&Zm(2,t.viewQuery,e);let o=t.components;o!==null&&h1(n,o)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{n[Z]&=-5,Yg()}}function h1(t,n){for(let e=0;e<n.length;e++)u1(t,n[e])}function dl(t,n,e,i){let r=ve(null);try{let o=n.tView,a=t[Z]&4096?4096:16,l=Ru(t,o,e,a,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),c=t[n.index];l[ao]=c;let d=t[vi];return d!==null&&(l[vi]=d.createEmbeddedView(o)),hv(o,l,e),l}finally{ve(r)}}function KE(t,n){let e=At+n;if(e<t.length)return t[e]}function xs(t,n){return!n||n.firstChild===null||iE(t)}function ul(t,n,e,i=!0){let r=n[ne];if(ML(r,n,t,e),i){let s=Km(e,t),a=n[Qe],l=TE(a,t[lo]);l!==null&&IL(r,t[Wt],a,n,l,s)}let o=n[vs];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function QE(t,n){let e=el(t,n);return e!==void 0&&Mu(e[ne],e),e}function Zd(t,n,e,i,r=!1){for(;e!==null;){if(e.type===128){e=r?e.projectionNext:e.next;continue}let o=n[e.index];o!==null&&i.push(Yn(o)),xi(o)&&p1(o,i);let s=e.type;if(s&8)Zd(t,n,e.child,i);else if(s&32){let a=iv(e,n),l;for(;l=a();)i.push(l)}else if(s&16){let a=OE(n,e);if(Array.isArray(a))i.push(...a);else{let l=co(n[Xt]);Zd(l[ne],l,a,i,!0)}}e=r?e.projectionNext:e.next}return i}function p1(t,n){for(let e=At;e<t.length;e++){let i=t[e],r=i[ne].firstChild;r!==null&&Zd(i[ne],i,r,n)}t[lo]!==t[_i]&&n.push(t[lo])}function m1(t){return t[mn]??g1(t)}function g1(t){let n=ZE.pop()??Object.create(y1);return n.lView=t,n}function v1(t){t.lView[mn]!==t&&(t.lView=null,ZE.push(t))}function b1(t){let n=t[mn]??Object.create(_1);return n.lView=t,n}function XE(t){return t.type!==2}function JE(t,n=!0,e=0){let i=t[qn],r=i.rendererFactory,o=!1;o||r.begin?.();try{C1(t,e)}catch(s){throw n&&qE(t,s),s}finally{o||(r.end?.(),i.inlineEffectRunner?.flush())}}function C1(t,n){let e=kw();try{hC(!0),Xm(t,n);let i=0;for(;yu(t);){if(i===x1)throw new M(103,!1);i++,Xm(t,1)}}finally{hC(e)}}function w1(t,n,e,i){let r=n[Z];if((r&256)===256)return;let o=!1,s=!1;!o&&n[qn].inlineEffectRunner?.flush(),qg(n);let a=!0,l=null,c=null;o||(XE(t)?(c=m1(n),l=ka(c)):w0()===null?(a=!1,c=b1(n),l=ka(c)):n[mn]&&(jc(n[mn]),n[mn]=null));try{Sw(n),lN(t.bindingStartIndex),e!==null&&VE(t,n,e,2,i);let d=(r&3)===3;if(!o)if(d){let h=t.preOrderCheckHooks;h!==null&&Od(n,h,null)}else{let h=t.preOrderHooks;h!==null&&Fd(n,h,0,null),cm(n,0)}if(s||E1(n),eD(n,0),t.contentQueries!==null&&HE(t,n),!o)if(d){let h=t.contentCheckHooks;h!==null&&Od(n,h)}else{let h=t.contentHooks;h!==null&&Fd(n,h,1),cm(n,1)}BL(t,n);let u=t.components;u!==null&&nD(n,u,0);let m=t.viewQuery;if(m!==null&&Zm(2,m,i),!o)if(d){let h=t.viewCheckHooks;h!==null&&Od(n,h)}else{let h=t.viewHooks;h!==null&&Fd(n,h,2),cm(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[Rd]){for(let h of n[Rd])h();n[Rd]=null}o||(n[Z]&=-73)}catch(d){throw o||bu(n),d}finally{c!==null&&(Lc(c,l),a&&v1(c)),Yg()}}function eD(t,n){for(let e=oE(t);e!==null;e=sE(e))for(let i=At;i<e.length;i++){let r=e[i];tD(r,n)}}function E1(t){for(let n=oE(t);n!==null;n=sE(n)){if(!(n[Z]&$d.HasTransplantedViews))continue;let e=n[bs];for(let i=0;i<e.length;i++){let r=e[i];Mw(r)}}}function D1(t,n,e){let i=lr(n,t);tD(i,e)}function tD(t,n){zg(t)&&Xm(t,n)}function Xm(t,n){let i=t[ne],r=t[Z],o=t[mn],s=!!(n===0&&r&16);if(s||=!!(r&64&&n===0),s||=!!(r&1024),s||=!!(o?.dirty&&Pc(o)),s||=!1,o&&(o.dirty=!1),t[Z]&=-9217,s)w1(i,t,i.template,t[Mt]);else if(r&8192){eD(t,1);let a=i.components;a!==null&&nD(t,a,1)}}function nD(t,n,e){for(let i=0;i<n.length;i++)D1(t,n[i],e)}function pv(t,n){let e=kw()?64:1088;for(t[qn].changeDetectionScheduler?.notify(n);t;){t[Z]|=e;let i=co(t);if(Mm(t)&&!i)return t;t=i}return null}function M1(){return Fu(wt(),X())}function Fu(t,n){return t.type&4?new S1(n,t,As(t,n)):null}function Cs(t,n){return A1(t,n)}function T1(t){let n=Error(`No component factory found for ${jt(t)}.`);return n[R1]=t,n}function O1(){let t=X(),n=wt(),e=lr(n.index,t);return(Ji(e)?e:t)[Qe]}function Jd(t,n,e){let i=e?t.styles:null,r=e?t.classes:null,o=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")o=a;else if(o==1)r=_m(r,a);else if(o==2){let l=a,c=n[++s];i=_m(i,l+": "+c+";")}}e?t.styles=i:t.stylesWithoutHost=i,e?t.classes=r:t.classesWithoutHost=r}function OC(t,n){let e=[];for(let i in t){if(!t.hasOwnProperty(i))continue;let r=t[i];if(r===void 0)continue;let o=Array.isArray(r),s=o?r[0]:r,a=o?r[1]:er.None;n?e.push({propName:s,templateName:i,isSignal:(a&er.SignalBased)!==0}):e.push({propName:s,templateName:i})}return e}function k1(t){let n=t.toLowerCase();return n==="svg"?Dw:n==="math"?Kk:null}function N1(t,n){let e=t[ne],i=mt;return t[i]=n,Rs(e,i,2,"#host",null)}function L1(t,n,e,i,r,o,s){let a=r[ne];P1(i,t,n,s);let l=null;n!==null&&(l=Jg(n,r[ys]));let c=o.rendererFactory.createRenderer(n,e),d=16;e.signals?d=4096:e.onPush&&(d=64);let u=Ru(r,BE(e),null,d,r[t.index],t,o,c,null,null,l);return a.firstCreatePass&&Qm(a,t,i.length-1),Ou(r,u),r[t.index]=u}function P1(t,n,e,i){for(let r of t)n.mergedAttrs=Qa(n.mergedAttrs,r.hostAttrs);n.mergedAttrs!==null&&(Jd(n,n.mergedAttrs,!0),e!==null&&NE(i,e,n))}function j1(t,n,e,i,r,o){let s=wt(),a=r[ne],l=vn(s,r);UE(a,r,s,e,null,i);for(let d=0;d<e.length;d++){let u=s.directiveStart+d,m=ho(r,a,u,s);rr(m,r)}zE(a,r,s),l&&rr(l,r);let c=ho(r,a,s.directiveStart+s.componentOffset,s);if(t[Mt]=r[Mt]=c,o!==null)for(let d of o)d(c,n);return sv(a,s,r),c}function V1(t,n,e,i){if(i)Em(t,e,["ng-version","18.2.13"]);else{let{attrs:r,classes:o}=Rk(n.selectors[0]);r&&Em(t,e,r),o&&o.length>0&&kE(t,e,o.join(" "))}}function B1(t,n,e){let i=t.projection=[];for(let r=0;r<n.length;r++){let o=e[r];i.push(o!=null?Array.from(o):null)}}function U1(){let t=wt();Eu(X()[ne],t)}function z1(){let t=wt();return sD(t,X())}function FC(t){return t[zd]}function pm(t){return t[zd]||(t[zd]=[])}function sD(t,n){let e,i=n[t.index];return xi(i)?e=i:(e=$E(i,n,null,t),n[t.index]=e,Ou(n,e)),G1(e,n,t,i),new oD(e,t,n)}function H1(t,n){let e=t[Qe],i=e.createComment(""),r=vn(n,t),o=TE(e,r);return Qd(e,o,i,OL(e,r),!1),i}function q1(t,n,e){return W1(t,n,e)}function Y1(t,n,e,i){if(t[lo])return;let r;e.type&8?r=Yn(i):r=H1(n,e),t[lo]=r}function K1(t,n){let e=t.localNames;if(e!==null){for(let i=0;i<e.length;i+=2)if(e[i]===n)return e[i+1]}return null}function Q1(t,n){return t.type&11?As(t,n):t.type&4?Fu(t,n):null}function Z1(t,n,e,i){return e===-1?Q1(n,t):e===-2?X1(t,n,i):ho(t,t[ne],e,n)}function X1(t,n,e){if(e===j)return As(n,t);if(e===Jt)return Fu(n,t);if(e===Rt)return sD(n,t)}function aD(t,n,e,i){let r=n[vi].queries[i];if(r.matches===null){let o=t.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(Z1(n,d,s[l+1],e.metadata.read))}}r.matches=a}return r.matches}function sg(t,n,e,i){let r=t.queries.getByIndex(e),o=r.matches;if(o!==null){let s=aD(t,n,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=n[-l];for(let u=At;u<d.length;u++){let m=d[u];m[ao]===m[Tt]&&sg(m[ne],m,c,i)}if(d[bs]!==null){let u=d[bs];for(let m=0;m<u.length;m++){let h=u[m];sg(h[ne],h,c,i)}}}}}return i}function gv(t,n){return t[vi].queries[n].queryList}function lD(t,n,e){let i=new _s((e&4)===4);return WL(t,n,i,i.destroy),(n[vi]??=new ig).queries.push(new ng(i))-1}function J1(t,n,e){let i=Ze();return i.firstCreatePass&&(dD(i,new tu(t,n,e),-1),(n&2)===2&&(i.staticViewQueries=!0)),lD(i,X(),n)}function cD(t,n,e,i){let r=Ze();if(r.firstCreatePass){let o=wt();dD(r,new tu(n,e,i),o.index),tP(r,t),(e&2)===2&&(r.staticContentQueries=!0)}return lD(r,X(),e)}function eP(t){return t.split(",").map(n=>n.trim())}function dD(t,n,e){t.queries===null&&(t.queries=new rg),t.queries.track(new og(n,e))}function tP(t,n){let e=t.contentQueries||(t.contentQueries=[]),i=e.length?e[e.length-1]:-1;n!==i&&e.push(t.queries.length-1,n)}function vv(t,n){return t.queries.getByIndex(n)}function uD(t,n){let e=t[ne],i=vv(e,n);return i.crossesNgTemplate?sg(e,t,n,[]):aD(e,t,i,n)}function bn(t){kC.has(t)||(kC.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function ku(t){return typeof t=="function"&&t[hn]!==void 0}function rn(t,n){bn("NgSignals");let e=k0(t),i=e[hn];return n?.equal&&(i.equal=n.equal),e.set=r=>mp(i,r),e.update=r=>N0(i,r),e.asReadonly=nP.bind(e),e}function nP(){let t=this[hn];if(t.readonlyFn===void 0){let n=()=>this();n[hn]=t,t.readonlyFn=n}return t.readonlyFn}function fD(t){return ku(t)&&typeof t.set=="function"}function hD(t,n){let e,i=pp(()=>{e._dirtyCounter();let r=sP(e,t);if(n&&r===void 0)throw new M(-951,!1);return r});return e=i[hn],e._dirtyCounter=rn(0),e._flatValue=void 0,i}function iP(){return hD(!0,!1)}function rP(){return hD(!0,!0)}function oP(t,n){let e=t[hn];e._lView=X(),e._queryIndex=n,e._queryList=gv(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(i=>i+1))}function sP(t,n){let e=t._lView,i=t._queryIndex;if(e===void 0||i===void 0||e[Z]&4)return n?void 0:Pt;let r=gv(e,i),o=uD(e,i);return r.reset(o,nE),n?r.first:r._changesDetected||t._flatValue===void 0?t._flatValue=r.toArray():t._flatValue}function NC(t,n){return iP()}function aP(t,n){return rP()}function lP(t){return Object.getPrototypeOf(t.prototype).constructor}function me(t){let n=lP(t.type),e=!0,i=[t];for(;n;){let r;if(nr(t))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new M(903,!1);r=n.\u0275dir}if(r){if(e){i.push(r);let s=t;s.inputs=Sd(t.inputs),s.inputTransforms=Sd(t.inputTransforms),s.declaredInputs=Sd(t.declaredInputs),s.outputs=Sd(t.outputs);let a=r.hostBindings;a&&hP(t,a);let l=r.viewQuery,c=r.contentQueries;if(l&&uP(t,l),c&&fP(t,c),cP(t,r),KF(t.outputs,r.outputs),nr(r)&&r.data.animation){let d=t.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(t),a===me&&(e=!1)}}n=Object.getPrototypeOf(n)}dP(i)}function cP(t,n){for(let e in n.inputs){if(!n.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let i=n.inputs[e];if(i!==void 0&&(t.inputs[e]=i,t.declaredInputs[e]=n.declaredInputs[e],n.inputTransforms!==null)){let r=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(r))continue;t.inputTransforms??={},t.inputTransforms[r]=n.inputTransforms[r]}}}function dP(t){let n=0,e=null;for(let i=t.length-1;i>=0;i--){let r=t[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Qa(r.hostAttrs,e=Qa(e,r.hostAttrs))}}function Sd(t){return t===gi?{}:t===Pt?[]:t}function uP(t,n){let e=t.viewQuery;e?t.viewQuery=(i,r)=>{n(i,r),e(i,r)}:t.viewQuery=n}function fP(t,n){let e=t.contentQueries;e?t.contentQueries=(i,r,o)=>{n(i,r,o),e(i,r,o)}:t.contentQueries=n}function hP(t,n){let e=t.hostBindings;e?t.hostBindings=(i,r)=>{n(i,r),e(i,r)}:t.hostBindings=n}function mD(t){let n=e=>{let i=Array.isArray(t);e.hostDirectives===null?(e.findHostDirectiveDefs=gD,e.hostDirectives=i?t.map(ag):[t]):i?e.hostDirectives.unshift(...t.map(ag)):e.hostDirectives.unshift(t)};return n.ngInherit=!0,n}function gD(t,n,e){if(t.hostDirectives!==null)for(let i of t.hostDirectives)if(typeof i=="function"){let r=i();for(let o of r)LC(ag(o),n,e)}else LC(i,n,e)}function LC(t,n,e){let i=kg(t.directive);pP(i.declaredInputs,t.inputs),gD(i,n,e),e.set(i,t),n.push(i)}function ag(t){return typeof t=="function"?{directive:xt(t),inputs:gi,outputs:gi}:{directive:xt(t.directive),inputs:PC(t.inputs),outputs:PC(t.outputs)}}function PC(t){if(t===void 0||t.length===0)return gi;let n={};for(let e=0;e<t.length;e+=2)n[t[e]]=t[e+1];return n}function pP(t,n){for(let e in n)if(n.hasOwnProperty(e)){let i=n[e],r=t[e];t[i]=r}}function vt(t){let n=t.inputConfig,e={};for(let i in n)if(n.hasOwnProperty(i)){let r=n[i];Array.isArray(r)&&r[3]&&(e[i]=r[3])}t.inputTransforms=e}function Nu(t,n,e=null){return new nu({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}function vD(t){return gP(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function mP(t,n){if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{let e=t[Symbol.iterator](),i;for(;!(i=e.next()).done;)n(i.value)}}function gP(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Lu(t,n,e){return t[n]=e}function vP(t,n){return t[n]}function tn(t,n,e){let i=t[n];return Object.is(i,e)?!1:(t[n]=e,!0)}function yv(t,n,e,i){let r=tn(t,n,e);return tn(t,n+1,i)||r}function yP(t,n,e,i,r){let o=yv(t,n,e,i);return tn(t,n+2,r)||o}function bP(t){return(t.flags&32)===32}function _P(t,n,e,i,r,o,s,a,l){let c=n.consts,d=Rs(n,t,4,s||null,a||null);uv(n,e,d,ir(c,l)),Eu(n,d);let u=d.tView=cv(2,d,i,r,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return n.queries!==null&&(n.queries.template(n,d),u.queries=n.queries.embeddedTView(d)),d}function iu(t,n,e,i,r,o,s,a,l,c){let d=e+mt,u=n.firstCreatePass?_P(d,n,t,i,r,o,s,a,l):n.data[d];go(u,!1);let m=xP(n,t,u,e);Cu()&&Au(n,t,m,u),rr(m,t);let h=$E(m,t,m,u);return t[d]=h,Ou(t,h),q1(h,u,t),vu(u)&&av(n,t,u),l!=null&&lv(t,u,c),u}function ie(t,n,e,i,r,o,s,a){let l=X(),c=Ze(),d=ir(c.consts,o);return iu(l,c,t,n,e,i,r,d,s,a),ie}function CP(t,n,e,i){return wu(!0),n[Qe].createComment("")}function fl(t,n){!n?.injector&&jg(fl);let e=n?.injector??y(Me);return EE(e)?(bn("NgAfterRender"),bD(t,e,n,!1)):_D}function Fn(t,n){!n?.injector&&jg(Fn);let e=n?.injector??y(Me);return EE(e)?(bn("NgAfterNextRender"),bD(t,e,n,!0)):_D}function wP(t,n){if(t instanceof Function){let e=[void 0,void 0,void 0,void 0];return e[n]=t,e}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function bD(t,n,e,i){let r=n.get(yD);r.impl??=n.get(dg);let o=e?.phase??fs.MixedReadWrite,s=e?.manualCleanup!==!0?n.get(Du):null,a=new ug(r.impl,wP(t,o),i,s);return r.impl.register(a),a}function Ie(t,n,e,i){let r=X(),o=vo();if(tn(r,o,n)){let s=Ze(),a=xu();a1(a,r,t,n,e,i)}return Ie}function xD(t,n,e,i){return tn(t,vo(),e)?n+oo(e)+i:nn}function EP(t,n,e,i,r,o){let s=aN(),a=yv(t,s,e,r);return Gg(2),a?n+oo(e)+i+oo(r)+o:nn}function Md(t,n){return t<<17|n<<2}function mo(t){return t>>17&32767}function DP(t){return(t&2)==2}function IP(t,n){return t&131071|n<<17}function fg(t){return t|2}function Ds(t){return(t&131068)>>2}function mm(t,n){return t&-131069|n<<2}function SP(t){return(t&1)===1}function hg(t){return t|1}function MP(t,n,e,i,r,o){let s=o?n.classBindings:n.styleBindings,a=mo(s),l=Ds(s);t[i]=e;let c=!1,d;if(Array.isArray(e)){let u=e;d=u[1],(d===null||ol(u,d)>0)&&(c=!0)}else d=e;if(r)if(l!==0){let m=mo(t[a+1]);t[i+1]=Md(m,a),m!==0&&(t[m+1]=mm(t[m+1],i)),t[a+1]=IP(t[a+1],i)}else t[i+1]=Md(a,0),a!==0&&(t[a+1]=mm(t[a+1],i)),a=i;else t[i+1]=Md(l,0),a===0?a=i:t[l+1]=mm(t[l+1],i),l=i;c&&(t[i+1]=fg(t[i+1])),jC(t,d,i,!0),jC(t,d,i,!1),AP(n,d,t,i,o),s=Md(a,l),o?n.classBindings=s:n.styleBindings=s}function AP(t,n,e,i,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof n=="string"&&ol(o,n)>=0&&(e[i+1]=hg(e[i+1]))}function jC(t,n,e,i){let r=t[e+1],o=n===null,s=i?mo(r):Ds(r),a=!1;for(;s!==0&&(a===!1||o);){let l=t[s],c=t[s+1];TP(l,n)&&(a=!0,t[s+1]=i?hg(c):fg(c)),s=i?mo(c):Ds(c)}a&&(t[e+1]=i?fg(r):hg(r))}function TP(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?ol(t,n)>=0:!1}function RP(t){return t.substring(Rn.key,Rn.keyEnd)}function OP(t){return FP(t),CD(t,wD(t,0,Rn.textEnd))}function CD(t,n){let e=Rn.textEnd;return e===n?-1:(n=Rn.keyEnd=kP(t,Rn.key=n,e),wD(t,n,e))}function FP(t){Rn.key=0,Rn.keyEnd=0,Rn.value=0,Rn.valueEnd=0,Rn.textEnd=t.length}function wD(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function kP(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function A(t,n,e){let i=X(),r=vo();if(tn(i,r,n)){let o=Ze(),s=xu();dv(o,s,i,t,n,i[Qe],e,!1)}return A}function pg(t,n,e,i,r){let o=n.inputs,s=r?"class":"style";fv(t,e,o[s],s,i)}function bo(t,n,e){return DD(t,n,e,!1),bo}function le(t,n){return DD(t,n,null,!0),le}function _o(t){ID(BP,ED,t,!0)}function ED(t,n){for(let e=OP(n);e>=0;e=CD(n,e))hu(t,RP(n),!0)}function DD(t,n,e,i){let r=X(),o=Ze(),s=Gg(2);if(o.firstUpdatePass&&MD(o,t,s,i),n!==nn&&tn(r,s,n)){let a=o.data[Ci()];AD(o,a,r,r[Qe],t,r[s+1]=zP(n,e),i,s)}}function ID(t,n,e,i){let r=Ze(),o=Gg(2);r.firstUpdatePass&&MD(r,null,o,i);let s=X();if(e!==nn&&tn(s,o,e)){let a=r.data[Ci()];if(TD(a,i)&&!SD(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(e=_m(l,e||"")),pg(r,a,s,e,i)}else UP(r,a,s,s[Qe],s[o+1],s[o+1]=VP(t,n,e),i,o)}}function SD(t,n){return n>=t.expandoStartIndex}function MD(t,n,e,i){let r=t.data;if(r[e+1]===null){let o=r[Ci()],s=SD(t,e);TD(o,i)&&n===null&&!s&&(n=!1),n=NP(r,o,n,i),MP(r,o,n,e,s,i)}}function NP(t,n,e,i){let r=fN(t),o=i?n.residualClasses:n.residualStyles;if(r===null)(i?n.classBindings:n.styleBindings)===0&&(e=gm(null,t,n,e,i),e=nl(e,n.attrs,i),o=null);else{let s=n.directiveStylingLast;if(s===-1||t[s]!==r)if(e=gm(r,t,n,e,i),o===null){let l=LP(t,n,i);l!==void 0&&Array.isArray(l)&&(l=gm(null,t,n,l[1],i),l=nl(l,n.attrs,i),PP(t,n,i,l))}else o=jP(t,n,i)}return o!==void 0&&(i?n.residualClasses=o:n.residualStyles=o),e}function LP(t,n,e){let i=e?n.classBindings:n.styleBindings;if(Ds(i)!==0)return t[mo(i)]}function PP(t,n,e,i){let r=e?n.classBindings:n.styleBindings;t[mo(r)]=i}function jP(t,n,e){let i,r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<r;o++){let s=t[o].hostAttrs;i=nl(i,s,e)}return nl(i,n.attrs,e)}function gm(t,n,e,i,r){let o=null,s=e.directiveEnd,a=e.directiveStylingLast;for(a===-1?a=e.directiveStart:a++;a<s&&(o=n[a],i=nl(i,o.hostAttrs,r),o!==t);)a++;return t!==null&&(e.directiveStylingLast=a),i}function nl(t,n,e){let i=e?1:2,r=-1;if(n!==null)for(let o=0;o<n.length;o++){let s=n[o];typeof s=="number"?r=s:r===i&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),hu(t,s,e?!0:n[++o]))}return t===void 0?null:t}function VP(t,n,e){if(e==null||e==="")return Pt;let i=[],r=yn(e);if(Array.isArray(r))for(let o=0;o<r.length;o++)t(i,r[o],!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&t(i,o,r[o]);else typeof r=="string"&&n(i,r);return i}function BP(t,n,e){let i=String(n);i!==""&&!i.includes(" ")&&hu(t,i,e)}function UP(t,n,e,i,r,o,s,a){r===nn&&(r=Pt);let l=0,c=0,d=0<r.length?r[0]:null,u=0<o.length?o[0]:null;for(;d!==null||u!==null;){let m=l<r.length?r[l+1]:void 0,h=c<o.length?o[c+1]:void 0,v=null,b;d===u?(l+=2,c+=2,m!==h&&(v=u,b=h)):u===null||d!==null&&d<u?(l+=2,v=d):(c+=2,v=u,b=h),v!==null&&AD(t,n,e,i,v,b,s,a),d=l<r.length?r[l]:null,u=c<o.length?o[c]:null}}function AD(t,n,e,i,r,o,s,a){if(!(n.type&3))return;let l=t.data,c=l[a+1],d=SP(c)?VC(l,n,e,r,Ds(c),s):void 0;if(!ru(d)){ru(o)||DP(c)&&(o=VC(l,null,e,r,a,s));let u=Iw(Ci(),e);jL(i,s,u,r,o)}}function VC(t,n,e,i,r,o){let s=n===null,a;for(;r>0;){let l=t[r],c=Array.isArray(l),d=c?l[1]:l,u=d===null,m=e[r+1];m===nn&&(m=u?Pt:void 0);let h=u?am(m,i):d===i?m:void 0;if(c&&!ru(h)&&(h=am(l,i)),ru(h)&&(a=h,s))return a;let v=t[r+1];r=s?mo(v):Ds(v)}if(n!==null){let l=o?n.residualClasses:n.residualStyles;l!=null&&(a=am(l,i))}return a}function ru(t){return t!==void 0}function zP(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=jt(yn(t)))),t}function TD(t,n){return(t.flags&(n?8:16))!==0}function Pu(t,n,e){let i=X(),r=xD(i,t,n,e);ID(hu,ED,r,!0)}function vm(t,n,e,i,r){return t===e&&Object.is(n,i)?1:Object.is(r(t,n),r(e,i))?-1:0}function $P(t,n,e){let i,r,o=0,s=t.length-1,a=void 0;if(Array.isArray(n)){let l=n.length-1;for(;o<=s&&o<=l;){let c=t.at(o),d=n[o],u=vm(o,c,o,d,e);if(u!==0){u<0&&t.updateValue(o,d),o++;continue}let m=t.at(s),h=n[l],v=vm(s,m,l,h,e);if(v!==0){v<0&&t.updateValue(s,h),s--,l--;continue}let b=e(o,c),E=e(s,m),S=e(o,d);if(Object.is(S,E)){let B=e(l,h);Object.is(B,b)?(t.swap(o,s),t.updateValue(s,h),l--,s--):t.move(s,o),t.updateValue(o,d),o++;continue}if(i??=new ou,r??=UC(t,o,s,e),gg(t,i,o,S))t.updateValue(o,d),o++,s++;else if(r.has(S))i.set(b,t.detach(o)),s--;else{let B=t.create(o,n[o]);t.attach(o,B),o++,s++}}for(;o<=l;)BC(t,i,e,o,n[o]),o++}else if(n!=null){let l=n[Symbol.iterator](),c=l.next();for(;!c.done&&o<=s;){let d=t.at(o),u=c.value,m=vm(o,d,o,u,e);if(m!==0)m<0&&t.updateValue(o,u),o++,c=l.next();else{i??=new ou,r??=UC(t,o,s,e);let h=e(o,u);if(gg(t,i,o,h))t.updateValue(o,u),o++,s++,c=l.next();else if(!r.has(h))t.attach(o,t.create(o,u)),o++,s++,c=l.next();else{let v=e(o,d);i.set(v,t.detach(o)),s--}}}for(;!c.done;)BC(t,i,e,t.length,c.value),c=l.next()}for(;o<=s;)t.destroy(t.detach(s--));i?.forEach(l=>{t.destroy(l)})}function gg(t,n,e,i){return n!==void 0&&n.has(i)?(t.attach(e,n.get(i)),n.delete(i),!0):!1}function BC(t,n,e,i,r){if(gg(t,n,i,e(i,r)))t.updateValue(i,r);else{let o=t.create(i,r);t.attach(i,o)}}function UC(t,n,e,i){let r=new Set;for(let o=n;o<=e;o++)r.add(i(o,t.at(o)));return r}function ot(t,n){bn("NgControlFlow");let e=X(),i=vo(),r=e[i]!==nn?e[i]:-1,o=r!==-1?su(e,mt+r):void 0,s=0;if(tn(e,i,t)){let a=ve(null);try{if(o!==void 0&&QE(o,s),t!==-1){let l=mt+t,c=su(e,l),d=_g(e[ne],l),u=Cs(c,d.tView.ssrId),m=dl(e,d,n,{dehydratedView:u});ul(c,m,s,xs(d,u))}}finally{ve(a)}}else if(o!==void 0){let a=KE(o,s);a!==void 0&&(a[Mt]=n)}}function RD(t){return t}function OD(t,n,e,i,r,o,s,a,l,c,d,u,m){bn("NgControlFlow");let h=X(),v=Ze(),b=l!==void 0,E=X(),S=a?s.bind(E[Xt][Mt]):s,B=new yg(b,S);E[mt+t]=B,iu(h,v,t+1,n,e,i,r,ir(v.consts,o)),b&&iu(h,v,t+2,l,c,d,u,ir(v.consts,m))}function FD(t){let n=ve(null),e=Ci();try{let i=X(),r=i[ne],o=i[e],s=e+1,a=su(i,s);if(o.liveCollection===void 0){let c=_g(r,s);o.liveCollection=new bg(a,i,c)}else o.liveCollection.reset();let l=o.liveCollection;if($P(l,t,o.trackByFn),l.updateIndexes(),o.hasEmptyBlock){let c=vo(),d=l.length===0;if(tn(i,c,d)){let u=e+2,m=su(i,u);if(d){let h=_g(r,u),v=Cs(m,h.tView.ssrId),b=dl(i,h,void 0,{dehydratedView:v});ul(m,b,0,xs(h,v))}else QE(m,0)}}}finally{ve(n)}}function su(t,n){return t[n]}function HP(t,n){return el(t,n)}function GP(t,n){return KE(t,n)}function _g(t,n){return Bg(t,n)}function WP(t,n,e,i,r,o){let s=n.consts,a=ir(s,r),l=Rs(n,t,2,i,a);return uv(n,e,l,ir(s,o)),l.attrs!==null&&Jd(l,l.attrs,!1),l.mergedAttrs!==null&&Jd(l,l.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,l),l}function I(t,n,e,i){let r=X(),o=Ze(),s=mt+t,a=r[Qe],l=o.firstCreatePass?WP(s,o,r,n,e,i):o.data[s],c=qP(o,r,l,a,n,t);r[s]=c;let d=vu(l);return go(l,!0),NE(a,c,l),!bP(l)&&Cu()&&Au(o,r,c,l),eN()===0&&rr(c,r),tN(),d&&(av(o,r,l),sv(o,l,r)),i!==null&&lv(r,l),I}function T(){let t=wt();$g()?Hg():(t=t.parent,go(t,!1));let n=t;iN(n)&&rN(),nN();let e=Ze();return e.firstCreatePass&&(Eu(e,t),Vg(t)&&e.queries.elementEnd(t)),n.classesWithoutHost!=null&&_N(n)&&pg(e,n,X(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&xN(n)&&pg(e,n,X(),n.stylesWithoutHost,!1),T}function J(t,n,e,i){return I(t,n,e,i),T(),J}function YP(t,n,e,i,r){let o=n.consts,s=ir(o,i),a=Rs(n,t,8,"ng-container",s);s!==null&&Jd(a,s,!0);let l=ir(o,r);return uv(n,e,a,l),n.queries!==null&&n.queries.elementStart(n,a),a}function kD(t,n,e){let i=X(),r=Ze(),o=t+mt,s=r.firstCreatePass?YP(o,r,i,n,e):r.data[o];go(s,!0);let a=KP(r,i,s,t);return i[o]=a,Cu()&&Au(r,i,a,s),rr(a,i),vu(s)&&(av(r,i,s),sv(r,s,i)),e!=null&&lv(i,s),kD}function ND(){let t=wt(),n=Ze();return $g()?Hg():(t=t.parent,go(t,!1)),n.firstCreatePass&&(Eu(n,t),Vg(t)&&n.queries.elementEnd(t)),ND}function hl(t,n,e){return kD(t,n,e),ND(),hl}function Pe(){return X()}function ur(t,n,e){let i=X(),r=vo();if(tn(i,r,n)){let o=Ze(),s=xu();dv(o,s,i,t,n,i[Qe],e,!0)}return ur}function ZP(t){typeof t=="string"&&(QP=t.toLowerCase().replace(/_/g,"-"))}function ee(t,n,e,i){let r=X(),o=Ze(),s=wt();return LD(o,r,r[Qe],s,t,n,i),ee}function JP(t,n,e,i){let r=t.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=n[Ud],l=r[o+2];return a.length>l?a[l]:null}typeof s=="string"&&(o+=2)}return null}function LD(t,n,e,i,r,o,s){let a=vu(i),c=t.firstCreatePass&&WE(t),d=n[Mt],u=GE(n),m=!0;if(i.type&3||s){let b=vn(i,n),E=s?s(b):b,S=u.length,B=s?De=>s(Yn(De[i.index])):i.index,G=null;if(!s&&a&&(G=JP(t,n,r,i.index)),G!==null){let De=G.__ngLastListenerFn__||G;De.__ngNextListenerFn__=o,G.__ngLastListenerFn__=o,m=!1}else{o=$C(i,n,d,o),XP(b,r,o);let De=e.listen(E,r,o);u.push(o,De),c&&c.push(r,B,S,S+1)}}else o=$C(i,n,d,o);let h=i.outputs,v;if(m&&h!==null&&(v=h[r])){let b=v.length;if(b)for(let E=0;E<b;E+=2){let S=v[E],B=v[E+1],nt=n[S][B].subscribe(o),Te=u.length;u.push(o,nt),c&&c.push(r,i.index,Te,-(Te+1))}}}function zC(t,n,e,i){let r=ve(null);try{return Hn(6,n,e),e(i)!==!1}catch(o){return qE(t,o),!1}finally{Hn(7,n,e),ve(r)}}function $C(t,n,e,i){return function r(o){if(o===Function)return i;let s=t.componentOffset>-1?lr(t.index,n):n;pv(s,5);let a=zC(n,e,i,o),l=r.__ngNextListenerFn__;for(;l;)a=zC(n,e,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function H(t=1){return pN(t)}function ej(t,n){let e=null,i=Dk(t);for(let r=0;r<n.length;r++){let o=n[r];if(o==="*"){e=r;continue}if(i===null?lw(t,o,!0):Mk(i,o))return r}return e}function on(t){let n=X()[Xt][Wt];if(!n.projection){let e=t?t.length:1,i=n.projection=gk(e,null),r=i.slice(),o=n.child;for(;o!==null;){if(o.type!==128){let s=t?ej(o,t):0;s!==null&&(r[s]?r[s].projectionNext=o:i[s]=o,r[s]=o)}o=o.next}}}function Ge(t,n=0,e,i,r,o){let s=X(),a=Ze(),l=i?t+1:null;l!==null&&iu(s,a,l,i,r,o,null,e);let c=Rs(a,mt+t,16,null,e||null);c.projection===null&&(c.projection=n),Hg();let u=!s[vs]||Ow();s[Xt][Wt].projection[c.projection]===null&&l!==null?tj(s,a,l):u&&(c.flags&32)!==32&&LL(a,s,c)}function tj(t,n,e){let i=mt+e,r=n.data[i],o=t[i],s=Cs(o,r.tView.ssrId),a=dl(t,r,void 0,{dehydratedView:s});ul(o,a,0,xs(r,s))}function kn(t,n,e,i){cD(t,n,e,i)}function Be(t,n,e){J1(t,n,e)}function Ce(t){let n=X(),e=Ze(),i=Wg();_u(i+1);let r=vv(e,i);if(t.dirty&&Qk(n)===((r.metadata.flags&2)===2)){if(r.matches===null)t.reset([]);else{let o=uD(n,i);t.reset(o,nE),t.notifyOnChanges()}return!0}return!1}function we(){return gv(X(),Wg())}function PD(t,n,e,i,r){oP(n,cD(t,e,i,r))}function jD(t=1){_u(Wg()+t)}function nj(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}function qt(t){let n=sN();return Ug(n,mt+t)}function oe(t,n=""){let e=X(),i=Ze(),r=t+mt,o=i.firstCreatePass?Rs(i,r,1,n,null):i.data[r],s=ij(i,e,o,n,t);e[r]=s,Cu()&&Au(i,e,s,o),go(o,!1)}function dt(t){return Je("",t,""),dt}function Je(t,n,e){let i=X(),r=xD(i,t,n,e);return r!==nn&&YE(i,Ci(),r),Je}function bv(t,n,e,i,r){let o=X(),s=EP(o,t,n,e,i,r);return s!==nn&&YE(o,Ci(),s),bv}function Os(t,n,e){fD(n)&&(n=n());let i=X(),r=vo();if(tn(i,r,n)){let o=Ze(),s=xu();dv(o,s,i,t,n,i[Qe],e,!1)}return Os}function pl(t,n){let e=fD(t);return e&&t.set(n),e}function Fs(t,n){let e=X(),i=Ze(),r=wt();return LD(i,e,e[Qe],r,t,n),Fs}function rj(t,n,e){let i=Ze();if(i.firstCreatePass){let r=nr(t);xg(e,i.data,i.blueprint,r,!0),xg(n,i.data,i.blueprint,r,!1)}}function xg(t,n,e,i,r){if(t=xt(t),Array.isArray(t))for(let o=0;o<t.length;o++)xg(t[o],n,e,i,r);else{let o=Ze(),s=X(),a=wt(),l=gs(t)?t:xt(t.provide),c=vw(t),d=a.providerIndexes&1048575,u=a.directiveStart,m=a.providerIndexes>>20;if(gs(t)||!t.multi){let h=new fo(c,r,p),v=bm(l,n,r?d:d+m,u);v===-1?(Fm(qd(a,s),o,l),ym(o,t,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),e.push(h),s.push(h)):(e[v]=h,s[v]=h)}else{let h=bm(l,n,d+m,u),v=bm(l,n,d,d+m),b=h>=0&&e[h],E=v>=0&&e[v];if(r&&!E||!r&&!b){Fm(qd(a,s),o,l);let S=aj(r?sj:oj,e.length,r,i,c);!r&&E&&(e[v].providerFactory=S),ym(o,t,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),e.push(S),s.push(S)}else{let S=VD(e[r?v:h],c,!r&&i);ym(o,t,h>-1?h:v,S)}!r&&i&&E&&e[v].componentProviders++}}}function ym(t,n,e,i){let r=gs(n),o=jk(n);if(r||o){let l=(o?xt(n.useClass):n).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&n.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 VD(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function bm(t,n,e,i){for(let r=e;r<i;r++)if(n[r]===t)return r;return-1}function oj(t,n,e,i){return Cg(this.multi,[])}function sj(t,n,e,i){let r=this.multi,o;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=ho(e,e[ne],this.providerFactory.index,i);o=a.slice(0,s),Cg(r,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],Cg(r,o);return o}function Cg(t,n){for(let e=0;e<t.length;e++){let i=t[e];n.push(i())}return n}function aj(t,n,e,i,r){let o=new fo(t,e,p);return o.multi=[],o.index=n,o.componentProviders=0,VD(o,r,i&&!e),o}function Ot(t,n=[]){return e=>{e.providersResolver=(i,r)=>rj(i,r?r(t):t,n)}}function Ee(t){bn("NgStandalone"),t.getStandaloneInjector=n=>n.get(lj).getOrCreateStandaloneInjector(t)}function ju(t,n,e){let i=Ms()+t,r=X();return r[i]===nn?Lu(r,i,e?n.call(e):n()):vP(r,i)}function BD(t,n,e,i){return $D(X(),Ms(),t,n,e,i)}function UD(t,n,e,i,r){return HD(X(),Ms(),t,n,e,i,r)}function zD(t,n,e,i,r,o){return cj(X(),Ms(),t,n,e,i,r,o)}function _v(t,n){let e=t[n];return e===nn?void 0:e}function $D(t,n,e,i,r,o){let s=n+e;return tn(t,s,r)?Lu(t,s+1,o?i.call(o,r):i(r)):_v(t,s+1)}function HD(t,n,e,i,r,o,s){let a=n+e;return yv(t,a,r,o)?Lu(t,a+2,s?i.call(s,r,o):i(r,o)):_v(t,a+2)}function cj(t,n,e,i,r,o,s,a){let l=n+e;return yP(t,l,r,o,s)?Lu(t,l+3,a?i.call(a,r,o,s):i(r,o,s)):_v(t,l+3)}function de(t,n){let e=Ze(),i,r=t+mt;e.firstCreatePass?(i=dj(n,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks??=[]).push(r,i.onDestroy)):i=e.data[r];let o=i.factory||(i.factory=so(i.type,!0)),s,a=Ht(p);try{let l=Wd(!1),c=o();return Wd(l),nj(e,X(),r,c),c}finally{Ht(a)}}function dj(t,n){if(n)for(let e=n.length-1;e>=0;e--){let i=n[e];if(t===i.name)return i}}function ge(t,n,e){let i=t+mt,r=X(),o=Ug(r,i);return GD(r,i)?$D(r,Ms(),n,o.transform,e,o):o.transform(e)}function ks(t,n,e,i){let r=t+mt,o=X(),s=Ug(o,r);return GD(o,r)?HD(o,Ms(),n,s.transform,e,i,s):s.transform(e,i)}function GD(t,n){return t[ne].data[n].pure}function xo(t,n){return Fu(t,n)}function Co(t){return!!t&&typeof t.then=="function"}function qD(t){return!!t&&typeof t.subscribe=="function"}function uj(){F0(()=>{throw new M(600,!1)})}function fj(t){return t.isBoundToModule}function pj(t,n,e){try{let i=e();return Co(i)?i.catch(r=>{throw n.runOutsideAngular(()=>t.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}function Nd(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function mj(t,n,e,i){if(!e&&!yu(t))return;JE(t,n,e&&!i?0:1)}function vj({ngZoneFactory:t,ignoreChangesOutsideZone:n,scheduleInRootZone:e}){return t??=()=>new F(ae(x({},yj()),{scheduleInRootZone:e})),[{provide:F,useFactory:t},{provide:ms,multi:!0,useFactory:()=>{let i=y(gj,{optional:!0});return()=>i.initialize()}},{provide:ms,multi:!0,useFactory:()=>{let i=y(bj);return()=>{i.initialize()}}},n===!0?{provide:iD,useValue:!0}:[],{provide:rD,useValue:e??Jw}]}function yj(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}function xj(){return typeof $localize<"u"&&$localize.locale||au}function Ad(t){return!t.moduleRef}function Cj(t){let n=Ad(t)?t.r3Injector:t.moduleRef.injector,e=n.get(F);return e.run(()=>{Ad(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let i=n.get(Gt,null),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:o=>{i.handleError(o)}})}),Ad(t)){let o=()=>n.destroy(),s=t.platformInjector.get(Eg);s.add(o),n.onDestroy(()=>{r.unsubscribe(),s.delete(o)})}else{let o=()=>t.moduleRef.destroy(),s=t.platformInjector.get(Eg);s.add(o),t.moduleRef.onDestroy(()=>{Nd(t.allPlatformModules,t.moduleRef),r.unsubscribe(),s.delete(o)})}return pj(i,e,()=>{let o=n.get(YD);return o.runInitializers(),o.donePromise.then(()=>{let s=n.get(zu,au);if(ZP(s||au),Ad(t)){let a=n.get(_n);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return wj(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function wj(t,n){let e=t.injector.get(_n);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>e.bootstrap(i));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(e);else throw new M(-403,!1);n.push(t)}function Ej(t=[],n){return Me.create({name:n,providers:[{provide:pu,useValue:"platform"},{provide:Eg,useValue:new Set([()=>Ld=null])},...t]})}function Dj(t=[]){if(Ld)return Ld;let n=Ej(t);return Ld=n,uj(),Ij(n),n}function Ij(t){t.get(Xg,null)?.forEach(e=>e())}function Sj(t){return Mj(wt(),X(),(t&16)===16)}function Mj(t,n,e){if(gu(t)&&!e){let i=lr(t.index,n);return new po(i,i)}else if(t.type&175){let i=n[Xt];return new po(i,n)}return null}function HC(t,n,e){let i=t.previousIndex;if(i===null)return i;let r=0;return e&&i<e.length&&(r=e[i]),i+n+r}function GC(){return new $u([new Dg])}function xv(t){try{let{rootComponent:n,appProviders:e,platformProviders:i}=t,r=Dj(i),o=[vj({}),{provide:ws,useExisting:_j},...e||[]],s=new nu({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1});return Cj({r3Injector:s.injector,platformInjector:r,rootComponent:n})}catch(n){return Promise.reject(n)}}function Ae(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Ii(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}function Si(t,n){bn("NgSignals");let e=pp(t);return n?.equal&&(e[hn].equal=n.equal),e}function xn(t){let n=ve(null);try{return t()}finally{ve(n)}}function Cv(t,n){bn("NgSignals"),!n?.injector&&jg(Cv);let e=n?.injector??y(Me),i=n?.manualCleanup!==!0?e.get(Du):null,r=new Tg(e.get(Tj),t,typeof Zone>"u"?null:Zone.current,i,e,n?.allowSignalWrites??!1),o=e.get(et,null,{optional:!0});return!o||!(o._lView[Z]&8)?r.watcher.notify():(o._lView[Rd]??=[]).push(r.watcher.notify),r}function KD(t){let n=tr(t);if(!n)return null;let e=new Es(n);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 n.standalone},get isSignal(){return n.signals}}}var WC,M,wd,Ya,QF,QC,rC,ZC,XF,C,JF,ek,tk,nk,Pd,qa,oC,he,xm,ok,Ka,Cm,jd,sk,ak,lk,sC,hs,rl,fu,gi,Pt,ms,iw,rw,Bd,ow,Wn,er,aw,Nk,pu,Td,Vk,lm,Ct,Za,_i,ne,Z,Tt,On,Wt,vs,Ud,Mt,ys,qn,Qe,Xa,uC,Ss,Xt,ao,ds,vi,mu,bw,Xi,Rd,mn,mt,_w,lo,zd,bs,At,$d,Ja,ww,fC,Hn,Dw,Kk,ce,Tw,Vw,Uw,ps,fo,dm,Rm,Om,wN,Hw,Gw,EN,Gn,ro,Me,RN,ON,Jw,Du,Nm,wi,Lm,P,Qg,Kd,kN,F,NN,jm,Gt,BN,j,_s,rE,$N,xC,Bm,ll,WN,Xg,gt,rt,yo,qN,YN,KN,dE,QN,Ed,Dd,yi,Um,zm,$m,Hm,Gm,Wm,qm,tL,vE,yE,bE,nL,iL,rL,EC,_E,oL,sL,aL,lL,Ym,fL,hL,Id,Et,vL,yL,bL,bi,xL,kL,AC,nn,GL,ZE,y1,_1,x1,po,Jt,I1,S1,yY,A1,ws,mv,iD,rD,Jm,Xd,R1,eg,en,or,Qn,F1,eu,Es,tg,Rt,$1,oD,G1,W1,ng,ig,tu,rg,og,kC,pD,sr,tl,lg,cg,nu,xP,fs,yD,dg,ug,_D,Rn,mg,ou,vg,yg,bg,qP,KP,au,QP,XP,ij,lj,Kn,Vu,WD,Bu,YD,Ns,hj,_n,wg,Uu,gj,bj,_j,zu,Eg,Ld,et,Dg,Aj,Ig,Sg,Mg,lu,$u,Tj,Rj,Ag,Tg,D=f(()=>{"use strict";j0();Re();ct();WC="https://g.co/ng/security#xss",M=class extends Error{constructor(n,e){super(cu(n,e)),this.code=n}};wd="__parameters__";Ya=globalThis;QF=je({__forward_ref__:je});QC=je({\u0275prov:je}),rC=je({\u0275inj:je}),ZC=je({ngInjectableDef:je}),XF=je({ngInjectorDef:je}),C=class{constructor(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=_({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};JF=je({\u0275cmp:je}),ek=je({\u0275dir:je}),tk=je({\u0275pipe:je}),nk=je({\u0275mod:je}),Pd=je({\u0275fac:je}),qa=je({__NG_ELEMENT_ID__:je}),oC=je({__NG_ENV_ID__:je});he=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(he||{});ok={},Ka=ok,Cm="__NG_DI_FLAG__",jd="ngTempTokenPath",sk="ngTokenPath",ak=/\n/gm,lk="\u0275",sC="__source";rl=tw(qC("Optional"),8),fu=tw(qC("SkipSelf"),4);gi={},Pt=[],ms=new C(""),iw=new C("",-1),rw=new C(""),Bd=class{get(n,e=Ka){if(e===Ka){let i=new Error(`NullInjectorError: No provider for ${jt(n)}!`);throw i.name="NullInjectorError",i}return e}},ow=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(ow||{}),Wn=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Wn||{}),er=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(er||{});aw="ng-template";Nk=je({provide:String,useValue:je});pu=new C(""),Td={},Vk={};Ct=class{},Za=class extends Ct{get destroyed(){return this._destroyed}constructor(n,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Sm(n,s=>this.processProvider(s)),this.records.set(iw,cs(void 0,this)),r.has("environment")&&this.records.set(Ct,cs(void 0,this));let o=this.records.get(pu);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(rw,Pt,he.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let n=ve(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(),ve(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();let e=Zi(this),i=Ht(void 0),r;try{return n()}finally{Zi(e),Ht(i)}}get(n,e=Ka,i=he.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(oC))return n[oC](this);i=uu(i);let r,o=Zi(this),s=Ht(void 0);try{if(!(i&he.SkipSelf)){let l=this.records.get(n);if(l===void 0){let c=Hk(n)&&du(n);c&&this.injectableDefInScope(c)?l=cs(Im(n),Td):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l)}let a=i&he.Self?Pg():this.parent;return e=i&he.Optional&&e===Ka?null:e,a.get(n,e)}catch(a){if(a.name==="NullInjectorError"){if((a[jd]=a[jd]||[]).unshift(jt(n)),o)throw a;return fk(a,n,"R3InjectorError",this.source)}else throw a}finally{Ht(s),Zi(o)}}resolveInjectorInitializers(){let n=ve(null),e=Zi(this),i=Ht(void 0),r;try{let o=this.get(ms,Pt,he.Self);for(let s of o)s()}finally{Zi(e),Ht(i),ve(n)}}toString(){let n=[],e=this.records;for(let i of e.keys())n.push(jt(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new M(205,!1)}processProvider(n){n=xt(n);let e=gs(n)?n:xt(n&&n.provide),i=Uk(n);if(!gs(n)&&n.multi===!0){let r=this.records.get(e);r||(r=cs(void 0,Td,!0),r.factory=()=>wm(r.multi),this.records.set(e,r)),e=n,r.multi.push(n)}this.records.set(e,i)}hydrate(n,e){let i=ve(null);try{return e.value===Td&&(e.value=Vk,e.value=e.factory()),typeof e.value=="object"&&e.value&&$k(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{ve(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=xt(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};_i=0,ne=1,Z=2,Tt=3,On=4,Wt=5,vs=6,Ud=7,Mt=8,ys=9,qn=10,Qe=11,Xa=12,uC=13,Ss=14,Xt=15,ao=16,ds=17,vi=18,mu=19,bw=20,Xi=21,Rd=22,mn=23,mt=25,_w=1,lo=7,zd=8,bs=9,At=10,$d=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}($d||{});Ja=class{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}};Ve.ngInherit=!0;ww="__ngSimpleChanges__";fC=null,Hn=function(t,n,e){fC?.(t,n,e)},Dw="svg",Kk="math";ce={lFrame:Pw(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Tw=!1;Vw=jw;Uw=!0;ps=-1,fo=class{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}};dm={},Rm=class{constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){i=uu(i);let r=this.injector.get(n,dm,i);return r!==dm||e===dm?r:this.parentInjector.get(n,e,i)}};Om=!0;wN=256,Hw=wN-1,Gw=5,EN=0,Gn={};ro=class{constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return Kw(this._tNode,this._lView,n,uu(i),e)}};Me=class t{static{this.THROW_IF_NOT_FOUND=Ka}static{this.NULL=new Bd}static create(n,e){if(Array.isArray(n))return vC({name:""},e,n,"");{let i=n.name??"";return vC({name:i},n.parent,n.providers,i)}}static{this.\u0275prov=_({token:t,providedIn:"any",factory:()=>g(iw)})}static{this.__NG_ELEMENT_ID__=-1}};RN=new C("");RN.__NG_ELEMENT_ID__=t=>{let n=wt();if(n===null)throw new M(204,!1);if(n.type&2)return n.value;if(t&he.Optional)return null;throw new M(204,!1)};ON="ngOriginalError";Jw=!0,Du=(()=>{class t{static{this.__NG_ELEMENT_ID__=FN}static{this.__NG_ENV_ID__=e=>e}}return t})(),Nm=class extends Du{constructor(n){super(),this._lView=n}onDestroy(n){return Aw(this._lView,n),()=>Jk(this._lView,n)}};wi=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new it(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=_({token:t,providedIn:"root",factory:()=>new t})}}return t})(),Lm=class extends R{constructor(n=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=n,yw()&&(this.destroyRef=y(Du,{optional:!0})??void 0,this.pendingTasks=y(wi,{optional:!0})??void 0)}emit(n){let e=ve(null);try{super.next(n)}finally{ve(e)}}subscribe(n,e,i){let r=n,o=e||(()=>null),s=i;if(n&&typeof n=="object"){let l=n;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 n instanceof _e&&n.add(a),a}wrapInTimeout(n){return e=>{let i=this.pendingTasks?.add();setTimeout(()=>{n(e),i!==void 0&&this.pendingTasks?.remove(i)})}}},P=Lm;Qg="isAngularZone",Kd=Qg+"_ID",kN=0,F=class t{constructor(n){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new P(!1),this.onMicrotaskEmpty=new P(!1),this.onStable=new P(!1),this.onError=new P(!1);let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=Jw}=n;if(typeof Zone>"u")throw new M(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,PN(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Qg)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new M(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new M(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,r){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,NN,Yd,Yd);try{return o.runTask(s,e,i)}finally{o.cancelTask(s)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}},NN={};jm=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new P,this.onMicrotaskEmpty=new P,this.onStable=new P,this.onError=new P}run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,r){return n.apply(e,i)}};Gt=class{constructor(){this._console=console}handleError(n){let e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&fm(n);for(;e&&fm(e);)e=fm(e);return e||null}},BN=new C("",{providedIn:"root",factory:()=>{let t=y(F),n=y(Gt);return e=>t.runOutsideAngular(()=>n.handleError(e))}});j=(()=>{class t{constructor(e){this.nativeElement=e}static{this.__NG_ELEMENT_ID__=UN}}return t})();_s=class t{get changes(){return this._changes??=new P}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let e=t.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=zN)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;let i=mk(n);(this._changesDetected=!pk(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};rE=new Map,$N=0;xC="__ngContext__";ll=new C("",{providedIn:"root",factory:()=>WN}),WN="ng",Xg=new C(""),gt=new C("",{providedIn:"platform",factory:()=>"unknown"}),rt=new C(""),yo=new C("",{providedIn:"root",factory:()=>cE().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),qN="h",YN="b",KN=()=>null;dE=!1,QN=new C("",{providedIn:"root",factory:()=>dE});yi=class{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${WC})`}},Um=class extends yi{getTypeName(){return"HTML"}},zm=class extends yi{getTypeName(){return"Style"}},$m=class extends yi{getTypeName(){return"Script"}},Hm=class extends yi{getTypeName(){return"URL"}},Gm=class extends yi{getTypeName(){return"ResourceURL"}};Wm=class{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let e=new window.DOMParser().parseFromString(Iu(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}},qm=class{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=Iu(n),e}};tL=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;vE=Di("area,br,col,hr,img,wbr"),yE=Di("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),bE=Di("rp,rt"),nL=cl(bE,yE),iL=cl(yE,Di("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")),rL=cl(bE,Di("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")),EC=cl(vE,iL,rL,nL),_E=Di("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),oL=Di("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"),sL=Di("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"),aL=cl(_E,oL,sL),lL=Di("script,style,template"),Ym=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let e=n.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=uL(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=dL(e);if(o){e=o;break}e=r.pop()}}return this.buf.join("")}startElement(n){let e=DC(n).toLowerCase();if(!EC.hasOwnProperty(e))return this.sanitizedSomething=!0,!lL.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let i=n.attributes;for(let r=0;r<i.length;r++){let o=i.item(r),s=o.name,a=s.toLowerCase();if(!aL.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;_E[a]&&(l=Su(l)),this.buf.push(" ",s,'="',IC(l),'"')}return this.buf.push(">"),!0}endElement(n){let e=DC(n).toLowerCase();EC.hasOwnProperty(e)&&!vE.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(IC(n))}};fL=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,hL=/([^\#-~ |!])/g;Et=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Et||{});vL=/^>|^->|<!--|-->|--!>|<!-$/g,yL=/(<|>)/g,bL="\u200B$1\u200B";bi=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(bi||{});kL=FL;nn={};GL=()=>null;ZE=[];y1=ae(x({},Ko),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{bu(t.lView)},consumerOnSignalRead(){this.lView[mn]=this}});_1=ae(x({},Ko),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let n=co(t.lView);for(;n&&!XE(n[ne]);)n=co(n);n&&Mw(n)},consumerOnSignalRead(){this.lView[mn]=this}});x1=100;po=class{get rootNodes(){let n=this._lView,e=n[ne];return Zd(e,n,e.firstChild,[])}constructor(n,e,i=!0){this._lView=n,this._cdRefInjectingView=e,this.notifyErrorHandler=i,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Mt]}set context(n){this._lView[Mt]=n}get destroyed(){return(this._lView[Z]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[Tt];if(xi(n)){let e=n[zd],i=e?e.indexOf(this):-1;i>-1&&(el(n,i),Vd(e,i))}this._attachedToViewContainer=!1}Mu(this._lView[ne],this._lView)}onDestroy(n){Aw(this._lView,n)}markForCheck(){pv(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Z]&=-129}reattach(){Am(this._lView),this._lView[Z]|=128}detectChanges(){this._lView[Z]|=1024,JE(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Mm(this._lView),e=this._lView[ao];e!==null&&!n&&rv(e,this._lView),IE(this._lView[ne],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=n;let e=Mm(this._lView),i=this._lView[ao];i!==null&&!e&&SE(i,this._lView),Am(this._lView)}},Jt=(()=>{class t{static{this.__NG_ELEMENT_ID__=M1}}return t})(),I1=Jt,S1=class extends I1{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,e){return this.createEmbeddedViewImpl(n,e)}createEmbeddedViewImpl(n,e,i){let r=dl(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:e,dehydratedView:i});return new po(r)}};yY=new RegExp(`^(\\d+)*(${YN}|${qN})*(.*)`),A1=()=>null;ws=class{},mv=new C("",{providedIn:"root",factory:()=>!1}),iD=new C(""),rD=new C(""),Jm=class{},Xd=class{};R1="ngComponent",eg=class{resolveComponentFactory(n){throw T1(n)}},en=class{static{this.NULL=new eg}},or=class{},Qn=(()=>{class t{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>O1()}}return t})();F1=(()=>{class t{static{this.\u0275prov=_({token:t,providedIn:"root",factory:()=>null})}}return t})();eu=class extends en{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=tr(n);return new Es(e,this.ngModule)}};Es=class extends Xd{get inputs(){let n=this.componentDef,e=n.inputTransforms,i=OC(n.inputs,!0);if(e!==null)for(let r of i)e.hasOwnProperty(r.propName)&&(r.transform=e[r.propName]);return i}get outputs(){return OC(this.componentDef.outputs,!1)}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=Tk(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!e}create(n,e,i,r){let o=ve(null);try{r=r||this.ngModule;let s=r instanceof Ct?r:r?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Rm(n,s):n,l=a.get(or,null);if(l===null)throw new M(407,!1);let c=a.get(F1,null),d=a.get(ws,null),u={rendererFactory:l,sanitizer:c,inlineEffectRunner:null,changeDetectionScheduler:d},m=l.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",v=i?$L(m,i,this.componentDef.encapsulation,a):DE(m,h,k1(h)),b=512;this.componentDef.signals?b|=4096:this.componentDef.onPush||(b|=16);let E=null;v!==null&&(E=Jg(v,a,!0));let S=cv(0,null,null,1,0,null,null,null,null,null,null),B=Ru(null,S,null,b,null,null,u,m,a,null,E);qg(B);let G,De,nt=null;try{let Te=this.componentDef,$e,ht=null;Te.findHostDirectiveDefs?($e=[],ht=new Map,Te.findHostDirectiveDefs(Te,$e,ht),$e.push(Te)):$e=[Te];let ui=N1(B,v);nt=L1(ui,v,Te,$e,B,u,m),De=Bg(S,mt),v&&V1(m,Te,v,i),e!==void 0&&B1(De,this.ngContentSelectors,e),G=j1(nt,Te,$e,ht,B,[U1]),hv(S,B,null)}catch(Te){throw nt!==null&&Vm(nt),Vm(B),Te}finally{Yg()}return new tg(this.componentType,G,As(De,B),B,De)}finally{ve(o)}}},tg=class extends Jm{constructor(n,e,i,r,o){super(),this.location=i,this._rootLView=r,this._tNode=o,this.previousInputValues=null,this.instance=e,this.hostView=this.changeDetectorRef=new po(r,void 0,!1),this.componentType=n}setInput(n,e){let i=this._tNode.inputs,r;if(i!==null&&(r=i[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let o=this._rootLView;fv(o[ne],o,r,n,e),this.previousInputValues.set(n,e);let s=lr(this._tNode.index,o);pv(s,1)}}get injector(){return new ro(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};Rt=(()=>{class t{static{this.__NG_ELEMENT_ID__=z1}}return t})();$1=Rt,oD=class extends $1{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return As(this._hostTNode,this._hostLView)}get injector(){return new ro(this._hostTNode,this._hostLView)}get parentInjector(){let n=Kg(this._hostTNode,this._hostLView);if($w(n)){let e=Gd(n,this._hostLView),i=Hd(n),r=e[ne].data[i+8];return new ro(r,e)}else return new ro(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=FC(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-At}createEmbeddedView(n,e,i){let r,o;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector);let s=Cs(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(e||{},o,s);return this.insertImpl(a,r,xs(this._hostTNode,s)),a}createComponent(n,e,i,r,o){let s=n&&!Gk(n),a;if(s)a=e;else{let v=e||{};a=v.index,i=v.injector,r=v.projectableNodes,o=v.environmentInjector||v.ngModuleRef}let l=s?n:new Es(tr(n)),c=i||this.parentInjector;if(!o&&l.ngModule==null){let b=(s?c:this.parentInjector).get(Ct,null);b&&(o=b)}let d=tr(l.componentType??{}),u=Cs(this._lContainer,d?.id??null),m=u?.firstChild??null,h=l.create(c,r,m,o);return this.insertImpl(h.hostView,a,xs(this._hostTNode,u)),h}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){let r=n._lView;if(Zk(r)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let l=r[Tt],c=new oD(l,l[Wt],l[Tt]);c.detach(c.indexOf(n))}}let o=this._adjustIndex(e),s=this._lContainer;return ul(s,r,o,i),n.attachToViewContainerRef(),nw(pm(s),o,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=FC(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),i=el(this._lContainer,e);i&&(Vd(pm(this._lContainer),e),Mu(i[ne],i))}detach(n){let e=this._adjustIndex(n,-1),i=el(this._lContainer,e);return i&&Vd(pm(this._lContainer),e)!=null?new po(i):null}_adjustIndex(n,e=0){return n??this.length+e}};G1=Y1,W1=()=>!1;ng=class t{constructor(n){this.queryList=n,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},ig=class t{constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let i=n.contentQueries!==null?n.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 t(r)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let e=0;e<this.queries.length;e++)vv(n,e).matches!==null&&this.queries[e].setDirty()}},tu=class{constructor(n,e,i=null){this.flags=e,this.read=i,typeof n=="string"?this.predicate=eP(n):this.predicate=n}},rg=class t{constructor(n=[]){this.queries=n}elementStart(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,e)}elementEnd(n){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(n)}embeddedTView(n){let e=null;for(let i=0;i<this.length;i++){let r=e!==null?e.length:0,o=this.getByIndex(i).embeddedTView(n,r);o&&(o.indexInDeclarationView=i,e!==null?e.push(o):e=[o])}return e!==null?new t(e):null}template(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,e)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},og=class t{constructor(n,e=-1){this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(n,e){this.isApplyingToNode(e)&&this.matchTNode(n,e)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,e){this.elementStart(n,e)}embeddedTView(n,e){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,e),new t(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let e=this._declarationNodeIndex,i=n.parent;for(;i!==null&&i.type&8&&i.index!==e;)i=i.parent;return e===(i!==null?i.index:-1)}return this._appliesToNextNode}matchTNode(n,e){let i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){let o=i[r];this.matchTNodeWithReadOption(n,e,K1(e,o)),this.matchTNodeWithReadOption(n,e,kd(e,n,o,!1,!1))}else i===Jt?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,kd(e,n,i,!1,!1))}matchTNodeWithReadOption(n,e,i){if(i!==null){let r=this.metadata.read;if(r!==null)if(r===j||r===Rt||r===Jt&&e.type&4)this.addMatch(e.index,-2);else{let o=kd(e,n,r,!1,!1);o!==null&&this.addMatch(e.index,o)}else this.addMatch(e.index,i)}}addMatch(n,e){this.matches===null?this.matches=[n,e]:this.matches.push(n,e)}};kC=new Set;pD=(NC.required=aP,NC);sr=class{},tl=class{},lg=class extends sr{constructor(n,e,i,r=!0){super(),this.ngModuleType=n,this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new eu(this);let o=uw(n);this._bootstrapComponents=wE(o.bootstrap),this._r3Injector=Xw(n,e,[{provide:sr,useValue:this},{provide:en,useValue:this.componentFactoryResolver},...i],jt(n),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},cg=class extends tl{constructor(n){super(),this.moduleType=n}create(n){return new lg(this.moduleType,n,[])}},nu=class extends sr{constructor(n){super(),this.componentFactoryResolver=new eu(this),this.instance=null;let e=new Za([...n.providers,{provide:sr,useValue:this},{provide:en,useValue:this.componentFactoryResolver}],n.parent||Pg(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};xP=CP;fs=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(fs||{}),yD=(()=>{class t{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=_({token:t,providedIn:"root",factory:()=>new t})}}return t})(),dg=class t{constructor(){this.ngZone=y(F),this.scheduler=y(ws),this.errorHandler=y(Gt,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[fs.EarlyRead,fs.Write,fs.MixedReadWrite,fs.Read]}execute(){this.executing=!0;for(let n of t.PHASES)for(let e of this.sequences)if(!(e.erroredOrDestroyed||!e.hooks[n]))try{e.pipelinedValue=this.ngZone.runOutsideAngular(()=>e.hooks[n](e.pipelinedValue))}catch(i){e.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(6))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static{this.\u0275prov=_({token:t,providedIn:"root",factory:()=>new t})}},ug=class{constructor(n,e,i,r){this.impl=n,this.hooks=e,this.once=i,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};_D={destroy(){}};Rn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};mg=class{destroy(n){}updateValue(n,e){}swap(n,e){let i=Math.min(n,e),r=Math.max(n,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(n,e){this.attach(e,this.detach(n))}};ou=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let e=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(n,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,e){if(this.kvMap.has(n)){let i=this.kvMap.get(n);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(n,e)}forEach(n){for(let[e,i]of this.kvMap)if(n(i,e),this._vMap!==void 0){let r=this._vMap;for(;r.has(i);)i=r.get(i),n(i,e)}}};vg=class{constructor(n,e,i){this.lContainer=n,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-At}};yg=class{constructor(n,e,i){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=i}};bg=class extends mg{constructor(n,e,i){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=i,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-At}at(n){return this.getLView(n)[Mt].$implicit}attach(n,e){let i=e[vs];this.needsIndexUpdate||=n!==this.length,ul(this.lContainer,e,n,xs(this.templateTNode,i))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,HP(this.lContainer,n)}create(n,e){let i=Cs(this.lContainer,this.templateTNode.tView.ssrId),r=dl(this.hostLView,this.templateTNode,new vg(this.lContainer,e,n),{dehydratedView:i});return this.operationsCounter?.recordCreate(),r}destroy(n){Mu(n[ne],n),this.operationsCounter?.recordDestroy()}updateValue(n,e){this.getLView(n)[Mt].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[Mt].$index=n}getLView(n){return GP(this.lContainer,n)}};qP=(t,n,e,i,r,o)=>(wu(!0),DE(i,r,gN()));KP=(t,n,e,i)=>(wu(!0),EL(n[Qe],""));au="en-US",QP=au;XP=(t,n,e)=>{};ij=(t,n,e,i,r)=>(wu(!0),CL(n[Qe],i));lj=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let i=pw(!1,e.type),r=i.length>0?Nu([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=_({token:t,providedIn:"environment",factory:()=>new t(g(Ct))})}}return t})();Kn=class{constructor(n){this.full=n;let e=n.split(".");this.major=e[0],this.minor=e[1],this.patch=e.slice(2).join(".")}},Vu=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"platform"})}}return t})(),WD=new C("");Bu=new C(""),YD=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i}),this.appInits=y(Bu,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let o=r();if(Co(o))e.push(o);else if(qD(o)){let s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});e.push(s)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),e.length===0&&i(),this.initialized=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Ns=new C("");hj=10;_n=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=y(BN),this.afterRenderManager=y(yD),this.zonelessEnabled=y(mv),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new R,this.afterTick=new R,this.componentTypes=[],this.components=[],this.isStable=y(wi).hasPendingTasks.pipe(k(e=>!e)),this._injector=y(Ct)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{e.unsubscribe()})}get injector(){return this._injector}bootstrap(e,i){let r=e instanceof Xd;if(!this._injector.get(YD).done){let m=!r&&dw(e),h=!1;throw new M(405,h)}let s;r?s=e:s=this._injector.get(en).resolveComponentFactory(e),this.componentTypes.push(s.componentType);let a=fj(s)?void 0:this._injector.get(sr),l=i||s.selector,c=s.create(Me.NULL,[],l,a),d=c.location.nativeElement,u=c.injector.get(WD,null);return u?.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),Nd(this.components,c),u?.unregisterApplication(d)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new M(101,!1);let e=ve(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,ve(e),this.afterTick.next()}}synchronize(){let e=null;this._injector.destroyed||(e=this._injector.get(or,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let i=0;for(;this.dirtyFlags!==0&&i++<hj;)this.synchronizeOnce(e)}synchronizeOnce(e){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&7){let i=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(i);for(let{_lView:r,notifyErrorHandler:o}of this._views)mj(r,o,i,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&7)return}else e?.begin?.(),e?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:e})=>yu(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;Nd(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);let i=this._injector.get(Ns,[]);[...this._bootstrapListeners,...i].forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>Nd(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new M(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();wg=class{constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}},Uu=(()=>{class t{compileModuleSync(e){return new cg(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let i=this.compileModuleSync(e),r=uw(e),o=wE(r.declarations).reduce((s,a)=>{let l=tr(a);return l&&s.push(new Es(l)),s},[]);return new wg(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),gj=(()=>{class t{constructor(){this.zone=y(F),this.changeDetectionScheduler=y(ws),this.applicationRef=y(_n)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();bj=(()=>{class t{constructor(){this.subscription=new _e,this.initialized=!1,this.zone=y(F),this.pendingTasks=y(wi)}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(()=>{F.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{F.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),_j=(()=>{class t{constructor(){this.appRef=y(_n),this.taskService=y(wi),this.ngZone=y(F),this.zonelessEnabled=y(mv),this.disableScheduling=y(iD,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new _e,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Kd):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(y(rD,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof jm||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&e===5)return;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?yC:eE;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>i(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Kd+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(e),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,yC(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();zu=new C("",{providedIn:"root",factory:()=>y(zu,he.Optional|he.SkipSelf)||xj()}),Eg=new C("");Ld=null;et=(()=>{class t{static{this.__NG_ELEMENT_ID__=Sj}}return t})();Dg=class{constructor(){}supports(n){return vD(n)}create(n){return new Ig(n)}},Aj=(t,n)=>n,Ig=class{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||Aj}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){let s=!i||e&&e.currentIndex<HC(i,r,o)?e:i,a=HC(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 h=m<o.length?o[m]:o[m]=0,v=h+m;d<=v&&v<c&&(o[m]=h+1)}let u=s.previousIndex;o[u]=d-c}}a!==l&&n(s,a,l)}}forEachPreviousItem(n){let e;for(e=this._previousItHead;e!==null;e=e._nextPrevious)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachMovedItem(n){let e;for(e=this._movesHead;e!==null;e=e._nextMoved)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}forEachIdentityChange(n){let e;for(e=this._identityChangesHead;e!==null;e=e._nextIdentityChange)n(e)}diff(n){if(n==null&&(n=[]),!vD(n))throw new M(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._itHead,i=!1,r,o,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)o=n[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,mP(n,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=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,r){let o;return n===null?o=this._itTail:(o=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,o,r)):(n=this._linkedRecords===null?null:this._linkedRecords.get(i,r),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,o,r)):n=this._addAfter(new Sg(e,i),o,r)),n}_verifyReinsertion(n,e,i,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(i,null);return o!==null?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;n!==null;){let e=n._next;this._addToRemovals(this._unlink(n)),n=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,e,i){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let r=n._prevRemoved,o=n._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){let r=e===null?this._itHead:e._next;return n._next=r,n._prev=e,r===null?this._itTail=n:r._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new lu),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,i=n._next;return e===null?this._itHead=i:e._next=i,i===null?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new lu),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},Sg=class{constructor(n,e){this.item=n,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},Mg=class{constructor(){this._head=null,this._tail=null}add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;i!==null;i=i._nextDup)if((e===null||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){let e=n._prevDup,i=n._nextDup;return e===null?this._head=i:e._nextDup=i,i===null?this._tail=e:i._prevDup=e,this._head===null}},lu=class{constructor(){this.map=new Map}put(n){let e=n.trackById,i=this.map.get(e);i||(i=new Mg,this.map.set(e,i)),i.add(n)}get(n,e){let i=n,r=this.map.get(i);return r?r.get(n,e):null}remove(n){let e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};$u=(()=>{class t{static{this.\u0275prov=_({token:t,providedIn:"root",factory:GC})}constructor(e){this.factories=e}static create(e,i){if(i!=null){let r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||GC()),deps:[[t,new fu,new rl]]}}find(e){let i=this.factories.find(r=>r.supports(e));if(i!=null)return i;throw new M(901,!1)}}return t})();Tj=new C("",{providedIn:"root",factory:()=>y(Rj)}),Rj=(()=>{class t{static{this.\u0275prov=_({token:t,providedIn:"root",factory:()=>new Ag})}}return t})(),Ag=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=y(wi),this.taskId=null}scheduleEffect(n){if(this.enqueue(n),this.taskId===null){let e=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(e),this.taskId=null})}}enqueue(n){let e=n.creationZone;this.queues.has(e)||this.queues.set(e,new Set);let i=this.queues.get(e);i.has(n)||(this.queuedEffectCount++,i.add(n))}flush(){for(;this.queuedEffectCount>0;)for(let[n,e]of this.queues)n===null?this.flushQueue(e):n.run(()=>this.flushQueue(e))}flushQueue(n){for(let e of n)n.delete(e),this.queuedEffectCount--,e.run()}},Tg=class{constructor(n,e,i,r,o,s){this.scheduler=n,this.effectFn=e,this.creationZone=i,this.injector=o,this.watcher=P0(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}runEffect(n){try{this.effectFn(n)}catch(e){this.injector.get(Gt,null,{optional:!0})?.handleError(e)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}});function Oj(t){return t.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}function Fj(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}function kj(t){return typeof t=="function"}function Nj(t,n){if(!wv){let e=Element.prototype;wv=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?wv.call(t,n):!1}function Lj(t,n){return t===n||t!==t&&n!==n}function Pj(t){let n={};return t.forEach(({propName:e,templateName:i,transform:r})=>{n[Oj(i)]=[e,r]}),n}function jj(t,n){return n.get(en).resolveComponentFactory(t).inputs}function Vj(t,n){let e=t.childNodes,i=n.map(()=>[]),r=-1;n.some((o,s)=>o==="*"?(r=s,!0):!1);for(let o=0,s=e.length;o<s;++o){let a=e[o],l=Bj(a,n,r);l!==-1&&i[l].push(a)}return i}function Bj(t,n,e){let i=e;return Fj(t)&&n.some((r,o)=>r!=="*"&&Nj(t,r)?(i=o,!0):!1),i}function Sv(t,n){let e=jj(t,n.injector),i=n.strategyFactory||new Ev(t,n.injector),r=Pj(e);class o extends Iv{static{this.observedAttributes=Object.keys(r)}get ngElementStrategy(){if(!this._ngElementStrategy){let a=this._ngElementStrategy=i.create(this.injector||n.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}constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,c,d){let[u,m]=r[a];this.ngElementStrategy.setInputValue(u,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 Hu,wv,Uj,Ev,Dv,Iv,QD=f(()=>{"use strict";D();Re();ct();Hu={schedule(t,n){let e=setTimeout(t,n);return()=>clearTimeout(e)},scheduleBeforeRender(t){if(typeof window>"u")return Hu.schedule(t,0);if(typeof window.requestAnimationFrame>"u")return Hu.schedule(t,16);let n=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(n)}};Uj=10,Ev=class{constructor(n,e){this.componentFactory=e.get(en).resolveComponentFactory(n)}create(n){return new Dv(this.componentFactory,n)}},Dv=class{constructor(n,e){this.componentFactory=n,this.injector=e,this.eventEmitters=new Zr(1),this.events=this.eventEmitters.pipe(qe(i=>St(...i))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:i})=>i)),this.ngZone=this.injector.get(F),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(n){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(n)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=Hu.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},Uj))})}getInputValue(n){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(n):this.componentRef.instance[n])}setInputValue(n,e,i){this.runInZone(()=>{if(i&&(e=i.call(this.componentRef?.instance,e)),this.componentRef===null){this.initialInputValues.set(n,e);return}Lj(e,this.getInputValue(n))&&!(e===void 0&&this.unchangedInputs.has(n))||(this.recordInputChange(n,e),this.unchangedInputs.delete(n),this.hasInputChanges=!0,this.componentRef.instance[n]=e,this.scheduleDetectChanges())})}initializeComponent(n){let e=Me.create({providers:[],parent:this.injector}),i=Vj(n,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,i,n),this.viewChangeDetectorRef=this.componentRef.injector.get(et),this.implementsOnChanges=kj(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(_n).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:n,transform:e})=>{this.initialInputValues.has(n)&&this.setInputValue(n,this.initialInputValues.get(n),e)}),this.initialInputValues.clear()}initializeOutputs(n){let e=this.componentFactory.outputs.map(({propName:i,templateName:r})=>n.instance[i].pipe(k(s=>({name:r,value:s}))));this.eventEmitters.next(e)}callNgOnChanges(n){if(!this.implementsOnChanges||this.inputChanges===null)return;let e=this.inputChanges;this.inputChanges=null,n.instance.ngOnChanges(e)}markViewForCheck(n){this.hasInputChanges&&(this.hasInputChanges=!1,n.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Hu.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(n,e){if(!this.implementsOnChanges)return;this.inputChanges===null&&(this.inputChanges={});let i=this.inputChanges[n];if(i){i.currentValue=e;return}let r=this.unchangedInputs.has(n),o=r?void 0:this.getInputValue(n);this.inputChanges[n]=new Ja(o,e,r)}detectChanges(){this.componentRef!==null&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(n){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(n):n()}},Iv=class extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}});function Ai(){return nI}function iI(t){nI??=t}function kv(t,n){if(t.length==0)return n;if(n.length==0)return t;let e=0;return t.endsWith("/")&&e++,n.startsWith("/")&&e++,e==2?t+n.substring(1):e==1?t+n:t+"/"+n}function ZD(t){let n=t.match(/#|\?|$/),e=n&&n.index||t.length,i=e-(t[e-1]==="/"?1:0);return t.slice(0,i)+t.slice(e)}function Mi(t){return t&&t[0]!=="?"?"?"+t:t}function Gj(){return new Zn(g(Ti))}function Wj(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function XD(t){return t.replace(/\/index.html$/,"")}function qj(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}function Wu(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let i=e.indexOf("="),[r,o]=i==-1?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}function eI(t,n){t.context.$implicit=n.item}function tI(t,n){if(!!!(!n||n.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${jt(n)}'.`)}function Yj(t,n){return new M(2100,!1)}function Xn(t){return t===Lv}function Ri(t){return t===Kj}function Qj(t,n){let e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=i.currentNode;for(;r;){let o=r.shadowRoot;if(o){let s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}r=i.nextNode()}}return null}var nI,Gu,z,Fv,rI,Hj,Ti,oI,Nv,sI,Zn,Mv,JD,fr,Av,qu,hr,Tv,Yu,aI,st,Lv,Kj,lI,Rv,Ov,Ls,pe=f(()=>{"use strict";D();D();nI=null;Gu=class{},z=new C(""),Fv=(()=>{class t{historyGo(e){throw new Error("")}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:()=>y(Hj),providedIn:"platform"})}}return t})(),rI=new C(""),Hj=(()=>{class t extends Fv{constructor(){super(),this._doc=y(z),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ai().getBaseHref(this._doc)}onPopState(e){let i=Ai().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){let i=Ai().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,i,r){this._history.pushState(e,i,r)}replaceState(e,i,r){this._history.replaceState(e,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:()=>new t,providedIn:"platform"})}}return t})();Ti=(()=>{class t{historyGo(e){throw new Error("")}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:()=>y(Nv),providedIn:"root"})}}return t})(),oI=new C(""),Nv=(()=>{class t extends Ti{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??y(z).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 kv(this._baseHref,e)}path(e=!1){let i=this._platformLocation.pathname+Mi(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+Mi(o));this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+Mi(o));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static{this.\u0275fac=function(i){return new(i||t)(g(Fv),g(oI,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),sI=(()=>{class t extends Ti{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(e){let i=kv(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+Mi(o));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+Mi(o));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static{this.\u0275fac=function(i){return new(i||t)(g(Fv),g(oI,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),Zn=(()=>{class t{constructor(e){this._subject=new P,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;let i=this._locationStrategy.getBaseHref();this._basePath=qj(ZD(XD(i))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Mi(i))}normalize(e){return t.stripTrailingSlash(Wj(this._basePath,XD(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+Mi(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Mi(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{let i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i,complete:r})}static{this.normalizeQueryParams=Mi}static{this.joinWithSlash=kv}static{this.stripTrailingSlash=ZD}static{this.\u0275fac=function(i){return new(i||t)(g(Ti))}}static{this.\u0275prov=_({token:t,factory:()=>Gj(),providedIn:"root"})}}return t})();Mv=/\s+/,JD=[],fr=(()=>{class t{constructor(e,i){this._ngEl=e,this._renderer=i,this.initialClasses=JD,this.stateMap=new Map}set klass(e){this.initialClasses=e!=null?e.trim().split(Mv):JD}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(Mv):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(Mv).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(Qn))}}static{this.\u0275dir=V({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return t})(),Av=class{constructor(n,e,i,r){this.$implicit=n,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}},qu=(()=>{class t{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;if(!this._differ&&e)if(0)try{}catch{}else 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 Av(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),eI(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);eI(o,r)})}static ngTemplateContextGuard(e,i){return!0}static{this.\u0275fac=function(i){return new(i||t)(p(Rt),p(Jt),p($u))}}static{this.\u0275dir=V({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return t})();hr=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new Tv,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){tI("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){tI("ngIfElse",e),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 ngTemplateContextGuard(e,i){return!0}static{this.\u0275fac=function(i){return new(i||t)(p(Rt),p(Jt))}}static{this.\u0275dir=V({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return t})(),Tv=class{constructor(){this.$implicit=null,this.ngIf=null}};Yu=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(this._shouldRecreateView(e)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,i,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,r):!1,get:(e,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static{this.\u0275fac=function(i){return new(i||t)(p(Rt))}}static{this.\u0275dir=V({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Ve]})}}return t})();aI=(()=>{class t{transform(e){if(e==null)return null;if(typeof e!="string")throw Yj(t,e);return e.toUpperCase()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=Is({name:"uppercase",type:t,pure:!0,standalone:!0})}}return t})(),st=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({})}}return t})(),Lv="browser",Kj="server";lI=(()=>{class t{static{this.\u0275prov=_({token:t,providedIn:"root",factory:()=>Xn(y(gt))?new Rv(y(z),window):new Ov})}}return t})(),Rv=class{constructor(n,e){this.document=n,this.window=e,this.offset=()=>[0,0]}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){let e=Qj(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n}scrollToElement(n){let e=n.getBoundingClientRect(),i=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}};Ov=class{setOffset(n){}getScrollPosition(){return[0,0]}scrollToPosition(n){}scrollToAnchor(n){}setHistoryScrollRestoration(n){}},Ls=class{}});function Zj(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[s,a]=o==-1?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}function cI(t){return encodeURIComponent(t).replace(Xj,(n,e)=>Jj[e]??n)}function Ku(t){return`${t}`}function eV(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function dI(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function uI(t){return typeof Blob<"u"&&t instanceof Blob}function fI(t){return typeof FormData<"u"&&t instanceof FormData}function tV(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}function Pv(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}function hI(t){if(t.url)return t.url;let n=rV.toLocaleLowerCase();return t.headers.get(n)}function Uv(){}function sV(t){t.then(Uv,Uv)}function aV(t,n){return n(t)}function lV(t,n,e){return(i,r)=>gn(e,()=>n(i,o=>t(o,r)))}function fV(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}function yV(t,n){let e=t.url.toLowerCase();if(!y(vI)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return n(t);let i=y(Xu).getToken(),r=y(gV);return i!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,i)})),n(t)}function bV(t,n){return{\u0275kind:t,\u0275providers:n}}function bI(...t){let n=[vr,mI,pI,{provide:gl,useExisting:pI},{provide:Qu,useFactory:()=>y(oV,{optional:!0})??y(mI)},{provide:zv,useValue:yV,multi:!0},{provide:vI,useValue:!0},{provide:Xu,useClass:vV}];for(let e of t)n.push(...e.\u0275providers);return sl(n)}function _I(t){return bV(yI.Interceptors,t.map(n=>({provide:zv,useValue:n,multi:!0})))}var gl,Qu,Jn,jv,Xj,Jj,mr,Vv,ml,gr,vl,Zu,yl,pr,gI,nV,vr,iV,rV,oV,Bv,zv,cV,dV,pI,uV,mI,vI,hV,pV,mV,gV,Xu,vV,yI,bl=f(()=>{"use strict";D();D();Re();ct();pe();pe();gl=class{},Qu=class{},Jn=class t{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
8
+ `).forEach(e=>{let i=e.indexOf(":");if(i>0){let r=e.slice(0,i),o=r.toLowerCase(),s=e.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,i)=>{this.setHeaderEntries(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(n.name,e);let r=(n.op==="a"?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":let o=n.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}setHeaderEntries(n,e){let i=(Array.isArray(e)?e:[e]).map(o=>o.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}},jv=class{encodeKey(n){return cI(n)}encodeValue(n){return cI(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};Xj=/%(\d[a-f0-9])/gi,Jj={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};mr=class t{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new jv,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=Zj(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let i=n.fromObject[e],r=Array.isArray(i)?i.map(Ku):[Ku(i)];this.map.set(e,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(i=>{let r=n[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(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(Ku(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let i=this.map.get(n.param)||[],r=i.indexOf(Ku(n.value));r!==-1&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}},Vv=class{constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};ml=class t{constructor(n,e,i,r){this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase();let o;if(eV(this.method)||r?(this.body=i!==void 0?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Jn,this.context??=new Vv,!this.params)this.params=new mr,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"||dI(this.body)||uI(this.body)||fI(this.body)||tV(this.body)?this.body:this.body instanceof mr?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||fI(this.body)?null:uI(this.body)?this.body.type||null:dI(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof mr?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(n={}){let e=n.method||this.method,i=n.url||this.url,r=n.responseType||this.responseType,o=n.transferCache??this.transferCache,s=n.body!==void 0?n.body:this.body,a=n.withCredentials??this.withCredentials,l=n.reportProgress??this.reportProgress,c=n.headers||this.headers,d=n.params||this.params,u=n.context??this.context;return n.setHeaders!==void 0&&(c=Object.keys(n.setHeaders).reduce((m,h)=>m.set(h,n.setHeaders[h]),c)),n.setParams&&(d=Object.keys(n.setParams).reduce((m,h)=>m.set(h,n.setParams[h]),d)),new t(e,i,s,{params:d,headers:c,context:u,reportProgress:l,responseType:r,withCredentials:a,transferCache:o})}},gr=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(gr||{}),vl=class{constructor(n,e=200,i="OK"){this.headers=n.headers||new Jn,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},Zu=class t extends vl{constructor(n={}){super(n),this.type=gr.ResponseHeader}clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},yl=class t extends vl{constructor(n={}){super(n),this.type=gr.Response,this.body=n.body!==void 0?n.body:null}clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},pr=class extends vl{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},gI=200,nV=204;vr=(()=>{class t{constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof ml)o=e;else{let l;r.headers instanceof Jn?l=r.headers:l=new Jn(r.headers);let c;r.params&&(r.params instanceof mr?c=r.params:c=new mr({fromObject:r.params})),o=new ml(e,i,r.body!==void 0?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}let s=O(o).pipe(An(l=>this.handler.handle(l)));if(e instanceof ml||r.observe==="events")return s;let a=s.pipe(xe(l=>l instanceof yl));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(k(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(k(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(k(l=>{if(l.body!==null&&typeof l.body!="string")throw new Error("Response is not a string.");return l.body}));case"json":default:return a.pipe(k(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:new mr().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,Pv(r,i))}post(e,i,r={}){return this.request("POST",e,Pv(r,i))}put(e,i,r={}){return this.request("PUT",e,Pv(r,i))}static{this.\u0275fac=function(i){return new(i||t)(g(gl))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),iV=/^\)\]\}',?\n/,rV="X-Request-URL";oV=(()=>{class t{constructor(){this.fetchImpl=y(Bv,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e)),this.ngZone=y(F)}handle(e){return new Q(i=>{let r=new AbortController;return this.doRequest(e,r.signal,i).then(Uv,o=>i.error(new pr({error:o}))),()=>r.abort()})}doRequest(e,i,r){return Yo(this,null,function*(){let o=this.createRequestInit(e),s;try{let h=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,x({signal:i},o)));sV(h),r.next({type:gr.Sent}),s=yield h}catch(h){r.error(new pr({error:h,status:h.status??0,statusText:h.statusText,url:e.urlWithParams,headers:h.headers}));return}let a=new Jn(s.headers),l=s.statusText,c=hI(s)??e.urlWithParams,d=s.status,u=null;if(e.reportProgress&&r.next(new Zu({headers:a,status:d,statusText:l,url:c})),s.body){let h=s.headers.get("content-length"),v=[],b=s.body.getReader(),E=0,S,B,G=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Yo(this,null,function*(){for(;;){let{done:nt,value:Te}=yield b.read();if(nt)break;if(v.push(Te),E+=Te.length,e.reportProgress){B=e.responseType==="text"?(B??"")+(S??=new TextDecoder).decode(Te,{stream:!0}):void 0;let $e=()=>r.next({type:gr.DownloadProgress,total:h?+h:void 0,loaded:E,partialText:B});G?G.run($e):$e()}}}));let De=this.concatChunks(v,E);try{let nt=s.headers.get("Content-Type")??"";u=this.parseBody(e,De,nt)}catch(nt){r.error(new pr({error:nt,headers:new Jn(s.headers),status:s.status,statusText:s.statusText,url:hI(s)??e.urlWithParams}));return}}d===0&&(d=u?gI:0),d>=200&&d<300?(r.next(new yl({body:u,headers:a,status:d,statusText:l,url:c})),r.complete()):r.error(new pr({error:u,headers:a,status:d,statusText:l,url:c}))})}parseBody(e,i,r){switch(e.responseType){case"json":let o=new TextDecoder().decode(i).replace(iV,"");return o===""?null:JSON.parse(o);case"text":return new TextDecoder().decode(i);case"blob":return new Blob([i],{type:r});case"arraybuffer":return i.buffer}}createRequestInit(e){let i={},r=e.withCredentials?"include":void 0;if(e.headers.forEach((o,s)=>i[o]=s.join(",")),e.headers.has("Accept")||(i.Accept="application/json, text/plain, */*"),!e.headers.has("Content-Type")){let o=e.detectContentTypeHeader();o!==null&&(i["Content-Type"]=o)}return{body:e.serializeBody(),method:e.method,headers:i,credentials:r}}concatChunks(e,i){let r=new Uint8Array(i),o=0;for(let s of e)r.set(s,o),o+=s.length;return r}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),Bv=class{};zv=new C(""),cV=new C(""),dV=new C("",{providedIn:"root",factory:()=>!0}),pI=(()=>{class t extends gl{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null,this.pendingTasks=y(wi),this.contributeToStability=y(dV)}handle(e){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(zv),...this.injector.get(cV,[])]));this.chain=i.reduceRight((r,o)=>lV(r,o,this.injector),aV)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe($t(()=>this.pendingTasks.remove(i)))}else return this.chain(e,i=>this.backend.handle(i))}static{this.\u0275fac=function(i){return new(i||t)(g(Qu),g(Ct))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),uV=/^\)\]\}',?\n/;mI=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new M(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?Ne(i.\u0275loadImpl()):O(null)).pipe(qe(()=>new Q(o=>{let s=i.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((b,E)=>s.setRequestHeader(b,E.join(","))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){let b=e.detectContentTypeHeader();b!==null&&s.setRequestHeader("Content-Type",b)}if(e.responseType){let b=e.responseType.toLowerCase();s.responseType=b!=="json"?b:"text"}let a=e.serializeBody(),l=null,c=()=>{if(l!==null)return l;let b=s.statusText||"OK",E=new Jn(s.getAllResponseHeaders()),S=fV(s)||e.url;return l=new Zu({headers:E,status:s.status,statusText:b,url:S}),l},d=()=>{let{headers:b,status:E,statusText:S,url:B}=c(),G=null;E!==nV&&(G=typeof s.response>"u"?s.responseText:s.response),E===0&&(E=G?gI:0);let De=E>=200&&E<300;if(e.responseType==="json"&&typeof G=="string"){let nt=G;G=G.replace(uV,"");try{G=G!==""?JSON.parse(G):null}catch(Te){G=nt,De&&(De=!1,G={error:Te,text:G})}}De?(o.next(new yl({body:G,headers:b,status:E,statusText:S,url:B||void 0})),o.complete()):o.error(new pr({error:G,headers:b,status:E,statusText:S,url:B||void 0}))},u=b=>{let{url:E}=c(),S=new pr({error:b,status:s.status||0,statusText:s.statusText||"Unknown Error",url:E||void 0});o.error(S)},m=!1,h=b=>{m||(o.next(c()),m=!0);let E={type:gr.DownloadProgress,loaded:b.loaded};b.lengthComputable&&(E.total=b.total),e.responseType==="text"&&s.responseText&&(E.partialText=s.responseText),o.next(E)},v=b=>{let E={type:gr.UploadProgress,loaded:b.loaded};b.lengthComputable&&(E.total=b.total),o.next(E)};return s.addEventListener("load",d),s.addEventListener("error",u),s.addEventListener("timeout",u),s.addEventListener("abort",u),e.reportProgress&&(s.addEventListener("progress",h),a!==null&&s.upload&&s.upload.addEventListener("progress",v)),s.send(a),o.next({type:gr.Sent}),()=>{s.removeEventListener("error",u),s.removeEventListener("abort",u),s.removeEventListener("load",d),s.removeEventListener("timeout",u),e.reportProgress&&(s.removeEventListener("progress",h),a!==null&&s.upload&&s.upload.removeEventListener("progress",v)),s.readyState!==s.DONE&&s.abort()}})))}static{this.\u0275fac=function(i){return new(i||t)(g(Ls))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),vI=new C(""),hV="XSRF-TOKEN",pV=new C("",{providedIn:"root",factory:()=>hV}),mV="X-XSRF-TOKEN",gV=new C("",{providedIn:"root",factory:()=>mV}),Xu=class{},vV=(()=>{class t{constructor(e,i,r){this.doc=e,this.platform=i,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Wu(e,this.cookieName),this.lastCookieString=e),this.lastToken}static{this.\u0275fac=function(i){return new(i||t)(g(z),g(gt),g(pV))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})();yI=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(yI||{})});function xV(){return _l=_l||document.querySelector("base"),_l?_l.getAttribute("href"):null}function CV(t){return new URL(t,document.baseURI).pathname}function MV(t){return DV.replace(Kv,t)}function AV(t){return EV.replace(Kv,t)}function II(t,n){return n.map(e=>e.replace(Kv,t))}function xI(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}function SI(t,n){return xv(x({rootComponent:t},AI(n)))}function MI(t){return xv(AI(t))}function AI(t){return{appProviders:[...jV,...t?.providers??[]],platformProviders:PV}}function kV(){Wv.makeCurrent()}function NV(){return new Gt}function LV(){return lE(document),document}var Gv,Wv,_l,wV,qv,wI,Ju,$v,EI,Hv,Kv,DI,EV,DV,IV,SV,ef,xl,Yv,Cl,tf,TV,CI,RV,OV,FV,PV,jV,TI,wl,VV,Ps=f(()=>{"use strict";pe();D();D();Gv=class extends Gu{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Wv=class t extends Gv{static makeCurrent(){iI(new t)}onAndCancel(n,e,i){return n.addEventListener(e,i),()=>{n.removeEventListener(e,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=xV();return e==null?null:CV(e)}resetBaseElement(){_l=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Wu(document.cookie,n)}},_l=null;wV=(()=>{class t{build(){return new XMLHttpRequest}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),qv=new C(""),wI=(()=>{class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(r=>{r.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,r){return this._findPluginFor(i).addEventListener(e,i,r)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(o=>o.supports(e)),!i)throw new M(5101,!1);return this._eventNameToPlugin.set(e,i),i}static{this.\u0275fac=function(i){return new(i||t)(g(qv),g(F))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),Ju=class{constructor(n){this._doc=n}},$v="ng-app-id",EI=(()=>{class t{constructor(e,i,r,o={}){this.doc=e,this.appId=i,this.nonce=r,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Ri(o),this.resetHostNodes()}addStyles(e){for(let i of e)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(e){for(let i of e)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let e=this.styleNodesInDOM;e&&(e.forEach(i=>i.remove()),e.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(let i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(let i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){let i=this.styleRef;i.get(e)?.elements?.forEach(r=>r.remove()),i.delete(e)}collectServerRenderedStyles(){let e=this.doc.head?.querySelectorAll(`style[${$v}="${this.appId}"]`);if(e?.length){let i=new Map;return e.forEach(r=>{r.textContent!=null&&i.set(r.textContent,r)}),i}return null}changeUsageCount(e,i){let r=this.styleRef;if(r.has(e)){let o=r.get(e);return o.usage+=i,o.usage}return r.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){let r=this.styleNodesInDOM,o=r?.get(i);if(o?.parentNode===e)return r.delete(i),o.removeAttribute($v),o;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute($v,this.appId),e.appendChild(s),s}}addStyleToHost(e,i){let r=this.getStyleElement(e,i),o=this.styleRef,s=o.get(i)?.elements;s?s.push(r):o.set(i,{elements:[r],usage:1})}resetHostNodes(){let e=this.hostNodes;e.clear(),e.add(this.doc.head)}static{this.\u0275fac=function(i){return new(i||t)(g(z),g(ll),g(yo,8),g(gt))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),Hv={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"},Kv=/%COMP%/g,DI="%COMP%",EV=`_nghost-${DI}`,DV=`_ngcontent-${DI}`,IV=!0,SV=new C("",{providedIn:"root",factory:()=>IV});ef=(()=>{class t{constructor(e,i,r,o,s,a,l,c=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=Ri(a),this.defaultRenderer=new xl(e,s,l,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Wn.ShadowDom&&(i=ae(x({},i),{encapsulation:Wn.Emulated}));let r=this.getOrCreateRenderer(e,i);return r instanceof tf?r.applyToHost(e):r instanceof Cl&&r.applyStyles(),r}getOrCreateRenderer(e,i){let r=this.rendererByCompId,o=r.get(i.id);if(!o){let s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,u=this.platformIsServer;switch(i.encapsulation){case Wn.Emulated:o=new tf(l,c,i,this.appId,d,s,a,u);break;case Wn.ShadowDom:return new Yv(l,c,e,i,s,a,this.nonce,u);default:o=new Cl(l,c,i,d,s,a,u);break}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(i){return new(i||t)(g(wI),g(EI),g(ll),g(SV),g(z),g(gt),g(F),g(yo))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),xl=class{constructor(n,e,i,r){this.eventManager=n,this.doc=e,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,e){return e?this.doc.createElementNS(Hv[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(xI(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(xI(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){e.remove()}selectRootElement(n,e){let i=typeof n=="string"?this.doc.querySelector(n):n;if(!i)throw new M(-5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,r){if(r){e=r+":"+e;let o=Hv[r];o?n.setAttributeNS(o,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){let r=Hv[i];r?n.removeAttributeNS(r,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,r){r&(bi.DashCase|bi.Important)?n.style.setProperty(e,i,r&bi.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&bi.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n!=null&&(n[e]=i)}setValue(n,e){n.nodeValue=e}listen(n,e,i){if(typeof n=="string"&&(n=Ai().getGlobalEventTarget(this.doc,n),!n))throw new Error(`Unsupported event target ${n} for event ${e}`);return this.eventManager.addEventListener(n,e,this.decoratePreventDefault(i))}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};Yv=class extends xl{constructor(n,e,i,r,o,s,a,l){super(n,o,s,l),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=II(r.id,r.styles);for(let d of c){let u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Cl=class extends xl{constructor(n,e,i,r,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r,this.styles=l?II(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},tf=class extends Cl{constructor(n,e,i,r,o,s,a,l){let c=r+"-"+i.id;super(n,e,i,o,s,a,l,c),this.contentAttr=MV(c),this.hostAttr=AV(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}},TV=(()=>{class t extends Ju{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r){return e.addEventListener(i,r,!1),()=>this.removeEventListener(e,i,r)}removeEventListener(e,i,r){return e.removeEventListener(i,r)}static{this.\u0275fac=function(i){return new(i||t)(g(z))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),CI=["alt","control","meta","shift"],RV={"\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"},OV={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},FV=(()=>{class t extends Ju{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,r){let o=t.parseEventName(i),s=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ai().onAndCancel(e,o.domEventName,s))}static parseEventName(e){let i=e.toLowerCase().split("."),r=i.shift();if(i.length===0||!(r==="keydown"||r==="keyup"))return null;let o=t._normalizeKey(i.pop()),s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),CI.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=RV[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"),CI.forEach(s=>{if(s!==r){let a=OV[s];a(e)&&(o+=s+".")}}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{t.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static{this.\u0275fac=function(i){return new(i||t)(g(z))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})();PV=[{provide:gt,useValue:Lv},{provide:Xg,useValue:kV,multi:!0},{provide:z,useFactory:LV,deps:[]}],jV=[{provide:pu,useValue:"root"},{provide:Gt,useFactory:NV,deps:[]},{provide:qv,useClass:TV,multi:!0,deps:[z,F,gt]},{provide:qv,useClass:FV,multi:!0,deps:[z]},ef,EI,wI,{provide:or,useExisting:ef},{provide:Ls,useClass:wV,deps:[]},[]],TI=(()=>{class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static{this.\u0275fac=function(i){return new(i||t)(g(z))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),wl=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=g(VV),r},providedIn:"root"})}}return t})(),VV=(()=>{class t extends wl{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 Ei(i,"HTML")?yn(i):ev(this._doc,String(i)).toString();case Et.STYLE:return Ei(i,"Style")?yn(i):i;case Et.SCRIPT:if(Ei(i,"Script"))return yn(i);throw new M(5200,!1);case Et.URL:return Ei(i,"URL")?yn(i):Su(String(i));case Et.RESOURCE_URL:if(Ei(i,"ResourceURL"))return yn(i);throw new M(5201,!1);default:throw new M(5202,!1)}}bypassSecurityTrustHtml(e){return fE(e)}bypassSecurityTrustStyle(e){return hE(e)}bypassSecurityTrustScript(e){return pE(e)}bypassSecurityTrustUrl(e){return mE(e)}bypassSecurityTrustResourceUrl(e){return gE(e)}static{this.\u0275fac=function(i){return new(i||t)(g(z))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});function rf(t,n){if(t===n)return!0;if(t===null||n===null)return!1;if(t!==t&&n!==n)return!0;let e=typeof t,i=typeof n,r,o,s;if(e==i&&e=="object")if(Array.isArray(t)){if(!Array.isArray(n))return!1;if((r=t.length)==n.length){for(o=0;o<r;o++)if(!rf(t[o],n[o]))return!1;return!0}}else{if(Array.isArray(n))return!1;s=Object.create(null);for(o in t){if(!rf(t[o],n[o]))return!1;s[o]=!0}for(o in n)if(!(o in s)&&typeof n[o]<"u")return!1;return!0}return!1}function yr(t){return typeof t<"u"&&t!==null}function Il(t){return nf(t)&&!iy(t)}function nf(t){return typeof t=="object"}function iy(t){return Array.isArray(t)}function ry(t){return typeof t=="string"}function BV(t){return typeof t=="function"}function Zv(t,n){let e=Object.assign({},t);return nf(t)?(nf(t)&&nf(n)&&Object.keys(n).forEach(i=>{Il(n[i])?i in t?e[i]=Zv(t[i],n[i]):Object.assign(e,{[i]:n[i]}):Object.assign(e,{[i]:n[i]})}),e):Zv({},n)}function Xv(t,n){let e=n.split(".");n="";do n+=e.shift(),yr(t)&&yr(t[n])&&(Il(t[n])||iy(t[n])||!e.length)?(t=t[n],n=""):e.length?n+=".":t=void 0;while(e.length);return t}function UV(t,n,e){let i=n.split("."),r=t;for(let o=0;o<i.length;o++){let s=i[o];o===i.length-1?r[s]=e:((!r[s]||!Il(r[s]))&&(r[s]={}),r=r[s])}}var js,RI,Dl,OI,Vs,FI,Bs,kI,of,Jv,ey,ty,ny,El,Fi,yt,ei,bt=f(()=>{"use strict";D();D();Re();ct();js=class{},RI=(()=>{class t extends js{getTranslation(e){return O({})}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(t)))(r||t)}})();static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})(),Dl=class{},OI=(()=>{class t{handle(e){return e.key}static \u0275fac=function(i){return new(i||t)};static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})();Vs=class{},FI=(()=>{class t extends Vs{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,i){if(ry(e))return this.interpolateString(e,i);if(BV(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=Xv(i,o);return yr(s)?s:r}):e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(t)))(r||t)}})();static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})(),Bs=class{},kI=(()=>{class t extends Bs{compile(e,i){return e}compileTranslations(e,i){return e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(t)))(r||t)}})();static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})(),of=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new P;onLangChange=new P;onDefaultLangChange=new P},Jv=new C("ISOALTE_TRANSLATE_SERVICE"),ey=new C("USE_DEFAULT_LANG"),ty=new C("DEFAULT_LANGUAGE"),ny=new C("USE_EXTEND"),El=t=>pn(t)?t:O(t),Fi=(()=>{class t{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new P;_onLangChange=new P;_onDefaultLangChange=new P;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};lastUseLanguage=null;get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}constructor(e,i,r,o,s,a=!0,l=!1,c=!1,d){this.store=e,this.currentLoader=i,this.compiler=r,this.parser=o,this.missingTranslationHandler=s,this.useDefaultLang=a,this.isolate=l,this.extend=c,d&&this.setDefaultLang(d)}setDefaultLang(e){if(e===this.defaultLang)return;let i=this.retrieveTranslations(e);typeof i<"u"?(this.defaultLang==null&&(this.defaultLang=e),i.pipe(Ue(1)).subscribe(()=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(this.lastUseLanguage=e,e===this.currentLang)return O(this.translations[e]);this.currentLang||(this.currentLang=e);let i=this.retrieveTranslations(e);return pn(i)?(i.pipe(Ue(1)).subscribe(()=>{this.changeLang(e)}),i):(this.changeLang(e),O(this.translations[e]))}changeLang(e){e===this.lastUseLanguage&&(this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),this.defaultLang==null&&this.changeDefaultLang(e))}retrieveTranslations(e){if(typeof this.translations[e]>"u"||this.extend)return this._translationRequests[e]=this._translationRequests[e]||this.loadAndCompileTranslations(e),this._translationRequests[e]}getTranslation(e){return this.loadAndCompileTranslations(e)}loadAndCompileTranslations(e){this.pending=!0;let i=this.currentLoader.getTranslation(e).pipe(io(1),Ue(1));return this.loadingTranslations=i.pipe(k(r=>this.compiler.compileTranslations(r,e)),io(1),Ue(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[e]=this.extend&&this.translations[e]?x(x({},r),this.translations[e]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),i}setTranslation(e,i,r=!1){let o=this.compiler.compileTranslations(i,e);(r||this.extend)&&this.translations[e]?this.translations[e]=Zv(this.translations[e],o):this.translations[e]=o,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(i=>{this.langs.indexOf(i)===-1&&this.langs.push(i)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(e,i,r){let o;if(e&&(o=this.runInterpolation(Xv(e,i),r)),o===void 0&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.runInterpolation(Xv(this.translations[this.defaultLang],i),r)),o===void 0){let s={key:i,translateService:this};typeof r<"u"&&(s.interpolateParams=r),o=this.missingTranslationHandler.handle(s)}return o!==void 0?o:i}runInterpolation(e,i){if(iy(e))return e.map(r=>this.runInterpolation(r,i));if(Il(e)){let r={};for(let o in e)r[o]=this.runInterpolation(e[o],i);return r}else return this.parser.interpolate(e,i)}getParsedResult(e,i,r){if(i instanceof Array){let o={},s=!1;for(let l of i)o[l]=this.getParsedResultForKey(e,l,r),s=s||pn(o[l]);if(!s)return o;let a=i.map(l=>El(o[l]));return to(a).pipe(k(l=>{let c={};return l.forEach((d,u)=>{c[i[u]]=d}),c}))}return this.getParsedResultForKey(e,i,r)}get(e,i){if(!yr(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(An(r=>El(this.getParsedResult(r,e,i)))):El(this.getParsedResult(this.translations[this.currentLang],e,i))}getStreamOnTranslationChange(e,i){if(!yr(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return Mn(Kt(()=>this.get(e,i)),this.onTranslationChange.pipe(qe(r=>{let o=this.getParsedResult(r.translations,e,i);return El(o)})))}stream(e,i){if(!yr(e)||!e.length)throw new Error('Parameter "key" required');return Mn(Kt(()=>this.get(e,i)),this.onLangChange.pipe(qe(r=>{let o=this.getParsedResult(r.translations,e,i);return El(o)})))}instant(e,i){if(!yr(e)||e.length===0)throw new Error('Parameter "key" is required and cannot be empty');let r=this.getParsedResult(this.translations[this.currentLang],e,i);return pn(r)?Array.isArray(e)?e.reduce((o,s)=>(o[s]=s,o),{}):e:r}set(e,i,r=this.currentLang){UV(this.translations[r],e,ry(i)?this.compiler.compile(i,r):this.compiler.compileTranslations(i,r)),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.loadAndCompileTranslations(e)}resetLang(e){delete this._translationRequests[e],delete this.translations[e]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let e=this.getBrowserCultureLang();return e?e.split(/[-_]/)[0]:void 0}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}static \u0275fac=function(i){return new(i||t)(g(of),g(js),g(Bs),g(Vs),g(Dl),g(ey),g(Jv),g(ny),g(ty))};static \u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),yt=(()=>{class t{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(e,i){this.translate=e,this._ref=i}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(r,e,i);pn(s)?s.subscribe(o):o(s)}this.translate.get(e,i).subscribe(o)}transform(e,...i){if(!e||!e.length)return e;if(rf(e,this.lastKey)&&rf(i,this.lastParams))return this.value;let r;if(yr(i[0])&&i.length)if(ry(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 Il(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.currentLang&&(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.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.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.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(i){return new(i||t)(p(Fi,16),p(et,16))};static \u0275pipe=Is({name:"translate",type:t,pure:!1,standalone:!0});static \u0275prov=_({token:t,factory:t.\u0275fac})}return t})(),ei=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:js,useClass:RI},e.compiler||{provide:Bs,useClass:kI},e.parser||{provide:Vs,useClass:FI},e.missingTranslationHandler||{provide:Dl,useClass:OI},of,{provide:Jv,useValue:e.isolate},{provide:ey,useValue:e.useDefaultLang},{provide:ny,useValue:e.extend},{provide:ty,useValue:e.defaultLanguage},Fi]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:js,useClass:RI},e.compiler||{provide:Bs,useClass:kI},e.parser||{provide:Vs,useClass:FI},e.missingTranslationHandler||{provide:Dl,useClass:OI},{provide:Jv,useValue:e.isolate},{provide:ey,useValue:e.useDefaultLang},{provide:ny,useValue:e.extend},{provide:ty,useValue:e.defaultLanguage},Fi]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=L({type:t});static \u0275inj=N({})}return t})()});var Us,sf=f(()=>{"use strict";D();Us=new C("web-component-auth")});var af,oy=f(()=>{"use strict";D();bt();sf();D();af=(()=>{class t{#e;#t;#n;#r;#i;get uiLanguage(){return this.#i}set uiLanguage(e){e!==this.#i&&(this.#i=e,this.#i=e,this.#c())}constructor(e){this.#e="lang",this.#t=y(Fi),this.#n=y(Us),this.setLanguageFromBrowser=!1,this.defaultLanguage="en",this.#r=e}ngOnInit(){this.#s(),this.#l(this.#r),this.#o()}ngOnChanges(){this.#s(),this.#o()}ensureTypeBool(e){return e===!0||e==="true"}#l(e){for(let i in e)e[i]&&this.#t.setTranslation(i,e[i],!0)}#o(){this.#t.setDefaultLang(this.defaultLanguage),this.setLanguageFromBrowser&&this.#d(),this.uiLanguage||(this.uiLanguage=this.defaultLanguage),this.#t.use(this.uiLanguage)}#s(){this.xApiKey&&(this.#n.xApiKey=this.xApiKey),this.skipAuthUrls&&(this.#n.skipAuthUrls=typeof this.skipAuthUrls=="string"?JSON.parse(this.skipAuthUrls):this.skipAuthUrls)}#c(){this.#t.use(this.uiLanguage)}#d(){let e=this.#a();!this.uiLanguage&&e!==this.defaultLanguage&&(this.uiLanguage=e);let i=a=>{for(let l of a)if(l.type==="attributes"&&l.attributeName===this.#e){let c=this.#a();this.uiLanguage=c}},r=new MutationObserver(i),o=document.querySelector("html"),s={attributes:!0,attributeFilter:[this.#e]};r.observe(o,s)}#a(){return document.querySelector("html").getAttribute(this.#e).split("-")[0]}static{this.\u0275fac=function(i){Ts()}}static{this.\u0275dir=V({type:t,inputs:{setLanguageFromBrowser:"setLanguageFromBrowser",defaultLanguage:"defaultLanguage",skipAuthUrls:"skipAuthUrls",uiLanguage:"uiLanguage",xApiKey:"xApiKey"},features:[Ve]})}}return t})()});function HV(){let t=Ai()?Ai().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}function br(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function zI(t){return t!=null&&typeof t.length=="number"}function qV(t){return n=>{if(br(n.value)||br(t))return null;let e=parseFloat(n.value);return!isNaN(e)&&e<t?{min:{min:t,actual:n.value}}:null}}function YV(t){return n=>{if(br(n.value)||br(t))return null;let e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}function KV(t){return br(t.value)?{required:!0}:null}function QV(t){return t.value===!0?null:{required:!0}}function ZV(t){return br(t.value)||WV.test(t.value)?null:{email:!0}}function XV(t){return n=>br(n.value)||!zI(n.value)?null:n.value.length<t?{minlength:{requiredLength:t,actualLength:n.value.length}}:null}function JV(t){return n=>zI(n.value)&&n.value.length>t?{maxlength:{requiredLength:t,actualLength:n.value.length}}:null}function eB(t){if(!t)return $I;let n,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),i=>{if(br(i.value))return null;let r=i.value;return n.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function $I(t){return null}function HI(t){return t!=null}function GI(t){return Co(t)?Ne(t):t}function WI(t){let n={};return t.forEach(e=>{n=e!=null?x(x({},n),e):n}),Object.keys(n).length===0?null:n}function qI(t,n){return n.map(e=>e(t))}function tB(t){return!t.validate}function YI(t){return t.map(n=>tB(n)?n:e=>n.validate(e))}function KI(t){if(!t)return null;let n=t.filter(HI);return n.length==0?null:function(e){return WI(qI(e,n))}}function uy(t){return t!=null?KI(YI(t)):null}function QI(t){if(!t)return null;let n=t.filter(HI);return n.length==0?null:function(e){let i=qI(e,n).map(GI);return to(i).pipe(k(WI))}}function fy(t){return t!=null?QI(YI(t)):null}function NI(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function ZI(t){return t._rawValidators}function XI(t){return t._rawAsyncValidators}function sy(t){return t?Array.isArray(t)?t:[t]:[]}function df(t,n){return Array.isArray(t)?t.includes(n):t===n}function LI(t,n){let e=sy(n);return sy(t).forEach(r=>{df(e,r)||e.push(r)}),e}function PI(t,n){return sy(n).filter(e=>!df(t,e))}function JI(t){return(_f(t)?t.validators:t)||null}function iB(t){return Array.isArray(t)?uy(t):t||null}function eS(t,n){return(_f(n)?n.asyncValidators:t)||null}function rB(t){return Array.isArray(t)?fy(t):t||null}function _f(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function oB(t,n,e){let i=t.controls;if(!(n?Object.keys(i):i).length)throw new M(1e3,"");if(!i[e])throw new M(1001,"")}function sB(t,n,e){t._forEachChild((i,r)=>{if(e[r]===void 0)throw new M(1002,"")})}function aB(t,n){return[...n.path,t]}function Ol(t,n,e=xf){hy(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),cB(t,n),uB(t,n),dB(t,n),lB(t,n)}function mf(t,n,e=!0){let i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),vf(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function gf(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function lB(t,n){if(n.valueAccessor.setDisabledState){let e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function hy(t,n){let e=ZI(t);n.validator!==null?t.setValidators(NI(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let i=XI(t);n.asyncValidator!==null?t.setAsyncValidators(NI(i,n.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let r=()=>t.updateValueAndValidity();gf(n._rawValidators,r),gf(n._rawAsyncValidators,r)}function vf(t,n){let e=!1;if(t!==null){if(n.validator!==null){let r=ZI(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==n.validator);o.length!==r.length&&(e=!0,t.setValidators(o))}}if(n.asyncValidator!==null){let r=XI(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==n.asyncValidator);o.length!==r.length&&(e=!0,t.setAsyncValidators(o))}}}let i=()=>{};return gf(n._rawValidators,i),gf(n._rawAsyncValidators,i),e}function cB(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&tS(t,n)})}function dB(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&tS(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function tS(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function uB(t,n){let e=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function nS(t,n){t==null,hy(t,n)}function fB(t,n){return vf(t,n)}function iS(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function hB(t){return Object.getPrototypeOf(t.constructor)===zV}function rS(t,n){t._syncPendingControls(),n.forEach(e=>{let i=e.control;i.updateOn==="submit"&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function oS(t,n){if(!n)return null;Array.isArray(n);let e,i,r;return n.forEach(o=>{o.constructor===Hs?e=o:hB(o)?i=o:r=o}),r||i||e||null}function pB(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function jI(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function VI(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var UI,zV,dy,$V,GV,Hs,yf,bf,WV,cf,uf,wo,ki,ay,nB,tQ,Gs,Sl,lf,zs,Ml,_r,ff,Tl,Rl,$s,ly,cy,hf,pf,Ws,xf,mB,Al,py,Fl,gB,vB,BI,kl,sS,yB,my,bB,gy,aS,Cf,lS,Ni=f(()=>{"use strict";D();D();pe();Re();ct();UI=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static{this.\u0275fac=function(i){return new(i||t)(p(Qn),p(j))}}static{this.\u0275dir=V({type:t})}}return t})(),zV=(()=>{class t extends UI{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(t)))(r||t)}})()}static{this.\u0275dir=V({type:t,features:[me]})}}return t})(),dy=new C(""),$V={provide:dy,useExisting:ar(()=>Hs),multi:!0};GV=new C(""),Hs=(()=>{class t extends UI{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!HV())}writeValue(e){let i=e??"";this.setProperty("value",i)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static{this.\u0275fac=function(i){return new(i||t)(p(Qn),p(j),p(GV,8))}}static{this.\u0275dir=V({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,r){i&1&&ee("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},features:[Ot([$V]),me]})}}return t})();yf=new C(""),bf=new C(""),WV=/^(?=.{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])?)*$/,cf=class{static min(n){return qV(n)}static max(n){return YV(n)}static required(n){return KV(n)}static requiredTrue(n){return QV(n)}static email(n){return ZV(n)}static minLength(n){return XV(n)}static maxLength(n){return JV(n)}static pattern(n){return eB(n)}static nullValidator(n){return $I(n)}static compose(n){return KI(n)}static composeAsync(n){return QI(n)}};uf=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=uy(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=fy(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},wo=class extends uf{get formDirective(){return null}get path(){return null}},ki=class extends uf{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},ay=class{constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},nB={"[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"},tQ=ae(x({},nB),{"[class.ng-submitted]":"isSubmitted"}),Gs=(()=>{class t extends ay{constructor(e){super(e)}static{this.\u0275fac=function(i){return new(i||t)(p(ki,2))}}static{this.\u0275dir=V({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&le("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[me]})}}return t})(),Sl="VALID",lf="INVALID",zs="PENDING",Ml="DISABLED",_r=class{},ff=class extends _r{constructor(n,e){super(),this.value=n,this.source=e}},Tl=class extends _r{constructor(n,e){super(),this.pristine=n,this.source=e}},Rl=class extends _r{constructor(n,e){super(),this.touched=n,this.source=e}},$s=class extends _r{constructor(n,e){super(),this.status=n,this.source=e}},ly=class extends _r{constructor(n){super(),this.source=n}},cy=class extends _r{constructor(n){super(),this.source=n}};hf=class{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=Si(()=>this.statusReactive()),this.statusReactive=rn(void 0),this._pristine=Si(()=>this.pristineReactive()),this.pristineReactive=rn(!0),this._touched=Si(()=>this.touchedReactive()),this.touchedReactive=rn(!1),this._events=new R,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return xn(this.statusReactive)}set status(n){xn(()=>this.statusReactive.set(n))}get valid(){return this.status===Sl}get invalid(){return this.status===lf}get pending(){return this.status==zs}get disabled(){return this.status===Ml}get enabled(){return this.status!==Ml}get pristine(){return xn(this.pristineReactive)}set pristine(n){xn(()=>this.pristineReactive.set(n))}get dirty(){return!this.pristine}get touched(){return xn(this.touchedReactive)}set touched(n){xn(()=>this.touchedReactive.set(n))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(LI(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(LI(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(PI(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(PI(n,this._rawAsyncValidators))}hasValidator(n){return df(this._rawValidators,n)}hasAsyncValidator(n){return df(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(ae(x({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new Rl(!0,i))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),e&&n.emitEvent!==!1&&this._events.next(new Rl(!1,i))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(ae(x({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new Tl(!1,i))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let i=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),e&&n.emitEvent!==!1&&this._events.next(new Tl(!0,i))}markAsPending(n={}){this.status=zs;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new $s(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(ae(x({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Ml,this.errors=null,this._forEachChild(r=>{r.disable(ae(x({},n),{onlySelf:!0}))}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ff(this.value,i)),this._events.next(new $s(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ae(x({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Sl,this._forEachChild(i=>{i.enable(ae(x({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(ae(x({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Sl||this.status===zs)&&this._runAsyncValidator(i,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ff(this.value,e)),this._events.next(new $s(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(ae(x({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ml:Sl}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=zs,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let i=GI(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(n,e){let i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new $s(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,i)}_initObservables(){this.valueChanges=new P,this.statusChanges=new P}_calculateStatus(){return this._allControlsDisabled()?Ml:this.errors?lf:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(zs)?zs:this._anyControlsHaveStatus(lf)?lf:Sl}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),r&&this._events.next(new Tl(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new Rl(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){_f(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=iB(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=rB(this._rawAsyncValidators)}},pf=class extends hf{constructor(n,e,i){super(JI(e),eS(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){sB(this,!0,n),Object.keys(n).forEach(i=>{oB(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(i=>{let r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,r)=>{i.reset(n?n[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>i._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}},Ws=new C("CallSetDisabledState",{providedIn:"root",factory:()=>xf}),xf="always";mB={provide:wo,useExisting:ar(()=>py)},Al=Promise.resolve(),py=(()=>{class t extends wo{get submitted(){return xn(this.submittedReactive)}constructor(e,i,r){super(),this.callSetDisabledState=r,this._submitted=Si(()=>this.submittedReactive()),this.submittedReactive=rn(!1),this._directives=new Set,this.ngSubmit=new P,this.form=new pf({},uy(e),fy(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Al.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Ol(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Al.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Al.then(()=>{let i=this._findContainer(e.path),r=new pf({});nS(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Al.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){Al.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),rS(this.form,this._directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static{this.\u0275fac=function(i){return new(i||t)(p(yf,10),p(bf,10),p(Ws,8))}}static{this.\u0275dir=V({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&ee("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ot([mB]),me]})}}return t})();Fl=class extends hf{constructor(n=null,e,i){super(JI(e),eS(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),_f(e)&&(e.nonNullable||e.initialValueIsDefault)&&(VI(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){jI(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){jI(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){VI(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},gB=t=>t instanceof Fl,vB={provide:ki,useExisting:ar(()=>kl)},BI=Promise.resolve(),kl=(()=>{class t extends ki{constructor(e,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new Fl,this._registered=!1,this.name="",this.update=new P,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=oS(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),iS(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(){Ol(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){BI.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,r=i!==0&&Ae(i);BI.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?aB(e,this._parent):[e]}static{this.\u0275fac=function(i){return new(i||t)(p(wo,9),p(yf,10),p(bf,10),p(dy,10),p(et,8),p(Ws,8))}}static{this.\u0275dir=V({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ot([vB]),me,Ve]})}}return t})(),sS=new C(""),yB={provide:ki,useExisting:ar(()=>my)},my=(()=>{class t extends ki{set isDisabled(e){}static{this._ngModelWarningSentOnce=!1}constructor(e,i,r,o,s){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=s,this.update=new P,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=oS(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let i=e.form.previousValue;i&&mf(i,this,!1),Ol(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}iS(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&mf(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static{this.\u0275fac=function(i){return new(i||t)(p(yf,10),p(bf,10),p(dy,10),p(sS,8),p(Ws,8))}}static{this.\u0275dir=V({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Ot([yB]),me,Ve]})}}return t})(),bB={provide:wo,useExisting:ar(()=>gy)},gy=(()=>{class t extends wo{get submitted(){return xn(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}constructor(e,i,r){super(),this.callSetDisabledState=r,this._submitted=Si(()=>this._submittedReactive()),this._submittedReactive=rn(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new P,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(vf(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 Ol(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){mf(e.control||null,e,!1),pB(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),rS(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new ly(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 cy(this.form))}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,r=this.form.get(e.path);i!==r&&(mf(i||null,e),gB(r)&&(Ol(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);nS(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let i=this.form.get(e.path);i&&fB(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){hy(this.form,this),this._oldForm&&vf(this._oldForm,this)}_checkFormPresent(){this.form}static{this.\u0275fac=function(i){return new(i||t)(p(yf,10),p(bf,10),p(Ws,8))}}static{this.\u0275dir=V({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&ee("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ot([bB]),me,Ve]})}}return t})(),aS=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({})}}return t})(),Cf=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Ws,useValue:e.callSetDisabledState??xf}]}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[aS]})}}return t})(),lS=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:sS,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Ws,useValue:e.callSetDisabledState??xf}]}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[aS]})}}return t})()});function _B(){if(Nl==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Nl=!0}))}finally{Nl=Nl||!1}return Nl}function xr(t){return _B()?t:!!t.capture}function Df(){if(Eo==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Eo=!1,Eo;if("scrollBehavior"in document.documentElement.style)Eo=!0;else{let t=Element.prototype.scrollTo;t?Eo=!/\{\s*\[native code\]\s*\}/.test(t.toString()):Eo=!1}}return Eo}function qs(){if(typeof document!="object"||!document)return Nn.NORMAL;if(Ef==null){let t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",t.appendChild(e),document.body.appendChild(t),Ef=Nn.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,Ef=t.scrollLeft===0?Nn.NEGATED:Nn.INVERTED),t.remove()}return Ef}function xB(){if(vy==null){let t=typeof document<"u"?document.head:null;vy=!!(t&&(t.createShadowRoot||t.attachShadow))}return vy}function cS(t){if(xB()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function Ll(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function sn(t){return t.composedPath?t.composedPath()[0]:t.target}function Pl(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var yy,Oe,Nl,Nn,Ef,Eo,vy,Vt=f(()=>{"use strict";D();D();pe();try{yy=typeof Intl<"u"&&Intl.v8BreakIterator}catch{yy=!1}Oe=(()=>{class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Xn(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||yy)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(i){return new(i||t)(g(gt))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();Nn=function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t}(Nn||{})});function Bt(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var wr=f(()=>{"use strict"});function Ys(t){return t!=null&&`${t}`!="false"}function Er(t,n=0){return CB(t)?Number(t):arguments.length===2?n:0}function CB(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Ks(t){return Array.isArray(t)?t:[t]}function at(t){return t==null?"":typeof t=="string"?t:`${t}px`}function Li(t){return t instanceof j?t.nativeElement:t}var Pi=f(()=>{"use strict";D()});var wB,If,by=f(()=>{"use strict";D();wB=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),If=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({providers:[wB]})}}return t})()});function DB(t,n){if(!dS.has(t))try{Do||(Do=document.createElement("style"),n&&Do.setAttribute("nonce",n),Do.setAttribute("type","text/css"),document.head.appendChild(Do)),Do.sheet&&(Do.sheet.insertRule(`@media ${t} {body{ }}`,0),dS.add(t))}catch(e){console.error(e)}}function IB(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}function uS(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}var dS,Do,EB,fS,hS=f(()=>{"use strict";D();D();Pi();Re();ct();Vt();dS=new Set,EB=(()=>{class t{constructor(e,i){this._platform=e,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):IB}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&DB(e,this._nonce),this._matchMedia(e)}static{this.\u0275fac=function(i){return new(i||t)(g(Oe),g(yo,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();fS=(()=>{class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new R}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return uS(Ks(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=uS(Ks(e)).map(s=>this._registerQuery(s).observable),o=eo(r);return o=Mn(o.pipe(Ue(1)),o.pipe(Ga(1),mi(0))),o.pipe(k(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 Q(s=>{let a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(Zt(i),k(({matches:s})=>({query:e,matches:s})),fe(this._destroySubject)),mql:i};return this._queries.set(e,o),o}static{this.\u0275fac=function(i){return new(i||t)(g(EB),g(F))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});function Ay(t,n,e){let i=Tf(t,n);e=e.trim(),!i.some(r=>r.trim()===e)&&(i.push(e),t.setAttribute(n,i.join(yS)))}function kf(t,n,e){let i=Tf(t,n);e=e.trim();let r=i.filter(o=>o!==e);r.length?t.setAttribute(n,r.join(yS)):t.removeAttribute(n)}function Tf(t,n){return t.getAttribute(n)?.match(/\S+/g)??[]}function _y(t,n){return typeof t=="string"?`${n||""}/${t}`:t}function pS(t,n){t.id||(t.id=`${bS}-${n}-${Cy++}`)}function UB(t){try{return t.frameElement}catch{return null}}function zB(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function $B(t){let n=t.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function HB(t){return WB(t)&&t.type=="hidden"}function GB(t){return qB(t)&&t.hasAttribute("href")}function WB(t){return t.nodeName.toLowerCase()=="input"}function qB(t){return t.nodeName.toLowerCase()=="a"}function xS(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let n=t.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function mS(t){if(!xS(t))return null;let n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function YB(t){let n=t.nodeName.toLowerCase(),e=n==="input"&&t.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function KB(t){return HB(t)?!1:$B(t)||GB(t)||t.hasAttribute("contenteditable")||xS(t)}function QB(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}function Ty(t){return t.buttons===0||t.detail===0}function Ry(t){let n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}function t2(){return null}var yS,bS,Sf,Cy,_S,BB,wy,Ey,Rf,jl,Dy,Nf,ZB,XB,CS,Qs,JB,e2,n2,i2,wS,Af,r2,Mf,Dr,Io,gS,vS,xy,Oy,Lf,Ln=f(()=>{"use strict";pe();D();D();Vt();Vt();wr();Re();ct();by();Pi();hS();yS=" ";bS="cdk-describedby-message",Sf="cdk-describedby-host",Cy=0,_S=(()=>{class t{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${Cy++}`,this._document=e,this._id=y(ll)+"-"+Cy++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;let o=_y(i,r);typeof i!="string"?(pS(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=_y(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(`[${Sf}="${this._id}"]`);for(let i=0;i<e.length;i++)this._removeCdkDescribedByReferenceIds(e[i]),e[i].removeAttribute(Sf);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,i){let r=this._document.createElement("div");pS(r,this._id),r.textContent=e,i&&r.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(_y(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&&!this._platform.isBrowser&&r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(e){let i=Tf(e,"aria-describedby").filter(r=>r.indexOf(bS)!=0);e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){let r=this._messageRegistry.get(i);Ay(e,"aria-describedby",r.messageElement.id),e.setAttribute(Sf,this._id),r.referenceCount++}_removeMessageReference(e,i){let r=this._messageRegistry.get(i);r.referenceCount--,kf(e,"aria-describedby",r.messageElement.id),e.removeAttribute(Sf)}_isElementDescribedByMessage(e,i){let r=Tf(e,"aria-describedby"),o=this._messageRegistry.get(i),s=o&&o.messageElement.id;return!!s&&r.indexOf(s)!=-1}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&typeof i=="object")return!0;let r=i==null?"":`${i}`.trim(),o=e.getAttribute("aria-label");return r?!o||o.trim()!==r:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static{this.\u0275fac=function(i){return new(i||t)(g(z),g(Oe))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();BB=200,wy=class{constructor(n,e){this._letterKeyStream=new R,this._items=[],this._selectedItemIndex=-1,this._pressedLetters=[],this._selectedItem=new R,this.selectedItem=this._selectedItem;let i=typeof e?.debounceInterval=="number"?e.debounceInterval:BB;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(Le(e=>this._pressedLetters.push(e)),mi(n),xe(()=>this._pressedLetters.length>0),k(()=>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=[]})}},Ey=class{constructor(n,e){this._items=n,this._activeItemIndex=-1,this._activeItem=rn(null),this._wrap=!1,this._typeaheadSubscription=_e.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=i=>i.disabled,this.tabOut=new R,this.change=new R,n instanceof _s?this._itemChangesSubscription=n.changes.subscribe(i=>this._itemsChanged(i.toArray())):ku(n)&&(this._effectRef=Cv(()=>this._itemsChanged(n()),{injector:e}))}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new wy(e,{debounceInterval:typeof n=="number"?n: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(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem();this.updateActiveItem(n),this._activeItem()!==e&&this.change.next(this._activeItemIndex)}onKeydown(n){let e=n.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[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||Bt(n,"shiftKey"))&&this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){let e=this._getItemsArray(),i=typeof n=="number"?n:e.indexOf(n),r=e[i];this._activeItem.set(r??null),this._activeItemIndex=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(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){let e=this._getItemsArray();for(let i=1;i<=e.length;i++){let r=(this._activeItemIndex+n*i+e.length)%e.length,o=e[r];if(!this._skipPredicateFn(o)){this.setActiveItem(r);return}}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,e){let i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(n+=e,!i[n])return;this.setActiveItem(n)}}_getItemsArray(){return ku(this._items)?this._items():this._items instanceof _s?this._items.toArray():this._items}_itemsChanged(n){this._typeahead?.setItems(n);let e=this._activeItem();if(e){let i=n.indexOf(e);i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i))}}},Rf=class extends Ey{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}},jl=(()=>{class t{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return zB(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=UB(QB(e));if(i&&(mS(i)===-1||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),o=mS(e);return e.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!YB(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 KB(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}static{this.\u0275fac=function(i){return new(i||t)(g(Oe))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();Dy=class{get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}constructor(n,e,i,r,o=!1,s){this._element=n,this._checker=e,this._ngZone=i,this._document=r,this._injector=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){let e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let 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(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.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 n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?Fn(n,{injector:this._injector}):setTimeout(n)}},Nf=(()=>{class t{constructor(e,i,r){this._checker=e,this._ngZone=i,this._injector=y(Me),this._document=r}create(e,i=!1){return new Dy(e,this._checker,this._ngZone,this._document,i,this._injector)}static{this.\u0275fac=function(i){return new(i||t)(g(jl),g(F),g(z))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();ZB=new C("cdk-input-modality-detector-options"),XB={ignoreKeys:[18,17,224,91,16]},CS=650,Qs=xr({passive:!0,capture:!0}),JB=(()=>{class t{get mostRecentModality(){return this._modality.value}constructor(e,i,r,o){this._platform=e,this._mostRecentTarget=null,this._modality=new it(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=sn(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<CS||(this._modality.next(Ty(s)?"keyboard":"mouse"),this._mostRecentTarget=sn(s))},this._onTouchstart=s=>{if(Ry(s)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=sn(s)},this._options=x(x({},XB),o),this.modalityDetected=this._modality.pipe(Ga(1)),this.modalityChanged=this.modalityDetected.pipe(no()),e.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,Qs),r.addEventListener("mousedown",this._onMousedown,Qs),r.addEventListener("touchstart",this._onTouchstart,Qs)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Qs),document.removeEventListener("mousedown",this._onMousedown,Qs),document.removeEventListener("touchstart",this._onTouchstart,Qs))}static{this.\u0275fac=function(i){return new(i||t)(g(Oe),g(F),g(z),g(ZB,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),e2=new C("liveAnnouncerElement",{providedIn:"root",factory:t2});n2=new C("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),i2=0,wS=(()=>{class t{constructor(e,i,r,o){this._ngZone=i,this._defaultOptions=o,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...i){let r=this._defaultOptions,o,s;return i.length===1&&typeof i[0]=="number"?s=i[0]:[o,s]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),s==null&&r&&(s=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o<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-${i2++}`,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{this.\u0275fac=function(i){return new(i||t)(g(e2,8),g(F),g(z),g(n2,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Af=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(Af||{}),r2=new C("cdk-focus-monitor-default-options"),Mf=xr({passive:!0,capture:!0}),Dr=(()=>{class t{constructor(e,i,r,o,s){this._ngZone=e,this._platform=i,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new R,this._rootNodeFocusAndBlurListener=a=>{let l=sn(a);for(let c=l;c;c=c.parentElement)a.type==="focus"?this._onFocus(a,c):this._onBlur(a,c)},this._document=o,this._detectionMode=s?.detectionMode||Af.IMMEDIATE}monitor(e,i=!1){let r=Li(e);if(!this._platform.isBrowser||r.nodeType!==1)return O();let o=cS(r)||this._getDocument(),s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;let a={checkChildren:i,subject:new R,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){let i=Li(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=Li(e),s=this._getDocument().activeElement;o===s?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Af.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===Af.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?CS:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,i){let r=this._elementInfo.get(i),o=sn(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,Mf),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Mf)}),this._rootNodeFocusListenerCount.set(i,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(fe(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,Mf),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Mf),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{this.\u0275fac=function(i){return new(i||t)(g(F),g(Oe),g(JB),g(z,8),g(r2,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Io=function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t}(Io||{}),gS="cdk-high-contrast-black-on-white",vS="cdk-high-contrast-white-on-black",xy="cdk-high-contrast-active",Oy=(()=>{class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=y(fS).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Io.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 Io.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Io.BLACK_ON_WHITE}return Io.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(xy,gS,vS),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===Io.BLACK_ON_WHITE?e.add(xy,gS):i===Io.WHITE_ON_BLACK&&e.add(xy,vS)}}static{this.\u0275fac=function(i){return new(i||t)(g(Oe),g(z))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Lf=(()=>{class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}static{this.\u0275fac=function(i){return new(i||t)(g(Oy))}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[If]})}}return t})()});function s2(){return y(z)}function l2(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?a2.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var o2,a2,Ft,ni,Cn=f(()=>{"use strict";D();D();pe();o2=new C("cdk-dir-doc",{providedIn:"root",factory:s2});a2=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;Ft=(()=>{class t{constructor(e){if(this.value="ltr",this.change=new P,e){let i=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.value=l2(i||r||"ltr")}}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(i){return new(i||t)(g(o2,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ni=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({})}}return t})()});function f2(t,n){if(t&1&&J(0,"mat-pseudo-checkbox",1),t&2){let e=H();A("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function h2(t,n){if(t&1&&J(0,"mat-pseudo-checkbox",3),t&2){let e=H();A("disabled",e.disabled)}}function p2(t,n){if(t&1&&(I(0,"span",4),oe(1),T()),t&2){let e=H();w(),Je("(",e.group.label,")")}}function m2(){return!0}function y2(t,n,e){let i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),r=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+r*r)}function NS(t,n,e){if(e.length){let i=n.toArray(),r=e.toArray(),o=0;for(let s=0;s<t+1;s++)i[s].group&&i[s].group===r[o]&&o++;return o}return 0}function LS(t,n,e,i){return t<e?t:t+n>e+i?Math.max(0,t-i+n):e}var c2,d2,u2,g2,Ye,jf,OS,wn,Ny,ES,Ly,DS,v2,IS,SS,MS,Py,FS,kS,Vy,b2,_2,By,Uy,x2,jy,Xs,zy,AS,TS,Fy,ky,RS,Pf,PS,Pn=f(()=>{"use strict";D();D();Ln();Ln();Cn();pe();Vt();Vt();Pi();Re();wr();c2=["text"],d2=[[["mat-icon"]],"*"],u2=["mat-icon","*"];g2=new C("mat-sanity-checks",{providedIn:"root",factory:m2}),Ye=(()=>{class t{constructor(e,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return Pl()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[e]}static{this.\u0275fac=function(i){return new(i||t)(g(Oy),g(g2,8),g(z))}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[ni,ni]})}}return t})(),jf=class{constructor(n,e,i,r,o){this._defaultMatcher=n,this.ngControl=e,this._parentFormGroup=i,this._parentForm=r,this._stateChanges=o,this.errorState=!1}updateErrorState(){let n=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!==n&&(this.errorState=o,this._stateChanges.next())}},OS=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),wn=function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t}(wn||{}),Ny=class{constructor(n,e,i,r=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=wn.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},ES=xr({passive:!0,capture:!0}),Ly=class{constructor(){this._events=new Map,this._delegateEventHandler=n=>{let e=sn(n);e&&this._events.get(n.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(o=>o.handleEvent(n))})}}addHandler(n,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])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,ES)})}removeHandler(n,e,i){let r=this._events.get(n);if(!r)return;let o=r.get(e);o&&(o.delete(i),o.size===0&&r.delete(e),r.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,ES)))}},DS={enterDuration:225,exitDuration:150},v2=800,IS=xr({passive:!0,capture:!0}),SS=["mousedown","touchstart"],MS=["mouseup","mouseleave","touchend","touchcancel"],Py=class t{static{this._eventManager=new Ly}constructor(n,e,i,r){this._target=n,this._ngZone=e,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Li(i))}fadeInRipple(n,e,i={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=x(x({},DS),i.animation);i.centered&&(n=r.left+r.width/2,e=r.top+r.height/2);let s=i.radius||y2(n,e,r),a=n-r.left,l=e-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${a-s}px`,d.style.top=`${l-s}px`,d.style.height=`${s*2}px`,d.style.width=`${s*2}px`,i.color!=null&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let u=window.getComputedStyle(d),m=u.transitionProperty,h=u.transitionDuration,v=m==="none"||h==="0s"||h==="0s, 0s"||r.width===0&&r.height===0,b=new Ny(this,d,i,v);d.style.transform="scale3d(1, 1, 1)",b.state=wn.FADING_IN,i.persistent||(this._mostRecentTransientRipple=b);let E=null;return!v&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let S=()=>{E&&(E.fallbackTimer=null),clearTimeout(G),this._finishRippleTransition(b)},B=()=>this._destroyRipple(b),G=setTimeout(B,c+100);d.addEventListener("transitionend",S),d.addEventListener("transitioncancel",B),E={onTransitionEnd:S,onTransitionCancel:B,fallbackTimer:G}}),this._activeRipples.set(b,E),(v||!c)&&this._finishRippleTransition(b),b}fadeOutRipple(n){if(n.state===wn.FADING_OUT||n.state===wn.HIDDEN)return;let e=n.element,i=x(x({},DS),n.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=wn.FADING_OUT,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=Li(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,SS.forEach(i=>{t._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{MS.forEach(e=>{this._triggerElement.addEventListener(e,this,IS)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===wn.FADING_IN?this._startFadeOutTransition(n):n.state===wn.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=wn.VISIBLE,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=wn.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=Ty(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+v2;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!Ry(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=n.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(n=>{let e=n.state===wn.VISIBLE||n.config.terminateOnPointerUp&&n.state===wn.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(SS.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(MS.forEach(e=>n.removeEventListener(e,this,IS)),this._pointerUpEventsRegistered=!1))}};FS=new C("mat-ripple-global-options"),kS=(()=>{class t{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,i,r,o,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new Py(this,i,e,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:x(x(x({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,r){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,x(x({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,x(x({},this.rippleConfig),e))}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(F),p(Oe),p(FS,8),p(rt,8))}}static{this.\u0275dir=V({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){i&2&&le("mat-ripple-unbounded",r.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}}return t})(),Vy=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[Ye,Ye]})}}return t})(),b2=(()=>{class t{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}static{this.\u0275fac=function(i){return new(i||t)(p(rt,8))}}static{this.\u0275cmp=Y({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,r){i&2&&le("mat-pseudo-checkbox-indeterminate",r.state==="indeterminate")("mat-pseudo-checkbox-checked",r.state==="checked")("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal",r.appearance==="minimal")("mat-pseudo-checkbox-full",r.appearance==="full")("_mat-animation-noopable",r._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[Ee],decls:0,vars:0,template:function(i,r){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-app-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-app-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}}return t})(),_2=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[Ye]})}}return t})(),By=new C("MAT_OPTION_PARENT_COMPONENT"),Uy=new C("MatOptgroup"),x2=0,jy=class{constructor(n,e=!1){this.source=n,this.isUserInput=e}},Xs=(()=>{class t{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=e}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(e,i,r,o){this._element=e,this._changeDetectorRef=i,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${x2++}`,this.onSelectionChange=new P,this._stateChanges=new R}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)&&!Bt(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 jy(this,e))}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(et),p(By,8),p(Uy,8))}}static{this.\u0275cmp=Y({type:t,selectors:[["mat-option"]],viewQuery:function(i,r){if(i&1&&Be(c2,7),i&2){let o;Ce(o=we())&&(r._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,r){i&1&&ee("click",function(){return r._selectViaInteraction()})("keydown",function(s){return r._handleKeydown(s)}),i&2&&(ur("id",r.id),Ie("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),le("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",Ae]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[vt,Ee],ngContentSelectors:u2,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,r){i&1&&(on(d2),ie(0,f2,1,2,"mat-pseudo-checkbox",1),Ge(1),I(2,"span",2,0),Ge(4,1),T(),ie(5,h2,1,1,"mat-pseudo-checkbox",3)(6,p2,2,1,"span",4),J(7,"div",5)),i&2&&(ot(r.multiple?0:-1),w(5),ot(!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),w(),ot(r.group&&r.group._inert?6:-1),w(),A("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[b2,kS],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-app-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color);outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-app-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return t})();zy=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[Vy,Ye,_2]})}}return t})(),AS={capture:!0},TS=["focus","mousedown","mouseenter","touchstart"],Fy="mat-ripple-loader-uninitialized",ky="mat-ripple-loader-class-name",RS="mat-ripple-loader-centered",Pf="mat-ripple-loader-disabled",PS=(()=>{class t{constructor(){this._document=y(z,{optional:!0}),this._animationMode=y(rt,{optional:!0}),this._globalRippleOptions=y(FS,{optional:!0}),this._platform=y(Oe),this._ngZone=y(F),this._hosts=new Map,this._onInteraction=e=>{let i=sn(e);if(i instanceof HTMLElement){let r=i.closest(`[${Fy}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r)}},this._ngZone.runOutsideAngular(()=>{for(let e of TS)this._document?.addEventListener(e,this._onInteraction,AS)})}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);for(let i of TS)this._document?.removeEventListener(i,this._onInteraction,AS)}configureRipple(e,i){e.setAttribute(Fy,this._globalRippleOptions?.namespace??""),(i.className||!e.hasAttribute(ky))&&e.setAttribute(ky,i.className||""),i.centered&&e.setAttribute(RS,""),i.disabled&&e.setAttribute(Pf,"")}getRipple(e){return this._hosts.get(e)||this._createRipple(e)}setDisabled(e,i){let r=this._hosts.get(e);if(r){r.disabled=i;return}i?e.setAttribute(Pf,""):e.removeAttribute(Pf)}_createRipple(e){if(!this._document)return;let i=this._hosts.get(e);if(i)return i;e.querySelector(".mat-ripple")?.remove();let r=this._document.createElement("span");r.classList.add("mat-ripple",e.getAttribute(ky)),e.append(r);let o=new kS(new j(r),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return o._isInitialized=!0,o.trigger=e,o.centered=e.hasAttribute(RS),o.disabled=e.hasAttribute(Pf),this.attachRipple(e,o),o}attachRipple(e,i){e.removeAttribute(Fy),this._hosts.set(e,i)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.ngOnDestroy(),this._hosts.delete(e))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var C2,w2,E2,D2,I2,S2,M2,A2,jS,ii,Js,Ir,an=f(()=>{"use strict";Vt();D();D();Ln();Pn();C2=["mat-button",""],w2=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],E2=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],D2=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",I2=["mat-icon-button",""],S2=["*"],M2=new C("MAT_BUTTON_CONFIG"),A2=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],jS=(()=>{class t{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}constructor(e,i,r,o){this._elementRef=e,this._platform=i,this._ngZone=r,this._animationMode=o,this._focusMonitor=y(Dr),this._rippleLoader=y(PS),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let s=y(M2,{optional:!0}),a=e.nativeElement,l=a.classList;this.disabledInteractive=s?.disabledInteractive??!1,this.color=s?.color??null,this._rippleLoader?.configureRipple(a,{className:"mat-mdc-button-ripple"});for(let{attribute:c,mdcClasses:d}of A2)a.hasAttribute(c)&&l.add(...d)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static{this.\u0275fac=function(i){Ts()}}static{this.\u0275dir=V({type:t,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",Ae],disabled:[2,"disabled","disabled",Ae],ariaDisabled:[2,"aria-disabled","ariaDisabled",Ae],disabledInteractive:[2,"disabledInteractive","disabledInteractive",Ae]},features:[vt]})}}return t})(),ii=(()=>{class t extends jS{constructor(e,i,r,o){super(e,i,r,o)}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(Oe),p(F),p(rt,8))}}static{this.\u0275cmp=Y({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,r){i&2&&(Ie("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),_o(r.color?"mat-"+r.color:""),le("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[me,Ee],attrs:C2,ngContentSelectors:E2,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(on(w2),J(0,"span",0),Ge(1),I(2,"span",1),Ge(3,1),T(),Ge(4,2),J(5,"span",2)(6,"span",3)),i&2&&le("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 8px);height:var(--mdc-text-button-container-height);font-family:var(--mdc-text-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-app-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-filled-button-horizontal-padding, 16px);height:var(--mdc-filled-button-container-height);font-family:var(--mdc-filled-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-app-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-app-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-app-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-app-level1));height:var(--mdc-protected-button-container-height);font-family:var(--mdc-protected-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-app-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-app-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-app-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-app-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-outlined-button-horizontal-padding, 15px);height:var(--mdc-outlined-button-container-height);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-app-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-app-corner-full));border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-app-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-app-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}}return t})(),Js=(()=>{class t extends jS{constructor(e,i,r,o){super(e,i,r,o),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(Oe),p(F),p(rt,8))}}static{this.\u0275cmp=Y({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,r){i&2&&(Ie("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),_o(r.color?"mat-"+r.color:""),le("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[me,Ee],attrs:I2,ngContentSelectors:S2,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,r){i&1&&(on(),J(0,"span",0),Ge(1),J(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',D2],encapsulation:2,changeDetection:0})}}return t})(),Ir=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[Ye,Vy,Ye]})}}return t})()});function R2(){if(Uf===void 0&&(Uf=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(Uf=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Uf}function Bl(t){return R2()?.createHTML(t)||t}function VS(t){return Error(`Unable to find icon with the name "${t}"`)}function O2(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function BS(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function US(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}function zf(t){return t.cloneNode(!0)}function zS(t,n){return t+":"+n}function F2(t){return!!(t.url&&t.options)}function L2(){let t=y(z),n=t?t.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}var T2,Uf,ji,Hy,k2,N2,$S,P2,j2,ri,$f,Vi=f(()=>{"use strict";D();D();Pn();pe();Re();ct();bl();Ps();T2=["*"];ji=class{constructor(n,e,i){this.url=n,this.svgText=e,this.options=i}},Hy=(()=>{class t{constructor(e,i,r,o){this._httpClient=e,this._sanitizer=i,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=r}addSvgIcon(e,i,r){return this.addSvgIconInNamespace("",e,i,r)}addSvgIconLiteral(e,i,r){return this.addSvgIconLiteralInNamespace("",e,i,r)}addSvgIconInNamespace(e,i,r,o){return this._addSvgIconConfig(e,i,new ji(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 US(r);let a=Bl(s);return this._addSvgIconConfig(e,i,new ji("",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 ji(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){let o=this._sanitizer.sanitize(Et.HTML,i);if(!o)throw US(i);let s=Bl(o);return this._addSvgIconSetConfig(e,new ji("",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 BS(e);let r=this._cachedIconsByUrl.get(i);return r?O(zf(r)):this._loadSvgIconFromConfig(new ji(e,null)).pipe(Le(o=>this._cachedIconsByUrl.set(i,o)),k(o=>zf(o)))}getNamedSvgIcon(e,i=""){let r=zS(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):Yi(VS(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?O(zf(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(k(i=>zf(i)))}_getSvgFromIconSetConfigs(e,i){let r=this._extractIconWithNameFromAnySet(e,i);if(r)return O(r);let o=i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(Qt(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)),O(null)})));return to(o).pipe(k(()=>{let s=this._extractIconWithNameFromAnySet(e,i);if(!s)throw VS(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(Le(i=>e.svgText=i),k(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?O(null):this._fetchIcon(e).pipe(Le(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(Bl("<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(Bl("<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 O2();if(i==null)throw Error(`Cannot fetch icon from URL "${i}".`);let s=this._sanitizer.sanitize(Et.RESOURCE_URL,i);if(!s)throw BS(i);let a=this._inProgressUrlFetches.get(s);if(a)return a;let l=this._httpClient.get(s,{responseType:"text",withCredentials:o}).pipe(k(c=>Bl(c)),$t(()=>this._inProgressUrlFetches.delete(s)),Ha());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(zS(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 F2(o)?new ji(o.url,null,o.options):new ji(o,null)}}static{this.\u0275fac=function(i){return new(i||t)(g(vr,8),g(wl),g(z,8),g(Gt))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();k2=new C("MAT_ICON_DEFAULT_OPTIONS"),N2=new C("mat-icon-location",{providedIn:"root",factory:L2});$S=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],P2=$S.map(t=>`[${t}]`).join(", "),j2=/^url\(['"]?#(.*?)['"]?\)$/,ri=(()=>{class t{get color(){return this._color||this._defaultColor}set color(e){this._color=e}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){let i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){let i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(e,i,r,o,s,a){this._elementRef=e,this._iconRegistry=i,this._location=o,this._errorHandler=s,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=_e.EMPTY,a&&(a.color&&(this.color=this._defaultColor=a.color),a.fontSet&&(this.fontSet=a.fontSet)),r||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let r=e.childNodes[i];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),i.forEach(r=>e.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(s=>{o.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){let i=e.querySelectorAll(P2),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<i.length;o++)$S.forEach(s=>{let a=i[o],l=a.getAttribute(s),c=l?l.match(j2):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(Ue(1)).subscribe(o=>this._setSvgElement(o),o=>{let s=`Error retrieving icon ${i}:${r}! ${o.message}`;this._errorHandler.handleError(new Error(s))})}}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(Hy),cr("aria-hidden"),p(N2),p(Gt),p(k2,8))}}static{this.\u0275cmp=Y({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,r){i&2&&(Ie("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),_o(r.color?"mat-"+r.color:""),le("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",Ae],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[vt,Ee],ngContentSelectors:T2,decls:1,vars:0,template:function(i,r){i&1&&(on(),Ge(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}}return t})(),$f=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[Ye,Ye]})}}return t})()});var HS,GS=f(()=>{"use strict";bl();D();D();HS=(()=>{class t{#e=y(vr);play(e,i){return this.#e.get(`https://services.tilde.com/service/tts?system=${i.voice}&text=${e}`,{responseType:"blob"})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});function B2(t,n){if(t&1&&(al(),I(0,"svg",11),J(1,"circle",12),T()),t&2){let e=H();Ie("viewBox",e._viewBox()),w(),bo("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),Ie("r",e._circleRadius())}}function z2(){return{diameter:WS}}var V2,U2,WS,$2,Hf,qS,Gf=f(()=>{"use strict";D();D();pe();Pn();V2=["determinateSpinner"];U2=new C("mat-progress-spinner-default-options",{providedIn:"root",factory:z2});WS=100,$2=10,Hf=(()=>{class t{get color(){return this._color||this._defaultColor}set color(e){this._color=e}constructor(e,i,r){this._elementRef=e,this._defaultColor="primary",this._value=0,this._diameter=WS,this._noopAnimations=i==="NoopAnimations"&&!!r&&!r._forceAnimations,this.mode=e.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",r&&(r.color&&(this.color=this._defaultColor=r.color),r.diameter&&(this.diameter=r.diameter),r.strokeWidth&&(this.strokeWidth=r.strokeWidth))}get value(){return this.mode==="determinate"?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,e||0))}get diameter(){return this._diameter}set diameter(e){this._diameter=e||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=e||0}_circleRadius(){return(this.diameter-$2)/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{this.\u0275fac=function(i){return new(i||t)(p(j),p(rt,8),p(U2))}}static{this.\u0275cmp=Y({type:t,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(i,r){if(i&1&&Be(V2,5),i&2){let o;Ce(o=we())&&(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&&(Ie("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",r.mode==="determinate"?r.value:null)("mode",r.mode),_o("mat-"+r.color),bo("width",r.diameter,"px")("height",r.diameter,"px")("--mdc-circular-progress-size",r.diameter+"px")("--mdc-circular-progress-active-indicator-width",r.diameter+"px"),le("_mat-animation-noopable",r._noopAnimations)("mdc-circular-progress--indeterminate",r.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",Ii],diameter:[2,"diameter","diameter",Ii],strokeWidth:[2,"strokeWidth","strokeWidth",Ii]},exportAs:["matProgressSpinner"],standalone:!0,features:[vt,Ee],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&&(ie(0,B2,2,8,"ng-template",null,0,xo),I(2,"div",2,1),al(),I(4,"svg",3),J(5,"circle",4),T()(),Bw(),I(6,"div",5)(7,"div",6)(8,"div",7),hl(9,8),T(),I(10,"div",9),hl(11,8),T(),I(12,"div",10),hl(13,8),T()()()),i&2){let o=qt(1);w(4),Ie("viewBox",r._viewBox()),w(),bo("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeDashOffset(),"px")("stroke-width",r._circleStrokeWidth(),"%"),Ie("r",r._circleRadius()),w(4),A("ngTemplateOutlet",o),w(2),A("ngTemplateOutlet",o),w(2),A("ngTemplateOutlet",o)}},dependencies:[Yu],styles:[".mat-mdc-progress-spinner{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(--mdc-circular-progress-active-indicator-width)}.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}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}.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 1568.2352941176ms 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(--mdc-circular-progress-active-indicator-color, var(--mat-app-primary))}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.cdk-high-contrast-active .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 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress__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 5332ms 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)}}"],encapsulation:2,changeDetection:0})}}return t})(),qS=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[st,Ye]})}}return t})()});var Wf,YS=f(()=>{"use strict";Re();Wf=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(n=!1,e,i=!0,r){this._multiple=n,this._emitChanges=i,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new R,e&&e.length&&(n?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);let e=this.selected,i=new Set(n);n.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(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();let e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}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(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){n.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(n,e){if(this.compareWith){e=e??this._selection;for(let i of e)if(this.compareWith(n,i))return i;return n}else return n}}});var W2,ta,Gy,q2,na,ea,Wy,Sr=f(()=>{"use strict";Pi();D();Re();ct();Vt();Vt();pe();Cn();Cn();W2=20,ta=(()=>{class t{constructor(e,i,r){this._ngZone=e,this._platform=i,this._scrolled=new R,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=W2){return this._platform.isBrowser?new Q(i=>{this._globalSubscription||this._addGlobalListener();let r=e>0?this._scrolled.pipe(_d(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):O()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(xe(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let r=Li(i),o=e.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();return pi(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static{this.\u0275fac=function(i){return new(i||t)(g(F),g(Oe),g(z,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Gy=(()=>{class t{constructor(e,i,r,o){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=r,this.dir=o,this._destroyed=new R,this._elementScrolled=new Q(s=>this.ngZone.runOutsideAngular(()=>pi(this.elementRef.nativeElement,"scroll").pipe(fe(this._destroyed)).subscribe(s)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let i=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=r?e.end:e.start),e.right==null&&(e.right=r?e.start:e.end),e.bottom!=null&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&qs()!=Nn.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),qs()==Nn.INVERTED?e.left=e.right:qs()==Nn.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;Df()?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&&qs()==Nn.INVERTED?e==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:s&&qs()==Nn.NEGATED?e==i?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==i?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(ta),p(F),p(Ft,8))}}static{this.\u0275dir=V({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}}return t})(),q2=20,na=(()=>{class t{constructor(e,i,r){this._platform=e,this._change=new R,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(e.isBrowser){let o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect(),s=-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,a=-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0;return{top:s,left:a}}change(e=q2){return e>0?this._change.pipe(_d(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static{this.\u0275fac=function(i){return new(i||t)(g(Oe),g(F),g(z,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ea=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({})}}return t})(),Wy=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[ni,ea,ni,ea]})}}return t})()});var zl,Mr,Mo,Yy,ia,qf,$l,Ao,Hl=f(()=>{"use strict";D();D();pe();zl=class{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},Mr=class extends zl{constructor(n,e,i,r,o){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=r,this.projectableNodes=o}},Mo=class extends zl{constructor(n,e,i,r){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}},Yy=class extends zl{constructor(n){super(),this.element=n instanceof j?n.nativeElement:n}},ia=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof Mr)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof Mo)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof Yy)return this._attachedPortal=n,this.attachDomPortal(n)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},qf=class extends ia{constructor(n,e,i,r,o){super(),this.outletElement=n,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=s=>{this._document;let a=s.element;a.parentNode;let l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(n){let i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component),r;return n.viewContainerRef?(r=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=i.create(n.injector||this._defaultInjector||Me.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=n,r}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.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=n,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},$l=(()=>{class t extends ia{constructor(e,i,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new P,this.attachDomPortal=o=>{this._document;let s=o.element;s.parentNode;let a=this._document.createComment("dom-portal");o.setAttachedHost(this),s.parentNode.insertBefore(a,s),this._getRootNode().appendChild(s),this._attachedPortal=o,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(s,a)})},this._document=r}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),s=i.createComponent(o,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=e,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static{this.\u0275fac=function(i){return new(i||t)(p(en),p(Rt),p(z))}}static{this.\u0275dir=V({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[me]})}}return t})(),Ao=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({})}}return t})()});function Zy(t,n){return n.some(e=>{let i=t.bottom<e.top,r=t.top>e.bottom,o=t.right<e.left,s=t.left>e.right;return i||r||o||s})}function QS(t,n){return n.some(e=>{let i=t.top<e.top,r=t.bottom>e.bottom,o=t.left<e.left,s=t.right>e.right;return i||r||o||s})}function ZS(t,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,i=n;for(;i;){if(i===t)return!0;i=e&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}function To(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function JS(t){if(typeof t!="number"&&t!=null){let[n,e]=t.split(Z2);return!e||e==="px"?parseFloat(n):null}return t||null}function eM(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}function X2(t,n){return t===n?!0:t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView}function nU(t){return()=>t.scrollStrategies.reposition()}var KS,Ky,Qy,Yf,Xy,Y2,ra,Jy,nM,K2,Q2,oa,Bi,XS,Z2,eb,tM,tb,J2,eU,ut,tU,iM,Gl,nb,iU,Ar,Tr=f(()=>{"use strict";Sr();Sr();Sr();pe();pe();D();D();Pi();Vt();Vt();ct();Cn();Cn();Hl();Re();wr();KS=Df(),Ky=class{constructor(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=at(-this._previousScrollPosition.left),n.style.top=at(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,i=n.style,r=e.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),KS&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),KS&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}},Qy=class{constructor(n,e,i,r){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(xe(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},Yf=class{enable(){}disable(){}attach(){}};Xy=class{constructor(n,e,i,r){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();Zy(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}},Y2=(()=>{class t{constructor(e,i,r,o){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new Yf,this.close=s=>new Qy(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new Ky(this._viewportRuler,this._document),this.reposition=s=>new Xy(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}static{this.\u0275fac=function(i){return new(i||t)(g(ta),g(na),g(F),g(z))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ra=class{constructor(n){if(this.scrollStrategy=new Yf,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){let e=Object.keys(n);for(let i of e)n[i]!==void 0&&(this[i]=n[i])}}},Jy=class{constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}},nM=(()=>{class t{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}static{this.\u0275fac=function(i){return new(i||t)(g(z))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),K2=(()=>{class t extends nM{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=r=>{let o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){let a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(r)):a.next(r);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static{this.\u0275fac=function(i){return new(i||t)(g(z),g(F,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Q2=(()=>{class t extends nM{constructor(e,i,r){super(e),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=sn(o)},this._clickListener=o=>{let s=sn(o),a=o.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;let l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){let d=l[c];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(ZS(d.overlayElement,s)||ZS(d.overlayElement,a))break;let u=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>u.next(o)):u.next(o)}}}add(e){if(super.add(e),!this._isAttached){let i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}static{this.\u0275fac=function(i){return new(i||t)(g(z),g(Oe),g(F,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();oa=(()=>{class t{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||Pl()){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),Pl()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}static{this.\u0275fac=function(i){return new(i||t)(g(z),g(Oe))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Bi=class{constructor(n,e,i,r,o,s,a,l,c,d=!1,u){this._portalOutlet=n,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=u,this._backdropElement=null,this._backdropClick=new R,this._attachments=new R,this._detachments=new R,this._locationChanges=_e.EMPTY,this._backdropClickHandler=m=>this._backdropClick.next(m),this._backdropTransitionendHandler=m=>{this._disposeBackdrop(m.target)},this._keydownEvents=new R,this._outsidePointerEvents=new R,this._renders=new R,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy,this._afterRenderRef=xn(()=>fl(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Fn(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=null,n&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=x(x({},this._config),n),this._updateElementSize()}setDirection(n){this._config=ae(x({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=at(this._config.width),n.height=at(this._config.height),n.minWidth=at(this._config.minWidth),n.minHeight=at(this._config.minHeight),n.maxWidth=at(this._config.maxWidth),n.maxHeight=at(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let n=this._backdropElement;if(n){if(this._animationsDisabled){this._disposeBackdrop(n);return}n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,e,i){let r=Ks(e||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let n=this._renders.pipe(fe(St(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){let n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},XS="cdk-overlay-connected-position-bounding-box",Z2=/([A-Za-z%]+)$/,eb=class{get positions(){return this._preferredPositions}constructor(n,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new R,this._resizeSubscription=_e.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(XS),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let n=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[],s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,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&&To(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(XS),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;if(n){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,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,i){let r;if(i.originX=="center")r=n.left+n.width/2;else{let s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;r=i.originX=="start"?s:a}e.left<0&&(r-=e.left);let o;return i.originY=="center"?o=n.top+n.height/2:o=i.originY=="top"?n.top:n.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(n,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:n.x+r,y:n.y+o}}_getOverlayFit(n,e,i,r){let o=eM(e),{x:s,y:a}=n,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let d=0-s,u=s+o.width-i.width,m=0-a,h=a+o.height-i.height,v=this._subtractOverflows(o.width,d,u),b=this._subtractOverflows(o.height,m,h),E=v*b;return{visibleArea:E,isCompletelyWithinViewport:o.width*o.height===E,fitsInViewportVertically:b===o.height,fitsInViewportHorizontally:v==o.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){let r=i.bottom-e.y,o=i.right-e.x,s=JS(this._overlayRef.getConfig().minHeight),a=JS(this._overlayRef.getConfig().minWidth),l=n.fitsInViewportVertically||s!=null&&s<=r,c=n.fitsInViewportHorizontally||a!=null&&a<=o;return l&&c}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let r=eM(e),o=this._viewportRect,s=Math.max(n.x+r.width-o.width,0),a=Math.max(n.y+r.height-o.height,0),l=Math.max(o.top-i.top-n.y,0),c=Math.max(o.left-i.left-n.x,0),d=0,u=0;return r.width<=o.width?d=c||-s:d=n.x<this._viewportMargin?o.left-i.left-n.x:0,r.height<=o.height?u=l||-a:u=n.y<this._viewportMargin?o.top-i.top-n.y:0,this._previousPushAmount={x:d,y:u},{x:n.x+d,y:n.y+u}}_applyPosition(n,e){if(this._setTransformOrigin(n),this._setOverlayElementStyles(e,n),this._setBoundingBoxStyles(e,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){let i=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!X2(this._lastScrollVisibility,i)){let r=new Jy(n,i);this._positionChanges.next(r)}this._lastScrollVisibility=i}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),i,r=n.overlayY;n.overlayX==="center"?i="center":this._isRtl()?i=n.overlayX==="start"?"right":"left":i=n.overlayX==="start"?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${i} ${r}`}_calculateBoundingBoxRect(n,e){let i=this._viewportRect,r=this._isRtl(),o,s,a;if(e.overlayY==="top")s=n.y,o=i.height-s+this._viewportMargin;else if(e.overlayY==="bottom")a=i.height-n.y+this._viewportMargin*2,o=i.height-a+this._viewportMargin;else{let h=Math.min(i.bottom-n.y+i.top,n.y),v=this._lastBoundingBoxSize.height;o=h*2,s=n.y-h,o>v&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-v/2)}let l=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,c=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,d,u,m;if(c)m=i.width-n.x+this._viewportMargin*2,d=n.x-this._viewportMargin;else if(l)u=n.x,d=i.right-n.x;else{let h=Math.min(i.right-n.x+i.left,n.x),v=this._lastBoundingBoxSize.width;d=h*2,u=n.x-h,d>v&&!this._isInitialRender&&!this._growAfterOpen&&(u=n.x-v/2)}return{top:s,left:u,bottom:a,right:m,width:d,height:o}}_setBoundingBoxStyles(n,e){let i=this._calculateBoundingBoxRect(n,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=at(i.height),r.top=at(i.top),r.bottom=at(i.bottom),r.width=at(i.width),r.left=at(i.left),r.right=at(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=at(o)),s&&(r.maxWidth=at(s))}this._lastBoundingBoxSize=i,To(this._boundingBox.style,r)}_resetBoundingBoxStyles(){To(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){To(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){let d=this._viewportRuler.getViewportScrollPosition();To(i,this._getExactOverlayY(e,n,d)),To(i,this._getExactOverlayX(e,n,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=at(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=at(s.maxWidth):o&&(i.maxWidth="")),To(this._pane.style,i)}_getExactOverlayY(n,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),n.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;r.bottom=`${s-(o.y+this._overlayRect.height)}px`}else r.top=at(o.y);return r}_getExactOverlayX(n,e,i){let r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i));let s;if(this._isRtl()?s=n.overlayX==="end"?"left":"right":s=n.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;r.right=`${a-(o.x+this._overlayRect.width)}px`}else r.left=at(o.x);return r}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:QS(n,i),isOriginOutsideView:Zy(n,i),isOverlayClipped:QS(e,i),isOverlayOutsideView:Zy(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){let n=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+n-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Ks(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){let n=this._origin;if(n instanceof j)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}};tM="cdk-global-overlay-wrapper",tb=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(tM),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=(r==="100%"||r==="100vw")&&(!s||s==="100%"||s==="100vw"),c=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),d=this._xPosition,u=this._xOffset,m=this._overlayRef.getConfig().direction==="rtl",h="",v="",b="";l?b="flex-start":d==="center"?(b="center",m?v=u:h=u):m?d==="left"||d==="end"?(b="flex-end",h=u):(d==="right"||d==="start")&&(b="flex-start",v=u):d==="left"||d==="start"?(b="flex-start",h=u):(d==="right"||d==="end")&&(b="flex-end",v=u),n.position=this._cssPosition,n.marginLeft=l?"0":h,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":v,e.justifyContent=b,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(tM),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},J2=(()=>{class t{constructor(e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new tb}flexibleConnectedTo(e){return new eb(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static{this.\u0275fac=function(i){return new(i||t)(g(na),g(z),g(Oe),g(oa))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),eU=0,ut=(()=>{class t{constructor(e,i,r,o,s,a,l,c,d,u,m,h){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=d,this._location=u,this._outsideClickDispatcher=m,this._animationsModuleType=h}create(e){let i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new ra(e);return s.direction=s.direction||this._directionality.value,new Bi(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(Ct))}position(){return this._positionBuilder}_createPaneElement(e){let i=this._document.createElement("div");return i.id=`cdk-overlay-${eU++}`,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(_n)),new qf(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static{this.\u0275fac=function(i){return new(i||t)(g(Y2),g(oa),g(en),g(J2),g(K2),g(Me),g(F),g(z),g(Ft),g(Zn),g(Q2),g(rt,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),tU=[{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"}],iM=new C("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=y(ut);return()=>t.scrollStrategies.reposition()}}),Gl=(()=>{class t{constructor(e){this.elementRef=e}static{this.\u0275fac=function(i){return new(i||t)(p(j))}}static{this.\u0275dir=V({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}}return t})(),nb=(()=>{class t{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}constructor(e,i,r,o,s){this._overlay=e,this._dir=s,this._backdropSubscription=_e.EMPTY,this._attachSubscription=_e.EMPTY,this._detachSubscription=_e.EMPTY,this._positionSubscription=_e.EMPTY,this._disposeOnNavigation=!1,this._ngZone=y(F),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new P,this.positionChange=new P,this.attach=new P,this.detach=new P,this.overlayKeydown=new P,this.overlayOutsideClick=new P,this._templatePortal=new Mo(i,r),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=tU);let e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!Bt(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let r=this._getOriginElement(),o=sn(i);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new ra({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){let i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof Gl?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Gl?this.origin.elementRef.nativeElement:this.origin instanceof j?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(om(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)(p(ut),p(Jt),p(Rt),p(iM),p(Ft,8))}}static{this.\u0275dir=V({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",Ae],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",Ae],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",Ae],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",Ae],push:[2,"cdkConnectedOverlayPush","push",Ae],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",Ae]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[vt,Ve]})}}return t})();iU={provide:iM,deps:[ut],useFactory:nU},Ar=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({providers:[ut,iU],imports:[ni,Ao,Wy,Wy]})}}return t})()});function ql(t,n){return{type:se.Trigger,name:t,definitions:n,options:{}}}function Yl(t,n=null){return{type:se.Animate,styles:n,timings:t}}function rM(t,n=null){return{type:se.Sequence,steps:t,options:n}}function si(t){return{type:se.Style,styles:t,offset:null}}function Kf(t,n,e){return{type:se.State,name:t,styles:n,options:e}}function sa(t,n,e=null){return{type:se.Transition,expr:t,animation:n,options:e}}function oM(t=null){return{type:se.AnimateChild,options:t}}function sM(t,n,e=null){return{type:se.Query,selector:t,animation:n,options:e}}var se,oi,Rr,Wl,Qf,Zf=f(()=>{"use strict";se=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(se||{}),oi="*";Rr=class{constructor(n=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},Wl=class{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;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(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){let e=n*this.totalTime;this.players.forEach(i=>{let r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){let n=this.players.reduce((e,i)=>e===null||i.totalTime>e.totalTime?i:e,null);return n!=null?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){let e=n=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},Qf="!"});function oU(t){return()=>t.scrollStrategies.reposition({scrollThrottle:cM})}function aU(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var rU,cM,dM,sU,lU,aM,lM,cU,dU,uU,fU,Or,hU,aa,Fr=f(()=>{"use strict";ct();Pi();wr();D();D();pe();Vt();Vt();Ln();Ln();Cn();Tr();Tr();Hl();Re();Sr();Pn();rU=["tooltip"],cM=20,dM=new C("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=y(ut);return()=>t.scrollStrategies.reposition({scrollThrottle:cM})}});sU={provide:dM,deps:[ut],useFactory:oU};lU=new C("mat-tooltip-default-options",{providedIn:"root",factory:aU}),aM="tooltip-panel",lM=xr({passive:!0}),cU=8,dU=8,uU=24,fU=200,Or=(()=>{class t{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=Ys(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let i=Ys(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=Er(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Er(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}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)}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(e,i,r,o,s,a,l,c,d,u,m,h){this._overlay=e,this._elementRef=i,this._scrollDispatcher=r,this._viewContainerRef=o,this._ngZone=s,this._platform=a,this._ariaDescriber=l,this._focusMonitor=c,this._dir=u,this._defaultOptions=m,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=hU,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._touchstartTimeout=null,this._destroyed=new R,this._injector=y(Me),this._scrollStrategy=d,this._document=h,m&&(this._showDelay=m.showDelay,this._hideDelay=m.hideDelay,m.position&&(this.position=m.position),m.positionAtOrigin&&(this.positionAtOrigin=m.positionAtOrigin),m.touchGestures&&(this.touchGestures=m.touchGestures),m.tooltipClass&&(this.tooltipClass=m.tooltipClass)),u.change.pipe(fe(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=cU}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(fe(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,lM)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),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 Mr(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(fe(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 o=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&o._origin instanceof j)return this._overlayRef;this._detach()}let i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return r.positionChanges.pipe(fe(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${aM}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(fe(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(fe(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(fe(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&o.keyCode===27&&!Bt(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),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(x(x({},r.main),o.main)),this._addOffset(x(x({},r.fallback),o.fallback))])}_addOffset(e){let i=dU,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(),Fn(()=>{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}-${aM}-`;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,lM)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){let i=this._document.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._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}static{this.\u0275fac=function(i){return new(i||t)(p(ut),p(j),p(ta),p(Rt),p(F),p(Oe),p(_S),p(Dr),p(dM),p(Ft),p(lU,8),p(z))}}static{this.\u0275dir=V({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,r){i&2&&le("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"],standalone:!0})}}return t})(),hU=(()=>{class t{constructor(e,i,r){this._changeDetectorRef=e,this._elementRef=i,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new R,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=r==="NoopAnimations"}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>uU&&e.width>=fU}_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{this.\u0275fac=function(i){return new(i||t)(p(et),p(j),p(rt,8))}}static{this.\u0275cmp=Y({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(i,r){if(i&1&&Be(rU,7),i&2){let o;Ce(o=we())&&(r._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(i,r){i&1&&ee("mouseleave",function(s){return r._handleMouseLeave(s)})},standalone:!0,features:[Ee],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=Pe();I(0,"div",1,0),ee("animationend",function(a){return ye(o),be(r._handleAnimationEnd(a))}),I(2,"div",2),oe(3),T()()}i&2&&(le("mdc-tooltip--multiline",r._isMultiline),A("ngClass",r.tooltipClass),w(3),dt(r.message))},dependencies:[fr],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(--mdc-plain-tooltip-container-color, var(--mat-app-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-app-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-app-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-app-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-app-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-app-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-app-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-app-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.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}'],encapsulation:2,changeDetection:0})}}return t})(),aa=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({providers:[sU],imports:[Lf,st,Ar,Ye,Ye,ea]})}}return t})()});var rb,uM,fM=f(()=>{"use strict";D();D();Re();ct();rb=class{constructor(n){this._box=n,this._destroyed=new R,this._resizeSubject=new R,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new Q(e=>{let i=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),i.unsubscribe(),this._elementObservables.delete(n)}}).pipe(xe(e=>e.some(i=>i.target===n)),io({bufferSize:1,refCount:!0}),fe(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},uM=(()=>{class t{constructor(){this._observers=new Map,this._ngZone=y(F),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(e,i){let r=i?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new rb(r)),this._observers.get(r).observe(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});function EU(t,n){t&1&&J(0,"span",21)}function DU(t,n){if(t&1&&(I(0,"label",20),Ge(1,1),ie(2,EU,1,0,"span",21),T()),t&2){let e=H(2);A("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),Ie("for",e._control.disableAutomaticLabeling?null:e._control.id),w(2),ot(!e.hideRequiredMarker&&e._control.required?2:-1)}}function IU(t,n){if(t&1&&ie(0,DU,3,5,"label",20),t&2){let e=H();ot(e._hasFloatingLabel()?0:-1)}}function SU(t,n){t&1&&J(0,"div",7)}function MU(t,n){}function AU(t,n){if(t&1&&ie(0,MU,0,0,"ng-template",13),t&2){H(2);let e=qt(1);A("ngTemplateOutlet",e)}}function TU(t,n){if(t&1&&(I(0,"div",9),ie(1,AU,1,1,null,13),T()),t&2){let e=H();A("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),w(),ot(e._forceDisplayInfixLabel()?-1:1)}}function RU(t,n){t&1&&(I(0,"div",10,2),Ge(2,2),T())}function OU(t,n){t&1&&(I(0,"div",11,3),Ge(2,3),T())}function FU(t,n){}function kU(t,n){if(t&1&&ie(0,FU,0,0,"ng-template",13),t&2){H();let e=qt(1);A("ngTemplateOutlet",e)}}function NU(t,n){t&1&&(I(0,"div",14,4),Ge(2,4),T())}function LU(t,n){t&1&&(I(0,"div",15,5),Ge(2,5),T())}function PU(t,n){t&1&&J(0,"div",16)}function jU(t,n){if(t&1&&(I(0,"div",18),Ge(1,6),T()),t&2){let e=H();A("@transitionMessages",e._subscriptAnimationState)}}function VU(t,n){if(t&1&&(I(0,"mat-hint",22),oe(1),T()),t&2){let e=H(2);A("id",e._hintLabelId),w(),dt(e.hintLabel)}}function BU(t,n){if(t&1&&(I(0,"div",19),ie(1,VU,2,2,"mat-hint",22),Ge(2,7),J(3,"div",23),Ge(4,8),T()),t&2){let e=H();A("@transitionMessages",e._subscriptAnimationState),w(),ot(e.hintLabel?1:-1)}}function GU(t){let n=t;if(n.offsetParent!==null)return n.scrollWidth;let e=n.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 pU,mU,gU,vU,yU,bU,_U,xU,CU,wU,la,UU,zU,hM,$U,HU,xM,pM,mM,Jf,gM,vM,WU,ob,sb,qU,yM,bM,YU,_M,KU,eh,th,Kl=f(()=>{"use strict";D();D();Cn();Pi();Vt();pe();Re();ct();fM();Zf();by();Pn();pU=["notch"],mU=["matFormFieldNotchedOutline",""],gU=["*"],vU=["textField"],yU=["iconPrefixContainer"],bU=["textPrefixContainer"],_U=["iconSuffixContainer"],xU=["textSuffixContainer"],CU=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],wU=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];la=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=V({type:t,selectors:[["mat-label"]],standalone:!0})}}return t})(),UU=new C("MatError"),zU=0,hM=(()=>{class t{constructor(){this.align="start",this.id=`mat-mdc-hint-${zU++}`}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=V({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,r){i&2&&(ur("id",r.id),Ie("align",null),le("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0})}}return t})(),$U=new C("MatPrefix"),HU=new C("MatSuffix"),xM=new C("FloatingLabelParent"),pM=(()=>{class t{get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(e){this._elementRef=e,this._floating=!1,this._monitorResize=!1,this._resizeObserver=y(uM),this._ngZone=y(F),this._parent=y(xM),this._resizeSubscription=new _e}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return GU(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{this.\u0275fac=function(i){return new(i||t)(p(j))}}static{this.\u0275dir=V({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,r){i&2&&le("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}}return t})();mM="mdc-line-ripple--active",Jf="mdc-line-ripple--deactivating",gM=(()=>{class t{constructor(e,i){this._elementRef=e,this._handleTransitionEnd=r=>{let o=this._elementRef.nativeElement.classList,s=o.contains(Jf);r.propertyName==="opacity"&&s&&o.remove(mM,Jf)},i.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(Jf),e.add(mM)}deactivate(){this._elementRef.nativeElement.classList.add(Jf)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(F))}}static{this.\u0275dir=V({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}}return t})(),vM=(()=>{class t{constructor(e,i){this._elementRef=e,this._ngZone=i,this.open=!1}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(F))}}static{this.\u0275cmp=Y({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,r){if(i&1&&Be(pU,5),i&2){let o;Ce(o=we())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,r){i&2&&le("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[Ee],attrs:mU,ngContentSelectors:gU,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&&(on(),J(0,"div",1),I(1,"div",2,0),Ge(3),T(),J(4,"div",3))},encapsulation:2,changeDetection:0})}}return t})(),WU={transitionMessages:ql("transitionMessages",[Kf("enter",si({opacity:1,transform:"translateY(0%)"})),sa("void => enter",[si({opacity:0,transform:"translateY(-5px)"}),Yl("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},ob=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=V({type:t})}}return t})(),sb=new C("MatFormField"),qU=new C("MAT_FORM_FIELD_DEFAULT_OPTIONS"),yM=0,bM="fill",YU="auto",_M="fixed",KU="translateY(-50%)",eh=(()=>{class t{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Ys(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||YU}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){let i=this._appearance,r=e||this._defaults?.appearance||bM;this._appearance=r,this._appearance==="outline"&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdate=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||_M}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||_M}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,i,r,o,s,a,l,c){this._elementRef=e,this._changeDetectorRef=i,this._dir=o,this._platform=s,this._defaults=a,this._animationMode=l,this._labelChild=pD(la),this._hideRequiredMarker=!1,this.color="primary",this._appearance=bM,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${yM++}`,this._hintLabelId=`mat-mdc-hint-${yM++}`,this._subscriptAnimationState="",this._destroyed=new R,this._isFocused=null,this._needsOutlineLabelOffsetUpdate=!1,this._previousControl=null,this._injector=y(Me),this.getLabelId=Si(()=>this._hasFloatingLabel()?this._labelId:null),this._hasFloatingLabel=Si(()=>!!this._labelChild()),a&&(a.appearance&&(this.appearance=a.appearance),this._hideRequiredMarker=!!a?.hideRequiredMarker,a.color&&(this.color=a.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._previousControl=this._control)}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let i=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),i.controlType&&this._elementRef.nativeElement.classList.add(r+i.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=i.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._valueChanges?.unsubscribe(),i.ngControl&&i.ngControl.valueChanges&&(this._valueChanges=i.ngControl.valueChanges.pipe(fe(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(),St(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),fl(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(fe(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&&i[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let i=this._hintChildren?this._hintChildren.find(o=>o.align==="start"):null,r=this._hintChildren?this._hintChildren.find(o=>o.align==="end"):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let i=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,o=this._iconSuffixContainer?.nativeElement,s=this._textSuffixContainer?.nativeElement,a=i?.getBoundingClientRect().width??0,l=r?.getBoundingClientRect().width??0,c=o?.getBoundingClientRect().width??0,d=s?.getBoundingClientRect().width??0,u=this._dir.value==="rtl"?"-1":"1",m=`${a+l}px`,v=`calc(${u} * (${m} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var(
9
9
  --mat-mdc-form-field-label-transform,
10
10
  ${KU} translateX(${v})
11
- )`;let b=a+l+c+d;this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${b}px)`)}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(et),p(k),p(kt),p(ke),p(qU,8),p(rt,8),p(z))}}static{this.\u0275cmp=Y({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,r,o){if(i&1&&(jD(o,r._labelChild,la,5),Fn(o,cb,5),Fn(o,$U,5),Fn(o,HU,5),Fn(o,UU,5),Fn(o,hM,5)),i&2){VD();let s;Ce(s=we())&&(r._formFieldControl=s.first),Ce(s=we())&&(r._prefixChildren=s),Ce(s=we())&&(r._suffixChildren=s),Ce(s=we())&&(r._errorChildren=s),Ce(s=we())&&(r._hintChildren=s)}},viewQuery:function(i,r){if(i&1&&(Be(vU,5),Be(yU,5),Be(bU,5),Be(_U,5),Be(xU,5),Be(pM,5),Be(vM,5),Be(gM,5)),i&2){let o;Ce(o=we())&&(r._textField=o.first),Ce(o=we())&&(r._iconPrefixContainer=o.first),Ce(o=we())&&(r._textPrefixContainer=o.first),Ce(o=we())&&(r._iconSuffixContainer=o.first),Ce(o=we())&&(r._textSuffixContainer=o.first),Ce(o=we())&&(r._floatingLabel=o.first),Ce(o=we())&&(r._notchedOutline=o.first),Ce(o=we())&&(r._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,r){i&2&&de("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-no-animations",r._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-focused",r._control.focused)("mat-primary",r.color!=="accent"&&r.color!=="warn")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[Ot([{provide:db,useExisting:t},{provide:xM,useExisting:t}]),Ee],ngContentSelectors:wU,decls:18,vars:21,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"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,r){if(i&1){let o=Oe();on(CU),ie(0,IU,1,1,"ng-template",null,0,Co),D(2,"div",6,1),te("click",function(a){return ge(o),ve(r._control.onContainerClick(a))}),ie(4,SU,1,0,"div",7),D(5,"div",8),ie(6,TU,2,2,"div",9)(7,RU,3,0,"div",10)(8,OU,3,0,"div",11),D(9,"div",12),ie(10,FU,1,1,null,13),Ge(11),A(),ie(12,NU,3,0,"div",14)(13,LU,3,0,"div",15),A(),ie(14,PU,1,0,"div",16),A(),D(15,"div",17),ie(16,jU,2,1,"div",18)(17,BU,5,2,"div",19),A()}if(i&2){let o;C(2),de("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),ot(!r._hasOutline()&&!r._control.disabled?4:-1),C(2),ot(r._hasOutline()?6:-1),C(),ot(r._hasIconPrefix?7:-1),C(),ot(r._hasTextPrefix?8:-1),C(2),ot(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),C(2),ot(r._hasTextSuffix?12:-1),C(),ot(r._hasIconSuffix?13:-1),C(),ot(r._hasOutline()?-1:14),C(),de("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic"),C(),ot((o=r._getDisplayedMessages())==="error"?16:o==="hint"?17:-1)}},dependencies:[pM,vM,Xu,gM,hM],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--disabled .cdk-high-contrast-active .mdc-text-field__input{background-color:Window}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-app-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.cdk-high-contrast-active .mdc-text-field--disabled .mdc-floating-label{z-index:1}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-app-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-app-outline));border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-app-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-app-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-app-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-app-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-app-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-app-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-app-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-app-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-app-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-app-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-app-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-app-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-app-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-app-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-app-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-app-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-app-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-app-body-large-weight))}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-app-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-app-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-app-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-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:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[WU.transitionMessages]},changeDetection:0})}}return t})(),rh=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[Ke,at,Tf,Ke]})}}return t})()});function ez(t,n){if(t&1&&(D(0,"span",4),ne(1),A()),t&2){let e=$();C(),st(e.placeholder)}}function tz(t,n){t&1&&Ge(0)}function nz(t,n){if(t&1&&(D(0,"span",11),ne(1),A()),t&2){let e=$(2);C(),st(e.triggerValue)}}function iz(t,n){if(t&1&&(D(0,"span",5),ie(1,tz,1,0)(2,nz,2,1,"span",11),A()),t&2){let e=$();C(),ot(e.customTrigger?1:2)}}function rz(t,n){if(t&1){let e=Oe();D(0,"div",12,1),te("@transformPanel.done",function(r){ge(e);let o=$();return ve(o._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){ge(e);let o=$();return ve(o._handleKeydown(r))}),Ge(2,1),A()}if(t&2){let e=$();ju("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),S("ngClass",e.panelClass)("@transformPanel","showing"),Ie("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}function sz(t){return()=>t.scrollStrategies.reposition()}var QU,ZU,XU,JU,oz,wM,EM,az,lz,cz,ub,oh,sh,Zl=f(()=>{"use strict";Or();me();I();I();Pn();Pn();Ql();Ar();Ar();Ln();Ln();Cn();YS();Dr();Li();Li();Re();dt();th();QU=["trigger"],ZU=["panel"],XU=[[["mat-select-trigger"]],"*"],JU=["mat-select-trigger","*"];oz={transformPanelWrap:ql("transformPanelWrap",[sa("* => void",sM("@transformPanel",[oM()],{optional:!0}))]),transformPanel:ql("transformPanel",[Jf("void",si({opacity:0,transform:"scale(1, 0.8)"})),sa("void => showing",Yl("120ms cubic-bezier(0, 0, 0.2, 1)",si({opacity:1,transform:"scale(1, 1)"}))),sa("* => void",Yl("100ms linear",si({opacity:0})))])},wM=0,EM=new w("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=y(ut);return()=>t.scrollStrategies.reposition()}});az=new w("MAT_SELECT_CONFIG"),lz={provide:EM,deps:[ut],useFactory:sz},cz=new w("MatSelectTrigger"),ub=class{constructor(n,e){this.source=n,this.value=e}},oh=(()=>{class t{_scrollOptionIntoView(e){let i=this.options.toArray()[e];if(i){let r=this.panel.nativeElement,o=NS(e,this.options,this.optionGroups),s=i._getHostElement();e===0&&o===1?r.scrollTop=0:r.scrollTop=LS(s.offsetTop,s.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new ub(this,e)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(hf.required)??!1}set required(e){this._required=e,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}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)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,i,r,o,s,a,l,c,d,u,m,h,v,b){this._viewportRuler=e,this._changeDetectorRef=i,this._elementRef=s,this._dir=a,this._parentFormField=d,this.ngControl=u,this._liveAnnouncer=v,this._defaultOptions=b,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(E,M)=>E===M,this._uid=`mat-select-${wM++}`,this._triggerAriaLabelledBy=null,this._destroy=new R,this.stateChanges=new R,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${wM++}`,this._panelDoneAnimatingStream=new R,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new R,this.optionSelectionChanges=Kt(()=>{let E=this.options;return E?E.changes.pipe(Zt(E),Ye(()=>St(...E.map(M=>M.onSelectionChange)))):this._initialized.pipe(Ye(()=>this.optionSelectionChanges))}),this.openedChange=new P,this._openedStream=this.openedChange.pipe(xe(E=>E),F(()=>{})),this._closedStream=this.openedChange.pipe(xe(E=>!E),F(()=>{})),this.selectionChange=new P,this.valueChange=new P,this._trackedModal=null,this._skipPredicate=E=>this.panelOpen?!1:E.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),b?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=b.typeaheadDebounceInterval),this._errorStateTracker=new zf(o,u,c,l,this.stateChanges),this._scrollStrategyFactory=h,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(m)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Qf(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(no(),he(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(he(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(he(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Zt(null),he(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._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let i=`${this.id}-panel`;this._trackedModal&&jf(this._trackedModal,"aria-owns",i),ky(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;jf(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(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&&!Bt(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&&!Bt(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()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Ue(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(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._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}_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof Gl?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 Nf(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=St(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(he(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),St(...this.options.map(i=>i._stateChanges)).pipe(he(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,i){let r=this._selectionModel.isSelected(e);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}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),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(),i=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(e){this.openedChange.emit(e)}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{this.\u0275fac=function(i){return new(i||t)(p(na),p(et),p(k),p(OS),p(j),p(kt,8),p(yy,8),p(_y,8),p(db,8),p(Ni,10),ur("tabindex"),p(EM),p(wS),p(az,8))}}static{this.\u0275cmp=Y({type:t,selectors:[["mat-select"]],contentQueries:function(i,r,o){if(i&1&&(Fn(o,cz,5),Fn(o,Xs,5),Fn(o,Gy,5)),i&2){let s;Ce(s=we())&&(r.customTrigger=s.first),Ce(s=we())&&(r.options=s),Ce(s=we())&&(r.optionGroups=s)}},viewQuery:function(i,r){if(i&1&&(Be(QU,5),Be(ZU,5),Be(sb,5)),i&2){let o;Ce(o=we())&&(r.trigger=o.first),Ce(o=we())&&(r.panel=o.first),Ce(o=we())&&(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&&(Ie("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()),de("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",Ae],disableRipple:[2,"disableRipple","disableRipple",Ae],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Si(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Ae],placeholder:"placeholder",required:[2,"required","required",Ae],multiple:[2,"multiple","multiple",Ae],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",Ae],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",Si],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[Ot([{provide:cb,useExisting:t},{provide:Hy,useExisting:t}]),vt,Ve,Ee],ngContentSelectors:JU,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-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,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(i,r){if(i&1){let o=Oe();on(XU),D(0,"div",2,0),te("click",function(){return ge(o),ve(r.open())}),D(3,"div",3),ie(4,ez,2,1,"span",4)(5,iz,3,1,"span",5),A(),D(6,"div",6)(7,"div",7),al(),D(8,"svg",8),ee(9,"path",9),A()()()(),ie(10,rz,3,9,"ng-template",10),te("backdropClick",function(){return ge(o),ve(r.close())})("attach",function(){return ge(o),ve(r._onAttached())})("detach",function(){return ge(o),ve(r.close())})}if(i&2){let o=qt(1);C(3),Ie("id",r._valueId),C(),ot(r.empty?4:5),C(6),S("cdkConnectedOverlayPanelClass",r._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",r._scrollStrategy)("cdkConnectedOverlayOrigin",r._preferredOverlayOrigin||o)("cdkConnectedOverlayOpen",r.panelOpen)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayWidth",r._overlayWidth)}},dependencies:[Gl,sb,pr],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-app-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-app-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-app-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-app-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-app-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-app-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-app-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color, var(--mat-app-surface-container))}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-app-on-surface-variant))}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[oz.transformPanel]},changeDetection:0})}}return t})(),sh=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({providers:[lz],imports:[at,Rr,Wy,Ke,ea,rh,Wy,Ke]})}}return t})()});function hb(t){for(let n in t){let e=t[n]??"";switch(n){case"display":e==="flex"?t.display=["-webkit-flex","flex"]:e==="inline-flex"?t.display=["-webkit-inline-flex","inline-flex"]:t.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":t["-webkit-"+n]=e;break;case"flex-direction":t["-webkit-flex-direction"]=e,t["flex-direction"]=e;break;case"order":t.order=t["-webkit-"+n]=isNaN(+e)?"0":e;break}}return t}function ah(t){let[n,e,i]=IM(t);return uz(n,e,i)}function IM(t){t=t?.toLowerCase()??"";let[n,e,i]=t.split(" ");return Xl.find(r=>r===n)||(n=Xl[0]),e===fb&&(e=i!==fb?i:"",i=fb),[n,dz(e),!!i]}function Jl(t){let[n]=IM(t);return n.indexOf("row")>-1}function dz(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap";break}return t}function uz(t,n=null,e=!1){return{display:e?"inline-flex":"flex","box-sizing":"border-box","flex-direction":t,"flex-wrap":n||null}}function jn(t,...n){if(t==null)throw TypeError("Cannot convert undefined or null to object");for(let e of n)if(e!=null)for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}var fb,Xl,pb=f(()=>{"use strict";fb="inline",Xl=["row","column","row-reverse","column-reverse"];});function fz(t,n){return()=>{if(Xn(n)){let e=Array.from(t.querySelectorAll(`[class*=${SM}]`)),i=/\bflex-layout-.+?\b/g;e.forEach(r=>{r.classList.contains(`${SM}ssr`)&&r.parentNode?r.parentNode.removeChild(r):r.className.replace(i,"")})}}}function jM(t,n){return t=t?.clone()??new ko,n&&(t.mqAlias=n.alias,t.mediaQuery=n.mediaQuery,t.suffix=n.suffix,t.priority=n.priority),t}function mz(t,n){return VM(t)[n]??""}function gz(t,n,e){n=n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();let i=VM(t);i[n]=e??"",vz(t,i)}function vz(t,n){let e="";for(let i in n)n[i]&&(e+=`${i}:${n[i]};`);t.setAttribute("style",e)}function VM(t){let n={},e=t.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();n[a]=o.substr(s+1).trim()}}}return n}function ec(t,n){let e=t&&t.priority||0;return(n&&n.priority||0)-e}function yz(t,n){let e=t.priority||0,i=n.priority||0;return e-i}function _z(t,n,e){let i=t.filter(r=>!MM[r]);if(i.length>0){let r=i.join(", ");try{let o=n.createElement("style");if(o.setAttribute("type","text/css"),e&&o.setAttribute("nonce",e),!o.styleSheet){let s=`
11
+ )`;let b=a+l+c+d;this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${b}px)`)}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(et),p(F),p(Ft),p(Oe),p(qU,8),p(rt,8),p(z))}}static{this.\u0275cmp=Y({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,r,o){if(i&1&&(PD(o,r._labelChild,la,5),kn(o,ob,5),kn(o,$U,5),kn(o,HU,5),kn(o,UU,5),kn(o,hM,5)),i&2){jD();let s;Ce(s=we())&&(r._formFieldControl=s.first),Ce(s=we())&&(r._prefixChildren=s),Ce(s=we())&&(r._suffixChildren=s),Ce(s=we())&&(r._errorChildren=s),Ce(s=we())&&(r._hintChildren=s)}},viewQuery:function(i,r){if(i&1&&(Be(vU,5),Be(yU,5),Be(bU,5),Be(_U,5),Be(xU,5),Be(pM,5),Be(vM,5),Be(gM,5)),i&2){let o;Ce(o=we())&&(r._textField=o.first),Ce(o=we())&&(r._iconPrefixContainer=o.first),Ce(o=we())&&(r._textPrefixContainer=o.first),Ce(o=we())&&(r._iconSuffixContainer=o.first),Ce(o=we())&&(r._textSuffixContainer=o.first),Ce(o=we())&&(r._floatingLabel=o.first),Ce(o=we())&&(r._notchedOutline=o.first),Ce(o=we())&&(r._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,r){i&2&&le("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-no-animations",r._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-focused",r._control.focused)("mat-primary",r.color!=="accent"&&r.color!=="warn")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[Ot([{provide:sb,useExisting:t},{provide:xM,useExisting:t}]),Ee],ngContentSelectors:wU,decls:18,vars:21,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"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,r){if(i&1){let o=Pe();on(CU),ie(0,IU,1,1,"ng-template",null,0,xo),I(2,"div",6,1),ee("click",function(a){return ye(o),be(r._control.onContainerClick(a))}),ie(4,SU,1,0,"div",7),I(5,"div",8),ie(6,TU,2,2,"div",9)(7,RU,3,0,"div",10)(8,OU,3,0,"div",11),I(9,"div",12),ie(10,kU,1,1,null,13),Ge(11),T(),ie(12,NU,3,0,"div",14)(13,LU,3,0,"div",15),T(),ie(14,PU,1,0,"div",16),T(),I(15,"div",17),ie(16,jU,2,1,"div",18)(17,BU,5,2,"div",19),T()}if(i&2){let o;w(2),le("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),w(2),ot(!r._hasOutline()&&!r._control.disabled?4:-1),w(2),ot(r._hasOutline()?6:-1),w(),ot(r._hasIconPrefix?7:-1),w(),ot(r._hasTextPrefix?8:-1),w(2),ot(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),w(2),ot(r._hasTextSuffix?12:-1),w(),ot(r._hasIconSuffix?13:-1),w(),ot(r._hasOutline()?-1:14),w(),le("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic"),w(),ot((o=r._getDisplayedMessages())==="error"?16:o==="hint"?17:-1)}},dependencies:[pM,vM,Yu,gM,hM],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--disabled .cdk-high-contrast-active .mdc-text-field__input{background-color:Window}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-app-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.cdk-high-contrast-active .mdc-text-field--disabled .mdc-floating-label{z-index:1}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-app-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-app-outline));border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-app-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-app-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-app-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-app-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-app-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-app-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-app-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-app-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-app-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-app-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-app-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-app-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-app-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-app-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-app-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-app-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-app-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-app-body-large-weight))}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-app-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-app-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-app-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-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:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[WU.transitionMessages]},changeDetection:0})}}return t})(),th=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[Ye,st,If,Ye]})}}return t})()});function ez(t,n){if(t&1&&(I(0,"span",4),oe(1),T()),t&2){let e=H();w(),dt(e.placeholder)}}function tz(t,n){t&1&&Ge(0)}function nz(t,n){if(t&1&&(I(0,"span",11),oe(1),T()),t&2){let e=H(2);w(),dt(e.triggerValue)}}function iz(t,n){if(t&1&&(I(0,"span",5),ie(1,tz,1,0)(2,nz,2,1,"span",11),T()),t&2){let e=H();w(),ot(e.customTrigger?1:2)}}function rz(t,n){if(t&1){let e=Pe();I(0,"div",12,1),ee("@transformPanel.done",function(r){ye(e);let o=H();return be(o._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){ye(e);let o=H();return be(o._handleKeydown(r))}),Ge(2,1),T()}if(t&2){let e=H();Pu("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),A("ngClass",e.panelClass)("@transformPanel","showing"),Ie("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}function sz(t){return()=>t.scrollStrategies.reposition()}var QU,ZU,XU,JU,oz,wM,EM,az,lz,cz,ab,nh,ih,Ql=f(()=>{"use strict";Tr();pe();D();D();Pn();Pn();Kl();Sr();Sr();Ln();Ln();Cn();YS();wr();Ni();Ni();Re();ct();Zf();QU=["trigger"],ZU=["panel"],XU=[[["mat-select-trigger"]],"*"],JU=["mat-select-trigger","*"];oz={transformPanelWrap:ql("transformPanelWrap",[sa("* => void",sM("@transformPanel",[oM()],{optional:!0}))]),transformPanel:ql("transformPanel",[Kf("void",si({opacity:0,transform:"scale(1, 0.8)"})),sa("void => showing",Yl("120ms cubic-bezier(0, 0, 0.2, 1)",si({opacity:1,transform:"scale(1, 1)"}))),sa("* => void",Yl("100ms linear",si({opacity:0})))])},wM=0,EM=new C("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=y(ut);return()=>t.scrollStrategies.reposition()}});az=new C("MAT_SELECT_CONFIG"),lz={provide:EM,deps:[ut],useFactory:sz},cz=new C("MatSelectTrigger"),ab=class{constructor(n,e){this.source=n,this.value=e}},nh=(()=>{class t{_scrollOptionIntoView(e){let i=this.options.toArray()[e];if(i){let r=this.panel.nativeElement,o=NS(e,this.options,this.optionGroups),s=i._getHostElement();e===0&&o===1?r.scrollTop=0:r.scrollTop=LS(s.offsetTop,s.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new ab(this,e)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(cf.required)??!1}set required(e){this._required=e,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}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)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,i,r,o,s,a,l,c,d,u,m,h,v,b){this._viewportRuler=e,this._changeDetectorRef=i,this._elementRef=s,this._dir=a,this._parentFormField=d,this.ngControl=u,this._liveAnnouncer=v,this._defaultOptions=b,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(E,S)=>E===S,this._uid=`mat-select-${wM++}`,this._triggerAriaLabelledBy=null,this._destroy=new R,this.stateChanges=new R,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${wM++}`,this._panelDoneAnimatingStream=new R,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new R,this.optionSelectionChanges=Kt(()=>{let E=this.options;return E?E.changes.pipe(Zt(E),qe(()=>St(...E.map(S=>S.onSelectionChange)))):this._initialized.pipe(qe(()=>this.optionSelectionChanges))}),this.openedChange=new P,this._openedStream=this.openedChange.pipe(xe(E=>E),k(()=>{})),this._closedStream=this.openedChange.pipe(xe(E=>!E),k(()=>{})),this.selectionChange=new P,this.valueChange=new P,this._trackedModal=null,this._skipPredicate=E=>this.panelOpen?!1:E.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),b?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=b.typeaheadDebounceInterval),this._errorStateTracker=new jf(o,u,c,l,this.stateChanges),this._scrollStrategyFactory=h,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(m)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Wf(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(no(),fe(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(fe(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(fe(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Zt(null),fe(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._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let i=`${this.id}-panel`;this._trackedModal&&kf(this._trackedModal,"aria-owns",i),Ay(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;kf(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(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&&!Bt(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&&!Bt(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()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Ue(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(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._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}_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof Gl?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 Rf(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=St(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(fe(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),St(...this.options.map(i=>i._stateChanges)).pipe(fe(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,i){let r=this._selectionModel.isSelected(e);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}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),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(),i=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(e){this.openedChange.emit(e)}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{this.\u0275fac=function(i){return new(i||t)(p(na),p(et),p(F),p(OS),p(j),p(Ft,8),p(py,8),p(gy,8),p(sb,8),p(ki,10),cr("tabindex"),p(EM),p(wS),p(az,8))}}static{this.\u0275cmp=Y({type:t,selectors:[["mat-select"]],contentQueries:function(i,r,o){if(i&1&&(kn(o,cz,5),kn(o,Xs,5),kn(o,Uy,5)),i&2){let s;Ce(s=we())&&(r.customTrigger=s.first),Ce(s=we())&&(r.options=s),Ce(s=we())&&(r.optionGroups=s)}},viewQuery:function(i,r){if(i&1&&(Be(QU,5),Be(ZU,5),Be(nb,5)),i&2){let o;Ce(o=we())&&(r.trigger=o.first),Ce(o=we())&&(r.panel=o.first),Ce(o=we())&&(r._overlayDir=o.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(i,r){i&1&&ee("keydown",function(s){return r._handleKeydown(s)})("focus",function(){return r._onFocus()})("blur",function(){return r._onBlur()}),i&2&&(Ie("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()),le("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",Ae],disableRipple:[2,"disableRipple","disableRipple",Ae],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Ii(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Ae],placeholder:"placeholder",required:[2,"required","required",Ae],multiple:[2,"multiple","multiple",Ae],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",Ae],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",Ii],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[Ot([{provide:ob,useExisting:t},{provide:By,useExisting:t}]),vt,Ve,Ee],ngContentSelectors:JU,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-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,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(i,r){if(i&1){let o=Pe();on(XU),I(0,"div",2,0),ee("click",function(){return ye(o),be(r.open())}),I(3,"div",3),ie(4,ez,2,1,"span",4)(5,iz,3,1,"span",5),T(),I(6,"div",6)(7,"div",7),al(),I(8,"svg",8),J(9,"path",9),T()()()(),ie(10,rz,3,9,"ng-template",10),ee("backdropClick",function(){return ye(o),be(r.close())})("attach",function(){return ye(o),be(r._onAttached())})("detach",function(){return ye(o),be(r.close())})}if(i&2){let o=qt(1);w(3),Ie("id",r._valueId),w(),ot(r.empty?4:5),w(6),A("cdkConnectedOverlayPanelClass",r._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",r._scrollStrategy)("cdkConnectedOverlayOrigin",r._preferredOverlayOrigin||o)("cdkConnectedOverlayOpen",r.panelOpen)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayWidth",r._overlayWidth)}},dependencies:[Gl,nb,fr],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-app-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-app-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-app-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-app-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-app-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-app-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-app-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color, var(--mat-app-surface-container))}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-app-on-surface-variant))}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[oz.transformPanel]},changeDetection:0})}}return t})(),ih=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({providers:[lz],imports:[st,Ar,zy,Ye,ea,th,zy,Ye]})}}return t})()});function cb(t){for(let n in t){let e=t[n]??"";switch(n){case"display":e==="flex"?t.display=["-webkit-flex","flex"]:e==="inline-flex"?t.display=["-webkit-inline-flex","inline-flex"]:t.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":t["-webkit-"+n]=e;break;case"flex-direction":t["-webkit-flex-direction"]=e,t["flex-direction"]=e;break;case"order":t.order=t["-webkit-"+n]=isNaN(+e)?"0":e;break}}return t}function rh(t){let[n,e,i]=IM(t);return uz(n,e,i)}function IM(t){t=t?.toLowerCase()??"";let[n,e,i]=t.split(" ");return Zl.find(r=>r===n)||(n=Zl[0]),e===lb&&(e=i!==lb?i:"",i=lb),[n,dz(e),!!i]}function Xl(t){let[n]=IM(t);return n.indexOf("row")>-1}function dz(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap";break}return t}function uz(t,n=null,e=!1){return{display:e?"inline-flex":"flex","box-sizing":"border-box","flex-direction":t,"flex-wrap":n||null}}function jn(t,...n){if(t==null)throw TypeError("Cannot convert undefined or null to object");for(let e of n)if(e!=null)for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}var lb,Zl,db=f(()=>{"use strict";lb="inline",Zl=["row","column","row-reverse","column-reverse"];});function fz(t,n){return()=>{if(Xn(n)){let e=Array.from(t.querySelectorAll(`[class*=${SM}]`)),i=/\bflex-layout-.+?\b/g;e.forEach(r=>{r.classList.contains(`${SM}ssr`)&&r.parentNode?r.parentNode.removeChild(r):r.className.replace(i,"")})}}}function jM(t,n){return t=t?.clone()??new Oo,n&&(t.mqAlias=n.alias,t.mediaQuery=n.mediaQuery,t.suffix=n.suffix,t.priority=n.priority),t}function mz(t,n){return VM(t)[n]??""}function gz(t,n,e){n=n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();let i=VM(t);i[n]=e??"",vz(t,i)}function vz(t,n){let e="";for(let i in n)n[i]&&(e+=`${i}:${n[i]};`);t.setAttribute("style",e)}function VM(t){let n={},e=t.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();n[a]=o.substr(s+1).trim()}}}return n}function Jl(t,n){let e=t&&t.priority||0;return(n&&n.priority||0)-e}function yz(t,n){let e=t.priority||0,i=n.priority||0;return e-i}function _z(t,n,e){let i=t.filter(r=>!MM[r]);if(i.length>0){let r=i.join(", ");try{let o=n.createElement("style");if(o.setAttribute("type","text/css"),e&&o.setAttribute("nonce",e),!o.styleSheet){let s=`
12
12
  /*
13
13
  @ngbracket/ngx-layout - workaround for possible browser quirk with mediaQuery listeners
14
14
  see http://bit.ly/2sd4HMP
15
15
  */
16
16
  @media ${r} {.fx-query-test{ }}
17
- `;o.appendChild(n.createTextNode(s))}n.head.appendChild(o),i.forEach(s=>MM[s]=o)}catch(o){console.error(o)}}}function xz(t){let n=new EventTarget;return n.matches=t==="all"||t==="",n.media=t,n.addListener=()=>{},n.removeListener=()=>{},n.addEventListener=()=>{},n.dispatchEvent=()=>!1,n.onchange=null,n}function Cz(t,n){return n&&!!window.matchMedia("all").addListener?window.matchMedia(t):xz(t)}function Ez(t){let n=t.length>0?t.charAt(0):"",e=t.length>1?t.slice(1):"";return n.toUpperCase()+e}function Dz(t){return t.replace(wz,"|").split("|").map(Ez).join("")}function Iz(t){return t.forEach(n=>{n.suffix||(n.suffix=Dz(n.alias),n.overlapping=!!n.overlapping)}),t}function Sz(t,n=[]){let e={};return t.forEach(i=>{e[i.alias]=i}),n.forEach(i=>{e[i.alias]?jn(e[i.alias],i):e[i.alias]=i}),Iz(Object.keys(e).map(i=>e[i]))}function kz(t){return t?.mediaQuery.startsWith(ca)??!1}function NM(t,n,e,i){if(i!==void 0){let r=t.get(n)??new Map;r.set(e,i),t.set(n,r)}}function gb(t,n="1",e="1"){let i=[n,e,t],r=t.indexOf("calc");if(r>0){i[2]=LM(t.substring(r).trim());let o=t.substr(0,r).trim().split(" ");o.length==2&&(i[0]=o[0],i[1]=o[1])}else if(r==0)i[2]=LM(t.trim());else{let o=t.split(" ");i=o.length===3?o:[n,e,t]}return i}function LM(t){return t.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}function dh(t,n){if(n===void 0)return t;let e=i=>{let r=+i.slice(0,-PM.length);return t.endsWith(PM)&&!isNaN(r)?`${r*n.value}${n.unit}`:t};return t.includes(" ")?t.split(" ").map(e).join(" "):e(t)}var hz,SM,da,ko,pz,lh,En,tc,ch,li,Hi,bz,MM,wz,Mz,AM,TM,RM,OM,kM,FM,$i,Az,Tz,BM,ca,Rz,Oz,mb,Fr,Nr,PM,Lr=f(()=>{"use strict";I();I();me();Re();pb();dt();hz={provide:Ns,useFactory:fz,deps:[z,gt],multi:!0},SM="flex-layout-";da=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({providers:[hz]})}}return t})(),ko=class t{constructor(n=!1,e="all",i="",r="",o=0){this.matches=n,this.mediaQuery=e,this.mqAlias=i,this.suffix=r,this.priority=o,this.property=""}clone(){return new t(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}};pz=(()=>{class t{constructor(){this.stylesheet=new Map}addStyleToElement(e,i,r){let o=this.stylesheet.get(e);o?o.set(i,r):this.stylesheet.set(e,new Map([[i,r]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,i){let r=this.stylesheet.get(e),o="";if(r){let s=r.get(i);(typeof s=="number"||typeof s=="string")&&(o=s+"")}return o}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();lh={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},En=new w("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>lh});tc=new w("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1});ch=new w("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});li=class{constructor(){this.shouldCache=!0}sideEffect(n,e,i){}};Hi=(()=>{class t{constructor(e,i,r,o){this._serverStylesheet=e,this._serverModuleLoaded=i,this._platformId=r,this.layoutConfig=o}applyStyleToElement(e,i,r=null){let o={};typeof i=="string"&&(o[i]=r,i=o),o=this.layoutConfig.disableVendorPrefixes?i:hb(i),this._applyMultiValueStyleToElement(o,e)}applyStyleToElements(e,i=[]){let r=this.layoutConfig.disableVendorPrefixes?e:hb(e);i.forEach(o=>{this._applyMultiValueStyleToElement(r,o)})}getFlowDirection(e){let i="flex-direction",r=this.lookupStyle(e,i),o=this.lookupInlineStyle(e,i)||Oi(this._platformId)&&this._serverModuleLoaded?r:"";return[r||"row",o]}hasWrap(e){return this.lookupStyle(e,"flex-wrap")==="wrap"}lookupAttributeValue(e,i){return e.getAttribute(i)??""}lookupInlineStyle(e,i){return Xn(this._platformId)?e.style.getPropertyValue(i):mz(e,i)}lookupStyle(e,i,r=!1){let o="";return e&&((o=this.lookupInlineStyle(e,i))||(Xn(this._platformId)?r||(o=getComputedStyle(e).getPropertyValue(i)):this._serverModuleLoaded&&(o=this._serverStylesheet.getStyleForElement(e,i)))),o?o.trim():""}_applyMultiValueStyleToElement(e,i){Object.keys(e).sort().forEach(r=>{let o=e[r],s=Array.isArray(o)?o:[o];s.sort();for(let a of s)a=a?a+"":"",Xn(this._platformId)||!this._serverModuleLoaded?Xn(this._platformId)?i.style.setProperty(r,a):gz(i,r,a):this._serverStylesheet.addStyleToElement(i,r,a)})}static{this.\u0275fac=function(i){return new(i||t)(g(pz),g(tc),g(gt),g(En))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();bz=(()=>{class t{constructor(e,i,r,o){this._zone=e,this._platformId=i,this._document=r,this._nonce=o,this.source=new it(new ko(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){let e=[];return this.registry.forEach((i,r)=>{i.matches&&e.push(r)}),e}isActive(e){return this.registry.get(e)?.matches??this.registerQuery(e).some(r=>r.matches)}observe(e,i=!1){if(e&&e.length){let r=this._observable$.pipe(xe(s=>i?e.indexOf(s.mediaQuery)>-1:!0)),o=new Z(s=>{let a=this.registerQuery(e);if(a.length){let l=a.pop();a.forEach(c=>{s.next(c)}),this.source.next(l)}s.complete()});return St(o,r)}return this._observable$}registerQuery(e){let i=Array.isArray(e)?e:[e],r=[];return _z(i,this._document,this._nonce),i.forEach(o=>{let s=l=>{this._zone.run(()=>this.source.next(new ko(l.matches,o)))},a=this.registry.get(o);a||(a=this.buildMQL(o),a.addListener(s),this.pendingRemoveListenerFns.push(()=>a.removeListener(s)),this.registry.set(o,a)),a.matches&&r.push(new ko(!0,o))}),r}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return Cz(e,Xn(this._platformId))}static{this.\u0275fac=function(i){return new(i||t)(g(k),g(gt),g(z),g(yo,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),MM={};wz=/(\.|-|_)/g;Mz=[{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}];AM="(orientation: portrait) and (max-width: 599.98px)",TM="(orientation: landscape) and (max-width: 959.98px)",RM="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",OM="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",kM="(orientation: portrait) and (min-width: 840px)",FM="(orientation: landscape) and (min-width: 1280px)",$i={HANDSET:`${AM}, ${TM}`,TABLET:`${RM} , ${OM}`,WEB:`${kM}, ${FM} `,HANDSET_PORTRAIT:`${AM}`,TABLET_PORTRAIT:`${RM} `,WEB_PORTRAIT:`${kM}`,HANDSET_LANDSCAPE:`${TM}`,TABLET_LANDSCAPE:`${OM}`,WEB_LANDSCAPE:`${FM}`},Az=[{alias:"handset",priority:2e3,mediaQuery:$i.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:$i.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:$i.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:$i.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:$i.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:$i.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:$i.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:$i.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:$i.WEB_PORTRAIT,overlapping:!0}];Tz=new w("Token (@ngbracket/ngx-layout) Breakpoints",{providedIn:"root",factory:()=>{let t=y(ch),n=y(En),e=[].concat.apply([],(t||[]).map(r=>Array.isArray(r)?r:[r])),i=(n.disableDefaultBps?[]:Mz).concat(n.addOrientationBps?Az:[]);return Sz(i,e)}});BM=(()=>{class t{constructor(e){this.findByMap=new Map,this.items=[...e].sort(yz)}findByAlias(e){return e?this.findWithPredicate(e,i=>i.alias===e):null}findByQuery(e){return this.findWithPredicate(e,i=>i.mediaQuery===e)}get overlappings(){return this.items.filter(e=>e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>e?.suffix??"")}findWithPredicate(e,i){let r=this.findByMap.get(e);return r||(r=this.items.find(i)??null,this.findByMap.set(e,r)),r??null}static{this.\u0275fac=function(i){return new(i||t)(g(Tz))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();ca="print",Rz={alias:ca,mediaQuery:ca,priority:1e3},Oz=(()=>{class t{constructor(e,i,r){this.breakpoints=e,this.layoutConfig=i,this._document=r,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new mb,this.deactivations=[]}withPrintQuery(e){return[...e,ca]}isPrintEvent(e){return e.mediaQuery.startsWith(ca)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>e!==null)}getEventBreakpoints({mediaQuery:e}){let i=this.breakpoints.findByQuery(e);return(i?[...this.printBreakPoints,i]:this.printBreakPoints).sort(ec)}updateEvent(e){let i=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(i=this.getEventBreakpoints(e)[0],e.mediaQuery=i?.mediaQuery??""),jM(e,i)}registerBeforeAfterPrintHooks(e){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;let i=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new ko(!0,ca))),e.updateStyles())},r=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",i),this._document.defaultView.addEventListener("afterprint",r),this.beforePrintEventListeners.push(i),this.afterPrintEventListeners.push(r)}interceptEvents(e){return i=>{if(this.isPrintEvent(i)){i.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(i)),e.updateStyles()):!i.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(e),e.updateStyles());return}this.collectActivations(e,i)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,i){this.isPrinting=!0,this.formerActivations=e.activatedBreakpoints,e.activatedBreakpoints=this.queue.addPrintBreakpoints(i)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(e,i){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent){this.deactivations=[];return}if(!i.matches){let r=this.breakpoints.findByQuery(i.mediaQuery);if(r){let o=this.formerActivations&&this.formerActivations.includes(r),s=!this.formerActivations&&e.activatedBreakpoints.includes(r);(o||s)&&(this.deactivations.push(r),this.deactivations.sort(ec))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("beforeprint",e)),this.afterPrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("afterprint",e)))}static{this.\u0275fac=function(i){return new(i||t)(g(BM),g(En),g(z))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),mb=class{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(n){return n.push(Rz),n.sort(ec),n.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(n){n&&this.printBreakpoints.find(i=>i.mediaQuery===n.mediaQuery)===void 0&&(this.printBreakpoints=kz(n)?[n,...this.printBreakpoints]:[...this.printBreakpoints,n])}clear(){this.printBreakpoints=[]}};Fr=(()=>{class t{get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(e){this._activatedBreakpoints=[...e]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(e){this._useFallbacks=e}constructor(e,i,r){this.matchMedia=e,this.breakpoints=i,this.hook=r,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 R,this.observeActivations()}onMediaChange(e){let i=this.findByQuery(e.mediaQuery);if(i){e=jM(e,i);let r=this.activatedBreakpoints.indexOf(i);e.matches&&r===-1?(this._activatedBreakpoints.push(i),this._activatedBreakpoints.sort(ec),this.updateStyles()):!e.matches&&r!==-1&&(this._activatedBreakpoints.splice(r,1),this._activatedBreakpoints.sort(ec),this.updateStyles())}}init(e,i,r,o,s=[]){NM(this.updateMap,e,i,r),NM(this.clearMap,e,i,o),this.buildElementKeyMap(e,i),this.watchExtraTriggers(e,i,s)}getValue(e,i,r){let o=this.elementMap.get(e);if(o){let s=r!==void 0?o.get(r):this.getActivatedValues(o,i);if(s)return s.get(i)}}hasValue(e,i){let r=this.elementMap.get(e);if(r){let o=this.getActivatedValues(r,i);if(o)return o.get(i)!==void 0||!1}return!1}setValue(e,i,r,o){let s=this.elementMap.get(e);if(!s)s=new Map().set(o,new Map().set(i,r)),this.elementMap.set(e,s);else{let l=(s.get(o)??new Map).set(i,r);s.set(o,l),this.elementMap.set(e,s)}let a=this.getValue(e,i);a!==void 0&&this.updateElement(e,i,a)}trackValue(e,i){return this.subject.asObservable().pipe(xe(r=>r.element===e&&r.key===i))}updateStyles(){this.elementMap.forEach((e,i)=>{let r=new Set(this.elementKeyMap.get(i)),o=this.getActivatedValues(e);o&&o.forEach((s,a)=>{this.updateElement(i,a,s),r.delete(a)}),r.forEach(s=>{if(o=this.getActivatedValues(e,s),o){let a=o.get(s);this.updateElement(i,s,a)}else this.clearElement(i,s)})})}clearElement(e,i){let r=this.clearMap.get(e);if(r){let o=r.get(i);o&&(o(),this.subject.next({element:e,key:i,value:""}))}}updateElement(e,i,r){let o=this.updateMap.get(e);if(o){let s=o.get(i);s&&(s(r),this.subject.next({element:e,key:i,value:r}))}}releaseElement(e){let i=this.watcherMap.get(e);i&&(i.forEach(o=>o.unsubscribe()),this.watcherMap.delete(e));let r=this.elementMap.get(e);r&&(r.forEach((o,s)=>r.delete(s)),this.elementMap.delete(e))}triggerUpdate(e,i){let r=this.elementMap.get(e);if(r){let o=this.getActivatedValues(r,i);o&&(i?this.updateElement(e,i,o.get(i)):o.forEach((s,a)=>this.updateElement(e,a,s)))}}buildElementKeyMap(e,i){let r=this.elementKeyMap.get(e);r||(r=new Set,this.elementKeyMap.set(e,r)),r.add(i)}watchExtraTriggers(e,i,r){if(r&&r.length){let o=this.watcherMap.get(e);if(o||(o=new Map,this.watcherMap.set(e,o)),!o.get(i)){let a=St(...r).subscribe(()=>{let l=this.getValue(e,i);this.updateElement(e,i,l)});o.set(i,a)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,i){for(let o=0;o<this.activatedBreakpoints.length;o++){let s=this.activatedBreakpoints[o],a=e.get(s.alias);if(a&&(i===void 0||a.has(i)&&a.get(i)!=null))return a}if(!this._useFallbacks)return;let r=e.get("");return i===void 0||r&&r.has(i)?r:void 0}observeActivations(){let e=this.breakpoints.items.map(i=>i.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe(Pe(this.hook.interceptEvents(this)),xe(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}static{this.\u0275fac=function(i){return new(i||t)(g(bz),g(BM),g(Oz))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();Nr=(()=>{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(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}constructor(e,i,r,o){this.elementRef=e,this.styleBuilder=i,this.styler=r,this.marshal=o,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new R,this.styleCache=new Map}ngOnChanges(e){Object.keys(e).forEach(i=>{if(this.inputs.indexOf(i)!==-1){let r=i.split(".").slice(1).join("."),o=e[i].currentValue;this.setValue(o,r)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,i){let r=this.styleBuilder,o=r.shouldCache,s=this.styleCache.get(e);(!s||!o)&&(s=r.buildStyles(e,i),o&&this.styleCache.set(e,s)),this.mru=x({},s),this.applyStyleToElement(s),r.sideEffect(e,s,i)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,i=!1){if(e){let[r,o]=this.styler.getFlowDirection(e);if(!o&&i){let s=ah(r),a=[e];this.styler.applyStyleToElements(s,a)}return r.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,i,r=this.nativeElement){this.styler.applyStyleToElement(r,e,i)}setValue(e,i){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,i)}updateWithValue(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(li),p(Hi),p(Fr))}}static{this.\u0275dir=V({type:t,features:[Ve]})}}return t})();PM="x";});var Nz,Lz,ua,vb,fa=f(()=>{"use strict";I();Lr();Lr();me();me();Nz=(()=>{class t extends Nr{set klass(e){this.ngClassInstance.klass=e,this.setValue(e,"")}constructor(e,i,r,o,s){super(e,null,i,r),this.ngClassInstance=s,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new pr(e,o)),this.init(),this.setValue("","")}updateWithValue(e){this.ngClassInstance.ngClass=e,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(Hi),p(Fr),p(Qn),p(pr,10))}}static{this.\u0275dir=V({type:t,inputs:{klass:[0,"class","klass"]},features:[ye]})}}return t})(),Lz=["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"],ua=(()=>{class t extends Nz{constructor(){super(...arguments),this.inputs=Lz}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})()}static{this.\u0275dir=V({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:[ye]})}}return t})();vb=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[da]})}}return t})();});function l$(t,n){let[e,i]=t.split(" "),r=i??e,o="0px",s=r,a="0px";return n==="rtl"?a=e:o=e,{padding:`0px ${o} ${s} ${a}`}}function c$(t,n){let[e,i]=t.split(" "),r=i??e,o=c=>`-${c}`,s="0px",a=o(r),l="0px";return n==="rtl"?l=o(e):s=o(e),{margin:`0px ${s} ${a} ${l}`}}function qM(t,n){switch(n){case"column":return"margin-bottom";case"column-reverse":return"margin-top";case"row":return t==="rtl"?"margin-left":"margin-right";case"row-reverse":return t==="rtl"?"margin-right":"margin-left";default:return t==="rtl"?"margin-left":"margin-right"}}function d$(t,n){let e=qM(n.directionality,n.layout),i=x({},GM);return i[e]=t,i}var Pz,jz,Vz,$M,Bz,Uz,zz,$z,Hz,Gz,Wz,HM,qz,Yz,Kz,Qz,Zz,Xz,Jz,e$,GM,t$,n$,i$,WM,r$,o$,s$,a$,uh,u$,f$,h$,YM,zM,bb,fh=f(()=>{"use strict";Cn();Cn();I();Lr();Lr();pb();dt();Re();Pz=(()=>{class t extends li{constructor(e){super(),this.layoutConfig=e}buildStyles(e,i){let[r,o,...s]=e.split(" "),a=s.join(" "),l=i.direction.indexOf("column")>-1?"column":"row",c=Jl(l)?"max-width":"max-height",d=Jl(l)?"min-width":"min-height",u=String(a).indexOf("calc")>-1,m=u||a==="auto",h=String(a).indexOf("%")>-1&&!u,v=String(a).indexOf("px")>-1||String(a).indexOf("rem")>-1||String(a).indexOf("em")>-1||String(a).indexOf("vw")>-1||String(a).indexOf("vh")>-1,b=u||v;r=r=="0"?0:r,o=o=="0"?0:o;let E=!r&&!o,M={},B={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(a||""){case"":let G=this.layoutConfig.useColumnBasisZero!==!1;a=l==="row"?"0%":G?"0.000000001px":"auto";break;case"initial":case"nogrow":r=0,a="auto";break;case"grow":a="100%";break;case"noshrink":o=0,a="auto";break;case"auto":break;case"none":r=0,o=0,a="auto";break;default:!b&&!h&&!isNaN(a)&&(a=a+"%"),a==="0%"&&(b=!0),a==="0px"&&(a="0%"),u?M=jn(B,{"flex-grow":r,"flex-shrink":o,"flex-basis":b?a:"100%"}):M=jn(B,{flex:`${r} ${o} ${b?a:"100%"}`});break}return M.flex||M["flex-grow"]||(u?M=jn(B,{"flex-grow":r,"flex-shrink":o,"flex-basis":a}):M=jn(B,{flex:`${r} ${o} ${a}`})),a!=="0%"&&a!=="0px"&&a!=="0.000000001px"&&a!=="auto"&&(M[d]=E||b&&r?a:null,M[c]=E||!m&&o?a:null),!M[d]&&!M[c]?u?M=jn(B,{"flex-grow":r,"flex-shrink":o,"flex-basis":a}):M=jn(B,{flex:`${r} ${o} ${a}`}):i.hasWrap&&(M[u?"flex-basis":"flex"]=M[c]?u?M[c]:`${r} ${o} ${M[c]}`:u?M[d]:`${r} ${o} ${M[d]}`),jn(M,{"box-sizing":"border-box"})}static{this.\u0275fac=function(i){return new(i||t)(g(En))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),jz=["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"],Vz=(()=>{class t extends Nr{get shrink(){return this.flexShrink}set shrink(e){this.flexShrink=e||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(e){this.flexGrow=e||"1",this.triggerReflow()}constructor(e,i,r,o,s){super(e,o,i,s),this.layoutConfig=r,this.marshal=s,this.DIRECTIVE_KEY="flex",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(he(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(he(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(e){let r=e.value.split(" ");this.direction=r[0],this.wrap=r[1]!==void 0&&r[1]==="wrap",this.triggerUpdate()}updateWithValue(e){let i=this.layoutConfig.addFlexToParent!==!1;this.direction===void 0&&(this.direction=this.getFlexFlowDirection(this.parentElement,i)),this.wrap===void 0&&(this.wrap=this.hasWrap(this.parentElement));let r=this.direction,o=r.startsWith("row"),s=this.wrap;o&&s?this.styleCache=zz:o&&!s?this.styleCache=Bz:!o&&s?this.styleCache=$z:!o&&!s&&(this.styleCache=Uz);let a=String(e).replace(";",""),l=gb(a,this.flexGrow,this.flexShrink);this.addStyles(l.join(" "),{direction:r,hasWrap:s})}triggerReflow(){let e=this.activatedValue;if(e!==void 0){let i=gb(e+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,i.join(" "))}}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(Hi),p(En),p(Pz),p(Fr))}}static{this.\u0275dir=V({type:t,inputs:{shrink:[0,"fxShrink","shrink"],grow:[0,"fxGrow","grow"]},features:[ye]})}}return t})(),$M=(()=>{class t extends Vz{constructor(){super(...arguments),this.inputs=jz}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})()}static{this.\u0275dir=V({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:[ye]})}}return t})(),Bz=new Map,Uz=new Map,zz=new Map,$z=new Map;Hz=(()=>{class t extends li{buildStyles(e,i){let r={},[o,s]=e.split(" ");switch(o){case"center":r["justify-content"]="center";break;case"space-around":r["justify-content"]="space-around";break;case"space-between":r["justify-content"]="space-between";break;case"space-evenly":r["justify-content"]="space-evenly";break;case"end":case"flex-end":r["justify-content"]="flex-end";break;case"start":case"flex-start":default:r["justify-content"]="flex-start";break}switch(s){case"start":case"flex-start":r["align-items"]=r["align-content"]="flex-start";break;case"center":r["align-items"]=r["align-content"]="center";break;case"end":case"flex-end":r["align-items"]=r["align-content"]="flex-end";break;case"space-between":r["align-content"]="space-between",r["align-items"]="stretch";break;case"space-around":r["align-content"]="space-around",r["align-items"]="stretch";break;case"baseline":r["align-content"]="stretch",r["align-items"]="baseline";break;case"stretch":default:r["align-items"]=r["align-content"]="stretch";break}return jn(r,{display:i.inline?"inline-flex":"flex","flex-direction":i.layout,"box-sizing":"border-box","max-width":s==="stretch"?Jl(i.layout)?null:"100%":null,"max-height":s==="stretch"&&Jl(i.layout)?"100%":null})}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})()}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Gz=["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"],Wz=(()=>{class t extends Nr{constructor(e,i,r,o){super(e,r,i,o),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe(he(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(e){let i=this.layout||"row",r=this.inline;i==="row"&&r?this.styleCache=Zz:i==="row"&&!r?this.styleCache=qz:i==="row-reverse"&&r?this.styleCache=Jz:i==="row-reverse"&&!r?this.styleCache=Kz:i==="column"&&r?this.styleCache=Xz:i==="column"&&!r?this.styleCache=Yz:i==="column-reverse"&&r?this.styleCache=e$:i==="column-reverse"&&!r&&(this.styleCache=Qz),this.addStyles(e,{layout:i,inline:r})}onLayoutChange(e){let i=e.value.split(" ");this.layout=i[0],this.inline=e.value.includes("inline"),Xl.find(r=>r===this.layout)||(this.layout="row"),this.triggerUpdate()}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(Hi),p(Hz),p(Fr))}}static{this.\u0275dir=V({type:t,features:[ye]})}}return t})(),HM=(()=>{class t extends Wz{constructor(){super(...arguments),this.inputs=Gz}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})()}static{this.\u0275dir=V({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:[ye]})}}return t})(),qz=new Map,Yz=new Map,Kz=new Map,Qz=new Map,Zz=new Map,Xz=new Map,Jz=new Map,e$=new Map,GM={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null},t$=(()=>{class t extends li{constructor(e,i){super(),this._styler=e,this._config=i}buildStyles(e,i){return e.endsWith(uh)?(e=e.slice(0,e.indexOf(uh)),e=dh(e,this._config.multiplier),c$(e,i.directionality)):{}}sideEffect(e,i,r){let o=r.items;if(e.endsWith(uh)){e=e.slice(0,e.indexOf(uh)),e=dh(e,this._config.multiplier);let s=l$(e,r.directionality);this._styler.applyStyleToElements(s,r.items)}else{e=dh(e,this._config.multiplier),e=this.addFallbackUnit(e);let s=o.pop(),a=d$(e,r);this._styler.applyStyleToElements(a,o),this._styler.applyStyleToElements(GM,[s])}}addFallbackUnit(e){return isNaN(+e)?e:`${e}${this._config.defaultUnit}`}static{this.\u0275fac=function(i){return new(i||t)(g(Hi),g(En))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),n$=["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"],i$=(()=>{class t extends Nr{get childrenNodes(){let e=this.nativeElement.children,i=[];for(let r=e.length;r--;)i[r]=e[r];return i}constructor(e,i,r,o,s,a){super(e,s,o,a),this.zone=i,this.directionality=r,this.styleUtils=o,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.observerSubject=new R;let l=[this.directionality.change,this.observerSubject.asObservable()];this.init(l),this.marshal.trackValue(this.nativeElement,"layout").pipe(he(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(e){let r=e.value.split(" ")[0];Xl.find(o=>o===r)||(r="row"),this.layout&&this.layout!==r&&this.clearStyles(),this.layout=r,this.triggerUpdate()}updateWithValue(e){let i=this.childrenNodes.filter(r=>r.nodeType===1&&this.willDisplay(r)).sort((r,o)=>{let s=+this.styler.lookupStyle(r,"order"),a=+this.styler.lookupStyle(o,"order");return isNaN(s)||isNaN(a)||s===a?0:s>a?1:-1});if(i.length>0){let r=this.directionality.value,o=this.layout;o==="row"&&r==="rtl"?this.styleCache=r$:o==="row"&&r!=="rtl"?this.styleCache=s$:o==="column"&&r==="rtl"?this.styleCache=o$:o==="column"&&r!=="rtl"&&(this.styleCache=a$),this.addStyles(e,{directionality:r,items:i,layout:o})}}clearStyles(){let e=Object.keys(this.mru).length>0,i=e?"padding":qM(this.directionality.value,this.layout);e&&super.clearStyles(),this.styleUtils.applyStyleToElements({[i]:""},this.childrenNodes)}willDisplay(e){let i=this.marshal.getValue(e,"show-hide");return i===!0||i===void 0&&this.styleUtils.lookupStyle(e,"display")!=="none"}buildChildObservable(){this.zone.runOutsideAngular(()=>{typeof MutationObserver<"u"&&(this.observer=new MutationObserver(e=>{let i=r=>r.addedNodes&&r.addedNodes.length>0||r.removedNodes&&r.removedNodes.length>0;e.some(i)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(k),p(kt),p(Hi),p(t$),p(Fr))}}static{this.\u0275dir=V({type:t,features:[ye]})}}return t})(),WM=(()=>{class t extends i${constructor(){super(...arguments),this.inputs=n$}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})()}static{this.\u0275dir=V({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:[ye]})}}return t})(),r$=new Map,o$=new Map,s$=new Map,a$=new Map,uh=" grid";u$=(()=>{class t extends li{buildStyles(e,{display:i}){let r=ah(e);return ce(x({},r),{display:i==="none"?i:r.display})}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})()}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),f$=["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"],h$=(()=>{class t extends Nr{constructor(e,i,r,o,s){super(e,r,i,o),this._config=s,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(e){let r=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=zM.get(r)??new Map,zM.set(r,this.styleCache),this.currentValue!==e&&(this.addStyles(e,{display:r}),this.currentValue=e)}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(Hi),p(u$),p(Fr),p(En))}}static{this.\u0275dir=V({type:t,features:[ye]})}}return t})(),YM=(()=>{class t extends h${constructor(){super(...arguments),this.inputs=f$}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})()}static{this.\u0275dir=V({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:[ye]})}}return t})(),zM=new Map;bb=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[da,ni]})}}return t})();});var _b,xb=f(()=>{"use strict";I();Lr();_b=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[da]})}}return t})();});var ha,jee,hh=f(()=>{"use strict";Lr();Lr();fa();fa();fh();fh();xb();xb();me();I();I();ha=(()=>{class t{static withConfig(e,i=[]){return{ngModule:t,providers:e.serverLoaded?[{provide:En,useValue:x(x({},lh),e)},{provide:ch,useValue:i,multi:!0},{provide:tc,useValue:!0}]:[{provide:En,useValue:x(x({},lh),e)},{provide:ch,useValue:i,multi:!0}]}}constructor(e,i){Oi(i)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static{this.\u0275fac=function(i){return new(i||t)(g(tc),g(gt))}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[bb,vb,_b,bb,vb,_b]})}}return t})();jee=new Kn("18.0.0");});function m$(t,n){if(t&1&&(D(0,"mat-option",12),ne(1),A()),t&2){let e=n.$implicit;S("value",e),C(),We(" ",e.voiceName," ")}}function g$(t,n){if(t&1&&(D(0,"mat-icon"),ne(1),A()),t&2){let e=$();C(),We(" ",e.isPlaying?"stop":"volume_up"," ")}}function v$(t,n){t&1&&ee(0,"mat-spinner",13),t&2&&S("diameter",15)}var KM,QM=f(()=>{"use strict";me();I();Li();an();Bi();GS();Re();Kf();zi();Zl();Ql();hh();bt();I();me();Li();zi();Ql();Zl();Pn();fa();bt();KM=(()=>{class t{constructor(){this.maxCharLength=1e3,this.#e=y(HS)}get hasOverflow(){let e=document.querySelector("textarea");return e?.clientHeight<e?.scrollHeight}#e;ngOnInit(){this.selected=this.voices[0]}togglePlay(){if(this.isPlaying){this.stop();return}this.isLoading=!0;let e=this.text.length>this.maxCharLength?this.text.substring(0,this.maxCharLength):this.text;if(this.audio&&e===this.previousText&&this.selected.voice===this.previousVoice){this.audio.play(),this.isPlaying=!0,this.isLoading=!1;return}this.#e.play(e,this.selected).pipe($t(()=>{this.isLoading=!1})).subscribe({next:i=>{this.previousText=e,this.previousVoice=this.selected.voice;let r=URL.createObjectURL(i);this.audio=new Audio(r),this.audio.play(),this.isPlaying=!0,this.audio.onended=()=>{URL.revokeObjectURL(r),this.isPlaying=!1}}})}stop(){this.audio&&(this.audio.pause(),this.audio.currentTime=0,this.isPlaying=!1)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["lib-text-to-speech"]],inputs:{maxCharLength:"maxCharLength",voices:"voices"},standalone:!0,features:[Ee],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(i,r){if(i&1&&(D(0,"div",0)(1,"mat-form-field",1)(2,"mat-label"),ne(3),K(4,"translate"),A(),D(5,"mat-select",2),Fs("valueChange",function(s){return pl(r.selected,s)||(r.selected=s),s}),ie(6,m$,2,2,"mat-option",3),A()(),D(7,"div",4)(8,"textarea",5),K(9,"translate"),Fs("ngModelChange",function(s){return pl(r.text,s)||(r.text=s),s}),A(),D(10,"div",6),ne(11),A()(),D(12,"div",7)(13,"div",8),K(14,"translate"),D(15,"button",9),K(16,"translate"),te("click",function(){return r.togglePlay()}),ie(17,g$,2,1,"mat-icon",10)(18,v$,1,1,"mat-spinner",11),A()()()()),i&2){let o;S("ngClass.lt-md","mobile"),C(3),st(se(4,15,"selectVoice")),C(2),ks("value",r.selected),C(),S("ngForOf",r.voices),C(2),ks("ngModel",r.text),S("placeholder",se(9,17,"placeholder")),C(2),de("text-overflow",r.hasOverflow),C(),wv(" ",(o=r.text==null?null:r.text.length)!==null&&o!==void 0?o:0,"/",r.maxCharLength," "),C(2),S("matTooltip",r.text?"":se(14,19,"playDisabled")),C(2),S("matTooltip",se(16,21,r.isPlaying?"stop":"play"))("disabled",!r.text||r.isLoading),C(2),S("ngIf",!r.isLoading),C(),S("ngIf",r.isLoading)}},dependencies:[at,Zu,mr,Js,ri,If,Hs,Gs,Fl,Yf,aa,ai,rh,ih,la,sh,oh,Xs,ha,ua,ei,yt],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}"]})}}return t})()});var ZM=f(()=>{"use strict"});var XM=f(()=>{"use strict";ZM()});var JM=f(()=>{"use strict";QM();XM()});var eA,tA=f(()=>{"use strict";eA={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 ph,Cb=f(()=>{"use strict";cy();JM();tA();I();ph=(()=>{class t extends uf{set voices(e){this._voices=typeof e=="string"?JSON.parse(e):e}set maxCharLength(e){this._maxCharLength=+e}get voices(){return this._voices}get maxCharLength(){return this._maxCharLength}constructor(){super(eA),this._maxCharLength=500}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["app-text-to-speech"]],inputs:{voices:"voices",maxCharLength:"maxCharLength"},standalone:!0,features:[ye,Ee],decls:1,vars:2,consts:[[3,"voices","maxCharLength"]],template:function(i,r){i&1&&ee(0,"lib-text-to-speech",0),i&2&&S("voices",r.voices)("maxCharLength",r.maxCharLength)},dependencies:[KM]})}}return t})()});var Ut,mh=f(()=>{"use strict";Ut=function(t){return t.SUMMARY="SUMMARY",t.REPHRASE="REPHRASE",t}(Ut||{})});function y$(t,n){}function wb(t,n){let e=t.length;for(;e--;)n(t[e])}var Fo,Eb,nc,b$,_$,x$,C$,Db,nA,iA=f(()=>{"use strict";Ln();Ln();Or();Or();Vt();Hl();me();I();I();Dr();Re();Cn();dt();Fo=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}},Eb=(()=>{class t extends ia{constructor(e,i,r,o,s,a,l,c){super(),this._elementRef=e,this._focusTrapFactory=i,this._config=o,this._interactivityChecker=s,this._ngZone=a,this._overlayRef=l,this._focusMonitor=c,this._platform=y(ke),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=y(et),this._injector=y(Me),this._isDestroyed=!1,this.attachDomPortal=d=>{this._portalOutlet.hasAttached();let u=this._portalOutlet.attachDomPortal(d);return this._contentAttached(),u},this._document=r,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let i=this._ariaLabelledByQueue.indexOf(e);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_trapFocus(){this._isDestroyed||kn(()=>{let e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement()||this._focusDialogContainer();break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,i=null;if(typeof e=="string"?i=this._document.querySelector(e):typeof e=="boolean"?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&typeof i.focus=="function"){let r=Ll(),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(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let e=this._elementRef.nativeElement,i=Ll();return e===i||e.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Ll()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(Vf),p(z,8),p(Fo),p(jl),p(k),p(Ui),p(Sr))}}static{this.\u0275cmp=Y({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(i,r){if(i&1&&Be($l,7),i&2){let o;Ce(o=we())&&(r._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,r){i&2&&Ie("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},standalone:!0,features:[ye,Ee],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,r){i&1&&ie(0,y$,0,0,"ng-template",0)},dependencies:[$l],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}}return t})(),nc=class{constructor(n,e){this.overlayRef=n,this.config=e,this.closed=new R,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{i.keyCode===27&&!this.disableClose&&!Bt(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=n.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(n,e){if(this.containerInstance){let i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(n),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}},b$=new w("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=y(ut);return()=>t.scrollStrategies.block()}}),_$=new w("DialogData"),x$=new w("DefaultDialogConfig"),C$=0,Db=(()=>{class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,i,r,o,s,a){this._overlay=e,this._injector=i,this._defaultOptions=r,this._parentDialog=o,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new R,this._afterOpenedAtThisLevel=new R,this._ariaHiddenElements=new Map,this.afterAllClosed=Kt(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Zt(void 0))),this._scrollStrategy=a}open(e,i){let r=this._defaultOptions||new Fo;i=x(x({},r),i),i.id=i.id||`cdk-dialog-${C$++}`,i.id&&this.getDialogById(i.id);let o=this._getOverlayConfig(i),s=this._overlay.create(o),a=new nc(s,i),l=this._attachContainer(s,a,i);return a.containerInstance=l,this._attachDialogContent(e,a,l,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){wb(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){wb(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),wb(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let i=new ra({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,r){let o=r.injector||r.viewContainerRef?.injector,s=[{provide:Fo,useValue:r},{provide:nc,useValue:i},{provide:Ui,useValue:e}],a;r.container?typeof r.container=="function"?a=r.container:(a=r.container.type,s.push(...r.container.providers(r))):a=Eb;let l=new Tr(a,r.viewContainerRef,Me.create({parent:o||this._injector,providers:s}),r.componentFactoryResolver);return e.attach(l).instance}_attachDialogContent(e,i,r,o){if(e instanceof Jt){let s=this._createInjector(o,i,r,void 0),a={$implicit:o.data,dialogRef:i};o.templateContext&&(a=x(x({},a),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),r.attachTemplatePortal(new Ao(e,null,a,s))}else{let s=this._createInjector(o,i,r,this._injector),a=r.attachComponentPortal(new Tr(e,o.viewContainerRef,s,o.componentFactoryResolver));i.componentRef=a,i.componentInstance=a.instance}}_createInjector(e,i,r,o){let s=e.injector||e.viewContainerRef?.injector,a=[{provide:_$,useValue:e.data},{provide:nc,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(kt,null,{optional:!0}))&&a.push({provide:kt,useValue:{value:e.direction,change:O()}}),Me.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(){let e=this._overlayContainer.getContainerElement();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{this.\u0275fac=function(i){return new(i||t)(g(ut),g(Me),g(x$,8),g(t,12),g(oa),g(b$))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();nA=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({providers:[Db],imports:[Rr,To,Bf,To]})}}return t})()});function w$(t,n){}function aA(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?Ir(t.substring(0,t.length-2)):t.endsWith("s")?Ir(t.substring(0,t.length-1))*1e3:t==="0"?0:null}function lA(t,n,e){return t._closeInteractionType=n,t.close(e)}function dA(t,n){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?n.find(i=>i.id===e.id):null}var ic,Ib,rA,oA,E$,D$,I$,sA,gh,rc,oc,S$,M$,A$,No,T$,vh,cA,yh,bh,_h,pa,Pr=f(()=>{"use strict";Or();Or();me();me();I();I();Ln();iA();ji();Hl();Re();dt();Dr();Ar();Pn();ic=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}},Ib="mdc-dialog--open",rA="mdc-dialog--opening",oA="mdc-dialog--closing",E$=150,D$=75,I$=(()=>{class t extends Eb{constructor(e,i,r,o,s,a,l,c,d){super(e,i,r,o,s,a,l,d),this._animationMode=c,this._animationStateChanged=new P,this._animationsEnabled=this._animationMode!=="NoopAnimations",this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?aA(this._config.enterAnimationDuration)??E$:0,this._exitAnimationDuration=this._animationsEnabled?aA(this._config.exitAnimationDuration)??D$:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(sA,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(rA,Ib)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Ib),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Ib),this._animationsEnabled?(this._hostElement.style.setProperty(sA,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(oA)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(rA,oA)}_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{this.\u0275fac=function(i){return new(i||t)(p(j),p(Vf),p(z,8),p(ic),p(jl),p(k),p(Ui),p(rt,8),p(Sr))}}static{this.\u0275cmp=Y({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,r){i&2&&(hr("id",r._config.id),Ie("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),de("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},standalone:!0,features:[ye,Ee],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&&(D(0,"div",0)(1,"div",1),ie(2,w$,0,0,"ng-template",2),A()())},dependencies:[$l],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12));border-radius:var(--mdc-dialog-container-shape, var(--mat-app-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-app-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-app-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-app-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-app-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-app-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-app-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-app-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-app-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-app-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-app-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-app-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-app-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.cdk-high-contrast-active .mat-mdc-dialog-actions{border-top-color:CanvasText}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}'],encapsulation:2})}}return t})(),sA="--mat-dialog-transition-duration";gh=function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t}(gh||{}),rc=class{constructor(n,e,i){this._ref=n,this._containerInstance=i,this._afterOpened=new R,this._beforeClosed=new R,this._state=gh.OPEN,this.disableClose=e.disableClose,this.id=n.id,n.addPanelClass("mat-mdc-dialog-panel"),i._animationStateChanged.pipe(xe(r=>r.state==="opened"),Ue(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(xe(r=>r.state==="closed"),Ue(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),St(this.backdropClick(),this.keydownEvents().pipe(xe(r=>r.keyCode===27&&!this.disableClose&&!Bt(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),lA(this,r.type==="keydown"?"keyboard":"mouse"))})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(xe(e=>e.state==="closing"),Ue(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=gh.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=gh.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};oc=new w("MatMdcDialogData"),S$=new w("mat-mdc-dialog-default-options"),M$=new w("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=y(ut);return()=>t.scrollStrategies.block()}}),A$=0,No=(()=>{class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(e,i,r,o,s,a,l,c){this._overlay=e,this._defaultOptions=o,this._scrollStrategy=s,this._parentDialog=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new R,this._afterOpenedAtThisLevel=new R,this.dialogConfigClass=ic,this.afterAllClosed=Kt(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Zt(void 0))),this._dialog=i.get(Db),this._dialogRefConstructor=rc,this._dialogContainerType=I$,this._dialogDataToken=oc}open(e,i){let r;i=x(x({},this._defaultOptions||new ic),i),i.id=i.id||`mat-mdc-dialog-${A$++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(e,ce(x({},i),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:Fo,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{this.\u0275fac=function(i){return new(i||t)(g(ut),g(Me),g(Zn,8),g(S$,8),g(M$),g(t,12),g(oa),g(rt,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),T$=0,vh=(()=>{class t{constructor(e,i,r){this.dialogRef=e,this._elementRef=i,this._dialog=r,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=dA(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){lA(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static{this.\u0275fac=function(i){return new(i||t)(p(rc,8),p(j),p(No))}}static{this.\u0275dir=V({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,r){i&1&&te("click",function(s){return r._onButtonClick(s)}),i&2&&Ie("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"],standalone:!0,features:[Ve]})}}return t})(),cA=(()=>{class t{constructor(e,i,r){this._dialogRef=e,this._elementRef=i,this._dialog=r}ngOnInit(){this._dialogRef||(this._dialogRef=dA(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static{this.\u0275fac=function(i){return new(i||t)(p(rc,8),p(j),p(No))}}static{this.\u0275dir=V({type:t,standalone:!0})}}return t})(),yh=(()=>{class t extends cA{constructor(){super(...arguments),this.id=`mat-mdc-dialog-title-${T$++}`}_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})()}static{this.\u0275dir=V({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,r){i&2&&hr("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0,features:[ye]})}}return t})(),bh=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=V({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0,features:[yD([Ky])]})}}return t})(),_h=(()=>{class t extends cA{_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})()}static{this.\u0275dir=V({type:t,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&&de("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"},standalone:!0,features:[ye]})}}return t})();pa=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({providers:[No],imports:[nA,Rr,To,Ke,Ke]})}}return t})()});var sc,xh,Ch,wh,ma,uA,ze,fA,Lo=f(()=>{"use strict";bl();I();I();Re();sc=new w("ngx-tld-services Api service configuration."),xh=class{#e;constructor(n){this.http=y(br),this.#e=y(sc);let e=n(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}},Ch=function(t){return t.Event="Event",t.General="General",t.Meeting="Meeting",t}(Ch||{}),wh=function(t){return t.Event="Event",t.General="General",t.Meeting="Meeting",t.MeetingBrief="MeetingBrief",t.Brief="Brief",t}(wh||{}),ma=class{static xAppIdHeader(n){return{"X-App-Id":n}}},uA=(()=>{class t extends xh{#e=y(br);constructor(){super(e=>e.llmService)}rephrase(e){let i=ma.xAppIdHeader(this.sharedServiceConfiguration.xAppId);return this.#e.post(`${this.configuration.url}/rewrite`,e,{responseType:"text",headers:i})}summarize(e){let i=ma.xAppIdHeader(this.sharedServiceConfiguration.xAppId);return this.#e.post(`${this.configuration.url}/summarize/`,e,{responseType:"text",headers:i})}customPrompt(e){let i=ma.xAppIdHeader(this.sharedServiceConfiguration.xAppId);return this.#e.post(`${this.configuration.url}/custom-prompt/`,e,{responseType:"text",headers:i})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ze=function(t){return t.TRANSLATION_FILES="FileTranslationFiles",t.ASR_FILE_LENGTH_SECONDS="AsrFileLengthSeconds",t.ASR_FILE_SIZE_KB="AsrFileSizeKb",t.ONLINE_ASR_USED_SECONDS="OnlineAsrUsedSeconds",t.TRANSLATION_CHARACTERS="TranslationCharacters",t.TRANSLATION_DOCUMENTS="TranslationDocuments",t.LLM_CHARACTER_COUNT="LlmCharacterCount",t.LLM_REQUESTS="LlmRequests",t.TTS_CHARACTERS="TtsCharacters",t.ANONYMISE_WORDS="AnonymiseWords",t.ANONYMISE_DOCUMENTS="AnonymiseDocuments",t[t.LEGACY_TRANSLATION_FILES=0]="LEGACY_TRANSLATION_FILES",t[t.LEGACY_ASR_FILE_LENGTH_SECONDS=1]="LEGACY_ASR_FILE_LENGTH_SECONDS",t[t.LEGACY_ASR_FILE_SIZE_KB=2]="LEGACY_ASR_FILE_SIZE_KB",t[t.LEGACY_ONLINE_ASR_USED_SECONDS=3]="LEGACY_ONLINE_ASR_USED_SECONDS",t[t.LEGACY_TRANSLATION_CHARACTERS=4]="LEGACY_TRANSLATION_CHARACTERS",t[t.LEGACY_TRANSLATION_DOCUMENTS=5]="LEGACY_TRANSLATION_DOCUMENTS",t[t.LEGACY_LLM_CHARACTER_COUNT=6]="LEGACY_LLM_CHARACTER_COUNT",t[t.LEGACY_LLM_REQUESTS=7]="LEGACY_LLM_REQUESTS",t[t.LEGACY_TTS_CHARACTERS=8]="LEGACY_TTS_CHARACTERS",t[t.LEGACY_ANONYMISE_WORDS=9]="LEGACY_ANONYMISE_WORDS",t[t.LEGACY_ANONYMISE_DOCUMENTS=10]="LEGACY_ANONYMISE_DOCUMENTS",t}(ze||{}),fA=(()=>{class t extends xh{constructor(){super(e=>e.quotaService),this.legacyQuotaTypeMap={[ze.LEGACY_TRANSLATION_FILES]:ze.TRANSLATION_FILES,[ze.LEGACY_ASR_FILE_LENGTH_SECONDS]:ze.ASR_FILE_LENGTH_SECONDS,[ze.LEGACY_ASR_FILE_SIZE_KB]:ze.ASR_FILE_SIZE_KB,[ze.LEGACY_ONLINE_ASR_USED_SECONDS]:ze.ONLINE_ASR_USED_SECONDS,[ze.LEGACY_TRANSLATION_CHARACTERS]:ze.TRANSLATION_CHARACTERS,[ze.LEGACY_TRANSLATION_DOCUMENTS]:ze.TRANSLATION_DOCUMENTS,[ze.LEGACY_LLM_CHARACTER_COUNT]:ze.LLM_CHARACTER_COUNT,[ze.LEGACY_LLM_REQUESTS]:ze.LLM_REQUESTS,[ze.LEGACY_TTS_CHARACTERS]:ze.TTS_CHARACTERS,[ze.LEGACY_ANONYMISE_WORDS]:ze.ANONYMISE_WORDS,[ze.LEGACY_ANONYMISE_DOCUMENTS]:ze.ANONYMISE_DOCUMENTS}}getQuotaUsage(){let e=ma.xAppIdHeader(this.sharedServiceConfiguration.xAppId);return this.http.get(this.configuration.url,{headers:e}).pipe(F(i=>(i.usage.forEach(r=>{this.legacyQuotaTypeMap[r.quotaType]&&(r.quotaType=this.legacyQuotaTypeMap[r.quotaType])}),i)))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var pA,mA=f(()=>{"use strict";pA={SMALL:600,MEDIUM:960,LARGE:1280,XLARGE:1920}});var gA=f(()=>{"use strict"});var Mb,vA=f(()=>{"use strict";Mb=function(t){return t[t.TIMEOUT=504]="TIMEOUT",t}(Mb||{})});var Ab=f(()=>{"use strict";mA();gA();vA()});var yA,bA=f(()=>{"use strict";I();Bi();Ps();yA=(()=>{class t{constructor(e,i){this.iconRegistry=e,this.sanitizer=i}registerIcons(e){for(let i in e)this.iconRegistry.addSvgIconLiteral(i.toLowerCase(),this.sanitizer.bypassSecurityTrustHtml(e[i]))}registerIconFromUrl(e,i){this.iconRegistry.addSvgIcon(e,this.sanitizer.bypassSecurityTrustResourceUrl(i))}addSvgIconSet(e,i){i?this.iconRegistry.addSvgIconSetInNamespace(i,this.sanitizer.bypassSecurityTrustResourceUrl(e)):this.iconRegistry.addSvgIconSet(this.sanitizer.bypassSecurityTrustResourceUrl(e))}static{this.\u0275fac=function(i){return new(i||t)(g(Yy),g(wl))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var _A=f(()=>{"use strict";bA()});var R$,O$,xA,CA=f(()=>{"use strict";I();R$=typeof localStorage<"u"?localStorage:null,O$=typeof window<"u"?window:null,xA=(()=>{class t{get window(){return O$}get localStorage(){return R$}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var wA=f(()=>{"use strict";CA()});function xa(t){return new Fb(t)}function k$(t,n,e){let i=e.path.split("/");if(i.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||i.length<t.length))return null;let r={};for(let o=0;o<i.length;o++){let s=i[o],a=t[o];if(s[0]===":")r[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,i.length),posParams:r}}function F$(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!ci(t[e],n[e]))return!1;return!0}function ci(t,n){let e=t?Nb(t):void 0,i=n?Nb(n):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],!FA(t[r],n[r]))return!1;return!0}function Nb(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function FA(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),i=[...n].sort();return e.every((r,o)=>i[o]===r)}else return t===n}function NA(t){return t.length>0?t[t.length-1]:null}function Br(t){return pn(t)?t:wo(t)?Le(Promise.resolve(t)):O(t)}function EA(t,n,e){return N$[e.paths](t.root,n.root,e.matrixParams)&&LA[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function L$(t,n){return ci(t,n)}function PA(t,n,e){if(!jo(t.segments,n.segments)||!Ih(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let i in n.children)if(!t.children[i]||!PA(t.children[i],n.children[i],e))return!1;return!0}function P$(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>FA(t[e],n[e]))}function jA(t,n,e){return VA(t,n,n.segments,e)}function VA(t,n,e,i){if(t.segments.length>e.length){let r=t.segments.slice(0,e.length);return!(!jo(r,e)||n.hasChildren()||!Ih(r,e,i))}else if(t.segments.length===e.length){if(!jo(t.segments,e)||!Ih(t.segments,e,i))return!1;for(let r in n.children)if(!t.children[r]||!jA(t.children[r],n.children[r],i))return!1;return!0}else{let r=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!jo(t.segments,r)||!Ih(t.segments,r,i)||!t.children[fe]?!1:VA(t.children[fe],n,o,i)}}function Ih(t,n,e){return n.every((i,r)=>LA[e](t[r].parameters,i.parameters))}function j$(t,n){return jo(t,n)&&t.every((e,i)=>ci(e.parameters,n[i].parameters))}function jo(t,n){return t.length!==n.length?!1:t.every((e,i)=>e.path===n[i].path)}function V$(t,n){let e=[];return Object.entries(t.children).forEach(([i,r])=>{i===fe&&(e=e.concat(n(r,i)))}),Object.entries(t.children).forEach(([i,r])=>{i!==fe&&(e=e.concat(n(r,i)))}),e}function Sh(t){return t.segments.map(n=>UA(n)).join("/")}function ac(t,n){if(!t.hasChildren())return Sh(t);if(n){let e=t.children[fe]?ac(t.children[fe],!1):"",i=[];return Object.entries(t.children).forEach(([r,o])=>{r!==fe&&i.push(`${r}:${ac(o,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}else{let e=V$(t,(i,r)=>r===fe?[ac(t.children[fe],!1)]:[`${r}:${ac(i,!1)}`]);return Object.keys(t.children).length===1&&t.children[fe]!=null?`${Sh(t)}/${e[0]}`:`${Sh(t)}/(${e.join("//")})`}}function BA(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Eh(t){return BA(t).replace(/%3B/gi,";")}function U$(t){return encodeURI(t)}function Lb(t){return BA(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Mh(t){return decodeURIComponent(t)}function DA(t){return Mh(t.replace(/\+/g,"%20"))}function UA(t){return`${Lb(t.path)}${z$(t.parameters)}`}function z$(t){return Object.entries(t).map(([n,e])=>`;${Lb(n)}=${Lb(e)}`).join("")}function $$(t){let n=Object.entries(t).map(([e,i])=>Array.isArray(i)?i.map(r=>`${Eh(e)}=${Eh(r)}`).join("&"):`${Eh(e)}=${Eh(i)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}function Tb(t){let n=t.match(H$);return n?n[0]:""}function W$(t){let n=t.match(G$);return n?n[0]:""}function Y$(t){let n=t.match(q$);return n?n[0]:""}function Q$(t){let n=t.match(K$);return n?n[0]:""}function zA(t){return t.segments.length>0?new Fe([],{[fe]:t}):t}function $A(t){let n={};for(let[i,r]of Object.entries(t.children)){let o=$A(r);if(i===fe&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[i]=o)}let e=new Fe(t.segments,n);return Z$(e)}function Z$(t){if(t.numberOfChildren===1&&t.children[fe]){let n=t.children[fe];return new Fe(t.segments.concat(n.segments),n.children)}return t}function Vo(t){return t instanceof Wi}function X$(t,n,e=null,i=null){let r=HA(t);return GA(r,n,e,i)}function HA(t){let n;function e(o){let s={};for(let l of o.children){let c=e(l);s[l.outlet]=c}let a=new Fe(o.url,s);return o===t&&(n=a),a}let i=e(t.root),r=zA(i);return n??r}function GA(t,n,e,i){let r=t;for(;r.parent;)r=r.parent;if(n.length===0)return Rb(r,r,r,e,i);let o=J$(n);if(o.toRoot())return Rb(r,r,new Fe([],{}),e,i);let s=eH(o,r,t),a=s.processChildren?dc(s.segmentGroup,s.index,o.commands):qA(s.segmentGroup,s.index,o.commands);return Rb(r,s.segmentGroup,a,e,i)}function Ah(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function hc(t){return typeof t=="object"&&t!=null&&t.outlets}function Rb(t,n,e,i,r){let o={};i&&Object.entries(i).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(d=>`${d}`):`${c}`});let s;t===n?s=e:s=WA(t,n,e);let a=zA($A(s));return new Wi(a,o,r)}function WA(t,n,e){let i={};return Object.entries(t.children).forEach(([r,o])=>{o===n?i[r]=e:i[r]=WA(o,n,e)}),new Fe(t.segments,i)}function J$(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Th(!0,0,t);let n=0,e=!1,i=t.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===".."?n++:a!=""&&r.push(a))}),r):[...r,o]},[]);return new Th(e,n,i)}function eH(t,n,e){if(t.isAbsolute)return new ya(n,!0,0);if(!e)return new ya(n,!1,NaN);if(e.parent===null)return new ya(e,!0,0);let i=Ah(t.commands[0])?0:1,r=e.segments.length-1+i;return tH(e,r,t.numberOfDoubleDots)}function tH(t,n,e){let i=t,r=n,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new T(4005,!1);r=i.segments.length}return new ya(i,!1,r-o)}function nH(t){return hc(t[0])?t[0].outlets:{[fe]:t}}function qA(t,n,e){if(t??=new Fe([],{}),t.segments.length===0&&t.hasChildren())return dc(t,n,e);let i=iH(t,n,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){let o=new Fe(t.segments.slice(0,i.pathIndex),{});return o.children[fe]=new Fe(t.segments.slice(i.pathIndex),t.children),dc(o,0,r)}else return i.match&&r.length===0?new Fe(t.segments,{}):i.match&&!t.hasChildren()?jb(t,n,e):i.match?dc(t,0,r):jb(t,n,e)}function dc(t,n,e){if(e.length===0)return new Fe(t.segments,{});{let i=nH(e),r={};if(Object.keys(i).some(o=>o!==fe)&&t.children[fe]&&t.numberOfChildren===1&&t.children[fe].segments.length===0){let o=dc(t.children[fe],n,e);return new Fe(t.segments,o.children)}return Object.entries(i).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(r[o]=qA(t.children[o],n,s))}),Object.entries(t.children).forEach(([o,s])=>{i[o]===void 0&&(r[o]=s)}),new Fe(t.segments,r)}}function iH(t,n,e){let i=0,r=n,o={match:!1,pathIndex:0,commandIndex:0};for(;r<t.segments.length;){if(i>=e.length)return o;let s=t.segments[r],a=e[i];if(hc(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(!SA(l,c,s))return o;i+=2}else{if(!SA(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}function jb(t,n,e){let i=t.segments.slice(0,n),r=0;for(;r<e.length;){let o=e[r];if(hc(o)){let l=rH(o.outlets);return new Fe(i,l)}if(r===0&&Ah(e[0])){let l=t.segments[n];i.push(new Po(l.path,IA(e[0]))),r++;continue}let s=hc(o)?o.outlets[fe]:`${o}`,a=r<e.length-1?e[r+1]:null;s&&a&&Ah(a)?(i.push(new Po(s,IA(a))),r+=2):(i.push(new Po(s,{})),r++)}return new Fe(i,{})}function rH(t){let n={};return Object.entries(t).forEach(([e,i])=>{typeof i=="string"&&(i=[i]),i!==null&&(n[e]=jb(new Fe([],{}),0,i))}),n}function IA(t){let n={};return Object.entries(t).forEach(([e,i])=>n[e]=`${i}`),n}function SA(t,n,e){return t==e.path&&ci(n,e.parameters)}function oH(t,n){return t.providers&&!t._injector&&(t._injector=Lu(t.providers,n,`Route: ${t.path}`)),t._injector??n}function Vn(t){return t.outlet||fe}function sH(t,n){let e=t.filter(i=>Vn(i)===n);return e.push(...t.filter(i=>Vn(i)!==n)),e}function Cc(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){let e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}function Qb(t,n){if(t===n.value)return n;for(let e of n.children){let i=Qb(t,e);if(i)return i}return null}function Zb(t,n){if(t===n.value)return[n];for(let e of n.children){let i=Zb(t,e);if(i.length)return i.unshift(n),i}return[]}function va(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}function YA(t){let n=aH(t),e=new it([new Po("",{})]),i=new it({}),r=new it({}),o=new it({}),s=new it(""),a=new Bo(e,i,o,s,r,fe,t,n.root);return a.snapshot=n.root,new Nh(new ln(a,[]),n)}function aH(t){let n={},e={},i={},r="",o=new ba([],n,i,r,e,fe,t,null,{});return new Ph("",new ln(o,[]))}function Lh(t,n,e="emptyOnly"){let i,{routeConfig:r}=t;return n!==null&&(e==="always"||r?.path===""||!n.component&&!n.routeConfig?.loadComponent)?i={params:x(x({},n.params),t.params),data:x(x({},n.data),t.data),resolve:x(x(x(x({},t.data),n.data),r?.data),t._resolvedData)}:i={params:x({},t.params),data:x({},t.data),resolve:x(x({},t.data),t._resolvedData??{})},r&&QA(r)&&(i.resolve[_c]=r.title),i}function s_(t,n){n.value._routerState=t,n.children.forEach(e=>s_(t,e))}function KA(t){let n=t.children.length>0?` { ${t.children.map(KA).join(", ")} } `:"";return`${t.value}${n}`}function Ob(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,ci(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),ci(n.params,e.params)||t.paramsSubject.next(e.params),F$(n.url,e.url)||t.urlSubject.next(e.url),ci(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Xb(t,n){let e=ci(t.params,n.params)&&j$(t.url,n.url),i=!t.parent!=!n.parent;return e&&!i&&(!t.parent||Xb(t.parent,n.parent))}function QA(t){return typeof t.title=="string"||t.title===null}function cH(t,n,e){let i=gc(t,n._root,e?e._root:void 0);return new Nh(i,n)}function gc(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let i=e.value;i._futureSnapshot=n.value;let r=dH(t,n,e);return new ln(i,r)}else{if(t.shouldAttach(n.value)){let o=t.retrieve(n.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>gc(t,a)),s}}let i=uH(n.value),r=n.children.map(o=>gc(t,o));return new ln(i,r)}}function dH(t,n,e){return n.children.map(i=>{for(let r of e.children)if(t.shouldReuseRoute(i.value,r.value.snapshot))return gc(t,i,r);return gc(t,i)})}function uH(t){return new Bo(new it(t.url),new it(t.params),new it(t.queryParams),new it(t.fragment),new it(t.data),t.outlet,t.component,t)}function jh(t,n){let{redirectTo:e,navigationBehaviorOptions:i}=Vo(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=XA(!1,cn.Redirect);return r.url=e,r.navigationBehaviorOptions=i,r}function XA(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[ZA]=!0,e.cancellationCode=n,e}function fH(t){return JA(t)&&Vo(t.url)}function JA(t){return!!t&&t[ZA]}function pH(t,n,e){let i=t._root,r=n?n._root:null;return lc(i,r,e,[i.value])}function mH(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function Ia(t,n){let e=Symbol(),i=n.get(t,e);return i===e?typeof t=="function"&&!XC(t)?t:n.get(t):i}function lc(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=va(n);return t.children.forEach(s=>{gH(s,o[s.value.outlet],e,i.concat([s.value]),r),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>fc(a,e.getContext(s),r)),r}function gH(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=vH(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new Vh(i)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?lc(t,n,a?a.children:null,i,r):lc(t,n,e,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new _a(a.outlet.component,s))}else s&&fc(n,a,r),r.canActivateChecks.push(new Vh(i)),o.component?lc(t,null,a?a.children:null,i,r):lc(t,null,e,i,r);return r}function vH(t,n,e){if(typeof e=="function")return e(t,n);switch(e){case"pathParamsChange":return!jo(t.url,n.url);case"pathParamsOrQueryParamsChange":return!jo(t.url,n.url)||!ci(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Xb(t,n)||!ci(t.queryParams,n.queryParams);case"paramsChange":default:return!Xb(t,n)}}function fc(t,n,e){let i=va(t),r=t.value;Object.entries(i).forEach(([o,s])=>{r.component?n?fc(s,n.children.getContext(o),e):fc(s,null,e):fc(s,n,e)}),r.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new _a(n.outlet.component,r)):e.canDeactivateChecks.push(new _a(null,r)):e.canDeactivateChecks.push(new _a(null,r))}function Ec(t){return typeof t=="function"}function yH(t){return typeof t=="boolean"}function bH(t){return t&&Ec(t.canLoad)}function _H(t){return t&&Ec(t.canActivate)}function xH(t){return t&&Ec(t.canActivateChild)}function CH(t){return t&&Ec(t.canDeactivate)}function wH(t){return t&&Ec(t.canMatch)}function eT(t){return t instanceof pi||t?.name==="EmptyError"}function Da(){return Ye(t=>eo(t.map(n=>n.pipe(Ue(1),Zt(Dh)))).pipe(F(n=>{for(let e of n)if(e!==!0){if(e===Dh)return Dh;if(e===!1||EH(e))return e}return!0}),xe(n=>n!==Dh),Ue(1)))}function EH(t){return Vo(t)||t instanceof vc}function DH(t,n){return He(e=>{let{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return s.length===0&&o.length===0?O(ce(x({},e),{guardsResult:!0})):IH(s,i,r,t).pipe(He(a=>a&&yH(a)?SH(i,o,t,n):O(a)),F(a=>ce(x({},e),{guardsResult:a})))})}function IH(t,n,e,i){return Le(t).pipe(He(r=>OH(r.component,r.route,e,n,i)),$n(r=>r!==!0,!0))}function SH(t,n,e,i){return Le(n).pipe(An(r=>Mn(AH(r.route.parent,i),MH(r.route,i),RH(t,r.path,e),TH(t,r.route,e))),$n(r=>r!==!0,!0))}function MH(t,n){return t!==null&&n&&n(new qb(t)),O(!0)}function AH(t,n){return t!==null&&n&&n(new Gb(t)),O(!0)}function TH(t,n,e){let i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||i.length===0)return O(!0);let r=i.map(o=>Kt(()=>{let s=Cc(n)??e,a=Ia(o,s),l=_H(a)?a.canActivate(n,t):gn(s,()=>a(n,t));return Br(l).pipe($n())}));return O(r).pipe(Da())}function RH(t,n,e){let i=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>mH(s)).filter(s=>s!==null).map(s=>Kt(()=>{let a=s.guards.map(l=>{let c=Cc(s.node)??e,d=Ia(l,c),u=xH(d)?d.canActivateChild(i,t):gn(c,()=>d(i,t));return Br(u).pipe($n())});return O(a).pipe(Da())}));return O(o).pipe(Da())}function OH(t,n,e,i,r){let o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!o||o.length===0)return O(!0);let s=o.map(a=>{let l=Cc(n)??r,c=Ia(a,l),d=CH(c)?c.canDeactivate(t,n,e,i):gn(l,()=>c(t,n,e,i));return Br(d).pipe($n())});return O(s).pipe(Da())}function kH(t,n,e,i){let r=n.canLoad;if(r===void 0||r.length===0)return O(!0);let o=r.map(s=>{let a=Ia(s,t),l=bH(a)?a.canLoad(n,e):gn(t,()=>a(n,e));return Br(l)});return O(o).pipe(Da(),tT(i))}function tT(t){return Mp(Pe(n=>{if(typeof n!="boolean")throw jh(t,n)}),F(n=>n===!0))}function FH(t,n,e,i){let r=n.canMatch;if(!r||r.length===0)return O(!0);let o=r.map(s=>{let a=Ia(s,t),l=wH(a)?a.canMatch(n,e):gn(t,()=>a(n,e));return Br(l)});return O(o).pipe(Da(),tT(i))}function ga(t){return Qi(new yc(t))}function NH(t){return Qi(new T(4e3,!1))}function LH(t){return Qi(XA(!1,cn.GuardRejected))}function PH(t,n,e,i,r){let o=nT(t,n,e);return o.matched?(i=oH(n,i),FH(i,n,e,r).pipe(F(s=>s===!0?o:x({},n_)))):O(o)}function nT(t,n,e){if(n.path==="**")return jH(e);if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?x({},n_):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let r=(n.matcher||k$)(e,t,n);if(!r)return x({},n_);let o={};Object.entries(r.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=r.consumed.length>0?x(x({},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 jH(t){return{matched:!0,parameters:t.length>0?NA(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function AA(t,n,e,i){return e.length>0&&UH(t,e,i)?{segmentGroup:new Fe(n,BH(i,new Fe(e,t.children))),slicedSegments:[]}:e.length===0&&zH(t,e,i)?{segmentGroup:new Fe(t.segments,VH(t,e,i,t.children)),slicedSegments:e}:{segmentGroup:new Fe(t.segments,t.children),slicedSegments:e}}function VH(t,n,e,i){let r={};for(let o of e)if($h(t,n,o)&&!i[Vn(o)]){let s=new Fe([],{});r[Vn(o)]=s}return x(x({},i),r)}function BH(t,n){let e={};e[fe]=n;for(let i of t)if(i.path===""&&Vn(i)!==fe){let r=new Fe([],{});e[Vn(i)]=r}return e}function UH(t,n,e){return e.some(i=>$h(t,n,i)&&Vn(i)!==fe)}function zH(t,n,e){return e.some(i=>$h(t,n,i))}function $h(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function $H(t,n,e){return n.length===0&&!t.children[e]}function HH(t,n,e,i,r,o,s="emptyOnly"){return new r_(t,n,e,i,r,s,o).recognize()}function WH(t){t.sort((n,e)=>n.value.outlet===fe?-1:e.value.outlet===fe?1:n.value.outlet.localeCompare(e.value.outlet))}function qH(t){let n=t.value.routeConfig;return n&&n.path===""}function iT(t){let n=[],e=new Set;for(let i of t){if(!qH(i)){n.push(i);continue}let r=n.find(o=>i.value.routeConfig===o.value.routeConfig);r!==void 0?(r.children.push(...i.children),e.add(r)):n.push(i)}for(let i of e){let r=iT(i.children);n.push(new ln(i.value,r))}return n.filter(i=>!e.has(i))}function TA(t){return t.data||{}}function RA(t){return t.resolve||{}}function YH(t,n,e,i,r,o){return He(s=>HH(t,n,e,i,s.extractedUrl,r,o).pipe(F(({state:a,tree:l})=>ce(x({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function KH(t,n){return He(e=>{let{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return O(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 rT(l))s.add(c);let a=0;return Le(s).pipe(An(l=>o.has(l)?QH(l,i,t,n):(l.data=Lh(l,l.parent,t).resolve,O(void 0))),Pe(()=>a++),cs(1),He(l=>a===s.size?O(e):Nt))})}function rT(t){let n=t.children.map(e=>rT(e)).flat();return[t,...n]}function QH(t,n,e,i){let r=t.routeConfig,o=t._resolve;return r?.title!==void 0&&!QA(r)&&(o[_c]=r.title),ZH(o,t,n,i).pipe(F(s=>(t._resolvedData=s,t.data=Lh(t,t.parent,e).resolve,null)))}function ZH(t,n,e,i){let r=Nb(t);if(r.length===0)return O({});let o={};return Le(r).pipe(He(s=>XH(t[s],n,e,i).pipe($n(),Pe(a=>{if(a instanceof vc)throw jh(new Ca,a);o[s]=a}))),cs(1),em(o),Qt(s=>eT(s)?Nt:Qi(s)))}function XH(t,n,e,i){let r=Cc(n)??i,o=Ia(t,r),s=o.resolve?o.resolve(n,e):gn(r,()=>o(n,e));return Br(s)}function kb(t){return Ye(n=>{let e=t(n);return e?Le(e).pipe(F(()=>n)):O(n)})}function a_(t){let n=t.children&&t.children.map(a_),e=n?ce(x({},t),{children:n}):x({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==fe&&(e.component=e3),e}function t3(t,n,e,i){return Br(t.loadChildren()).pipe(F(sT),He(r=>r instanceof tl||Array.isArray(r)?O(r):Le(n.compileModuleAsync(r))),F(r=>{i&&i(t);let o,s,a=!1;return Array.isArray(r)?(s=r,a=!0):(o=r.create(e).injector,s=o.get(Bh,[],{optional:!0,self:!0}).flat()),{routes:s.map(a_),injector:o}}))}function n3(t){return t&&typeof t=="object"&&"default"in t}function sT(t){return n3(t)?t.default:t}function r3(t,n,e){let i=t.get(lT),r=t.get(z);return t.get(k).runOutsideAngular(()=>{if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,s=new Promise(c=>{o=c}),a=r.startViewTransition(()=>(o(),o3(t))),{onViewTransitionCreated:l}=i;return l&&gn(t,()=>l({transition:a,from:n,to:e})),s})}function o3(t){return new Promise(n=>{kn({read:()=>setTimeout(n)},{injector:t})})}function a3(t){return t!==uc}function dT(t,n){t.events.pipe(xe(e=>e instanceof di||e instanceof Gi||e instanceof pc||e instanceof jr),F(e=>e instanceof di||e instanceof jr?cc.COMPLETE:(e instanceof Gi?e.code===cn.Redirect||e.code===cn.SupersededByNewNavigation:!1)?cc.REDIRECTING:cc.FAILED),xe(e=>e!==cc.REDIRECTING),Ue(1)).subscribe(()=>{n()})}function u3(t){throw t}function p3(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new T(4008,!1)}function m3(t){return!(t instanceof mc)&&!(t instanceof Ea)}function y3(t){return t.routerState.root}function Ic(t,n){return{\u0275kind:t,\u0275providers:n}}function b3(){let t=y(Me);return n=>{let e=t.get(_n);if(n!==e.components[0])return;let i=t.get(Vr),r=t.get(hT);t.get(u_)===1&&i.initialNavigation(),t.get(pT,null,pe.Optional)?.setUpPreloading(),t.get(fT,null,pe.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}function _3(){return Ic(2,[{provide:u_,useValue:0},{provide:Hu,multi:!0,deps:[Me],useFactory:n=>{let e=n.get(rI,Promise.resolve());return()=>e.then(()=>new Promise(i=>{let r=n.get(Vr),o=n.get(hT);dT(r,()=>{i(!0)}),n.get(d_).afterPreactivation=()=>(i(!0),o.closed?O(void 0):o),r.initialNavigation()}))}}])}function x3(){return Ic(3,[{provide:Hu,multi:!0,useFactory:()=>{let n=y(Vr);return()=>{n.setUpLocationChangeListener()}}},{provide:u_,useValue:2}])}function C3(t){return Ic(0,[{provide:pT,useExisting:g3},{provide:Uh,useExisting:t}])}function w3(){return Ic(8,[MA,{provide:zh,useExisting:MA}])}function E3(t){let n=[{provide:aT,useValue:r3},{provide:lT,useValue:x({skipNextTransition:!!t?.skipInitialTransition},t)}];return Ic(9,n)}function I3(){return{provide:fT,useFactory:()=>{let t=y(lI),n=y(k),e=y(Dc),i=y(d_),r=y(xc);return e.scrollOffset&&t.setOffset(e.scrollOffset),new v3(r,i,t,n,e)}}}function S3(){return{provide:Ri,useClass:sI}}function M3(){return{provide:Ri,useClass:Vv}}function A3(t){return"guarded"}function T3(t){return[t.initialNavigation==="disabled"?x3().\u0275providers:[],t.initialNavigation==="enabledBlocking"?_3().\u0275providers:[]]}function R3(){return[{provide:kA,useFactory:b3},{provide:Ns,multi:!0,useExisting:kA}]}var fe,_c,Fb,N$,LA,Wi,Fe,Po,xc,Ca,B$,H$,G$,q$,K$,Pb,Th,ya,uc,_t,Dn,wa,di,cn,Rh,Gi,jr,pc,Oh,Vb,Bb,Ub,zb,$b,Hb,Gb,Wb,qb,Yb,kh,mc,Ea,Kb,wc,Fh,ln,Nh,Bo,ba,Ph,lH,Jb,zh,MA,vc,ZA,hH,e_,Vh,_a,Dh,yc,bc,t_,n_,i_,GH,r_,oT,JH,Dc,e3,Bh,l_,c_,i3,aT,lT,s3,d_,l3,o_,c3,cT,d3,cc,f3,h3,Vr,uT,Uh,g3,fT,v3,hT,u_,pT,OA,D3,mT,kA,f_=f(()=>{"use strict";I();I();Re();me();me();dt();Ps();fe="primary",_c=Symbol("RouteTitle"),Fb=class{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};N$={exact:PA,subset:jA},LA={exact:L$,subset:P$,ignored:()=>!0};Wi=class{constructor(n=new Fe([],{}),e={},i=null){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap??=xa(this.queryParams),this._queryParamMap}toString(){return B$.serialize(this)}},Fe=class{constructor(n,e){this.segments=n,this.children=e,this.parent=null,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Sh(this)}},Po=class{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=xa(this.parameters),this._parameterMap}toString(){return UA(this)}};xc=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:()=>new Ca,providedIn:"root"})}}return t})(),Ca=class{parse(n){let e=new Pb(n);return new Wi(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${ac(n.root,!0)}`,i=$$(n.queryParams),r=typeof n.fragment=="string"?`#${U$(n.fragment)}`:"";return`${e}${i}${r}`}},B$=new Ca;H$=/^[^\/()?;#]+/;G$=/^[^\/()?;=#]+/;q$=/^[^=?&#]+/;K$=/^[^&#]+/;Pb=class{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Fe([],{}):new Fe([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[fe]=new Fe(n,e)),i}parseSegment(){let n=Tb(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new T(4009,!1);return this.capture(n),new Po(Mh(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=W$(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let r=Tb(this.remaining);r&&(i=r,this.capture(i))}n[Mh(e)]=Mh(i)}parseQueryParam(n){let e=Y$(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let s=Q$(this.remaining);s&&(i=s,this.capture(i))}let r=DA(e),o=DA(i);if(n.hasOwnProperty(r)){let s=n[r];Array.isArray(s)||(s=[s],n[r]=s),s.push(o)}else n[r]=o}parseParens(n){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=Tb(this.remaining),r=this.remaining[i.length];if(r!=="/"&&r!==")"&&r!==";")throw new T(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=fe);let s=this.parseChildren();e[o]=Object.keys(s).length===1?s[fe]:new Fe([],s),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new T(4011,!1)}};Th=class{constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&Ah(i[0]))throw new T(4003,!1);let r=i.find(hc);if(r&&r!==NA(i))throw new T(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};ya=class{constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}};uc="imperative",_t=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(_t||{}),Dn=class{constructor(n,e){this.id=n,this.url=e}},wa=class extends Dn{constructor(n,e,i="imperative",r=null){super(n,e),this.type=_t.NavigationStart,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},di=class extends Dn{constructor(n,e,i){super(n,e),this.urlAfterRedirects=i,this.type=_t.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},cn=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(cn||{}),Rh=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Rh||{}),Gi=class extends Dn{constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r,this.type=_t.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},jr=class extends Dn{constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r,this.type=_t.NavigationSkipped}},pc=class extends Dn{constructor(n,e,i,r){super(n,e),this.error=i,this.target=r,this.type=_t.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Oh=class extends Dn{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=_t.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Vb=class extends Dn{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=_t.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Bb=class extends Dn{constructor(n,e,i,r,o){super(n,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o,this.type=_t.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Ub=class extends Dn{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=_t.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},zb=class extends Dn{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=_t.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},$b=class{constructor(n){this.route=n,this.type=_t.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Hb=class{constructor(n){this.route=n,this.type=_t.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Gb=class{constructor(n){this.snapshot=n,this.type=_t.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Wb=class{constructor(n){this.snapshot=n,this.type=_t.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},qb=class{constructor(n){this.snapshot=n,this.type=_t.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Yb=class{constructor(n){this.snapshot=n,this.type=_t.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},kh=class{constructor(n,e,i){this.routerEvent=n,this.position=e,this.anchor=i,this.type=_t.Scroll}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},mc=class{},Ea=class{constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};Kb=class{get injector(){return Cc(this.route?.snapshot)??this.rootInjector}set injector(n){}constructor(n){this.rootInjector=n,this.outlet=null,this.route=null,this.children=new wc(this.rootInjector),this.attachRef=null}},wc=(()=>{class t{constructor(e){this.rootInjector=e,this.contexts=new Map}onChildOutletCreated(e,i){let r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){let i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new Kb(this.rootInjector),this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}static{this.\u0275fac=function(i){return new(i||t)(g(Ct))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Fh=class{constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=Qb(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){let e=Qb(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=Zb(n,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return Zb(n,this._root).map(e=>e.value)}};ln=class{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};Nh=class extends Fh{constructor(n,e){super(n),this.snapshot=e,s_(this,n)}toString(){return this.snapshot.toString()}};Bo=class{constructor(n,e,i,r,o,s,a,l){this.urlSubject=n,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(F(c=>c[_c]))??O(void 0),this.url=n,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(F(n=>xa(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(F(n=>xa(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};ba=class{get title(){return this.data?.[_c]}constructor(n,e,i,r,o,s,a,l,c){this.url=n,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??=xa(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=xa(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(i=>i.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},Ph=class extends Fh{constructor(n,e){super(e),this.url=n,s_(this,e)}toString(){return KA(this._root)}};lH=(()=>{class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=fe,this.activateEvents=new P,this.deactivateEvents=new P,this.attachEvents=new P,this.detachEvents=new P,this.parentContexts=y(wc),this.location=y(Rt),this.changeDetector=y(et),this.inputBinder=y(zh,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){let{firstChange:i,previousValue:r}=e.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new T(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new T(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new T(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 T(4013,!1);this._activatedRoute=e;let r=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new Jb(e,a,r.injector);this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=V({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Ve]})}}return t})(),Jb=class t{__ngOutletInjector(n){return new t(this.route,this.childContexts,n)}constructor(n,e,i){this.route=n,this.childContexts=e,this.parent=i}get(n,e){return n===Bo?this.route:n===wc?this.childContexts:this.parent.get(n,e)}},zh=new w(""),MA=(()=>{class t{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:i}=e,r=eo([i.queryParams,i.params,i.data]).pipe(Ye(([o,s,a],l)=>(a=x(x(x({},o),s),a),l===0?O(a):Promise.resolve(a)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(e);return}let s=KD(i.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(e,r)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})();vc=class{constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},ZA="ngNavigationCancelingError";hH=(t,n,e,i)=>F(r=>(new e_(n,r.targetRouterState,r.currentRouterState,e,i).activate(t),r)),e_=class{constructor(n,e,i,r,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(n){let e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),Ob(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){let r=va(e);n.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(n,e,i){let r=n.value,o=e?e.value:null;if(r===o)if(r.component){let s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=va(n);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(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=va(n);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(n,e,i){let r=va(e);n.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new Yb(o.value.snapshot))}),n.children.length&&this.forwardEvent(new Wb(n.value.snapshot))}activateRoutes(n,e,i){let r=n.value,o=e?e.value:null;if(Ob(r),r===o)if(r.component){let s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,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),Ob(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=r,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,i)}},Vh=class{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},_a=class{constructor(n,e){this.component=n,this.route=e}};Dh=Symbol("INITIAL_VALUE");yc=class{constructor(n){this.segmentGroup=n||null}},bc=class extends Error{constructor(n){super(),this.urlTree=n}};t_=class{constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),r.numberOfChildren===0)return O(i);if(r.numberOfChildren>1||!r.children[fe])return NH(`${n.redirectTo}`);r=r.children[fe]}}applyRedirectCommands(n,e,i,r,o){if(typeof e!="string"){let a=e,{queryParams:l,fragment:c,routeConfig:d,url:u,outlet:m,params:h,data:v,title:b}=r,E=gn(o,()=>a({params:h,data:v,queryParams:l,fragment:c,routeConfig:d,url:u,outlet:m,title:b}));if(E instanceof Wi)throw new bc(E);e=E}let s=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,i);if(e[0]==="/")throw new bc(s);return s}applyRedirectCreateUrlTree(n,e,i,r){let o=this.createSegmentGroup(n,e.root,i,r);return new Wi(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let i={};return Object.entries(n).forEach(([r,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);i[r]=e[a]}else i[r]=o}),i}createSegmentGroup(n,e,i,r){let o=this.createSegments(n,e.segments,i,r),s={};return Object.entries(e.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(n,l,i,r)}),new Fe(o,s)}createSegments(n,e,i,r){return e.map(o=>o.path[0]===":"?this.findPosParam(n,o,r):this.findOrReturn(o,i))}findPosParam(n,e,i){let r=i[e.path.substring(1)];if(!r)throw new T(4001,!1);return r}findOrReturn(n,e){let i=0;for(let r of e){if(r.path===n.path)return e.splice(i),r;i++}return n}},n_={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};i_=class{};GH=31,r_=class{constructor(n,e,i,r,o,s,a){this.injector=n,this.configLoader=e,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new t_(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(n){return new T(4002,`'${n.segmentGroup}'`)}recognize(){let n=AA(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(F(({children:e,rootSnapshot:i})=>{let r=new ln(i,e),o=new Ph("",r),s=X$(i,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(n){let e=new ba([],Object.freeze({}),Object.freeze(x({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),fe,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,fe,e).pipe(F(i=>({children:i,rootSnapshot:e})),Qt(i=>{if(i instanceof bc)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof yc?this.noMatchError(i):i}))}processSegmentGroup(n,e,i,r,o){return i.segments.length===0&&i.hasChildren()?this.processChildren(n,e,i,o):this.processSegment(n,e,i,i.segments,r,!0,o).pipe(F(s=>s instanceof ln?[s]:[]))}processChildren(n,e,i,r){let o=[];for(let s of Object.keys(i.children))s==="primary"?o.unshift(s):o.push(s);return Le(o).pipe(An(s=>{let a=i.children[s],l=sH(e,s);return this.processSegmentGroup(n,l,a,s,r)}),om((s,a)=>(s.push(...a),s)),Xi(null),rm(),He(s=>{if(s===null)return ga(i);let a=iT(s);return WH(a),O(a)}))}processSegment(n,e,i,r,o,s,a){return Le(e).pipe(An(l=>this.processSegmentAgainstRoute(l._injector??n,e,l,i,r,o,s,a).pipe(Qt(c=>{if(c instanceof yc)return O(null);throw c}))),$n(l=>!!l),Qt(l=>{if(eT(l))return $H(i,r,o)?O(new i_):ga(i);throw l}))}processSegmentAgainstRoute(n,e,i,r,o,s,a,l){return Vn(i)!==s&&(s===fe||!$h(r,o,i))?ga(r):i.redirectTo===void 0?this.matchSegmentAgainstRoute(n,r,i,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,r,e,i,o,s,l):ga(r)}expandSegmentAgainstRouteUsingRedirect(n,e,i,r,o,s,a){let{matched:l,parameters:c,consumedSegments:d,positionalParamSegments:u,remainingSegments:m}=nT(e,r,o);if(!l)return ga(e);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>GH&&(this.allowRedirects=!1));let h=new ba(o,c,Object.freeze(x({},this.urlTree.queryParams)),this.urlTree.fragment,TA(r),Vn(r),r.component??r._loadedComponent??null,r,RA(r)),v=Lh(h,a,this.paramsInheritanceStrategy);h.params=Object.freeze(v.params),h.data=Object.freeze(v.data);let b=this.applyRedirects.applyRedirectCommands(d,r.redirectTo,u,h,n);return this.applyRedirects.lineralizeSegments(r,b).pipe(He(E=>this.processSegment(n,i,e,E.concat(m),s,!1,a)))}matchSegmentAgainstRoute(n,e,i,r,o,s){let a=PH(e,i,r,n,this.urlSerializer);return i.path==="**"&&(e.children={}),a.pipe(Ye(l=>l.matched?(n=i._injector??n,this.getChildConfig(n,i,r).pipe(Ye(({routes:c})=>{let d=i._loadedInjector??n,{parameters:u,consumedSegments:m,remainingSegments:h}=l,v=new ba(m,u,Object.freeze(x({},this.urlTree.queryParams)),this.urlTree.fragment,TA(i),Vn(i),i.component??i._loadedComponent??null,i,RA(i)),b=Lh(v,s,this.paramsInheritanceStrategy);v.params=Object.freeze(b.params),v.data=Object.freeze(b.data);let{segmentGroup:E,slicedSegments:M}=AA(e,m,h,c);if(M.length===0&&E.hasChildren())return this.processChildren(d,c,E,v).pipe(F(G=>new ln(v,G)));if(c.length===0&&M.length===0)return O(new ln(v,[]));let B=Vn(i)===o;return this.processSegment(d,c,E,M,B?fe:o,!0,v).pipe(F(G=>new ln(v,G instanceof ln?[G]:[])))}))):ga(e)))}getChildConfig(n,e,i){return e.children?O({routes:e.children,injector:n}):e.loadChildren?e._loadedRoutes!==void 0?O({routes:e._loadedRoutes,injector:e._loadedInjector}):kH(n,e,i,this.urlSerializer).pipe(He(r=>r?this.configLoader.loadChildren(n,e).pipe(Pe(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):LH(e))):O({routes:[],injector:n})}};oT=(()=>{class t{buildTitle(e){let i,r=e.root;for(;r!==void 0;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===fe);return i}getResolvedTitleForRoute(e){return e.data[_c]}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:()=>y(JH),providedIn:"root"})}}return t})(),JH=(()=>{class t extends oT{constructor(e){super(),this.title=e}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i)}static{this.\u0275fac=function(i){return new(i||t)(g(TI))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Dc=new w("",{providedIn:"root",factory:()=>({})}),e3=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["ng-component"]],standalone:!0,features:[Ee],decls:1,vars:0,template:function(i,r){i&1&&ee(0,"router-outlet")},dependencies:[lH],encapsulation:2})}}return t})();Bh=new w(""),l_=(()=>{class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=y(Gu)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return O(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let i=Br(e.loadComponent()).pipe(F(sT),Pe(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),$t(()=>{this.componentLoaders.delete(e)})),r=new Qr(i,()=>new R).pipe(ts());return this.componentLoaders.set(e,r),r}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return O({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let o=t3(i,this.compiler,e,this.onLoadEndListener).pipe($t(()=>{this.childrenLoaders.delete(i)})),s=new Qr(o,()=>new R).pipe(ts());return this.childrenLoaders.set(i,s),s}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();c_=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:()=>y(i3),providedIn:"root"})}}return t})(),i3=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),aT=new w(""),lT=new w("");s3=new w(""),d_=(()=>{class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new R,this.transitionAbortSubject=new R,this.configLoader=y(l_),this.environmentInjector=y(Ct),this.urlSerializer=y(xc),this.rootContexts=y(wc),this.location=y(Zn),this.inputBindingEnabled=y(zh,{optional:!0})!==null,this.titleStrategy=y(oT),this.options=y(Dc,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=y(c_),this.createViewTransition=y(aT,{optional:!0}),this.navigationErrorHandler=y(s3,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>O(void 0),this.rootComponentType=null;let e=r=>this.events.next(new $b(r)),i=r=>this.events.next(new Hb(r));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e}complete(){this.transitions?.complete()}handleNavigationRequest(e){let i=++this.navigationId;this.transitions?.next(ce(x(x({},this.transitions.value),e),{id:i}))}setupNavigations(e,i,r){return this.transitions=new it({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:uc,restoredState:null,currentSnapshot:r.snapshot,targetSnapshot:null,currentRouterState:r,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(xe(o=>o.id!==0),F(o=>ce(x({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),Ye(o=>{let s=!1,a=!1;return O(o).pipe(Ye(l=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",cn.SupersededByNewNavigation),Nt;this.currentTransition=o,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,targetBrowserUrl:typeof l.extras.browserUrl=="string"?this.urlSerializer.parse(l.extras.browserUrl):l.extras.browserUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?ce(x({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let c=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=l.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!c&&d!=="reload"){let u="";return this.events.next(new jr(l.id,this.urlSerializer.serialize(l.rawUrl),u,Rh.IgnoredSameUrlNavigation)),l.resolve(!1),Nt}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return O(l).pipe(Ye(u=>{let m=this.transitions?.getValue();return this.events.next(new wa(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),m!==this.transitions?.getValue()?Nt:Promise.resolve(u)}),YH(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),Pe(u=>{o.targetSnapshot=u.targetSnapshot,o.urlAfterRedirects=u.urlAfterRedirects,this.currentNavigation=ce(x({},this.currentNavigation),{finalUrl:u.urlAfterRedirects});let m=new Oh(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(m)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:u,extractedUrl:m,source:h,restoredState:v,extras:b}=l,E=new wa(u,this.urlSerializer.serialize(m),h,v);this.events.next(E);let M=YA(this.rootComponentType).snapshot;return this.currentTransition=o=ce(x({},l),{targetSnapshot:M,urlAfterRedirects:m,extras:ce(x({},b),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=m,O(o)}else{let u="";return this.events.next(new jr(l.id,this.urlSerializer.serialize(l.extractedUrl),u,Rh.IgnoredByUrlHandlingStrategy)),l.resolve(!1),Nt}}),Pe(l=>{let c=new Vb(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),F(l=>(this.currentTransition=o=ce(x({},l),{guards:pH(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),o)),DH(this.environmentInjector,l=>this.events.next(l)),Pe(l=>{if(o.guardsResult=l.guardsResult,l.guardsResult&&typeof l.guardsResult!="boolean")throw jh(this.urlSerializer,l.guardsResult);let c=new Bb(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),xe(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",cn.GuardRejected),!1)),kb(l=>{if(l.guards.canActivateChecks.length)return O(l).pipe(Pe(c=>{let d=new Ub(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}),Ye(c=>{let d=!1;return O(c).pipe(KH(this.paramsInheritanceStrategy,this.environmentInjector),Pe({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(c,"",cn.NoDataFromResolver)}}))}),Pe(c=>{let d=new zb(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}))}),kb(l=>{let c=d=>{let u=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(d.routeConfig).pipe(Pe(m=>{d.component=m}),F(()=>{})));for(let m of d.children)u.push(...c(m));return u};return eo(c(l.targetSnapshot.root)).pipe(Xi(null),Ue(1))}),kb(()=>this.afterPreactivation()),Ye(()=>{let{currentSnapshot:l,targetSnapshot:c}=o,d=this.createViewTransition?.(this.environmentInjector,l.root,c.root);return d?Le(d).pipe(F(()=>o)):O(o)}),F(l=>{let c=cH(e.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=o=ce(x({},l),{targetRouterState:c}),this.currentNavigation.targetRouterState=c,o}),Pe(()=>{this.events.next(new mc)}),hH(this.rootContexts,e.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),Ue(1),Pe({next:l=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new di(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),he(this.transitionAbortSubject.pipe(Pe(l=>{throw l}))),$t(()=>{!s&&!a&&this.cancelNavigationTransition(o,"",cn.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),Qt(l=>{if(a=!0,JA(l))this.events.next(new Gi(o.id,this.urlSerializer.serialize(o.extractedUrl),l.message,l.cancellationCode)),fH(l)?this.events.next(new Ea(l.url,l.navigationBehaviorOptions)):o.resolve(!1);else{let c=new pc(o.id,this.urlSerializer.serialize(o.extractedUrl),l,o.targetSnapshot??void 0);try{let d=gn(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(d instanceof vc){let{message:u,cancellationCode:m}=jh(this.urlSerializer,d);this.events.next(new Gi(o.id,this.urlSerializer.serialize(o.extractedUrl),u,m)),this.events.next(new Ea(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(c);let u=e.errorHandler(l);o.resolve(!!u)}}catch(d){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(d)}}return Nt}))}))}cancelNavigationTransition(e,i,r){let o=new Gi(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==i?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();l3=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:()=>y(c3),providedIn:"root"})}}return t})(),o_=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}},c3=(()=>{class t extends o_{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})()}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),cT=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:()=>y(d3),providedIn:"root"})}}return t})(),d3=(()=>{class t extends cT{constructor(){super(...arguments),this.location=y(Zn),this.urlSerializer=y(xc),this.options=y(Dc,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=y(c_),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Wi,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=YA(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{i.type==="popstate"&&e(i.url,i.state)})}handleRouterEvent(e,i){if(e instanceof wa)this.stateMemento=this.createStateMemento();else if(e instanceof jr)this.rawUrlTree=i.initialUrl;else if(e instanceof Oh){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let r=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(i.targetBrowserUrl??r,i)}}else e instanceof mc?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(i.targetBrowserUrl??this.rawUrlTree,i)):e instanceof Gi&&(e.code===cn.GuardRejected||e.code===cn.NoDataFromResolver)?this.restoreHistory(i):e instanceof pc?this.restoreHistory(i,!0):e instanceof di&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,i){let r=e instanceof Wi?this.urlSerializer.serialize(e):e;if(this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl){let o=this.browserPageId,s=x(x({},i.extras.state),this.generateNgRouterState(i.id,o));this.location.replaceState(r,"",s)}else{let o=x(x({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(r,"",o)}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let r=this.browserPageId,o=this.currentPageId-r;o!==0?this.location.historyGo(o):this.currentUrlTree===e.finalUrl&&o===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Je(t)))(r||t)}})()}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),cc=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(cc||{});f3={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},h3={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Vr=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=y($u),this.stateManager=y(cT),this.options=y(Dc,{optional:!0})||{},this.pendingTasks=y(Ei),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=y(d_),this.urlSerializer=y(xc),this.location=y(Zn),this.urlHandlingStrategy=y(c_),this._events=new R,this.errorHandler=this.options.errorHandler||u3,this.navigated=!1,this.routeReuseStrategy=y(l3),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=y(Bh,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!y(zh,{optional:!0}),this.eventsSubscription=new _e,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(i=>{try{let r=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(r!==null&&o!==null){if(this.stateManager.handleRouterEvent(i,o),i instanceof Gi&&i.code!==cn.Redirect&&i.code!==cn.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof di)this.navigated=!0;else if(i instanceof Ea){let s=i.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),l=x({browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||this.urlUpdateStrategy==="eager"||a3(r.source)},s);this.scheduleNavigation(a,uc,null,l,{resolve:r.resolve,reject:r.reject,promise:r.promise})}}m3(i)&&this._events.next(i)}catch(r){this.navigationTransitions.transitionAbortSubject.next(r)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),uc,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",i)},0)})}navigateToSyncWithBrowser(e,i,r){let o={replaceUrl:!0},s=r?.navigationId?r:null;if(r){let l=x({},r);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(o.state=l)}let a=this.parseUrl(e);this.scheduleNavigation(a,i,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(a_),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){let{relativeTo:r,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:s,d=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":d=x(x({},this.currentUrlTree.queryParams),o);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}d!==null&&(d=this.removeEmptyProps(d));let u;try{let m=r?r.snapshot:this.routerState.snapshot.root;u=HA(m)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),u=this.currentUrlTree.root}return GA(u,e,d,c??null)}navigateByUrl(e,i={skipLocationChange:!1}){let r=Vo(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,uc,null,i)}navigate(e,i={skipLocationChange:!1}){return p3(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=x({},f3):i===!1?r=x({},h3):r=i,Vo(e))return EA(this.currentUrlTree,e,r);let o=this.parseUrl(e);return EA(this.currentUrlTree,o,r)}removeEmptyProps(e){return Object.entries(e).reduce((i,[r,o])=>(o!=null&&(i[r]=o),i),{})}scheduleNavigation(e,i,r,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((u,m)=>{a=u,l=m});let d=this.pendingTasks.add();return dT(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(u=>Promise.reject(u))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();uT=(()=>{class t{constructor(e,i,r,o,s,a){this.router=e,this.route=i,this.tabIndexAttribute=r,this.renderer=o,this.el=s,this.locationStrategy=a,this.href=null,this.onChanges=new R,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area",this.isAnchorElement?this.subscription=e.events.subscribe(c=>{c instanceof di&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Vo(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,i,r,o,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||i||r||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,l),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let i=this.href===null?null:DE(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(e,i){let r=this.renderer,o=this.el.nativeElement;i!==null?r.setAttribute(o,e,i):r.removeAttribute(o,e)}get urlTree(){return this.routerLinkInput===null?null:Vo(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(i){return new(i||t)(p(Vr),p(Bo),ur("tabindex"),p(Qn),p(j),p(Ri))}}static{this.\u0275dir=V({type:t,selectors:[["","routerLink",""]],hostVars:1,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&&Ie("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Ae],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Ae],replaceUrl:[2,"replaceUrl","replaceUrl",Ae],routerLink:"routerLink"},standalone:!0,features:[vt,Ve]})}}return t})(),Uh=class{},g3=(()=>{class t{constructor(e,i,r,o,s){this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(xe(e=>e instanceof di),An(()=>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=Lu(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 Le(r).pipe(Zi())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let r;i.loadChildren&&i.canLoad===void 0?r=this.loader.loadChildren(e,i):r=O(null);let o=r.pipe(He(s=>s===null?O(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));if(i.loadComponent&&!i._loadedComponent){let s=this.loader.loadComponent(i);return Le([o,s]).pipe(Zi())}else return o})}static{this.\u0275fac=function(i){return new(i||t)(g(Vr),g(Gu),g(Ct),g(Uh),g(l_))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),fT=new w(""),v3=(()=>{class t{constructor(e,i,r,o,s={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=r,this.zone=o,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof wa?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof di?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof jr&&e.code===Rh.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 kh&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new kh(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(i){Rs()}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})();hT=new w("",{factory:()=>new R}),u_=new w("",{providedIn:"root",factory:()=>1});pT=new w("");OA=new w("ROUTER_FORROOT_GUARD"),D3=[Zn,{provide:xc,useClass:Ca},Vr,wc,{provide:Bo,useFactory:y3,deps:[Vr]},l_,[]],mT=(()=>{class t{constructor(e){}static forRoot(e,i){return{ngModule:t,providers:[D3,[],{provide:Bh,multi:!0,useValue:e},{provide:OA,useFactory:A3,deps:[[Vr,new rl,new hu]]},{provide:Dc,useValue:i||{}},i?.useHash?S3():M3(),I3(),i?.preloadingStrategy?C3(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?T3(i):[],i?.bindToComponentInputs?w3().\u0275providers:[],i?.enableViewTransitions?E3().\u0275providers:[],R3()]}}static forChild(e){return{ngModule:t,providers:[{provide:Bh,multi:!0,useValue:e}]}}static{this.\u0275fac=function(i){return new(i||t)(g(OA,8))}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({})}}return t})();kA=new w("")});var k3,gT,h_=f(()=>{"use strict";I();I();an();zi();bt();k3=["clearButton"],gT=(()=>{class t{constructor(){this.tldClick=new P,this.ariaCode="CLOSE_BUTTON"}clicked(){this.tldClick.emit(null)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["tld-close-button"]],viewQuery:function(i,r){if(i&1&&Be(k3,5),i&2){let o;Ce(o=we())&&(r.clearButton=o.first)}},inputs:{ariaCode:"ariaCode",disabled:"disabled",tooltip:"tooltip"},outputs:{tldClick:"tldClick"},decls:6,vars:7,consts:[["clearButton",""],["mat-icon-button","",3,"click","matTooltip","disabled"],[1,"material-icons"]],template:function(i,r){if(i&1){let o=Oe();D(0,"button",1,0),K(2,"translate"),K(3,"translate"),te("click",function(){return ge(o),ve(r.clicked())}),D(4,"span",2),ne(5," close "),A()()}i&2&&(S("matTooltip",se(2,3,r.tooltip))("disabled",r.disabled),Ie("aria-label",se(3,5,"ARIA_LABELS."+r.ariaCode)))},dependencies:[Js,ai,yt],encapsulation:2})}}return t})()});var vT,yT=f(()=>{"use strict";me();h_();an();bt();zi();I();vT=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[at,Mr,ei,aa]})}}return t})()});function L3(t,n){if(t&1&&(ee(0,"p",10),K(1,"translate")),t&2){let e=$();S("innerHtml",xo(1,1,e.message.title,e.message.localizationParams),fr)}}function P3(t,n){if(t&1&&(ee(0,"span",12),K(1,"translate")),t&2){let e=$(2);S("innerHtml",xo(1,1,e.message.support,e.message.localizationParams),fr)}}function j3(t,n){if(t&1&&(D(0,"p",11),ee(1,"span",12),K(2,"translate"),ie(3,P3,2,4,"span",13),A()),t&2){let e=$();C(),S("innerHtml",xo(2,2,e.message.body,e.message.localizationParams),fr),C(2),S("ngIf",e.message.support)}}function V3(t,n){if(t&1&&(D(0,"mat-icon"),ne(1),A()),t&2){let e=$(2);C(),st(e.message.callbackButtonIcon)}}function B3(t,n){if(t&1){let e=Oe();D(0,"button",14),te("click",function(){ge(e);let r=$();return ve(r.message==null?null:r.message.callbackButtonClick())}),ie(1,V3,2,1,"mat-icon",15),ne(2),K(3,"translate"),A()}if(t&2){let e=$();C(),S("ngIf",e.message.callbackButtonIcon),C(),We(" ",se(3,2,e.message.callbackButtonText)," ")}}function U3(t,n){if(t&1){let e=Oe();D(0,"tld-close-button",16),te("tldClick",function(){ge(e);let r=$();return ve(r.closeClick())}),A()}if(t&2){let e=$();de("no-top-margin",!e.message.title||!e.message.body)}}function z3(t,n){if(t&1){let e=Oe();D(0,"button",21),te("click",function(){ge(e);let r=$(2);return ve(r.buttonClick())}),ne(1),K(2,"translate"),A()}if(t&2){let e=$(2);C(),We("",se(2,1,e.message.buttonText)," ")}}function $3(t,n){if(t&1){let e=Oe();D(0,"a",22),te("click",function(){ge(e);let r=$(2);return ve(r.linkClick())}),ne(1),K(2,"translate"),A()}if(t&2){let e=$(2);Ie("href",e.message.linkHref,ov),C(),st(se(2,2,e.message.linkText))}}function H3(t,n){if(t&1){let e=Oe();D(0,"a",23),te("click",function(){ge(e);let r=$(2);return ve(r.linkClick())}),ne(1),K(2,"translate"),A()}if(t&2){let e=$(2);S("routerLink",zu(4,N3,e.message.routerLink)),C(),st(se(2,2,e.message.linkText))}}function G3(t,n){if(t&1&&(D(0,"div",17),ie(1,z3,3,3,"button",18)(2,$3,3,4,"a",19)(3,H3,3,6,"a",20),A()),t&2){let e=$();C(),S("ngIf",e.message.buttonText),C(),S("ngIf",e.message.linkHref&&e.message.linkText),C(),S("ngIf",e.message.routerLink&&e.message.linkText)}}var N3,bT,Hh=f(()=>{"use strict";I();I();me();fh();fa();h_();an();f_();Bi();bt();N3=t=>[t];bT=(()=>{class t{constructor(){this.buttonClicked=new P,this.closeClicked=new P,this.linkClicked=new P,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)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["lib-tld-notification-message"]],inputs:{message:"message",inline:"inline"},outputs:{buttonClicked:"buttonClicked",closeClicked:"closeClicked",linkClicked:"linkClicked"},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(i,r){i&1&&(D(0,"div")(1,"div",0)(2,"span",1),ne(3),A(),D(4,"div",2)(5,"div",3)(6,"div",4),ie(7,L3,2,4,"p",5)(8,j3,4,5,"p",6),A(),ie(9,B3,4,4,"button",7)(10,U3,1,2,"tld-close-button",8),A(),ie(11,G3,4,3,"div",9),A()()()),i&2&&(ju("notification-message ",r.className,""),C(),de("inline",r.inline),S("ngClass.lt-md","mobile"),Ie("id",r.message.id),C(2),We(" ",r.iconNames[r.message.type]," "),C(4),S("ngIf",r.message.title),C(),S("ngIf",r.message.body),C(),S("ngIf",r.message.callbackButtonText),C(),S("ngIf",!r.message.hideClose&&!r.message.callbackButtonText),C(),S("ngIf",r.message.buttonText||r.message.linkHref||r.message.routerLink))},dependencies:[mr,YM,WM,HM,$M,ua,gT,ii,uT,ri,yt],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)[_ngcontent-%COMP%] .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}"]})}}return t})()});var _T,xT=f(()=>{"use strict";me();hh();an();f_();bt();yT();Hh();Bi();I();_T=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[at,ha,vT,Mr,ei,mT,qf]})}}return t})()});var Uo,p_=f(()=>{"use strict";Uo=function(t){return t.BASIC="BASIC",t.INFO="INFO",t.WARNING="WARNING",t.SUCCESS="SUCCESS",t.ERROR="ERROR",t}(Uo||{})});var CT=f(()=>{"use strict";p_()});var wT=f(()=>{"use strict"});var ET=f(()=>{"use strict";wT()});var m_=f(()=>{"use strict";xT();Hh();CT();ET()});var g_=f(()=>{"use strict"});var DT=f(()=>{"use strict";m_();g_()});var IT=f(()=>{"use strict"});var ST=f(()=>{"use strict";IT()});var MT=f(()=>{"use strict";g_()});var AT=f(()=>{"use strict";DT();ST();MT()});var TT=f(()=>{"use strict"});var RT=f(()=>{"use strict"});var OT=f(()=>{"use strict"});var kT=f(()=>{"use strict"});var FT=f(()=>{"use strict"});var NT=f(()=>{"use strict"});var LT=f(()=>{"use strict"});var PT=f(()=>{"use strict"});var zo,jT=f(()=>{"use strict";Ab();zo=class{static isMobileRes(){return window.innerWidth<pA.SMALL}}});var v_=f(()=>{"use strict"});var VT=f(()=>{"use strict";Ur();v_()});var BT=f(()=>{"use strict";v_()});var y_=f(()=>{"use strict";VT();BT()});var UT=f(()=>{"use strict";y_()});var zT=f(()=>{"use strict"});var $T=f(()=>{"use strict"});var Ur=f(()=>{"use strict";TT();RT();OT();kT();FT();NT();LT();PT();jT();UT();zT();$T()});var HT=f(()=>{"use strict"});var GT=f(()=>{"use strict"});var WT=f(()=>{"use strict"});var qT=f(()=>{"use strict"});var YT=f(()=>{"use strict"});var KT=f(()=>{"use strict"});var QT=f(()=>{"use strict"});var ZT=f(()=>{"use strict"});var XT=f(()=>{"use strict";HT();GT();WT();qT();YT();KT();QT();ZT()});var JT=f(()=>{"use strict"});var eR=f(()=>{"use strict"});var tR=f(()=>{"use strict";eR()});var nR=f(()=>{"use strict";Ur();XT();JT();tR()});var iR=f(()=>{"use strict";nR()});var rR=f(()=>{"use strict";iR()});var b_=f(()=>{"use strict"});var oR=f(()=>{"use strict";b_()});var sR=f(()=>{"use strict";oR();b_()});var __=f(()=>{"use strict"});var aR=f(()=>{"use strict";__()});var lR=f(()=>{"use strict";aR();__()});var x_=f(()=>{"use strict"});var cR=f(()=>{"use strict";x_()});var dR=f(()=>{"use strict";cR();x_()});var uR,C_=f(()=>{"use strict";I();bt();uR=(()=>{class t{constructor(e){this.translate=e,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(e,i=!1){if(!e)return"";this.lastUiLanguage!==this.translate.currentLang&&(this.translationCache.clear(),this.lastUiLanguage=this.translate.currentLang);let r=`${e}:${i}`;if(this.translationCache.has(r))return this.translationCache.get(r);let o=this.getLanguageFromLanguageCode(e),a=this.isLanguageCodeSameAsRegion(e)?o:e,l=this.getTranslation(a,i);return this.translationCache.set(r,l),l}getTranslation(e,i){let o=this.translate.instant(this.languagesLocalizationKey)[e.toUpperCase().replace("-","_")]??this.getLanguageTranslationFromLanguageCode(this.translate.currentLang,e);return i&&(o=o.split("(")[0].trim()),o}getLanguageTranslationFromLanguageCode(e,i){let r=new Intl.DisplayNames([e],{type:"language"}),o=new Intl.DisplayNames([e],{type:"region"}),s,a=this.getLanguageFromLanguageCode(i),l=this.getRegionFromLanguageCode(i);try{let c=r.of(a),d=o.of(l);s=`${c} (${d})`}catch{try{s=r.of(i)}catch{return s=this.translations[e]?.[a]??i,s}}return this.capitalizeFirstLetter(s)}isLanguageCodeSameAsRegion(e){let[i,r,o]=e.split("-");return(i===r?.toLowerCase()||this.localeSameRegions[i]?.includes(r?.toLowerCase()))&&!o}getRegionFromLanguageCode(e){let[i,r,o]=e.split("-");return(o?`${r}-${o}`:`${r}`).toUpperCase()}getLanguageFromLanguageCode(e){return e.split("-")[0].toLowerCase()}capitalizeFirstLetter(e){return e.charAt(0).toUpperCase()+e.slice(1)}static{this.\u0275fac=function(i){return new(i||t)(p(Fi,16))}}static{this.\u0275pipe=Ss({name:"languageTranslate",type:t,pure:!1,standalone:!0})}}return t})()});var fR=f(()=>{"use strict";C_()});var hR=f(()=>{"use strict";fR();C_()});var pR=f(()=>{"use strict"});var mR=f(()=>{"use strict"});var gR=f(()=>{"use strict"});var vR=f(()=>{"use strict"});var yR=f(()=>{"use strict";pR();mR();gR();vR()});var w_=f(()=>{"use strict";yR()});var bR=f(()=>{"use strict";w_()});var _R=f(()=>{"use strict";bR();w_()});var E_=f(()=>{"use strict"});var xR=f(()=>{"use strict";E_()});var CR=f(()=>{"use strict";xR();E_()});var wR=f(()=>{"use strict";Ur()});var ER=f(()=>{"use strict";wR()});var D_=f(()=>{"use strict";Ur()});var DR=f(()=>{"use strict";D_()});var IR=f(()=>{"use strict";DR();D_()});var SR=f(()=>{"use strict"});var MR=f(()=>{"use strict";SR()});var AR=f(()=>{"use strict";S_()});var TR=f(()=>{"use strict";MR();AR()});var RR=f(()=>{"use strict";Ur()});var OR=f(()=>{"use strict";RR()});var kR=f(()=>{"use strict";Ur()});var FR=f(()=>{"use strict";kR()});var NR=f(()=>{"use strict";sR();lR();dR();hR();_R();CR();ER();IR();TR();y_();OR();FR()});var I_,LR=f(()=>{"use strict";NR();I();bt();I_=(()=>{class t{constructor(e){this.translateService=e}getLanguageCodeTranslation(e,i=!1){return new uR(this.translateService).transform(e,i)}removeRegionFromLanguageCode(e){return e.split("-")[0]}static{this.\u0275fac=function(i){return new(i||t)(g(Fi))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var S_=f(()=>{"use strict";LR()});var M_=f(()=>{"use strict"});var PR=f(()=>{"use strict";M_()});var jR=f(()=>{"use strict"});var VR=f(()=>{"use strict";jR();M_()});var BR=f(()=>{"use strict";PR();VR()});var A_=f(()=>{"use strict";_A();wA();AT();rR();S_();BR()});var zr,T_=f(()=>{"use strict";A_();zr=class{static addPlausible(n){let i=new xA().window;if(!i||!n)return;let r="https://plausible.io/js/plausible.js",o=document.createElement("script");o.src=r,o.setAttribute("data-domain",n),document.head.append(o),i.plausible=i.plausible||((...s)=>{(i.plausible.q=i.plausible.q||[]).push(s)})}static customEvent(n,e){let i=window;i?.plausible&&i.plausible(n,{props:e})}}});var R_=f(()=>{"use strict";T_()});var UR=f(()=>{"use strict";R_()});var zR=f(()=>{"use strict"});var $R=f(()=>{"use strict";zR()});var HR=f(()=>{"use strict";T_();R_();UR();$R()});var Gh,GR=f(()=>{"use strict";Gh=function(t){return t.GENERAL="General",t.PROFESSIONAL="Professional",t.ACADEMIC="Academic",t}(Gh||{})});var Sa,WR=f(()=>{"use strict";I();Sa=new w("LLM_CONFIGURATION_TOKEN")});var qR=f(()=>{"use strict"});var Ma=f(()=>{"use strict";WR();qR();mh()});var YR,KR=f(()=>{"use strict";I();Lo();Re();p_();Ma();I();Lo();YR=(()=>{class t{constructor(e){this.quotaService=e,this.llmConfiguration=y(Sa),this.trialRequestCount=15,this.LLMQuotaLocalStorageKey="LLM_QUOTA"}getRemainingQuota(e){return this.llmConfiguration.useLocalQuota?O(this.setQuotaLocalStorageUsage(e)):this.quotaService.getQuotaUsage().pipe(F(i=>{let r=i.usage.find(o=>o.quotaType===ze.LLM_REQUESTS||o.quotaType===ze.LEGACY_LLM_REQUESTS);return r?r.quotaRemaining:this.setQuotaLocalStorageUsage(e)}),Qt(()=>O(this.setQuotaLocalStorageUsage(e))))}getExceededLimitMessage(e){return{type:Uo.WARNING,body:"ERRORS.MAX_CHAR_LENGTH",localizationParams:{maxCharLength:this.llmConfiguration.maxCharLength,totalSymbols:e}}}getReachedQuotaMessage(){return{type:Uo.ERROR,body:"LLM.ERRORS.QUOTA_LIMIT_REACHED",localizationParams:{subscriptionUrl:this.llmConfiguration.subscriptionUrl}}}getDefaultErrorMessage(){return{type:Uo.ERROR,body:"LLM.ERRORS.DEFAULT",localizationParams:{supportEmail:this.llmConfiguration.supportEmail}}}getRequestTimeoutMessage(e){return{type:Uo.ERROR,body:`LLM.ERRORS.${e}_REQUEST_TIMEOUT`,localizationParams:{supportEmail:this.llmConfiguration.supportEmail}}}setQuotaLocalStorageUsage(e){let i=localStorage.getItem(this.LLMQuotaLocalStorageKey),r=new Date,o={remainingQuota:this.trialRequestCount,lastUsedAt:r};if(i){o=JSON.parse(i);let a=new Date(o.lastUsedAt);(a.getDate()!==r.getDate()||a.getMonth()!==r.getMonth()||a.getFullYear()!==r.getFullYear())&&(o.remainingQuota=this.trialRequestCount),e&&(o.remainingQuota-=1)}return o.lastUsedAt=r,localStorage.setItem(this.LLMQuotaLocalStorageKey,JSON.stringify(o)),o.remainingQuota}static{this.\u0275fac=function(i){return new(i||t)(g(fA))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var O_,QR,ZR,k_=f(()=>{"use strict";me();I();O_=class{constructor(n,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=n,i.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(i)}copy(){let n=this._textarea,e=!1;try{if(n){let i=this._document.activeElement;n.select(),n.setSelectionRange(0,n.value.length),e=this._document.execCommand("copy"),i&&i.focus()}}catch{}return e}destroy(){let n=this._textarea;n&&(n.remove(),this._textarea=void 0)}},QR=(()=>{class t{constructor(e){this._document=e}copy(e){let i=this.beginCopy(e),r=i.copy();return i.destroy(),r}beginCopy(e){return new O_(e,this._document)}static{this.\u0275fac=function(i){return new(i||t)(g(z))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ZR=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({})}}return t})()});var tG,XR,F_=f(()=>{"use strict";I();Li();Re();I();k_();an();Bi();Li();zi();fa();bt();tG=["textarea"],XR=(()=>{class t{constructor(e){this.clipboard=e,this.textEditEvent=new P,this.dislikeEvent=new P,this.copyEvent=new P,this.destroy=new R}ngOnInit(){this.textareaControl=new kl(this.text)}ngAfterViewInit(){mi(this.textarea.nativeElement,"keyup").pipe(Pe(e=>{e.ctrlKey&&e.key==="c"&&this.copyEvent.emit()}),gi(300),he(this.destroy)).subscribe(()=>{this.textEditEvent.emit(this.textareaControl.value)})}ngOnChanges(e){e&&e.disabled&&(this.disabled?this.textareaControl?.disable():this.textareaControl?.enable()),e&&e.text&&(this.textareaControl=new kl(this.text))}dislike(){this.dislikeEvent.emit()}copy(){this.clipboard.copy(this.textareaControl.value),this.copyEvent.emit()}ngOnDestroy(){this.destroy.next(null),this.destroy.complete()}static{this.\u0275fac=function(i){return new(i||t)(p(QR))}}static{this.\u0275cmp=Y({type:t,selectors:[["lib-llm-textarea"]],viewQuery:function(i,r){if(i&1&&Be(tG,5),i&2){let o;Ce(o=we())&&(r.textarea=o.first)}},inputs:{text:"text",disabled:"disabled",actionButtonsDisabled:"actionButtonsDisabled"},outputs:{textEditEvent:"textEditEvent",dislikeEvent:"dislikeEvent",copyEvent:"copyEvent"},features:[Ve],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(i,r){if(i&1){let o=Oe();D(0,"div",1)(1,"div",2)(2,"textarea",3,0),ne(4," "),A(),D(5,"div",4)(6,"mat-icon",5),K(7,"translate"),ne(8," gpp_maybe "),A(),D(9,"div")(10,"button",6),K(11,"translate"),te("click",function(){return ge(o),ve(r.dislike())}),D(12,"mat-icon",7),ne(13," thumb_down "),A()(),D(14,"button",8),K(15,"translate"),te("click",function(){return ge(o),ve(r.copy())}),D(16,"mat-icon",9),ne(17," content_copy "),A()()()()()()}i&2&&(S("ngClass.gt-lg","desktop"),C(2),S("formControl",r.textareaControl),C(4),S("matTooltip",se(7,7,"LLM.EU_DATA_TOOLTIP")),C(4),S("matTooltip",se(11,9,"TOOLTIPS.DISLIKE"))("disabled",r.actionButtonsDisabled||!r.textareaControl.value),C(4),S("disabled",r.actionButtonsDisabled||!r.textareaControl.value)("matTooltip",se(15,11,"TOOLTIPS.COPY")))},dependencies:[Js,ri,Hs,Gs,by,ai,ua,yt],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}"]})}}return t})()});function oG(t,n){if(t&1){let e=Oe();D(0,"lib-tld-notification-message",15),te("closeClicked",function(){let r=ge(e).$implicit,o=$();return ve(o.closeMessage(r))}),A()}if(t&2){let e=n.$implicit;S("message",e)}}function sG(t,n){if(t&1&&(D(0,"mat-option",18),ne(1),K(2,"uppercase"),K(3,"translate"),A()),t&2){let e=n.$implicit;S("value",e),C(),We(" ",se(3,4,"LLM.USE_CASE."+se(2,2,e))," ")}}function aG(t,n){if(t&1){let e=Oe();D(0,"mat-form-field",16)(1,"mat-label"),ne(2),K(3,"translate"),A(),D(4,"mat-select",17),Fs("ngModelChange",function(r){ge(e);let o=$();return pl(o.selectedUseCase,r)||(o.selectedUseCase=r),ve(r)}),ND(5,sG,4,6,"mat-option",18,FD),A()()}if(t&2){let e=$();C(2),st(se(3,3,"LLM.USE_CASES_LABEL")),C(2),S("disabled",e.isLoading),ks("ngModel",e.selectedUseCase),C(),LD(e.useCases)}}function lG(t,n){if(t&1&&(D(0,"mat-option",18),ne(1),K(2,"uppercase"),K(3,"translate"),A()),t&2){let e=n.$implicit;S("value",e),C(),We(" ",se(3,4,"LLM.REPHRASE_MODAL.WRITING_STYLES."+se(2,2,e))," ")}}function cG(t,n){if(t&1){let e=Oe();Vu(0),D(1,"mat-form-field",19)(2,"mat-label"),ne(3),K(4,"translate"),A(),D(5,"mat-select",20),te("selectionChange",function(r){ge(e);let o=$();return ve(o.checkRephrasedTextSaves(r))}),ie(6,lG,4,6,"mat-option",21),A()(),D(7,"p",22),ne(8),K(9,"uppercase"),K(10,"translate"),K(11,"translate"),D(12,"span",23),K(13,"uppercase"),K(14,"translate"),ne(15," info "),A()(),Bu()}if(t&2){let e=$();C(3),st(se(4,6,"LLM.REPHRASE_MODAL.WRITING_STYLES.TITLE")),C(2),S("disabled",e.isLoading)("value",e.selectedWritingStyle),C(),S("ngForOf",e.writingStyles),C(2),We("",xo(11,12,"LLM.REPHRASE_MODAL.WRITING_STYLES.SPECIFIC_STYLE",zu(19,iG,se(10,10,"LLM.REPHRASE_MODAL.WRITING_STYLES."+se(9,8,e.selectedWritingStyle))))," "),C(4),S("matTooltip",se(14,17,"LLM.REPHRASE_MODAL.WRITING_STYLES.TOOLTIP_"+se(13,15,e.selectedWritingStyle)))}}function dG(t,n){if(t&1&&(ee(0,"div",24),K(1,"translate")),t&2){let e=$();S("innerHTML",xo(1,1,e.localizationKey+"LIMIT",UD(4,rG,e.quotaLeft,e.subscriptionUrl)),fr)}}function uG(t,n){if(t&1){let e=Oe();D(0,"button",25),te("click",function(){ge(e);let r=$();return ve(r.cancel())}),ne(1),K(2,"translate"),A()}if(t&2){let e=$();C(),We(" ",se(2,1,e.localizationKey+"CANCEL")," ")}}function fG(t,n){if(t&1&&(D(0,"button",26),ne(1),K(2,"translate"),A()),t&2){let e=$();S("mat-dialog-close",null),C(),We(" ",se(2,2,e.localizationKey+"CLOSE")," ")}}function hG(t,n){if(t&1&&(D(0,"span"),ne(1),K(2,"translate"),A()),t&2){let e=$();C(),We(" ",se(2,1,e.isSummarized?"LLM.SUMMARY_MODAL.REGENERATE":"LLM.SUMMARY_MODAL.ACTION")," ")}}function pG(t,n){if(t&1&&(ne(0),K(1,"translate")),t&2){let e=$();We(" ",se(1,1,e.localizationKey+"ACTION")," ")}}function mG(t,n){t&1&&ee(0,"mat-spinner",27),t&2&&S("diameter",20)}var iG,rG,JR,N_=f(()=>{"use strict";Pr();Lo();Re();Ab();HR();mh();GR();I();Lo();KR();me();an();Pr();Li();Ql();Zl();Pn();Hh();zi();Kf();F_();bt();iG=t=>({style:t}),rG=(t,n)=>({limit:t,subscriptionUrl:n});JR=(()=>{class t{get isDisabled(){return this.isLoading||!this.initialText||this.quotaLeft<1}constructor(e,i,r){this.llmService=e,this.llmHelperService=i,this.data=r,this.selectedWritingStyle=Gh.GENERAL,this.editedText="",this.manuallyEditedText="",this.savedRephrasings=[],this.llmActions=Ut,this.writingStyles=Object.values(Gh),this.useCases=[],this.messages=[],this.showUseCase=!1}ngOnInit(){this.setInitialText(),this.llmActionType===Ut.REPHRASE?(this.useCases=Object.values(Ch),this.selectedUseCase=Ch.General):this.llmActionType===Ut.SUMMARY&&(this.useCases=Object.values(wh),this.selectedUseCase=wh.General),this.showUseCase=this.llmActionType===Ut.REPHRASE&&this.data.showUseCaseRephrase||this.llmActionType===Ut.SUMMARY&&this.data.showUseCaseSummary,this.data.defaultUseCase&&(this.selectedUseCase=this.data.defaultUseCase)}closeMessage(e){let i=this.messages?.findIndex(r=>JSON.stringify(r)===JSON.stringify(e));(i||i===0)&&this.messages.splice(i,1)}checkRephrasedTextSaves(e){e.value!==this.selectedWritingStyle&&(this.previousWritingStyle=this.selectedWritingStyle,this.selectedWritingStyle=e.value);let i=this.savedRephrasings.find(o=>o.style===this.selectedWritingStyle),r=this.savedRephrasings.find(o=>o.style===this.previousWritingStyle);r?r.text=this.editedText!==""?this.editedText:this.initialText:this.savedRephrasings.push({style:this.previousWritingStyle,text:this.editedText!==""?this.editedText:this.initialText}),this.editedText=i?.text??this.initialText,this.manuallyEditedText="",this.checkTextLimit()}getEditedText(){this.isLoading=!0,this.llmActionType===Ut.REPHRASE?this.writingStylePlausibleEvent():this.summaryPlausibleEvent(),this.subscription=this.getRequest()}cancel(){this.subscription.unsubscribe()}textEditEvent(e){this.manuallyEditedText=e,this.initialText=e,this.editedText="",this.checkTextLimit()}copyPlausibleEvent(){zr.customEvent(this.llmActionType.toLowerCase(),{action:"copy"})}dislikePlausibleEvent(){zr.customEvent(this.llmActionType.toLowerCase(),{action:"dislike"})}setInitialText(){this.data.text.subscribe(e=>{this.initialText=e,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 e=this.maxCharLength,i=[this.initialText,this.manuallyEditedText,this.editedText],r=this.editedText&&!this.manuallyEditedText?this.editedText:i.reduce((o,s)=>o.length>s.length?o:s);if(r.length>e){this.exceededLimitMessage&&this.closeMessage(this.exceededLimitMessage),this.exceededLimitMessage=this.llmHelperService.getExceededLimitMessage(r.length),this.messages.push(this.exceededLimitMessage);return}this.closeMessage(this.exceededLimitMessage)}writingStylePlausibleEvent(){zr.customEvent(this.llmActionType.toLowerCase(),{writingStyle:this.selectedWritingStyle})}summaryPlausibleEvent(){zr.customEvent(this.llmActionType.toLowerCase(),{action:"summary"})}refreshQuota(e){this.llmHelperService.getRemainingQuota(e).subscribe(i=>{this.quotaLeft=i,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 e=this.manuallyEditedText!==""?this.manuallyEditedText:this.initialText;return e.length>this.maxCharLength&&(e=e.substring(0,this.maxCharLength)),(this.llmActionType===Ut.REPHRASE?this.llmService.rephrase({text:e,language:this.data.language,style:this.selectedWritingStyle,useCase:this.selectedUseCase}):this.llmService.summarize({text:e,language:this.data.language,useCase:this.selectedUseCase})).pipe($t(()=>this.isLoading=!1)).subscribe(this.getRequestCallback())}getRequestCallback(){return{next:e=>{this.llmActionType===this.llmActions.SUMMARY&&(this.isSummarized=!0),this.editedText=e,this.manuallyEditedText="",this.defaultErrorMessage=this.llmHelperService.getDefaultErrorMessage(),this.closeMessage(this.defaultErrorMessage),this.closeMessage(this.requestTimeoutMessage),this.isEdited=!0,this.refreshQuota(!0),this.checkTextLimit()},error:e=>{if(e.status===Mb.TIMEOUT){this.requestTimeoutMessage=this.llmHelperService.getRequestTimeoutMessage(this.llmActionType),this.messages.push(this.requestTimeoutMessage);return}this.messages.push(this.defaultErrorMessage)}}}static{this.\u0275fac=function(i){return new(i||t)(p(uA),p(YR),p(oc))}}static{this.\u0275cmp=Y({type:t,selectors:[["lib-llm-textarea-with-actions"]],decls:22,vars:23,consts:[["closeButton",""],["rephraseAction",""],["mat-dialog-title",""],["mat-dialog-content",""],[3,"message","closeClicked",4,"ngFor","ngForOf"],["color","accent","class","w-full llm-writing-style-select","appearance","outline",4,"ngIf"],[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"],["color","primary","appearance","outline",1,"w-full","llm-writing-style-select"],[3,"selectionChange","disabled","value"],[3,"value",4,"ngFor","ngForOf"],[1,"llm-writing-style","text-m-semi-bold"],["matTooltipClass","multiline-tooltip","matTooltipPosition","above",1,"material-icons-outlined","info-icon",3,"matTooltip"],[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(i,r){if(i&1){let o=Oe();D(0,"h1",2),ne(1),K(2,"translate"),A(),D(3,"div",3)(4,"p"),ne(5),K(6,"translate"),A(),ie(7,oG,1,1,"lib-tld-notification-message",4)(8,aG,7,5,"mat-form-field",5)(9,cG,16,21,"ng-container",6),D(10,"lib-llm-textarea",7),te("textEditEvent",function(a){return ge(o),ve(r.textEditEvent(a))})("copyEvent",function(){return ge(o),ve(r.copyPlausibleEvent())})("dislikeEvent",function(){return ge(o),ve(r.dislikePlausibleEvent())}),A()(),D(11,"div",8),ie(12,dG,2,7,"div",9),D(13,"div",10),ie(14,uG,3,3,"button",11)(15,fG,3,4,"ng-template",null,0,Co),D(17,"button",12),te("click",function(){return ge(o),ve(r.getEditedText())}),ie(18,hG,3,3,"span",13)(19,pG,2,3,"ng-template",null,1,Co)(21,mG,1,1,"mat-spinner",14),A()()()}if(i&2){let o=qt(16),s=qt(20);C(),st(se(2,19,r.localizationKey+"TITLE")),C(4),st(se(6,21,r.localizationKey+"DESCRIPTION")),C(2),S("ngForOf",r.messages),C(),S("ngIf",r.showUseCase),C(),S("ngIf",r.llmActionType===r.llmActions.REPHRASE),C(),de("rephrase",r.llmActionType===r.llmActions.REPHRASE),S("text",r.editedText!==""?r.editedText:r.initialText)("disabled",r.isLoading||!r.quotaLeft)("actionButtonsDisabled",!r.isEdited),C(2),S("ngIf",r.remainingQuotaMessageVisible),C(),de("w-full",!r.remainingQuotaMessageVisible),C(),S("ngIf",r.isLoading)("ngIfElse",o),C(3),S("disabled",r.isDisabled),C(),S("ngIf",r.llmActionType===r.llmActions.SUMMARY)("ngIfElse",s),C(3),S("ngIf",r.isLoading)}},dependencies:[Zu,mr,ii,vh,yh,_h,bh,Gs,Fl,ih,la,oh,Xs,bT,ai,Yf,XR,aI,yt],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}"]})}}return t})()});var gG,vG,eO=f(()=>{"use strict";gG=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
17
+ `;o.appendChild(n.createTextNode(s))}n.head.appendChild(o),i.forEach(s=>MM[s]=o)}catch(o){console.error(o)}}}function xz(t){let n=new EventTarget;return n.matches=t==="all"||t==="",n.media=t,n.addListener=()=>{},n.removeListener=()=>{},n.addEventListener=()=>{},n.dispatchEvent=()=>!1,n.onchange=null,n}function Cz(t,n){return n&&!!window.matchMedia("all").addListener?window.matchMedia(t):xz(t)}function Ez(t){let n=t.length>0?t.charAt(0):"",e=t.length>1?t.slice(1):"";return n.toUpperCase()+e}function Dz(t){return t.replace(wz,"|").split("|").map(Ez).join("")}function Iz(t){return t.forEach(n=>{n.suffix||(n.suffix=Dz(n.alias),n.overlapping=!!n.overlapping)}),t}function Sz(t,n=[]){let e={};return t.forEach(i=>{e[i.alias]=i}),n.forEach(i=>{e[i.alias]?jn(e[i.alias],i):e[i.alias]=i}),Iz(Object.keys(e).map(i=>e[i]))}function Fz(t){return t?.mediaQuery.startsWith(ca)??!1}function NM(t,n,e,i){if(i!==void 0){let r=t.get(n)??new Map;r.set(e,i),t.set(n,r)}}function fb(t,n="1",e="1"){let i=[n,e,t],r=t.indexOf("calc");if(r>0){i[2]=LM(t.substring(r).trim());let o=t.substr(0,r).trim().split(" ");o.length==2&&(i[0]=o[0],i[1]=o[1])}else if(r==0)i[2]=LM(t.trim());else{let o=t.split(" ");i=o.length===3?o:[n,e,t]}return i}function LM(t){return t.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}function ah(t,n){if(n===void 0)return t;let e=i=>{let r=+i.slice(0,-PM.length);return t.endsWith(PM)&&!isNaN(r)?`${r*n.value}${n.unit}`:t};return t.includes(" ")?t.split(" ").map(e).join(" "):e(t)}var hz,SM,da,Oo,pz,oh,En,ec,sh,ai,zi,bz,MM,wz,Mz,AM,TM,RM,OM,FM,kM,Ui,Az,Tz,BM,ca,Rz,Oz,ub,kr,Nr,PM,Lr=f(()=>{"use strict";D();D();pe();Re();db();ct();hz={provide:Ns,useFactory:fz,deps:[z,gt],multi:!0},SM="flex-layout-";da=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({providers:[hz]})}}return t})(),Oo=class t{constructor(n=!1,e="all",i="",r="",o=0){this.matches=n,this.mediaQuery=e,this.mqAlias=i,this.suffix=r,this.priority=o,this.property=""}clone(){return new t(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}};pz=(()=>{class t{constructor(){this.stylesheet=new Map}addStyleToElement(e,i,r){let o=this.stylesheet.get(e);o?o.set(i,r):this.stylesheet.set(e,new Map([[i,r]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,i){let r=this.stylesheet.get(e),o="";if(r){let s=r.get(i);(typeof s=="number"||typeof s=="string")&&(o=s+"")}return o}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();oh={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},En=new C("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>oh});ec=new C("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1});sh=new C("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});ai=class{constructor(){this.shouldCache=!0}sideEffect(n,e,i){}};zi=(()=>{class t{constructor(e,i,r,o){this._serverStylesheet=e,this._serverModuleLoaded=i,this._platformId=r,this.layoutConfig=o}applyStyleToElement(e,i,r=null){let o={};typeof i=="string"&&(o[i]=r,i=o),o=this.layoutConfig.disableVendorPrefixes?i:cb(i),this._applyMultiValueStyleToElement(o,e)}applyStyleToElements(e,i=[]){let r=this.layoutConfig.disableVendorPrefixes?e:cb(e);i.forEach(o=>{this._applyMultiValueStyleToElement(r,o)})}getFlowDirection(e){let i="flex-direction",r=this.lookupStyle(e,i),o=this.lookupInlineStyle(e,i)||Ri(this._platformId)&&this._serverModuleLoaded?r:"";return[r||"row",o]}hasWrap(e){return this.lookupStyle(e,"flex-wrap")==="wrap"}lookupAttributeValue(e,i){return e.getAttribute(i)??""}lookupInlineStyle(e,i){return Xn(this._platformId)?e.style.getPropertyValue(i):mz(e,i)}lookupStyle(e,i,r=!1){let o="";return e&&((o=this.lookupInlineStyle(e,i))||(Xn(this._platformId)?r||(o=getComputedStyle(e).getPropertyValue(i)):this._serverModuleLoaded&&(o=this._serverStylesheet.getStyleForElement(e,i)))),o?o.trim():""}_applyMultiValueStyleToElement(e,i){Object.keys(e).sort().forEach(r=>{let o=e[r],s=Array.isArray(o)?o:[o];s.sort();for(let a of s)a=a?a+"":"",Xn(this._platformId)||!this._serverModuleLoaded?Xn(this._platformId)?i.style.setProperty(r,a):gz(i,r,a):this._serverStylesheet.addStyleToElement(i,r,a)})}static{this.\u0275fac=function(i){return new(i||t)(g(pz),g(ec),g(gt),g(En))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();bz=(()=>{class t{constructor(e,i,r,o){this._zone=e,this._platformId=i,this._document=r,this._nonce=o,this.source=new it(new Oo(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){let e=[];return this.registry.forEach((i,r)=>{i.matches&&e.push(r)}),e}isActive(e){return this.registry.get(e)?.matches??this.registerQuery(e).some(r=>r.matches)}observe(e,i=!1){if(e&&e.length){let r=this._observable$.pipe(xe(s=>i?e.indexOf(s.mediaQuery)>-1:!0)),o=new Q(s=>{let a=this.registerQuery(e);if(a.length){let l=a.pop();a.forEach(c=>{s.next(c)}),this.source.next(l)}s.complete()});return St(o,r)}return this._observable$}registerQuery(e){let i=Array.isArray(e)?e:[e],r=[];return _z(i,this._document,this._nonce),i.forEach(o=>{let s=l=>{this._zone.run(()=>this.source.next(new Oo(l.matches,o)))},a=this.registry.get(o);a||(a=this.buildMQL(o),a.addListener(s),this.pendingRemoveListenerFns.push(()=>a.removeListener(s)),this.registry.set(o,a)),a.matches&&r.push(new Oo(!0,o))}),r}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return Cz(e,Xn(this._platformId))}static{this.\u0275fac=function(i){return new(i||t)(g(F),g(gt),g(z),g(yo,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),MM={};wz=/(\.|-|_)/g;Mz=[{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}];AM="(orientation: portrait) and (max-width: 599.98px)",TM="(orientation: landscape) and (max-width: 959.98px)",RM="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",OM="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",FM="(orientation: portrait) and (min-width: 840px)",kM="(orientation: landscape) and (min-width: 1280px)",Ui={HANDSET:`${AM}, ${TM}`,TABLET:`${RM} , ${OM}`,WEB:`${FM}, ${kM} `,HANDSET_PORTRAIT:`${AM}`,TABLET_PORTRAIT:`${RM} `,WEB_PORTRAIT:`${FM}`,HANDSET_LANDSCAPE:`${TM}`,TABLET_LANDSCAPE:`${OM}`,WEB_LANDSCAPE:`${kM}`},Az=[{alias:"handset",priority:2e3,mediaQuery:Ui.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:Ui.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:Ui.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:Ui.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:Ui.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:Ui.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:Ui.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:Ui.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:Ui.WEB_PORTRAIT,overlapping:!0}];Tz=new C("Token (@ngbracket/ngx-layout) Breakpoints",{providedIn:"root",factory:()=>{let t=y(sh),n=y(En),e=[].concat.apply([],(t||[]).map(r=>Array.isArray(r)?r:[r])),i=(n.disableDefaultBps?[]:Mz).concat(n.addOrientationBps?Az:[]);return Sz(i,e)}});BM=(()=>{class t{constructor(e){this.findByMap=new Map,this.items=[...e].sort(yz)}findByAlias(e){return e?this.findWithPredicate(e,i=>i.alias===e):null}findByQuery(e){return this.findWithPredicate(e,i=>i.mediaQuery===e)}get overlappings(){return this.items.filter(e=>e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>e?.suffix??"")}findWithPredicate(e,i){let r=this.findByMap.get(e);return r||(r=this.items.find(i)??null,this.findByMap.set(e,r)),r??null}static{this.\u0275fac=function(i){return new(i||t)(g(Tz))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();ca="print",Rz={alias:ca,mediaQuery:ca,priority:1e3},Oz=(()=>{class t{constructor(e,i,r){this.breakpoints=e,this.layoutConfig=i,this._document=r,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new ub,this.deactivations=[]}withPrintQuery(e){return[...e,ca]}isPrintEvent(e){return e.mediaQuery.startsWith(ca)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>e!==null)}getEventBreakpoints({mediaQuery:e}){let i=this.breakpoints.findByQuery(e);return(i?[...this.printBreakPoints,i]:this.printBreakPoints).sort(Jl)}updateEvent(e){let i=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(i=this.getEventBreakpoints(e)[0],e.mediaQuery=i?.mediaQuery??""),jM(e,i)}registerBeforeAfterPrintHooks(e){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;let i=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new Oo(!0,ca))),e.updateStyles())},r=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",i),this._document.defaultView.addEventListener("afterprint",r),this.beforePrintEventListeners.push(i),this.afterPrintEventListeners.push(r)}interceptEvents(e){return i=>{if(this.isPrintEvent(i)){i.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(i)),e.updateStyles()):!i.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(e),e.updateStyles());return}this.collectActivations(e,i)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,i){this.isPrinting=!0,this.formerActivations=e.activatedBreakpoints,e.activatedBreakpoints=this.queue.addPrintBreakpoints(i)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(e,i){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent){this.deactivations=[];return}if(!i.matches){let r=this.breakpoints.findByQuery(i.mediaQuery);if(r){let o=this.formerActivations&&this.formerActivations.includes(r),s=!this.formerActivations&&e.activatedBreakpoints.includes(r);(o||s)&&(this.deactivations.push(r),this.deactivations.sort(Jl))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("beforeprint",e)),this.afterPrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("afterprint",e)))}static{this.\u0275fac=function(i){return new(i||t)(g(BM),g(En),g(z))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ub=class{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(n){return n.push(Rz),n.sort(Jl),n.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(n){n&&this.printBreakpoints.find(i=>i.mediaQuery===n.mediaQuery)===void 0&&(this.printBreakpoints=Fz(n)?[n,...this.printBreakpoints]:[...this.printBreakpoints,n])}clear(){this.printBreakpoints=[]}};kr=(()=>{class t{get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(e){this._activatedBreakpoints=[...e]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(e){this._useFallbacks=e}constructor(e,i,r){this.matchMedia=e,this.breakpoints=i,this.hook=r,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 R,this.observeActivations()}onMediaChange(e){let i=this.findByQuery(e.mediaQuery);if(i){e=jM(e,i);let r=this.activatedBreakpoints.indexOf(i);e.matches&&r===-1?(this._activatedBreakpoints.push(i),this._activatedBreakpoints.sort(Jl),this.updateStyles()):!e.matches&&r!==-1&&(this._activatedBreakpoints.splice(r,1),this._activatedBreakpoints.sort(Jl),this.updateStyles())}}init(e,i,r,o,s=[]){NM(this.updateMap,e,i,r),NM(this.clearMap,e,i,o),this.buildElementKeyMap(e,i),this.watchExtraTriggers(e,i,s)}getValue(e,i,r){let o=this.elementMap.get(e);if(o){let s=r!==void 0?o.get(r):this.getActivatedValues(o,i);if(s)return s.get(i)}}hasValue(e,i){let r=this.elementMap.get(e);if(r){let o=this.getActivatedValues(r,i);if(o)return o.get(i)!==void 0||!1}return!1}setValue(e,i,r,o){let s=this.elementMap.get(e);if(!s)s=new Map().set(o,new Map().set(i,r)),this.elementMap.set(e,s);else{let l=(s.get(o)??new Map).set(i,r);s.set(o,l),this.elementMap.set(e,s)}let a=this.getValue(e,i);a!==void 0&&this.updateElement(e,i,a)}trackValue(e,i){return this.subject.asObservable().pipe(xe(r=>r.element===e&&r.key===i))}updateStyles(){this.elementMap.forEach((e,i)=>{let r=new Set(this.elementKeyMap.get(i)),o=this.getActivatedValues(e);o&&o.forEach((s,a)=>{this.updateElement(i,a,s),r.delete(a)}),r.forEach(s=>{if(o=this.getActivatedValues(e,s),o){let a=o.get(s);this.updateElement(i,s,a)}else this.clearElement(i,s)})})}clearElement(e,i){let r=this.clearMap.get(e);if(r){let o=r.get(i);o&&(o(),this.subject.next({element:e,key:i,value:""}))}}updateElement(e,i,r){let o=this.updateMap.get(e);if(o){let s=o.get(i);s&&(s(r),this.subject.next({element:e,key:i,value:r}))}}releaseElement(e){let i=this.watcherMap.get(e);i&&(i.forEach(o=>o.unsubscribe()),this.watcherMap.delete(e));let r=this.elementMap.get(e);r&&(r.forEach((o,s)=>r.delete(s)),this.elementMap.delete(e))}triggerUpdate(e,i){let r=this.elementMap.get(e);if(r){let o=this.getActivatedValues(r,i);o&&(i?this.updateElement(e,i,o.get(i)):o.forEach((s,a)=>this.updateElement(e,a,s)))}}buildElementKeyMap(e,i){let r=this.elementKeyMap.get(e);r||(r=new Set,this.elementKeyMap.set(e,r)),r.add(i)}watchExtraTriggers(e,i,r){if(r&&r.length){let o=this.watcherMap.get(e);if(o||(o=new Map,this.watcherMap.set(e,o)),!o.get(i)){let a=St(...r).subscribe(()=>{let l=this.getValue(e,i);this.updateElement(e,i,l)});o.set(i,a)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,i){for(let o=0;o<this.activatedBreakpoints.length;o++){let s=this.activatedBreakpoints[o],a=e.get(s.alias);if(a&&(i===void 0||a.has(i)&&a.get(i)!=null))return a}if(!this._useFallbacks)return;let r=e.get("");return i===void 0||r&&r.has(i)?r:void 0}observeActivations(){let e=this.breakpoints.items.map(i=>i.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe(Le(this.hook.interceptEvents(this)),xe(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}static{this.\u0275fac=function(i){return new(i||t)(g(bz),g(BM),g(Oz))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();Nr=(()=>{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(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}constructor(e,i,r,o){this.elementRef=e,this.styleBuilder=i,this.styler=r,this.marshal=o,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new R,this.styleCache=new Map}ngOnChanges(e){Object.keys(e).forEach(i=>{if(this.inputs.indexOf(i)!==-1){let r=i.split(".").slice(1).join("."),o=e[i].currentValue;this.setValue(o,r)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,i){let r=this.styleBuilder,o=r.shouldCache,s=this.styleCache.get(e);(!s||!o)&&(s=r.buildStyles(e,i),o&&this.styleCache.set(e,s)),this.mru=x({},s),this.applyStyleToElement(s),r.sideEffect(e,s,i)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,i=!1){if(e){let[r,o]=this.styler.getFlowDirection(e);if(!o&&i){let s=rh(r),a=[e];this.styler.applyStyleToElements(s,a)}return r.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,i,r=this.nativeElement){this.styler.applyStyleToElement(r,e,i)}setValue(e,i){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,i)}updateWithValue(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(ai),p(zi),p(kr))}}static{this.\u0275dir=V({type:t,features:[Ve]})}}return t})();PM="x";});var Nz,Lz,ua,hb,fa=f(()=>{"use strict";D();Lr();Lr();pe();pe();Nz=(()=>{class t extends Nr{set klass(e){this.ngClassInstance.klass=e,this.setValue(e,"")}constructor(e,i,r,o,s){super(e,null,i,r),this.ngClassInstance=s,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new fr(e,o)),this.init(),this.setValue("","")}updateWithValue(e){this.ngClassInstance.ngClass=e,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(zi),p(kr),p(Qn),p(fr,10))}}static{this.\u0275dir=V({type:t,inputs:{klass:[0,"class","klass"]},features:[me]})}}return t})(),Lz=["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"],ua=(()=>{class t extends Nz{constructor(){super(...arguments),this.inputs=Lz}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(t)))(r||t)}})()}static{this.\u0275dir=V({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:[me]})}}return t})();hb=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[da]})}}return t})();});function l$(t,n){let[e,i]=t.split(" "),r=i??e,o="0px",s=r,a="0px";return n==="rtl"?a=e:o=e,{padding:`0px ${o} ${s} ${a}`}}function c$(t,n){let[e,i]=t.split(" "),r=i??e,o=c=>`-${c}`,s="0px",a=o(r),l="0px";return n==="rtl"?l=o(e):s=o(e),{margin:`0px ${s} ${a} ${l}`}}function qM(t,n){switch(n){case"column":return"margin-bottom";case"column-reverse":return"margin-top";case"row":return t==="rtl"?"margin-left":"margin-right";case"row-reverse":return t==="rtl"?"margin-right":"margin-left";default:return t==="rtl"?"margin-left":"margin-right"}}function d$(t,n){let e=qM(n.directionality,n.layout),i=x({},GM);return i[e]=t,i}var Pz,jz,Vz,$M,Bz,Uz,zz,$z,Hz,Gz,Wz,HM,qz,Yz,Kz,Qz,Zz,Xz,Jz,e$,GM,t$,n$,i$,WM,r$,o$,s$,a$,lh,u$,f$,h$,YM,zM,mb,ch=f(()=>{"use strict";Cn();Cn();D();Lr();Lr();db();ct();Re();Pz=(()=>{class t extends ai{constructor(e){super(),this.layoutConfig=e}buildStyles(e,i){let[r,o,...s]=e.split(" "),a=s.join(" "),l=i.direction.indexOf("column")>-1?"column":"row",c=Xl(l)?"max-width":"max-height",d=Xl(l)?"min-width":"min-height",u=String(a).indexOf("calc")>-1,m=u||a==="auto",h=String(a).indexOf("%")>-1&&!u,v=String(a).indexOf("px")>-1||String(a).indexOf("rem")>-1||String(a).indexOf("em")>-1||String(a).indexOf("vw")>-1||String(a).indexOf("vh")>-1,b=u||v;r=r=="0"?0:r,o=o=="0"?0:o;let E=!r&&!o,S={},B={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(a||""){case"":let G=this.layoutConfig.useColumnBasisZero!==!1;a=l==="row"?"0%":G?"0.000000001px":"auto";break;case"initial":case"nogrow":r=0,a="auto";break;case"grow":a="100%";break;case"noshrink":o=0,a="auto";break;case"auto":break;case"none":r=0,o=0,a="auto";break;default:!b&&!h&&!isNaN(a)&&(a=a+"%"),a==="0%"&&(b=!0),a==="0px"&&(a="0%"),u?S=jn(B,{"flex-grow":r,"flex-shrink":o,"flex-basis":b?a:"100%"}):S=jn(B,{flex:`${r} ${o} ${b?a:"100%"}`});break}return S.flex||S["flex-grow"]||(u?S=jn(B,{"flex-grow":r,"flex-shrink":o,"flex-basis":a}):S=jn(B,{flex:`${r} ${o} ${a}`})),a!=="0%"&&a!=="0px"&&a!=="0.000000001px"&&a!=="auto"&&(S[d]=E||b&&r?a:null,S[c]=E||!m&&o?a:null),!S[d]&&!S[c]?u?S=jn(B,{"flex-grow":r,"flex-shrink":o,"flex-basis":a}):S=jn(B,{flex:`${r} ${o} ${a}`}):i.hasWrap&&(S[u?"flex-basis":"flex"]=S[c]?u?S[c]:`${r} ${o} ${S[c]}`:u?S[d]:`${r} ${o} ${S[d]}`),jn(S,{"box-sizing":"border-box"})}static{this.\u0275fac=function(i){return new(i||t)(g(En))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),jz=["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"],Vz=(()=>{class t extends Nr{get shrink(){return this.flexShrink}set shrink(e){this.flexShrink=e||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(e){this.flexGrow=e||"1",this.triggerReflow()}constructor(e,i,r,o,s){super(e,o,i,s),this.layoutConfig=r,this.marshal=s,this.DIRECTIVE_KEY="flex",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(fe(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(fe(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(e){let r=e.value.split(" ");this.direction=r[0],this.wrap=r[1]!==void 0&&r[1]==="wrap",this.triggerUpdate()}updateWithValue(e){let i=this.layoutConfig.addFlexToParent!==!1;this.direction===void 0&&(this.direction=this.getFlexFlowDirection(this.parentElement,i)),this.wrap===void 0&&(this.wrap=this.hasWrap(this.parentElement));let r=this.direction,o=r.startsWith("row"),s=this.wrap;o&&s?this.styleCache=zz:o&&!s?this.styleCache=Bz:!o&&s?this.styleCache=$z:!o&&!s&&(this.styleCache=Uz);let a=String(e).replace(";",""),l=fb(a,this.flexGrow,this.flexShrink);this.addStyles(l.join(" "),{direction:r,hasWrap:s})}triggerReflow(){let e=this.activatedValue;if(e!==void 0){let i=fb(e+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,i.join(" "))}}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(zi),p(En),p(Pz),p(kr))}}static{this.\u0275dir=V({type:t,inputs:{shrink:[0,"fxShrink","shrink"],grow:[0,"fxGrow","grow"]},features:[me]})}}return t})(),$M=(()=>{class t extends Vz{constructor(){super(...arguments),this.inputs=jz}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(t)))(r||t)}})()}static{this.\u0275dir=V({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:[me]})}}return t})(),Bz=new Map,Uz=new Map,zz=new Map,$z=new Map;Hz=(()=>{class t extends ai{buildStyles(e,i){let r={},[o,s]=e.split(" ");switch(o){case"center":r["justify-content"]="center";break;case"space-around":r["justify-content"]="space-around";break;case"space-between":r["justify-content"]="space-between";break;case"space-evenly":r["justify-content"]="space-evenly";break;case"end":case"flex-end":r["justify-content"]="flex-end";break;case"start":case"flex-start":default:r["justify-content"]="flex-start";break}switch(s){case"start":case"flex-start":r["align-items"]=r["align-content"]="flex-start";break;case"center":r["align-items"]=r["align-content"]="center";break;case"end":case"flex-end":r["align-items"]=r["align-content"]="flex-end";break;case"space-between":r["align-content"]="space-between",r["align-items"]="stretch";break;case"space-around":r["align-content"]="space-around",r["align-items"]="stretch";break;case"baseline":r["align-content"]="stretch",r["align-items"]="baseline";break;case"stretch":default:r["align-items"]=r["align-content"]="stretch";break}return jn(r,{display:i.inline?"inline-flex":"flex","flex-direction":i.layout,"box-sizing":"border-box","max-width":s==="stretch"?Xl(i.layout)?null:"100%":null,"max-height":s==="stretch"&&Xl(i.layout)?"100%":null})}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(t)))(r||t)}})()}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Gz=["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"],Wz=(()=>{class t extends Nr{constructor(e,i,r,o){super(e,r,i,o),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe(fe(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(e){let i=this.layout||"row",r=this.inline;i==="row"&&r?this.styleCache=Zz:i==="row"&&!r?this.styleCache=qz:i==="row-reverse"&&r?this.styleCache=Jz:i==="row-reverse"&&!r?this.styleCache=Kz:i==="column"&&r?this.styleCache=Xz:i==="column"&&!r?this.styleCache=Yz:i==="column-reverse"&&r?this.styleCache=e$:i==="column-reverse"&&!r&&(this.styleCache=Qz),this.addStyles(e,{layout:i,inline:r})}onLayoutChange(e){let i=e.value.split(" ");this.layout=i[0],this.inline=e.value.includes("inline"),Zl.find(r=>r===this.layout)||(this.layout="row"),this.triggerUpdate()}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(zi),p(Hz),p(kr))}}static{this.\u0275dir=V({type:t,features:[me]})}}return t})(),HM=(()=>{class t extends Wz{constructor(){super(...arguments),this.inputs=Gz}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(t)))(r||t)}})()}static{this.\u0275dir=V({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:[me]})}}return t})(),qz=new Map,Yz=new Map,Kz=new Map,Qz=new Map,Zz=new Map,Xz=new Map,Jz=new Map,e$=new Map,GM={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null},t$=(()=>{class t extends ai{constructor(e,i){super(),this._styler=e,this._config=i}buildStyles(e,i){return e.endsWith(lh)?(e=e.slice(0,e.indexOf(lh)),e=ah(e,this._config.multiplier),c$(e,i.directionality)):{}}sideEffect(e,i,r){let o=r.items;if(e.endsWith(lh)){e=e.slice(0,e.indexOf(lh)),e=ah(e,this._config.multiplier);let s=l$(e,r.directionality);this._styler.applyStyleToElements(s,r.items)}else{e=ah(e,this._config.multiplier),e=this.addFallbackUnit(e);let s=o.pop(),a=d$(e,r);this._styler.applyStyleToElements(a,o),this._styler.applyStyleToElements(GM,[s])}}addFallbackUnit(e){return isNaN(+e)?e:`${e}${this._config.defaultUnit}`}static{this.\u0275fac=function(i){return new(i||t)(g(zi),g(En))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),n$=["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"],i$=(()=>{class t extends Nr{get childrenNodes(){let e=this.nativeElement.children,i=[];for(let r=e.length;r--;)i[r]=e[r];return i}constructor(e,i,r,o,s,a){super(e,s,o,a),this.zone=i,this.directionality=r,this.styleUtils=o,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.observerSubject=new R;let l=[this.directionality.change,this.observerSubject.asObservable()];this.init(l),this.marshal.trackValue(this.nativeElement,"layout").pipe(fe(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(e){let r=e.value.split(" ")[0];Zl.find(o=>o===r)||(r="row"),this.layout&&this.layout!==r&&this.clearStyles(),this.layout=r,this.triggerUpdate()}updateWithValue(e){let i=this.childrenNodes.filter(r=>r.nodeType===1&&this.willDisplay(r)).sort((r,o)=>{let s=+this.styler.lookupStyle(r,"order"),a=+this.styler.lookupStyle(o,"order");return isNaN(s)||isNaN(a)||s===a?0:s>a?1:-1});if(i.length>0){let r=this.directionality.value,o=this.layout;o==="row"&&r==="rtl"?this.styleCache=r$:o==="row"&&r!=="rtl"?this.styleCache=s$:o==="column"&&r==="rtl"?this.styleCache=o$:o==="column"&&r!=="rtl"&&(this.styleCache=a$),this.addStyles(e,{directionality:r,items:i,layout:o})}}clearStyles(){let e=Object.keys(this.mru).length>0,i=e?"padding":qM(this.directionality.value,this.layout);e&&super.clearStyles(),this.styleUtils.applyStyleToElements({[i]:""},this.childrenNodes)}willDisplay(e){let i=this.marshal.getValue(e,"show-hide");return i===!0||i===void 0&&this.styleUtils.lookupStyle(e,"display")!=="none"}buildChildObservable(){this.zone.runOutsideAngular(()=>{typeof MutationObserver<"u"&&(this.observer=new MutationObserver(e=>{let i=r=>r.addedNodes&&r.addedNodes.length>0||r.removedNodes&&r.removedNodes.length>0;e.some(i)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(F),p(Ft),p(zi),p(t$),p(kr))}}static{this.\u0275dir=V({type:t,features:[me]})}}return t})(),WM=(()=>{class t extends i${constructor(){super(...arguments),this.inputs=n$}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(t)))(r||t)}})()}static{this.\u0275dir=V({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:[me]})}}return t})(),r$=new Map,o$=new Map,s$=new Map,a$=new Map,lh=" grid";u$=(()=>{class t extends ai{buildStyles(e,{display:i}){let r=rh(e);return ae(x({},r),{display:i==="none"?i:r.display})}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(t)))(r||t)}})()}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),f$=["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"],h$=(()=>{class t extends Nr{constructor(e,i,r,o,s){super(e,r,i,o),this._config=s,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(e){let r=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=zM.get(r)??new Map,zM.set(r,this.styleCache),this.currentValue!==e&&(this.addStyles(e,{display:r}),this.currentValue=e)}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(zi),p(u$),p(kr),p(En))}}static{this.\u0275dir=V({type:t,features:[me]})}}return t})(),YM=(()=>{class t extends h${constructor(){super(...arguments),this.inputs=f$}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(t)))(r||t)}})()}static{this.\u0275dir=V({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:[me]})}}return t})(),zM=new Map;mb=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[da,ni]})}}return t})();});var gb,vb=f(()=>{"use strict";D();Lr();gb=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[da]})}}return t})();});var ha,Nee,dh=f(()=>{"use strict";Lr();Lr();fa();fa();ch();ch();vb();vb();pe();D();D();ha=(()=>{class t{static withConfig(e,i=[]){return{ngModule:t,providers:e.serverLoaded?[{provide:En,useValue:x(x({},oh),e)},{provide:sh,useValue:i,multi:!0},{provide:ec,useValue:!0}]:[{provide:En,useValue:x(x({},oh),e)},{provide:sh,useValue:i,multi:!0}]}}constructor(e,i){Ri(i)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static{this.\u0275fac=function(i){return new(i||t)(g(ec),g(gt))}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[mb,hb,gb,mb,hb,gb]})}}return t})();Nee=new Kn("18.0.0");});function m$(t,n){if(t&1&&(I(0,"mat-option",12),oe(1),T()),t&2){let e=n.$implicit;A("value",e),w(),Je(" ",e.voiceName," ")}}function g$(t,n){if(t&1&&(I(0,"mat-icon"),oe(1),T()),t&2){let e=H();w(),Je(" ",e.isPlaying?"stop":"volume_up"," ")}}function v$(t,n){t&1&&J(0,"mat-spinner",13),t&2&&A("diameter",15)}var KM,QM=f(()=>{"use strict";pe();D();Ni();an();Vi();GS();Re();Gf();Fr();Ql();Kl();dh();bt();D();pe();Ni();Fr();Kl();Ql();Pn();fa();bt();KM=(()=>{class t{constructor(){this.maxCharLength=1e3,this.#e=y(HS)}get hasOverflow(){let e=document.querySelector("textarea");return e?.clientHeight<e?.scrollHeight}#e;ngOnInit(){this.selected=this.voices[0]}togglePlay(){if(this.isPlaying){this.stop();return}this.isLoading=!0;let e=this.text.length>this.maxCharLength?this.text.substring(0,this.maxCharLength):this.text;if(this.audio&&e===this.previousText&&this.selected.voice===this.previousVoice){this.audio.play(),this.isPlaying=!0,this.isLoading=!1;return}this.#e.play(e,this.selected).pipe($t(()=>{this.isLoading=!1})).subscribe({next:i=>{this.previousText=e,this.previousVoice=this.selected.voice;let r=URL.createObjectURL(i);this.audio=new Audio(r),this.audio.play(),this.isPlaying=!0,this.audio.onended=()=>{URL.revokeObjectURL(r),this.isPlaying=!1}}})}stop(){this.audio&&(this.audio.pause(),this.audio.currentTime=0,this.isPlaying=!1)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["lib-text-to-speech"]],inputs:{maxCharLength:"maxCharLength",voices:"voices"},standalone:!0,features:[Ee],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(i,r){if(i&1&&(I(0,"div",0)(1,"mat-form-field",1)(2,"mat-label"),oe(3),de(4,"translate"),T(),I(5,"mat-select",2),Fs("valueChange",function(s){return pl(r.selected,s)||(r.selected=s),s}),ie(6,m$,2,2,"mat-option",3),T()(),I(7,"div",4)(8,"textarea",5),de(9,"translate"),Fs("ngModelChange",function(s){return pl(r.text,s)||(r.text=s),s}),T(),I(10,"div",6),oe(11),T()(),I(12,"div",7)(13,"div",8),de(14,"translate"),I(15,"button",9),de(16,"translate"),ee("click",function(){return r.togglePlay()}),ie(17,g$,2,1,"mat-icon",10)(18,v$,1,1,"mat-spinner",11),T()()()()),i&2){let o;A("ngClass.lt-md","mobile"),w(3),dt(ge(4,15,"selectVoice")),w(2),Os("value",r.selected),w(),A("ngForOf",r.voices),w(2),Os("ngModel",r.text),A("placeholder",ge(9,17,"placeholder")),w(2),le("text-overflow",r.hasOverflow),w(),bv(" ",(o=r.text==null?null:r.text.length)!==null&&o!==void 0?o:0,"/",r.maxCharLength," "),w(2),A("matTooltip",r.text?"":ge(14,19,"playDisabled")),w(2),A("matTooltip",ge(16,21,r.isPlaying?"stop":"play"))("disabled",!r.text||r.isLoading),w(2),A("ngIf",!r.isLoading),w(),A("ngIf",r.isLoading)}},dependencies:[st,qu,hr,Js,ri,Cf,Hs,Gs,kl,Hf,aa,Or,th,eh,la,ih,nh,Xs,ha,ua,ei,yt],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}"]})}}return t})()});var ZM=f(()=>{"use strict"});var XM=f(()=>{"use strict";ZM()});var JM=f(()=>{"use strict";QM();XM()});var eA,tA=f(()=>{"use strict";eA={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 uh,yb=f(()=>{"use strict";oy();JM();tA();D();uh=(()=>{class t extends af{set voices(e){this._voices=typeof e=="string"?JSON.parse(e):e}set maxCharLength(e){this._maxCharLength=+e}get voices(){return this._voices}get maxCharLength(){return this._maxCharLength}constructor(){super(eA),this._maxCharLength=500}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["app-text-to-speech"]],inputs:{voices:"voices",maxCharLength:"maxCharLength"},standalone:!0,features:[me,Ee],decls:1,vars:2,consts:[[3,"voices","maxCharLength"]],template:function(i,r){i&1&&J(0,"lib-text-to-speech",0),i&2&&A("voices",r.voices)("maxCharLength",r.maxCharLength)},dependencies:[KM]})}}return t})()});var Ut,fh=f(()=>{"use strict";Ut=function(t){return t.SUMMARY="SUMMARY",t.REPHRASE="REPHRASE",t}(Ut||{})});function y$(t,n){}function bb(t,n){let e=t.length;for(;e--;)n(t[e])}var Fo,_b,tc,b$,_$,x$,C$,xb,nA,iA=f(()=>{"use strict";Ln();Ln();Tr();Tr();Vt();Hl();pe();D();D();wr();Re();Cn();ct();Fo=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}},_b=(()=>{class t extends ia{constructor(e,i,r,o,s,a,l,c){super(),this._elementRef=e,this._focusTrapFactory=i,this._config=o,this._interactivityChecker=s,this._ngZone=a,this._overlayRef=l,this._focusMonitor=c,this._platform=y(Oe),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=y(et),this._injector=y(Me),this._isDestroyed=!1,this.attachDomPortal=d=>{this._portalOutlet.hasAttached();let u=this._portalOutlet.attachDomPortal(d);return this._contentAttached(),u},this._document=r,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let i=this._ariaLabelledByQueue.indexOf(e);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_trapFocus(){this._isDestroyed||Fn(()=>{let e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement()||this._focusDialogContainer();break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,i=null;if(typeof e=="string"?i=this._document.querySelector(e):typeof e=="boolean"?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&typeof i.focus=="function"){let r=Ll(),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(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let e=this._elementRef.nativeElement,i=Ll();return e===i||e.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Ll()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static{this.\u0275fac=function(i){return new(i||t)(p(j),p(Nf),p(z,8),p(Fo),p(jl),p(F),p(Bi),p(Dr))}}static{this.\u0275cmp=Y({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(i,r){if(i&1&&Be($l,7),i&2){let o;Ce(o=we())&&(r._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,r){i&2&&Ie("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},standalone:!0,features:[me,Ee],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,r){i&1&&ie(0,y$,0,0,"ng-template",0)},dependencies:[$l],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}}return t})(),tc=class{constructor(n,e){this.overlayRef=n,this.config=e,this.closed=new R,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{i.keyCode===27&&!this.disableClose&&!Bt(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=n.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(n,e){if(this.containerInstance){let i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(n),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}},b$=new C("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=y(ut);return()=>t.scrollStrategies.block()}}),_$=new C("DialogData"),x$=new C("DefaultDialogConfig"),C$=0,xb=(()=>{class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,i,r,o,s,a){this._overlay=e,this._injector=i,this._defaultOptions=r,this._parentDialog=o,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new R,this._afterOpenedAtThisLevel=new R,this._ariaHiddenElements=new Map,this.afterAllClosed=Kt(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Zt(void 0))),this._scrollStrategy=a}open(e,i){let r=this._defaultOptions||new Fo;i=x(x({},r),i),i.id=i.id||`cdk-dialog-${C$++}`,i.id&&this.getDialogById(i.id);let o=this._getOverlayConfig(i),s=this._overlay.create(o),a=new tc(s,i),l=this._attachContainer(s,a,i);return a.containerInstance=l,this._attachDialogContent(e,a,l,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){bb(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){bb(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),bb(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let i=new ra({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,r){let o=r.injector||r.viewContainerRef?.injector,s=[{provide:Fo,useValue:r},{provide:tc,useValue:i},{provide:Bi,useValue:e}],a;r.container?typeof r.container=="function"?a=r.container:(a=r.container.type,s.push(...r.container.providers(r))):a=_b;let l=new Mr(a,r.viewContainerRef,Me.create({parent:o||this._injector,providers:s}),r.componentFactoryResolver);return e.attach(l).instance}_attachDialogContent(e,i,r,o){if(e instanceof Jt){let s=this._createInjector(o,i,r,void 0),a={$implicit:o.data,dialogRef:i};o.templateContext&&(a=x(x({},a),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),r.attachTemplatePortal(new Mo(e,null,a,s))}else{let s=this._createInjector(o,i,r,this._injector),a=r.attachComponentPortal(new Mr(e,o.viewContainerRef,s,o.componentFactoryResolver));i.componentRef=a,i.componentInstance=a.instance}}_createInjector(e,i,r,o){let s=e.injector||e.viewContainerRef?.injector,a=[{provide:_$,useValue:e.data},{provide:tc,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(Ft,null,{optional:!0}))&&a.push({provide:Ft,useValue:{value:e.direction,change:O()}}),Me.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(){let e=this._overlayContainer.getContainerElement();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{this.\u0275fac=function(i){return new(i||t)(g(ut),g(Me),g(x$,8),g(t,12),g(oa),g(b$))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();nA=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({providers:[xb],imports:[Ar,Ao,Lf,Ao]})}}return t})()});function w$(t,n){}function aA(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?Er(t.substring(0,t.length-2)):t.endsWith("s")?Er(t.substring(0,t.length-1))*1e3:t==="0"?0:null}function lA(t,n,e){return t._closeInteractionType=n,t.close(e)}function dA(t,n){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?n.find(i=>i.id===e.id):null}var nc,Cb,rA,oA,E$,D$,I$,sA,hh,ic,rc,S$,M$,A$,ko,T$,ph,cA,mh,gh,vh,pa,Pr=f(()=>{"use strict";Tr();Tr();pe();pe();D();D();Ln();iA();Pi();Hl();Re();ct();wr();Sr();Pn();nc=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}},Cb="mdc-dialog--open",rA="mdc-dialog--opening",oA="mdc-dialog--closing",E$=150,D$=75,I$=(()=>{class t extends _b{constructor(e,i,r,o,s,a,l,c,d){super(e,i,r,o,s,a,l,d),this._animationMode=c,this._animationStateChanged=new P,this._animationsEnabled=this._animationMode!=="NoopAnimations",this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?aA(this._config.enterAnimationDuration)??E$:0,this._exitAnimationDuration=this._animationsEnabled?aA(this._config.exitAnimationDuration)??D$:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(sA,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(rA,Cb)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Cb),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Cb),this._animationsEnabled?(this._hostElement.style.setProperty(sA,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(oA)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(rA,oA)}_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{this.\u0275fac=function(i){return new(i||t)(p(j),p(Nf),p(z,8),p(nc),p(jl),p(F),p(Bi),p(rt,8),p(Dr))}}static{this.\u0275cmp=Y({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,r){i&2&&(ur("id",r._config.id),Ie("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),le("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},standalone:!0,features:[me,Ee],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),ie(2,w$,0,0,"ng-template",2),T()())},dependencies:[$l],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12));border-radius:var(--mdc-dialog-container-shape, var(--mat-app-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-app-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-app-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-app-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-app-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-app-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-app-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-app-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-app-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-app-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-app-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-app-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-app-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.cdk-high-contrast-active .mat-mdc-dialog-actions{border-top-color:CanvasText}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}'],encapsulation:2})}}return t})(),sA="--mat-dialog-transition-duration";hh=function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t}(hh||{}),ic=class{constructor(n,e,i){this._ref=n,this._containerInstance=i,this._afterOpened=new R,this._beforeClosed=new R,this._state=hh.OPEN,this.disableClose=e.disableClose,this.id=n.id,n.addPanelClass("mat-mdc-dialog-panel"),i._animationStateChanged.pipe(xe(r=>r.state==="opened"),Ue(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(xe(r=>r.state==="closed"),Ue(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),St(this.backdropClick(),this.keydownEvents().pipe(xe(r=>r.keyCode===27&&!this.disableClose&&!Bt(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),lA(this,r.type==="keydown"?"keyboard":"mouse"))})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(xe(e=>e.state==="closing"),Ue(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=hh.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=hh.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};rc=new C("MatMdcDialogData"),S$=new C("mat-mdc-dialog-default-options"),M$=new C("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=y(ut);return()=>t.scrollStrategies.block()}}),A$=0,ko=(()=>{class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(e,i,r,o,s,a,l,c){this._overlay=e,this._defaultOptions=o,this._scrollStrategy=s,this._parentDialog=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new R,this._afterOpenedAtThisLevel=new R,this.dialogConfigClass=nc,this.afterAllClosed=Kt(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Zt(void 0))),this._dialog=i.get(xb),this._dialogRefConstructor=ic,this._dialogContainerType=I$,this._dialogDataToken=rc}open(e,i){let r;i=x(x({},this._defaultOptions||new nc),i),i.id=i.id||`mat-mdc-dialog-${A$++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(e,ae(x({},i),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:Fo,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{this.\u0275fac=function(i){return new(i||t)(g(ut),g(Me),g(Zn,8),g(S$,8),g(M$),g(t,12),g(oa),g(rt,8))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),T$=0,ph=(()=>{class t{constructor(e,i,r){this.dialogRef=e,this._elementRef=i,this._dialog=r,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=dA(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){lA(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static{this.\u0275fac=function(i){return new(i||t)(p(ic,8),p(j),p(ko))}}static{this.\u0275dir=V({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,r){i&1&&ee("click",function(s){return r._onButtonClick(s)}),i&2&&Ie("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"],standalone:!0,features:[Ve]})}}return t})(),cA=(()=>{class t{constructor(e,i,r){this._dialogRef=e,this._elementRef=i,this._dialog=r}ngOnInit(){this._dialogRef||(this._dialogRef=dA(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static{this.\u0275fac=function(i){return new(i||t)(p(ic,8),p(j),p(ko))}}static{this.\u0275dir=V({type:t,standalone:!0})}}return t})(),mh=(()=>{class t extends cA{constructor(){super(...arguments),this.id=`mat-mdc-dialog-title-${T$++}`}_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(t)))(r||t)}})()}static{this.\u0275dir=V({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,r){i&2&&ur("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0,features:[me]})}}return t})(),gh=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=V({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0,features:[mD([Gy])]})}}return t})(),vh=(()=>{class t extends cA{_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(t)))(r||t)}})()}static{this.\u0275dir=V({type:t,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&&le("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"},standalone:!0,features:[me]})}}return t})();pa=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({providers:[ko],imports:[nA,Ar,Ao,Ye,Ye]})}}return t})()});var oc,yh,Eb,bh,ma,uA,ze,fA,No=f(()=>{"use strict";bl();D();D();Re();oc=new C("ngx-tld-services Api service configuration."),yh=class{#e;constructor(n){this.http=y(vr),this.#e=y(oc);let e=n(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}},Eb=function(t){return t.Event="Event",t.General="General",t.Meeting="Meeting",t.TranscriptEditor="TranscriptEditor",t.TranscriptCleanup="TranscriptCleanup",t}(Eb||{}),bh=function(t){return t.Event="Event",t.General="General",t.Meeting="Meeting",t.MeetingBrief="MeetingBrief",t.Brief="Brief",t}(bh||{}),ma=class{static xAppIdHeader(n){return{"X-App-Id":n}}},uA=(()=>{class t extends yh{#e=y(vr);constructor(){super(e=>e.llmService)}rephrase(e){let i=ma.xAppIdHeader(this.sharedServiceConfiguration.xAppId);return this.#e.post(`${this.configuration.url}/rewrite`,e,{responseType:"text",headers:i})}summarize(e){let i=ma.xAppIdHeader(this.sharedServiceConfiguration.xAppId);return this.#e.post(`${this.configuration.url}/summarize/`,e,{responseType:"text",headers:i})}customPrompt(e){let i=ma.xAppIdHeader(this.sharedServiceConfiguration.xAppId);return this.#e.post(`${this.configuration.url}/custom-prompt/`,e,{responseType:"text",headers:i})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ze=function(t){return t.TRANSLATION_FILES="FileTranslationFiles",t.ASR_FILE_LENGTH_SECONDS="AsrFileLengthSeconds",t.ASR_FILE_SIZE_KB="AsrFileSizeKb",t.ONLINE_ASR_USED_SECONDS="OnlineAsrUsedSeconds",t.TRANSLATION_CHARACTERS="TranslationCharacters",t.TRANSLATION_DOCUMENTS="TranslationDocuments",t.LLM_CHARACTER_COUNT="LlmCharacterCount",t.LLM_REQUESTS="LlmRequests",t.TTS_CHARACTERS="TtsCharacters",t.ANONYMISE_WORDS="AnonymiseWords",t.ANONYMISE_DOCUMENTS="AnonymiseDocuments",t[t.LEGACY_TRANSLATION_FILES=0]="LEGACY_TRANSLATION_FILES",t[t.LEGACY_ASR_FILE_LENGTH_SECONDS=1]="LEGACY_ASR_FILE_LENGTH_SECONDS",t[t.LEGACY_ASR_FILE_SIZE_KB=2]="LEGACY_ASR_FILE_SIZE_KB",t[t.LEGACY_ONLINE_ASR_USED_SECONDS=3]="LEGACY_ONLINE_ASR_USED_SECONDS",t[t.LEGACY_TRANSLATION_CHARACTERS=4]="LEGACY_TRANSLATION_CHARACTERS",t[t.LEGACY_TRANSLATION_DOCUMENTS=5]="LEGACY_TRANSLATION_DOCUMENTS",t[t.LEGACY_LLM_CHARACTER_COUNT=6]="LEGACY_LLM_CHARACTER_COUNT",t[t.LEGACY_LLM_REQUESTS=7]="LEGACY_LLM_REQUESTS",t[t.LEGACY_TTS_CHARACTERS=8]="LEGACY_TTS_CHARACTERS",t[t.LEGACY_ANONYMISE_WORDS=9]="LEGACY_ANONYMISE_WORDS",t[t.LEGACY_ANONYMISE_DOCUMENTS=10]="LEGACY_ANONYMISE_DOCUMENTS",t}(ze||{}),fA=(()=>{class t extends yh{constructor(){super(e=>e.quotaService),this.legacyQuotaTypeMap={[ze.LEGACY_TRANSLATION_FILES]:ze.TRANSLATION_FILES,[ze.LEGACY_ASR_FILE_LENGTH_SECONDS]:ze.ASR_FILE_LENGTH_SECONDS,[ze.LEGACY_ASR_FILE_SIZE_KB]:ze.ASR_FILE_SIZE_KB,[ze.LEGACY_ONLINE_ASR_USED_SECONDS]:ze.ONLINE_ASR_USED_SECONDS,[ze.LEGACY_TRANSLATION_CHARACTERS]:ze.TRANSLATION_CHARACTERS,[ze.LEGACY_TRANSLATION_DOCUMENTS]:ze.TRANSLATION_DOCUMENTS,[ze.LEGACY_LLM_CHARACTER_COUNT]:ze.LLM_CHARACTER_COUNT,[ze.LEGACY_LLM_REQUESTS]:ze.LLM_REQUESTS,[ze.LEGACY_TTS_CHARACTERS]:ze.TTS_CHARACTERS,[ze.LEGACY_ANONYMISE_WORDS]:ze.ANONYMISE_WORDS,[ze.LEGACY_ANONYMISE_DOCUMENTS]:ze.ANONYMISE_DOCUMENTS}}getQuotaUsage(){let e=ma.xAppIdHeader(this.sharedServiceConfiguration.xAppId);return this.http.get(this.configuration.url,{headers:e}).pipe(k(i=>(i.usage.forEach(r=>{this.legacyQuotaTypeMap[r.quotaType]&&(r.quotaType=this.legacyQuotaTypeMap[r.quotaType])}),i)))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var pA,mA=f(()=>{"use strict";pA={SMALL:600,MEDIUM:960,LARGE:1280,XLARGE:1920}});var gA=f(()=>{"use strict"});var Db,vA=f(()=>{"use strict";Db=function(t){return t[t.TIMEOUT=504]="TIMEOUT",t}(Db||{})});var Ib=f(()=>{"use strict";mA();gA();vA()});var yA,bA=f(()=>{"use strict";D();Vi();Ps();yA=(()=>{class t{constructor(e,i){this.iconRegistry=e,this.sanitizer=i}registerIcons(e){for(let i in e)this.iconRegistry.addSvgIconLiteral(i.toLowerCase(),this.sanitizer.bypassSecurityTrustHtml(e[i]))}registerIconFromUrl(e,i){this.iconRegistry.addSvgIcon(e,this.sanitizer.bypassSecurityTrustResourceUrl(i))}addSvgIconSet(e,i){i?this.iconRegistry.addSvgIconSetInNamespace(i,this.sanitizer.bypassSecurityTrustResourceUrl(e)):this.iconRegistry.addSvgIconSet(this.sanitizer.bypassSecurityTrustResourceUrl(e))}static{this.\u0275fac=function(i){return new(i||t)(g(Hy),g(wl))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var _A=f(()=>{"use strict";bA()});var R$,O$,xA,CA=f(()=>{"use strict";D();R$=typeof localStorage<"u"?localStorage:null,O$=typeof window<"u"?window:null,xA=(()=>{class t{get window(){return O$}get localStorage(){return R$}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var wA=f(()=>{"use strict";CA()});function xa(t){return new Rb(t)}function F$(t,n,e){let i=e.path.split("/");if(i.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||i.length<t.length))return null;let r={};for(let o=0;o<i.length;o++){let s=i[o],a=t[o];if(s[0]===":")r[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,i.length),posParams:r}}function k$(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!li(t[e],n[e]))return!1;return!0}function li(t,n){let e=t?Ob(t):void 0,i=n?Ob(n):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],!kA(t[r],n[r]))return!1;return!0}function Ob(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function kA(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;let e=[...t].sort(),i=[...n].sort();return e.every((r,o)=>i[o]===r)}else return t===n}function NA(t){return t.length>0?t[t.length-1]:null}function Br(t){return pn(t)?t:Co(t)?Ne(Promise.resolve(t)):O(t)}function EA(t,n,e){return N$[e.paths](t.root,n.root,e.matrixParams)&&LA[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function L$(t,n){return li(t,n)}function PA(t,n,e){if(!Po(t.segments,n.segments)||!Ch(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let i in n.children)if(!t.children[i]||!PA(t.children[i],n.children[i],e))return!1;return!0}function P$(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>kA(t[e],n[e]))}function jA(t,n,e){return VA(t,n,n.segments,e)}function VA(t,n,e,i){if(t.segments.length>e.length){let r=t.segments.slice(0,e.length);return!(!Po(r,e)||n.hasChildren()||!Ch(r,e,i))}else if(t.segments.length===e.length){if(!Po(t.segments,e)||!Ch(t.segments,e,i))return!1;for(let r in n.children)if(!t.children[r]||!jA(t.children[r],n.children[r],i))return!1;return!0}else{let r=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!Po(t.segments,r)||!Ch(t.segments,r,i)||!t.children[ue]?!1:VA(t.children[ue],n,o,i)}}function Ch(t,n,e){return n.every((i,r)=>LA[e](t[r].parameters,i.parameters))}function j$(t,n){return Po(t,n)&&t.every((e,i)=>li(e.parameters,n[i].parameters))}function Po(t,n){return t.length!==n.length?!1:t.every((e,i)=>e.path===n[i].path)}function V$(t,n){let e=[];return Object.entries(t.children).forEach(([i,r])=>{i===ue&&(e=e.concat(n(r,i)))}),Object.entries(t.children).forEach(([i,r])=>{i!==ue&&(e=e.concat(n(r,i)))}),e}function wh(t){return t.segments.map(n=>UA(n)).join("/")}function sc(t,n){if(!t.hasChildren())return wh(t);if(n){let e=t.children[ue]?sc(t.children[ue],!1):"",i=[];return Object.entries(t.children).forEach(([r,o])=>{r!==ue&&i.push(`${r}:${sc(o,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}else{let e=V$(t,(i,r)=>r===ue?[sc(t.children[ue],!1)]:[`${r}:${sc(i,!1)}`]);return Object.keys(t.children).length===1&&t.children[ue]!=null?`${wh(t)}/${e[0]}`:`${wh(t)}/(${e.join("//")})`}}function BA(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function _h(t){return BA(t).replace(/%3B/gi,";")}function U$(t){return encodeURI(t)}function Fb(t){return BA(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Eh(t){return decodeURIComponent(t)}function DA(t){return Eh(t.replace(/\+/g,"%20"))}function UA(t){return`${Fb(t.path)}${z$(t.parameters)}`}function z$(t){return Object.entries(t).map(([n,e])=>`;${Fb(n)}=${Fb(e)}`).join("")}function $$(t){let n=Object.entries(t).map(([e,i])=>Array.isArray(i)?i.map(r=>`${_h(e)}=${_h(r)}`).join("&"):`${_h(e)}=${_h(i)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}function Sb(t){let n=t.match(H$);return n?n[0]:""}function W$(t){let n=t.match(G$);return n?n[0]:""}function Y$(t){let n=t.match(q$);return n?n[0]:""}function Q$(t){let n=t.match(K$);return n?n[0]:""}function zA(t){return t.segments.length>0?new Fe([],{[ue]:t}):t}function $A(t){let n={};for(let[i,r]of Object.entries(t.children)){let o=$A(r);if(i===ue&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[i]=o)}let e=new Fe(t.segments,n);return Z$(e)}function Z$(t){if(t.numberOfChildren===1&&t.children[ue]){let n=t.children[ue];return new Fe(t.segments.concat(n.segments),n.children)}return t}function jo(t){return t instanceof Hi}function X$(t,n,e=null,i=null){let r=HA(t);return GA(r,n,e,i)}function HA(t){let n;function e(o){let s={};for(let l of o.children){let c=e(l);s[l.outlet]=c}let a=new Fe(o.url,s);return o===t&&(n=a),a}let i=e(t.root),r=zA(i);return n??r}function GA(t,n,e,i){let r=t;for(;r.parent;)r=r.parent;if(n.length===0)return Mb(r,r,r,e,i);let o=J$(n);if(o.toRoot())return Mb(r,r,new Fe([],{}),e,i);let s=eH(o,r,t),a=s.processChildren?cc(s.segmentGroup,s.index,o.commands):qA(s.segmentGroup,s.index,o.commands);return Mb(r,s.segmentGroup,a,e,i)}function Dh(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function fc(t){return typeof t=="object"&&t!=null&&t.outlets}function Mb(t,n,e,i,r){let o={};i&&Object.entries(i).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(d=>`${d}`):`${c}`});let s;t===n?s=e:s=WA(t,n,e);let a=zA($A(s));return new Hi(a,o,r)}function WA(t,n,e){let i={};return Object.entries(t.children).forEach(([r,o])=>{o===n?i[r]=e:i[r]=WA(o,n,e)}),new Fe(t.segments,i)}function J$(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Ih(!0,0,t);let n=0,e=!1,i=t.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===".."?n++:a!=""&&r.push(a))}),r):[...r,o]},[]);return new Ih(e,n,i)}function eH(t,n,e){if(t.isAbsolute)return new ya(n,!0,0);if(!e)return new ya(n,!1,NaN);if(e.parent===null)return new ya(e,!0,0);let i=Dh(t.commands[0])?0:1,r=e.segments.length-1+i;return tH(e,r,t.numberOfDoubleDots)}function tH(t,n,e){let i=t,r=n,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new M(4005,!1);r=i.segments.length}return new ya(i,!1,r-o)}function nH(t){return fc(t[0])?t[0].outlets:{[ue]:t}}function qA(t,n,e){if(t??=new Fe([],{}),t.segments.length===0&&t.hasChildren())return cc(t,n,e);let i=iH(t,n,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){let o=new Fe(t.segments.slice(0,i.pathIndex),{});return o.children[ue]=new Fe(t.segments.slice(i.pathIndex),t.children),cc(o,0,r)}else return i.match&&r.length===0?new Fe(t.segments,{}):i.match&&!t.hasChildren()?Nb(t,n,e):i.match?cc(t,0,r):Nb(t,n,e)}function cc(t,n,e){if(e.length===0)return new Fe(t.segments,{});{let i=nH(e),r={};if(Object.keys(i).some(o=>o!==ue)&&t.children[ue]&&t.numberOfChildren===1&&t.children[ue].segments.length===0){let o=cc(t.children[ue],n,e);return new Fe(t.segments,o.children)}return Object.entries(i).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(r[o]=qA(t.children[o],n,s))}),Object.entries(t.children).forEach(([o,s])=>{i[o]===void 0&&(r[o]=s)}),new Fe(t.segments,r)}}function iH(t,n,e){let i=0,r=n,o={match:!1,pathIndex:0,commandIndex:0};for(;r<t.segments.length;){if(i>=e.length)return o;let s=t.segments[r],a=e[i];if(fc(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(!SA(l,c,s))return o;i+=2}else{if(!SA(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}function Nb(t,n,e){let i=t.segments.slice(0,n),r=0;for(;r<e.length;){let o=e[r];if(fc(o)){let l=rH(o.outlets);return new Fe(i,l)}if(r===0&&Dh(e[0])){let l=t.segments[n];i.push(new Lo(l.path,IA(e[0]))),r++;continue}let s=fc(o)?o.outlets[ue]:`${o}`,a=r<e.length-1?e[r+1]:null;s&&a&&Dh(a)?(i.push(new Lo(s,IA(a))),r+=2):(i.push(new Lo(s,{})),r++)}return new Fe(i,{})}function rH(t){let n={};return Object.entries(t).forEach(([e,i])=>{typeof i=="string"&&(i=[i]),i!==null&&(n[e]=Nb(new Fe([],{}),0,i))}),n}function IA(t){let n={};return Object.entries(t).forEach(([e,i])=>n[e]=`${i}`),n}function SA(t,n,e){return t==e.path&&li(n,e.parameters)}function oH(t,n){return t.providers&&!t._injector&&(t._injector=Nu(t.providers,n,`Route: ${t.path}`)),t._injector??n}function Vn(t){return t.outlet||ue}function sH(t,n){let e=t.filter(i=>Vn(i)===n);return e.push(...t.filter(i=>Vn(i)!==n)),e}function xc(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){let e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}function qb(t,n){if(t===n.value)return n;for(let e of n.children){let i=qb(t,e);if(i)return i}return null}function Yb(t,n){if(t===n.value)return[n];for(let e of n.children){let i=Yb(t,e);if(i.length)return i.unshift(n),i}return[]}function va(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}function YA(t){let n=aH(t),e=new it([new Lo("",{})]),i=new it({}),r=new it({}),o=new it({}),s=new it(""),a=new Vo(e,i,o,s,r,ue,t,n.root);return a.snapshot=n.root,new Rh(new ln(a,[]),n)}function aH(t){let n={},e={},i={},r="",o=new ba([],n,i,r,e,ue,t,null,{});return new Fh("",new ln(o,[]))}function Oh(t,n,e="emptyOnly"){let i,{routeConfig:r}=t;return n!==null&&(e==="always"||r?.path===""||!n.component&&!n.routeConfig?.loadComponent)?i={params:x(x({},n.params),t.params),data:x(x({},n.data),t.data),resolve:x(x(x(x({},t.data),n.data),r?.data),t._resolvedData)}:i={params:x({},t.params),data:x({},t.data),resolve:x(x({},t.data),t._resolvedData??{})},r&&QA(r)&&(i.resolve[bc]=r.title),i}function i_(t,n){n.value._routerState=t,n.children.forEach(e=>i_(t,e))}function KA(t){let n=t.children.length>0?` { ${t.children.map(KA).join(", ")} } `:"";return`${t.value}${n}`}function Ab(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,li(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),li(n.params,e.params)||t.paramsSubject.next(e.params),k$(n.url,e.url)||t.urlSubject.next(e.url),li(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Kb(t,n){let e=li(t.params,n.params)&&j$(t.url,n.url),i=!t.parent!=!n.parent;return e&&!i&&(!t.parent||Kb(t.parent,n.parent))}function QA(t){return typeof t.title=="string"||t.title===null}function cH(t,n,e){let i=mc(t,n._root,e?e._root:void 0);return new Rh(i,n)}function mc(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let i=e.value;i._futureSnapshot=n.value;let r=dH(t,n,e);return new ln(i,r)}else{if(t.shouldAttach(n.value)){let o=t.retrieve(n.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>mc(t,a)),s}}let i=uH(n.value),r=n.children.map(o=>mc(t,o));return new ln(i,r)}}function dH(t,n,e){return n.children.map(i=>{for(let r of e.children)if(t.shouldReuseRoute(i.value,r.value.snapshot))return mc(t,i,r);return mc(t,i)})}function uH(t){return new Vo(new it(t.url),new it(t.params),new it(t.queryParams),new it(t.fragment),new it(t.data),t.outlet,t.component,t)}function kh(t,n){let{redirectTo:e,navigationBehaviorOptions:i}=jo(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=XA(!1,cn.Redirect);return r.url=e,r.navigationBehaviorOptions=i,r}function XA(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[ZA]=!0,e.cancellationCode=n,e}function fH(t){return JA(t)&&jo(t.url)}function JA(t){return!!t&&t[ZA]}function pH(t,n,e){let i=t._root,r=n?n._root:null;return ac(i,r,e,[i.value])}function mH(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function Ia(t,n){let e=Symbol(),i=n.get(t,e);return i===e?typeof t=="function"&&!KC(t)?t:n.get(t):i}function ac(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=va(n);return t.children.forEach(s=>{gH(s,o[s.value.outlet],e,i.concat([s.value]),r),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>uc(a,e.getContext(s),r)),r}function gH(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=vH(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new Nh(i)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?ac(t,n,a?a.children:null,i,r):ac(t,n,e,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new _a(a.outlet.component,s))}else s&&uc(n,a,r),r.canActivateChecks.push(new Nh(i)),o.component?ac(t,null,a?a.children:null,i,r):ac(t,null,e,i,r);return r}function vH(t,n,e){if(typeof e=="function")return e(t,n);switch(e){case"pathParamsChange":return!Po(t.url,n.url);case"pathParamsOrQueryParamsChange":return!Po(t.url,n.url)||!li(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Kb(t,n)||!li(t.queryParams,n.queryParams);case"paramsChange":default:return!Kb(t,n)}}function uc(t,n,e){let i=va(t),r=t.value;Object.entries(i).forEach(([o,s])=>{r.component?n?uc(s,n.children.getContext(o),e):uc(s,null,e):uc(s,n,e)}),r.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new _a(n.outlet.component,r)):e.canDeactivateChecks.push(new _a(null,r)):e.canDeactivateChecks.push(new _a(null,r))}function wc(t){return typeof t=="function"}function yH(t){return typeof t=="boolean"}function bH(t){return t&&wc(t.canLoad)}function _H(t){return t&&wc(t.canActivate)}function xH(t){return t&&wc(t.canActivateChild)}function CH(t){return t&&wc(t.canDeactivate)}function wH(t){return t&&wc(t.canMatch)}function eT(t){return t instanceof hi||t?.name==="EmptyError"}function Da(){return qe(t=>eo(t.map(n=>n.pipe(Ue(1),Zt(xh)))).pipe(k(n=>{for(let e of n)if(e!==!0){if(e===xh)return xh;if(e===!1||EH(e))return e}return!0}),xe(n=>n!==xh),Ue(1)))}function EH(t){return jo(t)||t instanceof gc}function DH(t,n){return He(e=>{let{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return s.length===0&&o.length===0?O(ae(x({},e),{guardsResult:!0})):IH(s,i,r,t).pipe(He(a=>a&&yH(a)?SH(i,o,t,n):O(a)),k(a=>ae(x({},e),{guardsResult:a})))})}function IH(t,n,e,i){return Ne(t).pipe(He(r=>OH(r.component,r.route,e,n,i)),$n(r=>r!==!0,!0))}function SH(t,n,e,i){return Ne(n).pipe(An(r=>Mn(AH(r.route.parent,i),MH(r.route,i),RH(t,r.path,e),TH(t,r.route,e))),$n(r=>r!==!0,!0))}function MH(t,n){return t!==null&&n&&n(new Hb(t)),O(!0)}function AH(t,n){return t!==null&&n&&n(new zb(t)),O(!0)}function TH(t,n,e){let i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||i.length===0)return O(!0);let r=i.map(o=>Kt(()=>{let s=xc(n)??e,a=Ia(o,s),l=_H(a)?a.canActivate(n,t):gn(s,()=>a(n,t));return Br(l).pipe($n())}));return O(r).pipe(Da())}function RH(t,n,e){let i=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>mH(s)).filter(s=>s!==null).map(s=>Kt(()=>{let a=s.guards.map(l=>{let c=xc(s.node)??e,d=Ia(l,c),u=xH(d)?d.canActivateChild(i,t):gn(c,()=>d(i,t));return Br(u).pipe($n())});return O(a).pipe(Da())}));return O(o).pipe(Da())}function OH(t,n,e,i,r){let o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!o||o.length===0)return O(!0);let s=o.map(a=>{let l=xc(n)??r,c=Ia(a,l),d=CH(c)?c.canDeactivate(t,n,e,i):gn(l,()=>c(t,n,e,i));return Br(d).pipe($n())});return O(s).pipe(Da())}function FH(t,n,e,i){let r=n.canLoad;if(r===void 0||r.length===0)return O(!0);let o=r.map(s=>{let a=Ia(s,t),l=bH(a)?a.canLoad(n,e):gn(t,()=>a(n,e));return Br(l)});return O(o).pipe(Da(),tT(i))}function tT(t){return Ep(Le(n=>{if(typeof n!="boolean")throw kh(t,n)}),k(n=>n===!0))}function kH(t,n,e,i){let r=n.canMatch;if(!r||r.length===0)return O(!0);let o=r.map(s=>{let a=Ia(s,t),l=wH(a)?a.canMatch(n,e):gn(t,()=>a(n,e));return Br(l)});return O(o).pipe(Da(),tT(i))}function ga(t){return Yi(new vc(t))}function NH(t){return Yi(new M(4e3,!1))}function LH(t){return Yi(XA(!1,cn.GuardRejected))}function PH(t,n,e,i,r){let o=nT(t,n,e);return o.matched?(i=oH(n,i),kH(i,n,e,r).pipe(k(s=>s===!0?o:x({},Jb)))):O(o)}function nT(t,n,e){if(n.path==="**")return jH(e);if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?x({},Jb):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let r=(n.matcher||F$)(e,t,n);if(!r)return x({},Jb);let o={};Object.entries(r.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=r.consumed.length>0?x(x({},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 jH(t){return{matched:!0,parameters:t.length>0?NA(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function AA(t,n,e,i){return e.length>0&&UH(t,e,i)?{segmentGroup:new Fe(n,BH(i,new Fe(e,t.children))),slicedSegments:[]}:e.length===0&&zH(t,e,i)?{segmentGroup:new Fe(t.segments,VH(t,e,i,t.children)),slicedSegments:e}:{segmentGroup:new Fe(t.segments,t.children),slicedSegments:e}}function VH(t,n,e,i){let r={};for(let o of e)if(Vh(t,n,o)&&!i[Vn(o)]){let s=new Fe([],{});r[Vn(o)]=s}return x(x({},i),r)}function BH(t,n){let e={};e[ue]=n;for(let i of t)if(i.path===""&&Vn(i)!==ue){let r=new Fe([],{});e[Vn(i)]=r}return e}function UH(t,n,e){return e.some(i=>Vh(t,n,i)&&Vn(i)!==ue)}function zH(t,n,e){return e.some(i=>Vh(t,n,i))}function Vh(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function $H(t,n,e){return n.length===0&&!t.children[e]}function HH(t,n,e,i,r,o,s="emptyOnly"){return new t_(t,n,e,i,r,s,o).recognize()}function WH(t){t.sort((n,e)=>n.value.outlet===ue?-1:e.value.outlet===ue?1:n.value.outlet.localeCompare(e.value.outlet))}function qH(t){let n=t.value.routeConfig;return n&&n.path===""}function iT(t){let n=[],e=new Set;for(let i of t){if(!qH(i)){n.push(i);continue}let r=n.find(o=>i.value.routeConfig===o.value.routeConfig);r!==void 0?(r.children.push(...i.children),e.add(r)):n.push(i)}for(let i of e){let r=iT(i.children);n.push(new ln(i.value,r))}return n.filter(i=>!e.has(i))}function TA(t){return t.data||{}}function RA(t){return t.resolve||{}}function YH(t,n,e,i,r,o){return He(s=>HH(t,n,e,i,s.extractedUrl,r,o).pipe(k(({state:a,tree:l})=>ae(x({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function KH(t,n){return He(e=>{let{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return O(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 rT(l))s.add(c);let a=0;return Ne(s).pipe(An(l=>o.has(l)?QH(l,i,t,n):(l.data=Oh(l,l.parent,t).resolve,O(void 0))),Le(()=>a++),ls(1),He(l=>a===s.size?O(e):Nt))})}function rT(t){let n=t.children.map(e=>rT(e)).flat();return[t,...n]}function QH(t,n,e,i){let r=t.routeConfig,o=t._resolve;return r?.title!==void 0&&!QA(r)&&(o[bc]=r.title),ZH(o,t,n,i).pipe(k(s=>(t._resolvedData=s,t.data=Oh(t,t.parent,e).resolve,null)))}function ZH(t,n,e,i){let r=Ob(t);if(r.length===0)return O({});let o={};return Ne(r).pipe(He(s=>XH(t[s],n,e,i).pipe($n(),Le(a=>{if(a instanceof gc)throw kh(new Ca,a);o[s]=a}))),ls(1),Qp(o),Qt(s=>eT(s)?Nt:Yi(s)))}function XH(t,n,e,i){let r=xc(n)??i,o=Ia(t,r),s=o.resolve?o.resolve(n,e):gn(r,()=>o(n,e));return Br(s)}function Tb(t){return qe(n=>{let e=t(n);return e?Ne(e).pipe(k(()=>n)):O(n)})}function r_(t){let n=t.children&&t.children.map(r_),e=n?ae(x({},t),{children:n}):x({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==ue&&(e.component=e3),e}function t3(t,n,e,i){return Br(t.loadChildren()).pipe(k(sT),He(r=>r instanceof tl||Array.isArray(r)?O(r):Ne(n.compileModuleAsync(r))),k(r=>{i&&i(t);let o,s,a=!1;return Array.isArray(r)?(s=r,a=!0):(o=r.create(e).injector,s=o.get(Lh,[],{optional:!0,self:!0}).flat()),{routes:s.map(r_),injector:o}}))}function n3(t){return t&&typeof t=="object"&&"default"in t}function sT(t){return n3(t)?t.default:t}function r3(t,n,e){let i=t.get(lT),r=t.get(z);return t.get(F).runOutsideAngular(()=>{if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,s=new Promise(c=>{o=c}),a=r.startViewTransition(()=>(o(),o3(t))),{onViewTransitionCreated:l}=i;return l&&gn(t,()=>l({transition:a,from:n,to:e})),s})}function o3(t){return new Promise(n=>{Fn({read:()=>setTimeout(n)},{injector:t})})}function a3(t){return t!==dc}function dT(t,n){t.events.pipe(xe(e=>e instanceof ci||e instanceof $i||e instanceof hc||e instanceof jr),k(e=>e instanceof ci||e instanceof jr?lc.COMPLETE:(e instanceof $i?e.code===cn.Redirect||e.code===cn.SupersededByNewNavigation:!1)?lc.REDIRECTING:lc.FAILED),xe(e=>e!==lc.REDIRECTING),Ue(1)).subscribe(()=>{n()})}function u3(t){throw t}function p3(t){for(let n=0;n<t.length;n++)if(t[n]==null)throw new M(4008,!1)}function m3(t){return!(t instanceof pc)&&!(t instanceof Ea)}function y3(t){return t.routerState.root}function Dc(t,n){return{\u0275kind:t,\u0275providers:n}}function b3(){let t=y(Me);return n=>{let e=t.get(_n);if(n!==e.components[0])return;let i=t.get(Vr),r=t.get(hT);t.get(l_)===1&&i.initialNavigation(),t.get(pT,null,he.Optional)?.setUpPreloading(),t.get(fT,null,he.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}function _3(){return Dc(2,[{provide:l_,useValue:0},{provide:Bu,multi:!0,deps:[Me],useFactory:n=>{let e=n.get(rI,Promise.resolve());return()=>e.then(()=>new Promise(i=>{let r=n.get(Vr),o=n.get(hT);dT(r,()=>{i(!0)}),n.get(a_).afterPreactivation=()=>(i(!0),o.closed?O(void 0):o),r.initialNavigation()}))}}])}function x3(){return Dc(3,[{provide:Bu,multi:!0,useFactory:()=>{let n=y(Vr);return()=>{n.setUpLocationChangeListener()}}},{provide:l_,useValue:2}])}function C3(t){return Dc(0,[{provide:pT,useExisting:g3},{provide:Ph,useExisting:t}])}function w3(){return Dc(8,[MA,{provide:jh,useExisting:MA}])}function E3(t){let n=[{provide:aT,useValue:r3},{provide:lT,useValue:x({skipNextTransition:!!t?.skipInitialTransition},t)}];return Dc(9,n)}function I3(){return{provide:fT,useFactory:()=>{let t=y(lI),n=y(F),e=y(Ec),i=y(a_),r=y(_c);return e.scrollOffset&&t.setOffset(e.scrollOffset),new v3(r,i,t,n,e)}}}function S3(){return{provide:Ti,useClass:sI}}function M3(){return{provide:Ti,useClass:Nv}}function A3(t){return"guarded"}function T3(t){return[t.initialNavigation==="disabled"?x3().\u0275providers:[],t.initialNavigation==="enabledBlocking"?_3().\u0275providers:[]]}function R3(){return[{provide:FA,useFactory:b3},{provide:Ns,multi:!0,useExisting:FA}]}var ue,bc,Rb,N$,LA,Hi,Fe,Lo,_c,Ca,B$,H$,G$,q$,K$,kb,Ih,ya,dc,_t,Dn,wa,ci,cn,Sh,$i,jr,hc,Mh,Lb,Pb,jb,Vb,Bb,Ub,zb,$b,Hb,Gb,Ah,pc,Ea,Wb,Cc,Th,ln,Rh,Vo,ba,Fh,lH,Qb,jh,MA,gc,ZA,hH,Zb,Nh,_a,xh,vc,yc,Xb,Jb,e_,GH,t_,oT,JH,Ec,e3,Lh,o_,s_,i3,aT,lT,s3,a_,l3,n_,c3,cT,d3,lc,f3,h3,Vr,uT,Ph,g3,fT,v3,hT,l_,pT,OA,D3,mT,FA,c_=f(()=>{"use strict";D();D();Re();pe();pe();ct();Ps();ue="primary",bc=Symbol("RouteTitle"),Rb=class{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};N$={exact:PA,subset:jA},LA={exact:L$,subset:P$,ignored:()=>!0};Hi=class{constructor(n=new Fe([],{}),e={},i=null){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap??=xa(this.queryParams),this._queryParamMap}toString(){return B$.serialize(this)}},Fe=class{constructor(n,e){this.segments=n,this.children=e,this.parent=null,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return wh(this)}},Lo=class{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=xa(this.parameters),this._parameterMap}toString(){return UA(this)}};_c=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:()=>new Ca,providedIn:"root"})}}return t})(),Ca=class{parse(n){let e=new kb(n);return new Hi(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${sc(n.root,!0)}`,i=$$(n.queryParams),r=typeof n.fragment=="string"?`#${U$(n.fragment)}`:"";return`${e}${i}${r}`}},B$=new Ca;H$=/^[^\/()?;#]+/;G$=/^[^\/()?;=#]+/;q$=/^[^=?&#]+/;K$=/^[^&#]+/;kb=class{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Fe([],{}):new Fe([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[ue]=new Fe(n,e)),i}parseSegment(){let n=Sb(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new M(4009,!1);return this.capture(n),new Lo(Eh(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=W$(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let r=Sb(this.remaining);r&&(i=r,this.capture(i))}n[Eh(e)]=Eh(i)}parseQueryParam(n){let e=Y$(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let s=Q$(this.remaining);s&&(i=s,this.capture(i))}let r=DA(e),o=DA(i);if(n.hasOwnProperty(r)){let s=n[r];Array.isArray(s)||(s=[s],n[r]=s),s.push(o)}else n[r]=o}parseParens(n){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=Sb(this.remaining),r=this.remaining[i.length];if(r!=="/"&&r!==")"&&r!==";")throw new M(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=ue);let s=this.parseChildren();e[o]=Object.keys(s).length===1?s[ue]:new Fe([],s),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new M(4011,!1)}};Ih=class{constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&Dh(i[0]))throw new M(4003,!1);let r=i.find(fc);if(r&&r!==NA(i))throw new M(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};ya=class{constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}};dc="imperative",_t=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(_t||{}),Dn=class{constructor(n,e){this.id=n,this.url=e}},wa=class extends Dn{constructor(n,e,i="imperative",r=null){super(n,e),this.type=_t.NavigationStart,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},ci=class extends Dn{constructor(n,e,i){super(n,e),this.urlAfterRedirects=i,this.type=_t.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},cn=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(cn||{}),Sh=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Sh||{}),$i=class extends Dn{constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r,this.type=_t.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},jr=class extends Dn{constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r,this.type=_t.NavigationSkipped}},hc=class extends Dn{constructor(n,e,i,r){super(n,e),this.error=i,this.target=r,this.type=_t.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Mh=class extends Dn{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=_t.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Lb=class extends Dn{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=_t.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Pb=class extends Dn{constructor(n,e,i,r,o){super(n,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o,this.type=_t.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},jb=class extends Dn{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=_t.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Vb=class extends Dn{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=_t.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Bb=class{constructor(n){this.route=n,this.type=_t.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Ub=class{constructor(n){this.route=n,this.type=_t.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},zb=class{constructor(n){this.snapshot=n,this.type=_t.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},$b=class{constructor(n){this.snapshot=n,this.type=_t.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Hb=class{constructor(n){this.snapshot=n,this.type=_t.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Gb=class{constructor(n){this.snapshot=n,this.type=_t.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ah=class{constructor(n,e,i){this.routerEvent=n,this.position=e,this.anchor=i,this.type=_t.Scroll}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},pc=class{},Ea=class{constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};Wb=class{get injector(){return xc(this.route?.snapshot)??this.rootInjector}set injector(n){}constructor(n){this.rootInjector=n,this.outlet=null,this.route=null,this.children=new Cc(this.rootInjector),this.attachRef=null}},Cc=(()=>{class t{constructor(e){this.rootInjector=e,this.contexts=new Map}onChildOutletCreated(e,i){let r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){let i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new Wb(this.rootInjector),this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}static{this.\u0275fac=function(i){return new(i||t)(g(Ct))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Th=class{constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=qb(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){let e=qb(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=Yb(n,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return Yb(n,this._root).map(e=>e.value)}};ln=class{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};Rh=class extends Th{constructor(n,e){super(n),this.snapshot=e,i_(this,n)}toString(){return this.snapshot.toString()}};Vo=class{constructor(n,e,i,r,o,s,a,l){this.urlSubject=n,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(k(c=>c[bc]))??O(void 0),this.url=n,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(k(n=>xa(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(k(n=>xa(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};ba=class{get title(){return this.data?.[bc]}constructor(n,e,i,r,o,s,a,l,c){this.url=n,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??=xa(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=xa(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(i=>i.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},Fh=class extends Th{constructor(n,e){super(e),this.url=n,i_(this,e)}toString(){return KA(this._root)}};lH=(()=>{class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=ue,this.activateEvents=new P,this.deactivateEvents=new P,this.attachEvents=new P,this.detachEvents=new P,this.parentContexts=y(Cc),this.location=y(Rt),this.changeDetector=y(et),this.inputBinder=y(jh,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){let{firstChange:i,previousValue:r}=e.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new M(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new M(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new M(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 M(4013,!1);this._activatedRoute=e;let r=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new Qb(e,a,r.injector);this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=V({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Ve]})}}return t})(),Qb=class t{__ngOutletInjector(n){return new t(this.route,this.childContexts,n)}constructor(n,e,i){this.route=n,this.childContexts=e,this.parent=i}get(n,e){return n===Vo?this.route:n===Cc?this.childContexts:this.parent.get(n,e)}},jh=new C(""),MA=(()=>{class t{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:i}=e,r=eo([i.queryParams,i.params,i.data]).pipe(qe(([o,s,a],l)=>(a=x(x(x({},o),s),a),l===0?O(a):Promise.resolve(a)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(e);return}let s=KD(i.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(e,r)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})();gc=class{constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},ZA="ngNavigationCancelingError";hH=(t,n,e,i)=>k(r=>(new Zb(n,r.targetRouterState,r.currentRouterState,e,i).activate(t),r)),Zb=class{constructor(n,e,i,r,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=o}activate(n){let e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),Ab(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){let r=va(e);n.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(n,e,i){let r=n.value,o=e?e.value:null;if(r===o)if(r.component){let s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=va(n);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(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=va(n);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(n,e,i){let r=va(e);n.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new Gb(o.value.snapshot))}),n.children.length&&this.forwardEvent(new $b(n.value.snapshot))}activateRoutes(n,e,i){let r=n.value,o=e?e.value:null;if(Ab(r),r===o)if(r.component){let s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,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),Ab(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=r,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,i)}},Nh=class{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},_a=class{constructor(n,e){this.component=n,this.route=e}};xh=Symbol("INITIAL_VALUE");vc=class{constructor(n){this.segmentGroup=n||null}},yc=class extends Error{constructor(n){super(),this.urlTree=n}};Xb=class{constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),r.numberOfChildren===0)return O(i);if(r.numberOfChildren>1||!r.children[ue])return NH(`${n.redirectTo}`);r=r.children[ue]}}applyRedirectCommands(n,e,i,r,o){if(typeof e!="string"){let a=e,{queryParams:l,fragment:c,routeConfig:d,url:u,outlet:m,params:h,data:v,title:b}=r,E=gn(o,()=>a({params:h,data:v,queryParams:l,fragment:c,routeConfig:d,url:u,outlet:m,title:b}));if(E instanceof Hi)throw new yc(E);e=E}let s=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,i);if(e[0]==="/")throw new yc(s);return s}applyRedirectCreateUrlTree(n,e,i,r){let o=this.createSegmentGroup(n,e.root,i,r);return new Hi(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let i={};return Object.entries(n).forEach(([r,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);i[r]=e[a]}else i[r]=o}),i}createSegmentGroup(n,e,i,r){let o=this.createSegments(n,e.segments,i,r),s={};return Object.entries(e.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(n,l,i,r)}),new Fe(o,s)}createSegments(n,e,i,r){return e.map(o=>o.path[0]===":"?this.findPosParam(n,o,r):this.findOrReturn(o,i))}findPosParam(n,e,i){let r=i[e.path.substring(1)];if(!r)throw new M(4001,!1);return r}findOrReturn(n,e){let i=0;for(let r of e){if(r.path===n.path)return e.splice(i),r;i++}return n}},Jb={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};e_=class{};GH=31,t_=class{constructor(n,e,i,r,o,s,a){this.injector=n,this.configLoader=e,this.rootComponentType=i,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Xb(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(n){return new M(4002,`'${n.segmentGroup}'`)}recognize(){let n=AA(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(k(({children:e,rootSnapshot:i})=>{let r=new ln(i,e),o=new Fh("",r),s=X$(i,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(n){let e=new ba([],Object.freeze({}),Object.freeze(x({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),ue,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,ue,e).pipe(k(i=>({children:i,rootSnapshot:e})),Qt(i=>{if(i instanceof yc)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof vc?this.noMatchError(i):i}))}processSegmentGroup(n,e,i,r,o){return i.segments.length===0&&i.hasChildren()?this.processChildren(n,e,i,o):this.processSegment(n,e,i,i.segments,r,!0,o).pipe(k(s=>s instanceof ln?[s]:[]))}processChildren(n,e,i,r){let o=[];for(let s of Object.keys(i.children))s==="primary"?o.unshift(s):o.push(s);return Ne(o).pipe(An(s=>{let a=i.children[s],l=sH(e,s);return this.processSegmentGroup(n,l,a,s,r)}),tm((s,a)=>(s.push(...a),s)),Qi(null),em(),He(s=>{if(s===null)return ga(i);let a=iT(s);return WH(a),O(a)}))}processSegment(n,e,i,r,o,s,a){return Ne(e).pipe(An(l=>this.processSegmentAgainstRoute(l._injector??n,e,l,i,r,o,s,a).pipe(Qt(c=>{if(c instanceof vc)return O(null);throw c}))),$n(l=>!!l),Qt(l=>{if(eT(l))return $H(i,r,o)?O(new e_):ga(i);throw l}))}processSegmentAgainstRoute(n,e,i,r,o,s,a,l){return Vn(i)!==s&&(s===ue||!Vh(r,o,i))?ga(r):i.redirectTo===void 0?this.matchSegmentAgainstRoute(n,r,i,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,r,e,i,o,s,l):ga(r)}expandSegmentAgainstRouteUsingRedirect(n,e,i,r,o,s,a){let{matched:l,parameters:c,consumedSegments:d,positionalParamSegments:u,remainingSegments:m}=nT(e,r,o);if(!l)return ga(e);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>GH&&(this.allowRedirects=!1));let h=new ba(o,c,Object.freeze(x({},this.urlTree.queryParams)),this.urlTree.fragment,TA(r),Vn(r),r.component??r._loadedComponent??null,r,RA(r)),v=Oh(h,a,this.paramsInheritanceStrategy);h.params=Object.freeze(v.params),h.data=Object.freeze(v.data);let b=this.applyRedirects.applyRedirectCommands(d,r.redirectTo,u,h,n);return this.applyRedirects.lineralizeSegments(r,b).pipe(He(E=>this.processSegment(n,i,e,E.concat(m),s,!1,a)))}matchSegmentAgainstRoute(n,e,i,r,o,s){let a=PH(e,i,r,n,this.urlSerializer);return i.path==="**"&&(e.children={}),a.pipe(qe(l=>l.matched?(n=i._injector??n,this.getChildConfig(n,i,r).pipe(qe(({routes:c})=>{let d=i._loadedInjector??n,{parameters:u,consumedSegments:m,remainingSegments:h}=l,v=new ba(m,u,Object.freeze(x({},this.urlTree.queryParams)),this.urlTree.fragment,TA(i),Vn(i),i.component??i._loadedComponent??null,i,RA(i)),b=Oh(v,s,this.paramsInheritanceStrategy);v.params=Object.freeze(b.params),v.data=Object.freeze(b.data);let{segmentGroup:E,slicedSegments:S}=AA(e,m,h,c);if(S.length===0&&E.hasChildren())return this.processChildren(d,c,E,v).pipe(k(G=>new ln(v,G)));if(c.length===0&&S.length===0)return O(new ln(v,[]));let B=Vn(i)===o;return this.processSegment(d,c,E,S,B?ue:o,!0,v).pipe(k(G=>new ln(v,G instanceof ln?[G]:[])))}))):ga(e)))}getChildConfig(n,e,i){return e.children?O({routes:e.children,injector:n}):e.loadChildren?e._loadedRoutes!==void 0?O({routes:e._loadedRoutes,injector:e._loadedInjector}):FH(n,e,i,this.urlSerializer).pipe(He(r=>r?this.configLoader.loadChildren(n,e).pipe(Le(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):LH(e))):O({routes:[],injector:n})}};oT=(()=>{class t{buildTitle(e){let i,r=e.root;for(;r!==void 0;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===ue);return i}getResolvedTitleForRoute(e){return e.data[bc]}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:()=>y(JH),providedIn:"root"})}}return t})(),JH=(()=>{class t extends oT{constructor(e){super(),this.title=e}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i)}static{this.\u0275fac=function(i){return new(i||t)(g(TI))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Ec=new C("",{providedIn:"root",factory:()=>({})}),e3=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["ng-component"]],standalone:!0,features:[Ee],decls:1,vars:0,template:function(i,r){i&1&&J(0,"router-outlet")},dependencies:[lH],encapsulation:2})}}return t})();Lh=new C(""),o_=(()=>{class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=y(Uu)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return O(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let i=Br(e.loadComponent()).pipe(k(sT),Le(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),$t(()=>{this.componentLoaders.delete(e)})),r=new Qr(i,()=>new R).pipe(es());return this.componentLoaders.set(e,r),r}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return O({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let o=t3(i,this.compiler,e,this.onLoadEndListener).pipe($t(()=>{this.childrenLoaders.delete(i)})),s=new Qr(o,()=>new R).pipe(es());return this.childrenLoaders.set(i,s),s}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();s_=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:()=>y(i3),providedIn:"root"})}}return t})(),i3=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),aT=new C(""),lT=new C("");s3=new C(""),a_=(()=>{class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new R,this.transitionAbortSubject=new R,this.configLoader=y(o_),this.environmentInjector=y(Ct),this.urlSerializer=y(_c),this.rootContexts=y(Cc),this.location=y(Zn),this.inputBindingEnabled=y(jh,{optional:!0})!==null,this.titleStrategy=y(oT),this.options=y(Ec,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=y(s_),this.createViewTransition=y(aT,{optional:!0}),this.navigationErrorHandler=y(s3,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>O(void 0),this.rootComponentType=null;let e=r=>this.events.next(new Bb(r)),i=r=>this.events.next(new Ub(r));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e}complete(){this.transitions?.complete()}handleNavigationRequest(e){let i=++this.navigationId;this.transitions?.next(ae(x(x({},this.transitions.value),e),{id:i}))}setupNavigations(e,i,r){return this.transitions=new it({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:dc,restoredState:null,currentSnapshot:r.snapshot,targetSnapshot:null,currentRouterState:r,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(xe(o=>o.id!==0),k(o=>ae(x({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),qe(o=>{let s=!1,a=!1;return O(o).pipe(qe(l=>{if(this.navigationId>o.id)return this.cancelNavigationTransition(o,"",cn.SupersededByNewNavigation),Nt;this.currentTransition=o,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,targetBrowserUrl:typeof l.extras.browserUrl=="string"?this.urlSerializer.parse(l.extras.browserUrl):l.extras.browserUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?ae(x({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let c=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=l.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!c&&d!=="reload"){let u="";return this.events.next(new jr(l.id,this.urlSerializer.serialize(l.rawUrl),u,Sh.IgnoredSameUrlNavigation)),l.resolve(!1),Nt}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return O(l).pipe(qe(u=>{let m=this.transitions?.getValue();return this.events.next(new wa(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),m!==this.transitions?.getValue()?Nt:Promise.resolve(u)}),YH(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),Le(u=>{o.targetSnapshot=u.targetSnapshot,o.urlAfterRedirects=u.urlAfterRedirects,this.currentNavigation=ae(x({},this.currentNavigation),{finalUrl:u.urlAfterRedirects});let m=new Mh(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(m)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:u,extractedUrl:m,source:h,restoredState:v,extras:b}=l,E=new wa(u,this.urlSerializer.serialize(m),h,v);this.events.next(E);let S=YA(this.rootComponentType).snapshot;return this.currentTransition=o=ae(x({},l),{targetSnapshot:S,urlAfterRedirects:m,extras:ae(x({},b),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=m,O(o)}else{let u="";return this.events.next(new jr(l.id,this.urlSerializer.serialize(l.extractedUrl),u,Sh.IgnoredByUrlHandlingStrategy)),l.resolve(!1),Nt}}),Le(l=>{let c=new Lb(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),k(l=>(this.currentTransition=o=ae(x({},l),{guards:pH(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),o)),DH(this.environmentInjector,l=>this.events.next(l)),Le(l=>{if(o.guardsResult=l.guardsResult,l.guardsResult&&typeof l.guardsResult!="boolean")throw kh(this.urlSerializer,l.guardsResult);let c=new Pb(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),xe(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",cn.GuardRejected),!1)),Tb(l=>{if(l.guards.canActivateChecks.length)return O(l).pipe(Le(c=>{let d=new jb(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}),qe(c=>{let d=!1;return O(c).pipe(KH(this.paramsInheritanceStrategy,this.environmentInjector),Le({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(c,"",cn.NoDataFromResolver)}}))}),Le(c=>{let d=new Vb(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}))}),Tb(l=>{let c=d=>{let u=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(d.routeConfig).pipe(Le(m=>{d.component=m}),k(()=>{})));for(let m of d.children)u.push(...c(m));return u};return eo(c(l.targetSnapshot.root)).pipe(Qi(null),Ue(1))}),Tb(()=>this.afterPreactivation()),qe(()=>{let{currentSnapshot:l,targetSnapshot:c}=o,d=this.createViewTransition?.(this.environmentInjector,l.root,c.root);return d?Ne(d).pipe(k(()=>o)):O(o)}),k(l=>{let c=cH(e.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=o=ae(x({},l),{targetRouterState:c}),this.currentNavigation.targetRouterState=c,o}),Le(()=>{this.events.next(new pc)}),hH(this.rootContexts,e.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),Ue(1),Le({next:l=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ci(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),fe(this.transitionAbortSubject.pipe(Le(l=>{throw l}))),$t(()=>{!s&&!a&&this.cancelNavigationTransition(o,"",cn.SupersededByNewNavigation),this.currentTransition?.id===o.id&&(this.currentNavigation=null,this.currentTransition=null)}),Qt(l=>{if(a=!0,JA(l))this.events.next(new $i(o.id,this.urlSerializer.serialize(o.extractedUrl),l.message,l.cancellationCode)),fH(l)?this.events.next(new Ea(l.url,l.navigationBehaviorOptions)):o.resolve(!1);else{let c=new hc(o.id,this.urlSerializer.serialize(o.extractedUrl),l,o.targetSnapshot??void 0);try{let d=gn(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(d instanceof gc){let{message:u,cancellationCode:m}=kh(this.urlSerializer,d);this.events.next(new $i(o.id,this.urlSerializer.serialize(o.extractedUrl),u,m)),this.events.next(new Ea(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(c);let u=e.errorHandler(l);o.resolve(!!u)}}catch(d){this.options.resolveNavigationPromiseOnError?o.resolve(!1):o.reject(d)}}return Nt}))}))}cancelNavigationTransition(e,i,r){let o=new $i(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==i?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();l3=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:()=>y(c3),providedIn:"root"})}}return t})(),n_=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}},c3=(()=>{class t extends n_{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(t)))(r||t)}})()}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),cT=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:()=>y(d3),providedIn:"root"})}}return t})(),d3=(()=>{class t extends cT{constructor(){super(...arguments),this.location=y(Zn),this.urlSerializer=y(_c),this.options=y(Ec,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=y(s_),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Hi,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=YA(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{i.type==="popstate"&&e(i.url,i.state)})}handleRouterEvent(e,i){if(e instanceof wa)this.stateMemento=this.createStateMemento();else if(e instanceof jr)this.rawUrlTree=i.initialUrl;else if(e instanceof Mh){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let r=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(i.targetBrowserUrl??r,i)}}else e instanceof pc?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(i.targetBrowserUrl??this.rawUrlTree,i)):e instanceof $i&&(e.code===cn.GuardRejected||e.code===cn.NoDataFromResolver)?this.restoreHistory(i):e instanceof hc?this.restoreHistory(i,!0):e instanceof ci&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,i){let r=e instanceof Hi?this.urlSerializer.serialize(e):e;if(this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl){let o=this.browserPageId,s=x(x({},i.extras.state),this.generateNgRouterState(i.id,o));this.location.replaceState(r,"",s)}else{let o=x(x({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(r,"",o)}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let r=this.browserPageId,o=this.currentPageId-r;o!==0?this.location.historyGo(o):this.currentUrlTree===e.finalUrl&&o===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(t)))(r||t)}})()}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),lc=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(lc||{});f3={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},h3={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Vr=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=y(Vu),this.stateManager=y(cT),this.options=y(Ec,{optional:!0})||{},this.pendingTasks=y(wi),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=y(a_),this.urlSerializer=y(_c),this.location=y(Zn),this.urlHandlingStrategy=y(s_),this._events=new R,this.errorHandler=this.options.errorHandler||u3,this.navigated=!1,this.routeReuseStrategy=y(l3),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=y(Lh,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!y(jh,{optional:!0}),this.eventsSubscription=new _e,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(i=>{try{let r=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(r!==null&&o!==null){if(this.stateManager.handleRouterEvent(i,o),i instanceof $i&&i.code!==cn.Redirect&&i.code!==cn.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof ci)this.navigated=!0;else if(i instanceof Ea){let s=i.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),l=x({browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||this.urlUpdateStrategy==="eager"||a3(r.source)},s);this.scheduleNavigation(a,dc,null,l,{resolve:r.resolve,reject:r.reject,promise:r.promise})}}m3(i)&&this._events.next(i)}catch(r){this.navigationTransitions.transitionAbortSubject.next(r)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),dc,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",i)},0)})}navigateToSyncWithBrowser(e,i,r){let o={replaceUrl:!0},s=r?.navigationId?r:null;if(r){let l=x({},r);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(o.state=l)}let a=this.parseUrl(e);this.scheduleNavigation(a,i,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(r_),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){let{relativeTo:r,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=l?this.currentUrlTree.fragment:s,d=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":d=x(x({},this.currentUrlTree.queryParams),o);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=o||null}d!==null&&(d=this.removeEmptyProps(d));let u;try{let m=r?r.snapshot:this.routerState.snapshot.root;u=HA(m)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),u=this.currentUrlTree.root}return GA(u,e,d,c??null)}navigateByUrl(e,i={skipLocationChange:!1}){let r=jo(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,dc,null,i)}navigate(e,i={skipLocationChange:!1}){return p3(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=x({},f3):i===!1?r=x({},h3):r=i,jo(e))return EA(this.currentUrlTree,e,r);let o=this.parseUrl(e);return EA(this.currentUrlTree,o,r)}removeEmptyProps(e){return Object.entries(e).reduce((i,[r,o])=>(o!=null&&(i[r]=o),i),{})}scheduleNavigation(e,i,r,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((u,m)=>{a=u,l=m});let d=this.pendingTasks.add();return dT(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(u=>Promise.reject(u))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();uT=(()=>{class t{constructor(e,i,r,o,s,a){this.router=e,this.route=i,this.tabIndexAttribute=r,this.renderer=o,this.el=s,this.locationStrategy=a,this.href=null,this.onChanges=new R,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area",this.isAnchorElement?this.subscription=e.events.subscribe(c=>{c instanceof ci&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(jo(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,i,r,o,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||i||r||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,l),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let i=this.href===null?null:CE(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(e,i){let r=this.renderer,o=this.el.nativeElement;i!==null?r.setAttribute(o,e,i):r.removeAttribute(o,e)}get urlTree(){return this.routerLinkInput===null?null:jo(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(i){return new(i||t)(p(Vr),p(Vo),cr("tabindex"),p(Qn),p(j),p(Ti))}}static{this.\u0275dir=V({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,r){i&1&&ee("click",function(s){return r.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),i&2&&Ie("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Ae],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Ae],replaceUrl:[2,"replaceUrl","replaceUrl",Ae],routerLink:"routerLink"},standalone:!0,features:[vt,Ve]})}}return t})(),Ph=class{},g3=(()=>{class t{constructor(e,i,r,o,s){this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(xe(e=>e instanceof ci),An(()=>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=Nu(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 Ne(r).pipe(Ki())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let r;i.loadChildren&&i.canLoad===void 0?r=this.loader.loadChildren(e,i):r=O(null);let o=r.pipe(He(s=>s===null?O(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));if(i.loadComponent&&!i._loadedComponent){let s=this.loader.loadComponent(i);return Ne([o,s]).pipe(Ki())}else return o})}static{this.\u0275fac=function(i){return new(i||t)(g(Vr),g(Uu),g(Ct),g(Ph),g(o_))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),fT=new C(""),v3=(()=>{class t{constructor(e,i,r,o,s={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=r,this.zone=o,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof wa?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof ci?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof jr&&e.code===Sh.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 Ah&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ah(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(i){Ts()}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})();hT=new C("",{factory:()=>new R}),l_=new C("",{providedIn:"root",factory:()=>1});pT=new C("");OA=new C("ROUTER_FORROOT_GUARD"),D3=[Zn,{provide:_c,useClass:Ca},Vr,Cc,{provide:Vo,useFactory:y3,deps:[Vr]},o_,[]],mT=(()=>{class t{constructor(e){}static forRoot(e,i){return{ngModule:t,providers:[D3,[],{provide:Lh,multi:!0,useValue:e},{provide:OA,useFactory:A3,deps:[[Vr,new rl,new fu]]},{provide:Ec,useValue:i||{}},i?.useHash?S3():M3(),I3(),i?.preloadingStrategy?C3(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?T3(i):[],i?.bindToComponentInputs?w3().\u0275providers:[],i?.enableViewTransitions?E3().\u0275providers:[],R3()]}}static forChild(e){return{ngModule:t,providers:[{provide:Lh,multi:!0,useValue:e}]}}static{this.\u0275fac=function(i){return new(i||t)(g(OA,8))}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({})}}return t})();FA=new C("")});var F3,gT,d_=f(()=>{"use strict";D();D();an();Fr();bt();F3=["clearButton"],gT=(()=>{class t{constructor(){this.tldClick=new P,this.ariaCode="CLOSE_BUTTON"}clicked(){this.tldClick.emit(null)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["tld-close-button"]],viewQuery:function(i,r){if(i&1&&Be(F3,5),i&2){let o;Ce(o=we())&&(r.clearButton=o.first)}},inputs:{ariaCode:"ariaCode",disabled:"disabled",tooltip:"tooltip"},outputs:{tldClick:"tldClick"},decls:6,vars:7,consts:[["clearButton",""],["mat-icon-button","",3,"click","matTooltip","disabled"],[1,"material-icons"]],template:function(i,r){if(i&1){let o=Pe();I(0,"button",1,0),de(2,"translate"),de(3,"translate"),ee("click",function(){return ye(o),be(r.clicked())}),I(4,"span",2),oe(5," close "),T()()}i&2&&(A("matTooltip",ge(2,3,r.tooltip))("disabled",r.disabled),Ie("aria-label",ge(3,5,"ARIA_LABELS."+r.ariaCode)))},dependencies:[Js,Or,yt],encapsulation:2})}}return t})()});var vT,yT=f(()=>{"use strict";pe();d_();an();bt();Fr();D();vT=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[st,Ir,ei,aa]})}}return t})()});function L3(t,n){if(t&1&&(J(0,"p",10),de(1,"translate")),t&2){let e=H();A("innerHtml",ks(1,1,e.message.title,e.message.localizationParams),dr)}}function P3(t,n){if(t&1&&(J(0,"span",12),de(1,"translate")),t&2){let e=H(2);A("innerHtml",ks(1,1,e.message.support,e.message.localizationParams),dr)}}function j3(t,n){if(t&1&&(I(0,"p",11),J(1,"span",12),de(2,"translate"),ie(3,P3,2,4,"span",13),T()),t&2){let e=H();w(),A("innerHtml",ks(2,2,e.message.body,e.message.localizationParams),dr),w(2),A("ngIf",e.message.support)}}function V3(t,n){if(t&1&&(I(0,"mat-icon"),oe(1),T()),t&2){let e=H(2);w(),dt(e.message.callbackButtonIcon)}}function B3(t,n){if(t&1){let e=Pe();I(0,"button",14),ee("click",function(){ye(e);let r=H();return be(r.message==null?null:r.message.callbackButtonClick())}),ie(1,V3,2,1,"mat-icon",15),oe(2),de(3,"translate"),T()}if(t&2){let e=H();w(),A("ngIf",e.message.callbackButtonIcon),w(),Je(" ",ge(3,2,e.message.callbackButtonText)," ")}}function U3(t,n){if(t&1){let e=Pe();I(0,"tld-close-button",16),ee("tldClick",function(){ye(e);let r=H();return be(r.closeClick())}),T()}if(t&2){let e=H();le("no-top-margin",!e.message.title||!e.message.body)}}function z3(t,n){if(t&1){let e=Pe();I(0,"button",21),ee("click",function(){ye(e);let r=H(2);return be(r.buttonClick())}),oe(1),de(2,"translate"),T()}if(t&2){let e=H(2);w(),Je("",ge(2,1,e.message.buttonText)," ")}}function $3(t,n){if(t&1){let e=Pe();I(0,"a",22),ee("click",function(){ye(e);let r=H(2);return be(r.linkClick())}),oe(1),de(2,"translate"),T()}if(t&2){let e=H(2);Ie("href",e.message.linkHref,tv),w(),dt(ge(2,2,e.message.linkText))}}function H3(t,n){if(t&1){let e=Pe();I(0,"a",23),ee("click",function(){ye(e);let r=H(2);return be(r.linkClick())}),oe(1),de(2,"translate"),T()}if(t&2){let e=H(2);A("routerLink",BD(4,N3,e.message.routerLink)),w(),dt(ge(2,2,e.message.linkText))}}function G3(t,n){if(t&1&&(I(0,"div",17),ie(1,z3,3,3,"button",18)(2,$3,3,4,"a",19)(3,H3,3,6,"a",20),T()),t&2){let e=H();w(),A("ngIf",e.message.buttonText),w(),A("ngIf",e.message.linkHref&&e.message.linkText),w(),A("ngIf",e.message.routerLink&&e.message.linkText)}}var N3,bT,Bh=f(()=>{"use strict";D();D();pe();ch();fa();d_();an();c_();Vi();bt();N3=t=>[t];bT=(()=>{class t{constructor(){this.buttonClicked=new P,this.closeClicked=new P,this.linkClicked=new P,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)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["lib-tld-notification-message"]],inputs:{message:"message",inline:"inline"},outputs:{buttonClicked:"buttonClicked",closeClicked:"closeClicked",linkClicked:"linkClicked"},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(i,r){i&1&&(I(0,"div")(1,"div",0)(2,"span",1),oe(3),T(),I(4,"div",2)(5,"div",3)(6,"div",4),ie(7,L3,2,4,"p",5)(8,j3,4,5,"p",6),T(),ie(9,B3,4,4,"button",7)(10,U3,1,2,"tld-close-button",8),T(),ie(11,G3,4,3,"div",9),T()()()),i&2&&(Pu("notification-message ",r.className,""),w(),le("inline",r.inline),A("ngClass.lt-md","mobile"),Ie("id",r.message.id),w(2),Je(" ",r.iconNames[r.message.type]," "),w(4),A("ngIf",r.message.title),w(),A("ngIf",r.message.body),w(),A("ngIf",r.message.callbackButtonText),w(),A("ngIf",!r.message.hideClose&&!r.message.callbackButtonText),w(),A("ngIf",r.message.buttonText||r.message.linkHref||r.message.routerLink))},dependencies:[hr,YM,WM,HM,$M,ua,gT,ii,uT,ri,yt],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)[_ngcontent-%COMP%] .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}"]})}}return t})()});var _T,xT=f(()=>{"use strict";pe();dh();an();c_();bt();yT();Bh();Vi();D();_T=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[st,ha,vT,Ir,ei,mT,$f]})}}return t})()});var Bo,u_=f(()=>{"use strict";Bo=function(t){return t.BASIC="BASIC",t.INFO="INFO",t.WARNING="WARNING",t.SUCCESS="SUCCESS",t.ERROR="ERROR",t}(Bo||{})});var CT=f(()=>{"use strict";u_()});var wT=f(()=>{"use strict"});var ET=f(()=>{"use strict";wT()});var f_=f(()=>{"use strict";xT();Bh();CT();ET()});var h_=f(()=>{"use strict"});var DT=f(()=>{"use strict";f_();h_()});var IT=f(()=>{"use strict"});var ST=f(()=>{"use strict";IT()});var MT=f(()=>{"use strict";h_()});var AT=f(()=>{"use strict";DT();ST();MT()});var TT=f(()=>{"use strict"});var RT=f(()=>{"use strict"});var OT=f(()=>{"use strict"});var FT=f(()=>{"use strict"});var kT=f(()=>{"use strict"});var NT=f(()=>{"use strict"});var LT=f(()=>{"use strict"});var PT=f(()=>{"use strict"});var Uo,jT=f(()=>{"use strict";Ib();Uo=class{static isMobileRes(){return window.innerWidth<pA.SMALL}}});var p_=f(()=>{"use strict"});var VT=f(()=>{"use strict";Ur();p_()});var BT=f(()=>{"use strict";p_()});var m_=f(()=>{"use strict";VT();BT()});var UT=f(()=>{"use strict";m_()});var zT=f(()=>{"use strict"});var $T=f(()=>{"use strict"});var Ur=f(()=>{"use strict";TT();RT();OT();FT();kT();NT();LT();PT();jT();UT();zT();$T()});var HT=f(()=>{"use strict"});var GT=f(()=>{"use strict"});var WT=f(()=>{"use strict"});var qT=f(()=>{"use strict"});var YT=f(()=>{"use strict"});var KT=f(()=>{"use strict"});var QT=f(()=>{"use strict"});var ZT=f(()=>{"use strict"});var XT=f(()=>{"use strict";HT();GT();WT();qT();YT();KT();QT();ZT()});var JT=f(()=>{"use strict"});var eR=f(()=>{"use strict"});var tR=f(()=>{"use strict";eR()});var nR=f(()=>{"use strict";Ur();XT();JT();tR()});var iR=f(()=>{"use strict";nR()});var rR=f(()=>{"use strict";iR()});var g_=f(()=>{"use strict"});var oR=f(()=>{"use strict";g_()});var sR=f(()=>{"use strict";oR();g_()});var v_=f(()=>{"use strict"});var aR=f(()=>{"use strict";v_()});var lR=f(()=>{"use strict";aR();v_()});var y_=f(()=>{"use strict"});var cR=f(()=>{"use strict";y_()});var dR=f(()=>{"use strict";cR();y_()});var uR,b_=f(()=>{"use strict";D();bt();uR=(()=>{class t{constructor(e){this.translate=e,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(e,i=!1){if(!e)return"";this.lastUiLanguage!==this.translate.currentLang&&(this.translationCache.clear(),this.lastUiLanguage=this.translate.currentLang);let r=`${e}:${i}`;if(this.translationCache.has(r))return this.translationCache.get(r);let o=this.getLanguageFromLanguageCode(e),a=this.isLanguageCodeSameAsRegion(e)?o:e,l=this.getTranslation(a,i);return this.translationCache.set(r,l),l}getTranslation(e,i){let o=this.translate.instant(this.languagesLocalizationKey)[e.toUpperCase().replace("-","_")]??this.getLanguageTranslationFromLanguageCode(this.translate.currentLang,e);return i&&(o=o.split("(")[0].trim()),o}getLanguageTranslationFromLanguageCode(e,i){let r=new Intl.DisplayNames([e],{type:"language"}),o=new Intl.DisplayNames([e],{type:"region"}),s,a=this.getLanguageFromLanguageCode(i),l=this.getRegionFromLanguageCode(i);try{let c=r.of(a),d=o.of(l);s=`${c} (${d})`}catch{try{s=r.of(i)}catch{return s=this.translations[e]?.[a]??i,s}}return this.capitalizeFirstLetter(s)}isLanguageCodeSameAsRegion(e){let[i,r,o]=e.split("-");return(i===r?.toLowerCase()||this.localeSameRegions[i]?.includes(r?.toLowerCase()))&&!o}getRegionFromLanguageCode(e){let[i,r,o]=e.split("-");return(o?`${r}-${o}`:`${r}`).toUpperCase()}getLanguageFromLanguageCode(e){return e.split("-")[0].toLowerCase()}capitalizeFirstLetter(e){return e.charAt(0).toUpperCase()+e.slice(1)}static{this.\u0275fac=function(i){return new(i||t)(p(Fi,16))}}static{this.\u0275pipe=Is({name:"languageTranslate",type:t,pure:!1,standalone:!0})}}return t})()});var fR=f(()=>{"use strict";b_()});var hR=f(()=>{"use strict";fR();b_()});var pR=f(()=>{"use strict"});var mR=f(()=>{"use strict"});var gR=f(()=>{"use strict"});var vR=f(()=>{"use strict"});var yR=f(()=>{"use strict";pR();mR();gR();vR()});var __=f(()=>{"use strict";yR()});var bR=f(()=>{"use strict";__()});var _R=f(()=>{"use strict";bR();__()});var x_=f(()=>{"use strict"});var xR=f(()=>{"use strict";x_()});var CR=f(()=>{"use strict";xR();x_()});var wR=f(()=>{"use strict";Ur()});var ER=f(()=>{"use strict";wR()});var C_=f(()=>{"use strict";Ur()});var DR=f(()=>{"use strict";C_()});var IR=f(()=>{"use strict";DR();C_()});var SR=f(()=>{"use strict"});var MR=f(()=>{"use strict";SR()});var AR=f(()=>{"use strict";E_()});var TR=f(()=>{"use strict";MR();AR()});var RR=f(()=>{"use strict";Ur()});var OR=f(()=>{"use strict";RR()});var FR=f(()=>{"use strict";Ur()});var kR=f(()=>{"use strict";FR()});var NR=f(()=>{"use strict";sR();lR();dR();hR();_R();CR();ER();IR();TR();m_();OR();kR()});var w_,LR=f(()=>{"use strict";NR();D();bt();w_=(()=>{class t{constructor(e){this.translateService=e}getLanguageCodeTranslation(e,i=!1){return new uR(this.translateService).transform(e,i)}removeRegionFromLanguageCode(e){return e.split("-")[0]}static{this.\u0275fac=function(i){return new(i||t)(g(Fi))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var E_=f(()=>{"use strict";LR()});var D_=f(()=>{"use strict"});var PR=f(()=>{"use strict";D_()});var jR=f(()=>{"use strict"});var VR=f(()=>{"use strict";jR();D_()});var BR=f(()=>{"use strict";PR();VR()});var I_=f(()=>{"use strict";_A();wA();AT();rR();E_();BR()});var zr,S_=f(()=>{"use strict";I_();zr=class{static addPlausible(n){let i=new xA().window;if(!i||!n)return;let r="https://plausible.io/js/plausible.js",o=document.createElement("script");o.src=r,o.setAttribute("data-domain",n),document.head.append(o),i.plausible=i.plausible||((...s)=>{(i.plausible.q=i.plausible.q||[]).push(s)})}static customEvent(n,e){let i=window;i?.plausible&&i.plausible(n,{props:e})}}});var M_=f(()=>{"use strict";S_()});var UR=f(()=>{"use strict";M_()});var zR=f(()=>{"use strict"});var $R=f(()=>{"use strict";zR()});var HR=f(()=>{"use strict";S_();M_();UR();$R()});var Uh,GR=f(()=>{"use strict";Uh=function(t){return t.GENERAL="General",t.PROFESSIONAL="Professional",t.ACADEMIC="Academic",t}(Uh||{})});var Sa,WR=f(()=>{"use strict";D();Sa=new C("LLM_CONFIGURATION_TOKEN")});var qR=f(()=>{"use strict"});var Ma=f(()=>{"use strict";WR();qR();fh()});var YR,KR=f(()=>{"use strict";D();No();Re();u_();Ma();D();No();YR=(()=>{class t{constructor(e){this.quotaService=e,this.llmConfiguration=y(Sa),this.trialRequestCount=15,this.LLMQuotaLocalStorageKey="LLM_QUOTA"}getRemainingQuota(e){return this.llmConfiguration.useLocalQuota?O(this.setQuotaLocalStorageUsage(e)):this.quotaService.getQuotaUsage().pipe(k(i=>{let r=i.usage.find(o=>o.quotaType===ze.LLM_REQUESTS||o.quotaType===ze.LEGACY_LLM_REQUESTS);return r?r.quotaRemaining:this.setQuotaLocalStorageUsage(e)}),Qt(()=>O(this.setQuotaLocalStorageUsage(e))))}getExceededLimitMessage(e){return{type:Bo.WARNING,body:"ERRORS.MAX_CHAR_LENGTH",localizationParams:{maxCharLength:this.llmConfiguration.maxCharLength,totalSymbols:e}}}getReachedQuotaMessage(){return{type:Bo.ERROR,body:"LLM.ERRORS.QUOTA_LIMIT_REACHED",localizationParams:{subscriptionUrl:this.llmConfiguration.subscriptionUrl}}}getDefaultErrorMessage(){return{type:Bo.ERROR,body:"LLM.ERRORS.DEFAULT",localizationParams:{supportEmail:this.llmConfiguration.supportEmail}}}getRequestTimeoutMessage(e){return{type:Bo.ERROR,body:`LLM.ERRORS.${e}_REQUEST_TIMEOUT`,localizationParams:{supportEmail:this.llmConfiguration.supportEmail}}}setQuotaLocalStorageUsage(e){let i=localStorage.getItem(this.LLMQuotaLocalStorageKey),r=new Date,o={remainingQuota:this.trialRequestCount,lastUsedAt:r};if(i){o=JSON.parse(i);let a=new Date(o.lastUsedAt);(a.getDate()!==r.getDate()||a.getMonth()!==r.getMonth()||a.getFullYear()!==r.getFullYear())&&(o.remainingQuota=this.trialRequestCount),e&&(o.remainingQuota-=1)}return o.lastUsedAt=r,localStorage.setItem(this.LLMQuotaLocalStorageKey,JSON.stringify(o)),o.remainingQuota}static{this.\u0275fac=function(i){return new(i||t)(g(fA))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var A_,QR,ZR,T_=f(()=>{"use strict";pe();D();A_=class{constructor(n,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=n,i.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(i)}copy(){let n=this._textarea,e=!1;try{if(n){let i=this._document.activeElement;n.select(),n.setSelectionRange(0,n.value.length),e=this._document.execCommand("copy"),i&&i.focus()}}catch{}return e}destroy(){let n=this._textarea;n&&(n.remove(),this._textarea=void 0)}},QR=(()=>{class t{constructor(e){this._document=e}copy(e){let i=this.beginCopy(e),r=i.copy();return i.destroy(),r}beginCopy(e){return new A_(e,this._document)}static{this.\u0275fac=function(i){return new(i||t)(g(z))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ZR=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({})}}return t})()});var tG,XR,R_=f(()=>{"use strict";D();Ni();Re();D();T_();an();Vi();Ni();Fr();fa();bt();tG=["textarea"],XR=(()=>{class t{constructor(e){this.clipboard=e,this.textEditEvent=new P,this.dislikeEvent=new P,this.copyEvent=new P,this.destroy=new R}ngOnInit(){this.textareaControl=new Fl(this.text)}ngAfterViewInit(){pi(this.textarea.nativeElement,"keyup").pipe(Le(e=>{e.ctrlKey&&e.key==="c"&&this.copyEvent.emit()}),mi(300),fe(this.destroy)).subscribe(()=>{this.textEditEvent.emit(this.textareaControl.value)})}ngOnChanges(e){e&&e.disabled&&(this.disabled?this.textareaControl?.disable():this.textareaControl?.enable()),e&&e.text&&(this.textareaControl=new Fl(this.text))}dislike(){this.dislikeEvent.emit()}copy(){this.clipboard.copy(this.textareaControl.value),this.copyEvent.emit()}ngOnDestroy(){this.destroy.next(null),this.destroy.complete()}static{this.\u0275fac=function(i){return new(i||t)(p(QR))}}static{this.\u0275cmp=Y({type:t,selectors:[["lib-llm-textarea"]],viewQuery:function(i,r){if(i&1&&Be(tG,5),i&2){let o;Ce(o=we())&&(r.textarea=o.first)}},inputs:{text:"text",disabled:"disabled",actionButtonsDisabled:"actionButtonsDisabled"},outputs:{textEditEvent:"textEditEvent",dislikeEvent:"dislikeEvent",copyEvent:"copyEvent"},features:[Ve],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(i,r){if(i&1){let o=Pe();I(0,"div",1)(1,"div",2)(2,"textarea",3,0),oe(4," "),T(),I(5,"div",4)(6,"mat-icon",5),de(7,"translate"),oe(8," gpp_maybe "),T(),I(9,"div")(10,"button",6),de(11,"translate"),ee("click",function(){return ye(o),be(r.dislike())}),I(12,"mat-icon",7),oe(13," thumb_down "),T()(),I(14,"button",8),de(15,"translate"),ee("click",function(){return ye(o),be(r.copy())}),I(16,"mat-icon",9),oe(17," content_copy "),T()()()()()()}i&2&&(A("ngClass.gt-lg","desktop"),w(2),A("formControl",r.textareaControl),w(4),A("matTooltip",ge(7,7,"LLM.EU_DATA_TOOLTIP")),w(4),A("matTooltip",ge(11,9,"TOOLTIPS.DISLIKE"))("disabled",r.actionButtonsDisabled||!r.textareaControl.value),w(4),A("disabled",r.actionButtonsDisabled||!r.textareaControl.value)("matTooltip",ge(15,11,"TOOLTIPS.COPY")))},dependencies:[Js,ri,Hs,Gs,my,Or,ua,yt],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}"]})}}return t})()});function rG(t,n){if(t&1){let e=Pe();I(0,"lib-tld-notification-message",14),ee("closeClicked",function(){let r=ye(e).$implicit,o=H();return be(o.closeMessage(r))}),T()}if(t&2){let e=n.$implicit;A("message",e)}}function oG(t,n){if(t&1&&(I(0,"mat-option",17),oe(1),de(2,"uppercase"),de(3,"translate"),T()),t&2){let e=n.$implicit;A("value",e),w(),Je(" ",ge(3,4,"LLM.USE_CASE."+ge(2,2,e))," ")}}function sG(t,n){if(t&1){let e=Pe();I(0,"mat-form-field",15)(1,"mat-label"),oe(2),de(3,"translate"),T(),I(4,"mat-select",16),Fs("ngModelChange",function(r){ye(e);let o=H();return pl(o.selectedUseCase,r)||(o.selectedUseCase=r),be(r)}),OD(5,oG,4,6,"mat-option",17,RD),T()()}if(t&2){let e=H();w(2),dt(ge(3,3,"LLM.USE_CASES_LABEL")),w(2),A("disabled",e.isLoading),Os("ngModel",e.selectedUseCase),w(),FD(e.useCases)}}function aG(t,n){if(t&1&&(J(0,"div",18),de(1,"translate")),t&2){let e=H();A("innerHTML",ks(1,1,e.localizationKey+"LIMIT",UD(4,iG,e.quotaLeft,e.subscriptionUrl)),dr)}}function lG(t,n){if(t&1){let e=Pe();I(0,"button",19),ee("click",function(){ye(e);let r=H();return be(r.cancel())}),oe(1),de(2,"translate"),T()}if(t&2){let e=H();w(),Je(" ",ge(2,1,e.localizationKey+"CANCEL")," ")}}function cG(t,n){if(t&1&&(I(0,"button",20),oe(1),de(2,"translate"),T()),t&2){let e=H();A("mat-dialog-close",null),w(),Je(" ",ge(2,2,e.localizationKey+"CLOSE")," ")}}function dG(t,n){if(t&1&&(I(0,"span"),oe(1),de(2,"translate"),T()),t&2){let e=H();w(),Je(" ",ge(2,1,e.isSummarized?"LLM.SUMMARY_MODAL.REGENERATE":"LLM.SUMMARY_MODAL.ACTION")," ")}}function uG(t,n){if(t&1&&(oe(0),de(1,"translate")),t&2){let e=H();Je(" ",ge(1,1,e.localizationKey+"ACTION")," ")}}function fG(t,n){t&1&&J(0,"mat-spinner",21),t&2&&A("diameter",20)}var iG,JR,O_=f(()=>{"use strict";Pr();No();Re();Ib();HR();fh();GR();D();No();KR();pe();an();Pr();Ni();Kl();Ql();Pn();Bh();Gf();R_();bt();iG=(t,n)=>({limit:t,subscriptionUrl:n});JR=(()=>{class t{get isDisabled(){return this.isLoading||!this.initialText||this.quotaLeft<1}constructor(e,i,r){this.llmService=e,this.llmHelperService=i,this.data=r,this.selectedWritingStyle=Uh.GENERAL,this.editedText="",this.manuallyEditedText="",this.savedRephrasings=[],this.llmActions=Ut,this.writingStyles=Object.values(Uh),this.useCases=[],this.messages=[],this.showUseCase=!1}ngOnInit(){this.setInitialText(),this.llmActionType===Ut.REPHRASE?(this.useCases=this.data.rephraseUseCases??Object.values(Eb),this.selectedUseCase=this.useCases[0]):this.llmActionType===Ut.SUMMARY&&(this.useCases=this.data.summaryUseCases??Object.values(bh),this.selectedUseCase=bh.General),this.showUseCase=this.llmActionType===Ut.REPHRASE&&this.data.showUseCaseRephrase||this.llmActionType===Ut.SUMMARY&&this.data.showUseCaseSummary}closeMessage(e){let i=this.messages?.findIndex(r=>JSON.stringify(r)===JSON.stringify(e));(i||i===0)&&this.messages.splice(i,1)}checkRephrasedTextSaves(e){e.value!==this.selectedWritingStyle&&(this.previousWritingStyle=this.selectedWritingStyle,this.selectedWritingStyle=e.value);let i=this.savedRephrasings.find(o=>o.style===this.selectedWritingStyle),r=this.savedRephrasings.find(o=>o.style===this.previousWritingStyle);r?r.text=this.editedText!==""?this.editedText:this.initialText:this.savedRephrasings.push({style:this.previousWritingStyle,text:this.editedText!==""?this.editedText:this.initialText}),this.editedText=i?.text??this.initialText,this.manuallyEditedText="",this.checkTextLimit()}getEditedText(){this.isLoading=!0,this.llmActionType===Ut.REPHRASE?this.writingStylePlausibleEvent():this.summaryPlausibleEvent(),this.subscription=this.getRequest()}cancel(){this.subscription.unsubscribe()}textEditEvent(e){this.manuallyEditedText=e,this.initialText=e,this.editedText="",this.checkTextLimit()}copyPlausibleEvent(){zr.customEvent(this.llmActionType.toLowerCase(),{action:"copy"})}dislikePlausibleEvent(){zr.customEvent(this.llmActionType.toLowerCase(),{action:"dislike"})}setInitialText(){this.data.text.subscribe(e=>{this.initialText=e,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 e=this.maxCharLength,i=[this.initialText,this.manuallyEditedText,this.editedText],r=this.editedText&&!this.manuallyEditedText?this.editedText:i.reduce((o,s)=>o.length>s.length?o:s);if(r.length>e){this.exceededLimitMessage&&this.closeMessage(this.exceededLimitMessage),this.exceededLimitMessage=this.llmHelperService.getExceededLimitMessage(r.length),this.messages.push(this.exceededLimitMessage);return}this.closeMessage(this.exceededLimitMessage)}writingStylePlausibleEvent(){zr.customEvent(this.llmActionType.toLowerCase(),{writingStyle:this.selectedWritingStyle})}summaryPlausibleEvent(){zr.customEvent(this.llmActionType.toLowerCase(),{action:"summary"})}refreshQuota(e){this.llmHelperService.getRemainingQuota(e).subscribe(i=>{this.quotaLeft=i,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 e=this.manuallyEditedText!==""?this.manuallyEditedText:this.initialText;return e.length>this.maxCharLength&&(e=e.substring(0,this.maxCharLength)),(this.llmActionType===Ut.REPHRASE?this.llmService.rephrase({text:e,language:this.data.language,style:this.selectedWritingStyle,useCase:this.selectedUseCase}):this.llmService.summarize({text:e,language:this.data.language,useCase:this.selectedUseCase})).pipe($t(()=>this.isLoading=!1)).subscribe(this.getRequestCallback())}getRequestCallback(){return{next:e=>{this.llmActionType===this.llmActions.SUMMARY&&(this.isSummarized=!0),this.editedText=e,this.manuallyEditedText="",this.defaultErrorMessage=this.llmHelperService.getDefaultErrorMessage(),this.closeMessage(this.defaultErrorMessage),this.closeMessage(this.requestTimeoutMessage),this.isEdited=!0,this.refreshQuota(!0),this.checkTextLimit()},error:e=>{if(e.status===Db.TIMEOUT){this.requestTimeoutMessage=this.llmHelperService.getRequestTimeoutMessage(this.llmActionType),this.messages.push(this.requestTimeoutMessage);return}this.messages.push(this.defaultErrorMessage)}}}static{this.\u0275fac=function(i){return new(i||t)(p(uA),p(YR),p(rc))}}static{this.\u0275cmp=Y({type:t,selectors:[["lib-llm-textarea-with-actions"]],decls:21,vars:22,consts:[["closeButton",""],["rephraseAction",""],["mat-dialog-title",""],["mat-dialog-content",""],[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(i,r){if(i&1){let o=Pe();I(0,"h1",2),oe(1),de(2,"translate"),T(),I(3,"div",3)(4,"p"),oe(5),de(6,"translate"),T(),ie(7,rG,1,1,"lib-tld-notification-message",4)(8,sG,7,5,"mat-form-field",5),I(9,"lib-llm-textarea",6),ee("textEditEvent",function(a){return ye(o),be(r.textEditEvent(a))})("copyEvent",function(){return ye(o),be(r.copyPlausibleEvent())})("dislikeEvent",function(){return ye(o),be(r.dislikePlausibleEvent())}),T()(),I(10,"div",7),ie(11,aG,2,7,"div",8),I(12,"div",9),ie(13,lG,3,3,"button",10)(14,cG,3,4,"ng-template",null,0,xo),I(16,"button",11),ee("click",function(){return ye(o),be(r.getEditedText())}),ie(17,dG,3,3,"span",12)(18,uG,2,3,"ng-template",null,1,xo)(20,fG,1,1,"mat-spinner",13),T()()()}if(i&2){let o=qt(15),s=qt(19);w(),dt(ge(2,18,r.localizationKey+"TITLE")),w(4),dt(ge(6,20,r.localizationKey+"DESCRIPTION")),w(2),A("ngForOf",r.messages),w(),A("ngIf",r.showUseCase),w(),le("rephrase",r.llmActionType===r.llmActions.REPHRASE),A("text",r.editedText!==""?r.editedText:r.initialText)("disabled",r.isLoading||!r.quotaLeft)("actionButtonsDisabled",!r.isEdited),w(2),A("ngIf",r.remainingQuotaMessageVisible),w(),le("w-full",!r.remainingQuotaMessageVisible),w(),A("ngIf",r.isLoading)("ngIfElse",o),w(3),A("disabled",r.isDisabled),w(),A("ngIf",r.llmActionType===r.llmActions.SUMMARY)("ngIfElse",s),w(3),A("ngIf",r.isLoading)}},dependencies:[qu,hr,ii,ph,mh,vh,gh,Gs,kl,eh,la,nh,Xs,bT,Hf,XR,aI,yt],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}"]})}}return t})()});var hG,pG,eO=f(()=>{"use strict";hG=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
18
18
  <path d="M4 5H18.6286V6.82857H4V5ZM4 10.4857H18.6286V8.65714H4V10.4857ZM4 14.1429H10.4V12.3143H4V14.1429ZM4 17.8H10.4V15.9714H4V17.8Z" fill="currentColor"/>
19
19
  <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"/>
20
20
  <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"/>
21
21
  </svg>
22
- `,vG=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
22
+ `,pG=`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
23
23
  <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"/>
24
24
  <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"/>
25
25
  <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"/>
26
26
  <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"/>
27
27
  </svg>
28
- `});var L_={};fk(L_,{REPHRASE:()=>vG,SUMMARIZE:()=>gG});var tO=f(()=>{"use strict";eO()});var nO,iO=f(()=>{"use strict";I();an();Pr();bt();I();Pr();an();nO=(()=>{class t{constructor(){this.data=y(oc)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["lib-new-feature-dialog"]],standalone:!0,features:[Ee],decls:10,vars:9,consts:[["mat-dialog-title",""],[1,"description",3,"innerHTML"],["mat-button","","mat-dialog-close","","color","accent"]],template:function(i,r){i&1&&(D(0,"h2",0),ne(1),K(2,"translate"),A(),D(3,"mat-dialog-content"),ee(4,"p",1),K(5,"translate"),A(),D(6,"mat-dialog-actions")(7,"button",2),ne(8),K(9,"translate"),A()()),i&2&&(C(),st(se(2,3,r.data.title)),C(3),S("innerHTML",se(5,5,r.data.description),fr),C(4),We(" ",se(9,7,r.data.close)," "))},dependencies:[pa,vh,yh,_h,bh,Mr,ii,yt],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}"]})}}return t})()});var rO,oO=f(()=>{"use strict";I();I();rO=(()=>{class t{constructor(){this.current=rn(void 0),this.queue=[]}requestOpenFeature(e){this.queue.includes(e)||(this.queue.push(e),this.current()||this.showNextFeature())}showNextFeature(){if(this.queue.length===0)return;let e=this.queue.shift();e&&(this.current.set(e),e.showFeatureDialog())}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var Aa,Wh=f(()=>{"use strict";I();Pr();me();iO();Ur();oO();Re();I();Aa=(()=>{class t{constructor(){this.timeout=0,this.maxWidth=320,this.#e=y(No),this.#t=y(rO),this.#n=new R,this.featureActive=rn(!1),this.isFeatureSeen=!1}#e;#t;#n;ngOnInit(){setTimeout(()=>{this.setFeatureStatus()},this.timeout)}ngOnDestroy(){this.#n.next(null),this.#n.complete()}showFeatureDialog(){let e=document.querySelector(`.${this.featureClassName}`);e&&(zo.isMobileRes()&&this.mobileScreenCustomPosition?.autoScroll&&e.scrollIntoView({behavior:"smooth",block:"center"}),setTimeout(()=>{this.featureActive.set(!0);let i=e.getBoundingClientRect();this.dialogRef=this.#e.open(nO,{data:{title:this.titleLocalizationKey,description:this.descriptionLocalizationKey,close:this.closeLocalizationKey,featureLocalStorageKey:this.featureLocalStorageKey},position:{left:`${zo.isMobileRes()&&this.mobileScreenCustomPosition?.left?this.mobileScreenCustomPosition.left:i.left-this.maxWidth+"px"}`,top:`${zo.isMobileRes()&&this.mobileScreenCustomPosition?.top?this.mobileScreenCustomPosition.top:i.top+45+"px"}`},maxWidth:`${this.maxWidth}px`}),this.dialogRef.afterClosed().subscribe(()=>{this.setFeatureSeen(),this.#t.current.set(void 0),this.#t.showNextFeature()})},zo.isMobileRes()&&this.mobileScreenCustomPosition?.autoScroll?500:0))}setFeatureStatus(){this.isFeatureSeen=!!this.featureLocalStorageKey&&!!localStorage.getItem(this.featureLocalStorageKey),this.isFeatureSeen||this.#t.requestOpenFeature(this)}setFeatureSeen(){this.featureActive.set(!1),this.isFeatureSeen=!0,this.featureLocalStorageKey&&localStorage.setItem(this.featureLocalStorageKey,"true")}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["lib-new-feature-dialog-wrapper"]],inputs:{titleLocalizationKey:"titleLocalizationKey",descriptionLocalizationKey:"descriptionLocalizationKey",closeLocalizationKey:"closeLocalizationKey",featureClassName:"featureClassName",featureLocalStorageKey:"featureLocalStorageKey",timeout:"timeout",maxWidth:"maxWidth",mobileScreenCustomPosition:"mobileScreenCustomPosition"},standalone:!0,features:[Ee],decls:0,vars:0,template:function(i,r){},dependencies:[at,pa],encapsulation:2})}}return t})()});var aO,P_=f(()=>{"use strict";I();Ma();I();an();Bi();Wh();bt();aO=(()=>{class t{constructor(){this.openModalEvent=new P}openModal(){this.openModalEvent.emit(Ut.SUMMARY)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["lib-llm-summary"]],inputs:{isTextSummarizable:"isTextSummarizable",newFeatureLocalStorageKey:"newFeatureLocalStorageKey"},outputs:{openModalEvent:"openModalEvent"},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(i,r){if(i&1){let o=Oe();D(0,"button",1),te("click",function(){return ge(o),ve(r.openModal())}),ee(1,"mat-icon",2),ne(2),K(3,"translate"),A(),ee(4,"lib-new-feature-dialog-wrapper",3,0)}if(i&2){let o=qt(5);de("summarize-feature-active",o==null?null:o.featureActive()),S("disabled",!r.isTextSummarizable),C(),S("svgIcon","summarize"),C(),We(" ",se(3,10,"LLM.SUMMARY"),`
29
- `),C(2),S("titleLocalizationKey","LLM.SUMMARY_NEW_FEATURE.TITLE")("descriptionLocalizationKey","LLM.SUMMARY_NEW_FEATURE.DESCRIPTION")("closeLocalizationKey","LLM.SUMMARY_NEW_FEATURE.CLOSE")("featureClassName","llm-summary")("featureLocalStorageKey","summary"+r.newFeatureLocalStorageKey)}},dependencies:[ii,ri,Aa,yt],styles:[".summarize-feature-active{z-index:1001!important;background-color:#fff!important}"]})}}return t})()});var lO,j_=f(()=>{"use strict";I();Ma();I();an();Bi();Wh();bt();lO=(()=>{class t{constructor(){this.openModalEvent=new P}openModal(){this.openModalEvent.emit(Ut.REPHRASE)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["lib-llm-rephrase"]],inputs:{isTargetLanguageRephrasable:"isTargetLanguageRephrasable",newFeatureLocalStorageKey:"newFeatureLocalStorageKey"},outputs:{openModalEvent:"openModalEvent"},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(i,r){if(i&1){let o=Oe();D(0,"button",1),te("click",function(){return ge(o),ve(r.openModal())}),ee(1,"mat-icon",2),ne(2),K(3,"translate"),A(),ee(4,"lib-new-feature-dialog-wrapper",3,0)}if(i&2){let o=qt(5);de("rephrase-feature-active",o==null?null:o.featureActive()),S("disabled",!r.isTargetLanguageRephrasable),C(),S("svgIcon","rephrase"),C(),We(" ",se(3,11,"LLM.REPHRASE"),`
30
- `),C(2),S("titleLocalizationKey","LLM.REPHRASE_NEW_FEATURE.TITLE")("descriptionLocalizationKey","LLM.REPHRASE_NEW_FEATURE.DESCRIPTION")("closeLocalizationKey","LLM.REPHRASE_NEW_FEATURE.CLOSE")("featureClassName","llm-rephrase")("featureLocalStorageKey","rephrase"+r.newFeatureLocalStorageKey)("maxWidth",400)}},dependencies:[ii,ri,Aa,yt],styles:[".rephrase-feature-active{z-index:1001!important;background-color:#fff!important}"]})}}return t})()});function _G(t,n){if(t&1){let e=Oe();D(0,"div",2),K(1,"translate"),D(2,"lib-llm-summary",3),te("openModalEvent",function(r){ge(e);let o=$();return ve(o.openLLMModal(r))}),A()()}if(t&2){let e=$();S("matTooltipPosition","left")("matTooltip",e.isTextSummarizable?"":se(1,4,"LLM.MENU_SUMMARY_DISABLED_TOOLTIP")),C(2),S("isTextSummarizable",!!e.isTextSummarizable)("newFeatureLocalStorageKey",e.newFeatureLocalStorageKey)}}function xG(t,n){if(t&1){let e=Oe();D(0,"div",2),K(1,"translate"),D(2,"lib-llm-rephrase",4),te("openModalEvent",function(r){ge(e);let o=$();return ve(o.openLLMModal(r))}),A()()}if(t&2){let e=$();S("matTooltipPosition","left")("matTooltip",e.isTargetLanguageRephrasable?"":se(1,4,"LLM.MENU_REPHRASE_DISABLED_TOOLTIP")),C(2),S("isTargetLanguageRephrasable",!!e.isTargetLanguageRephrasable)("newFeatureLocalStorageKey",e.newFeatureLocalStorageKey)}}var cO,qh=f(()=>{"use strict";I();mh();N_();tO();Re();I();Pr();A_();me();zi();P_();j_();bt();cO=(()=>{class t{get isTextSummarizable(){return this.text}get isTargetLanguageRephrasable(){return!this.rephrasableLanguagesCodeList||this.language&&this.rephrasableLanguagesCodeList.includes(this.languageService.removeRegionFromLanguageCode(this.language))}constructor(e,i,r){this.dialog=e,this.iconService=i,this.languageService=r,this.summaryEnabled=!0,this.rephraseEnabled=!0,this.showUseCaseSummary=!1,this.showUseCaseRephrase=!1,this.menuTriggerClick=new P,this.llmAction=Ut,this.iconService.registerIcons(L_)}openLLMModal(e){let i;!this.text||typeof this.text=="string"?i=O(this.text??""):i=this.text;let r={text:i,language:this.language,action:e,showUseCaseSummary:this.showUseCaseSummary,showUseCaseRephrase:this.showUseCaseRephrase};this.dialog.open(JR,{panelClass:"responsive-dialog",maxWidth:"800px",width:"100%",data:r})}static{this.\u0275fac=function(i){return new(i||t)(p(No),p(yA),p(I_))}}static{this.\u0275cmp=Y({type:t,selectors:[["lib-llm"]],inputs:{text:"text",language:"language",rephrasableLanguagesCodeList:"rephrasableLanguagesCodeList",summaryEnabled:"summaryEnabled",rephraseEnabled:"rephraseEnabled",showUseCaseSummary:"showUseCaseSummary",showUseCaseRephrase:"showUseCaseRephrase",newFeatureLocalStorageKey:"newFeatureLocalStorageKey"},outputs:{menuTriggerClick:"menuTriggerClick"},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(i,r){i&1&&(D(0,"div",0),ie(1,_G,3,6,"div",1)(2,xG,3,6,"div",1),A()),i&2&&(C(),S("ngIf",r.summaryEnabled),C(),S("ngIf",r.rephraseEnabled))},dependencies:[mr,ai,aO,lO,yt],styles:[".llm-wrapper[_ngcontent-%COMP%]{display:flex;gap:8px}"]})}}return t})()});var dO=f(()=>{"use strict"});var uO=f(()=>{"use strict";dO()});var fO=f(()=>{"use strict";Wh();uO()});var hO,pO=f(()=>{"use strict";me();qh();an();Bi();bt();Pr();k_();Li();F_();Zl();m_();zi();hh();Kf();N_();fO();j_();P_();I();hO=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[at,Mr,qf,ei,pa,ZR,If,lS,sh,_T,aa,ha,qS,Aa]})}}return t})()});var mO=f(()=>{"use strict";qh();pO();Ma()});var gO,vO=f(()=>{"use strict";gO={en:{TOOLTIPS:{COPY:"Copy to clipboard",DISLIKE:"Dislike"},LLM:{USE_CASES_LABEL:"Use case",SUMMARY:"Summarize",REPHRASE:"Rephrase",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>",WRITING_STYLES:{TITLE:"Writing style",TOOLTIP_GENERAL:`Formality: Use a low to medium level of formality.
31
- Vocabulary: Optimal for simple and clear language, avoiding technical jargon.
32
- Sentence Structure: Keep sentences simple to moderately complex.
33
- Tone: Maintain a friendly and engaging tone.`,TOOLTIP_PROFESSIONAL:`Formality: Use a medium to high level of formality.
34
- Vocabulary: Utilize industry-specific terminology and jargon where appropriate.
35
- Sentence Structure: Ensure sentences are clear and concise, with some complexity.
36
- Tone: Maintain a professional, respectful, and straightforward tone.`,TOOLTIP_ACADEMIC:`Formality: Use a high level of formality.
37
- Vocabulary: Incorporate technical and subject-specific terminology.
38
- Sentence Structure: Utilize complex sentence structures with a focus on clarity and precision.
39
- Tone: Maintain an objective, analytical, and sometimes impersonal tone.`,SPECIFIC_STYLE:"{{style}} writing style",GENERAL:"General",PROFESSIONAL:"Professional",ACADEMIC:"Academic"}},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",EVENT:"Conference",GENERAL:"General"}},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>",WRITING_STYLES:{TITLE:"Kirjutamisstiil",TOOLTIP_GENERAL:`Formaalsus: Kasutage madalat kuni keskmist formaalsust.
40
- S\xF5nastik: Optimaalne on lihtne ja selge keel, v\xE4ltides tehnilist oskuskeelt.
41
- Lauseehitus: Hoidke laused lihtsad kuni m\xF5\xF5dukalt keerulised.
42
- Toon: s\xE4ilitage s\xF5bralik ja kaasav toon.`,TOOLTIP_PROFESSIONAL:`Formaalsus: Kasutage keskmist kuni suurt formaalsust.
43
- S\xF5nastik: Vajaduse korral kasutada valdkonnap\xF5hist terminoloogiat ja oskuskeelt.
44
- Lauseehitus: Veenduge, et laused on selged ja l\xFChikesed, kuid mingil m\xE4\xE4ral keerulised.
45
- Toon: S\xE4ilitage professionaalne, lugupidav ja otsekohene toon.`,TOOLTIP_ACADEMIC:`Formaalsus: Kasutage suurt formaalsust.
46
- S\xF5nastik: Tehnilise ja erialase terminoloogia kaasamine.
47
- Lauseehitus: Kasutage keerulisi lauseehitusi, keskendudes selgusele ja t\xE4psusele.
48
- Toon: S\xE4ilitage objektiivne, anal\xFC\xFCtiline ja m\xF5nikord neutraalne toon.`,SPECIFIC_STYLE:"{{style}} kirjutamisstiil",GENERAL:"\xDCldine",PROFESSIONAL:"Professionaalne",ACADEMIC:"Akadeemiline"}},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:"Koosolek",EVENT:"Konverents",GENERAL:"\xDCldine"},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>",WRITING_STYLES:{TITLE:"Ra\u0161ymo stilius",TOOLTIP_GENERAL:`Formalumas: taikyti ma\u017E\u0105 ar vidutin\u012F formalumo lyg\u012F.
49
- \u017Dodynas: optimalus paprastam ir ai\u0161kiam stiliui, vengti techninio \u017Eargono.
50
- Sakini\u0173 strukt\u016Bra: sakiniai turi b\u016Bti paprasti arba vidutinio sud\u0117tingumo.
51
- Tonas: i\u0161laikyti draugi\u0161k\u0105 ir patraukl\u0173 ton\u0105.`,TOOLTIP_PROFESSIONAL:`Formalumas: taikyti vidutin\u012F ar auk\u0161t\u0105 formalumo lyg\u012F.
52
- \u017Dodynas: prireikus naudoti konkre\u010Dios srities terminologij\u0105 ir \u017Eargon\u0105.
53
- Sakini\u0173 strukt\u016Bra: u\u017Etikrinkite, kad sakiniai b\u016Bt\u0173 ai\u0161k\u016Bs ir glausti, \u0161iek tiek sud\u0117tingesni.
54
- Tonas: i\u0161laikykite profesional\u0173, pagarb\u0173 ir paprast\u0105 ton\u0105.`,TOOLTIP_ACADEMIC:`Formalumas: taikyti auk\u0161t\u0105 formalumo lyg\u012F.
55
- \u017Dodynas: \u012Ftraukti technin\u0119 ir konkre\u010Dios srities terminologij\u0105.
56
- Sakini\u0173 strukt\u016Bra: naudoti sud\u0117tingas sakini\u0173 strukt\u016Bras daugiausia d\u0117mesio skiriant ai\u0161kumui ir tikslumui.
57
- Tonas: i\u0161laikyti objektyv\u0173, analitin\u012F ir kartais nuasmenint\u0105 ton\u0105.`,SPECIFIC_STYLE:"{{style}} ra\u0161ymo stilius",GENERAL:"bendrasis",PROFESSIONAL:"profesionalus",ACADEMIC:"akademinis"}},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:"Susitikimas",EVENT:"Konferencija",GENERAL:"Bendrasis"},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>",WRITING_STYLES:{TITLE:"Rakst\u012Bbas stils",TOOLTIP_GENERAL:`Form\u0101lisms: izmantojiet zema l\u012Bdz vid\u0113ja l\u012Bme\u0146a form\u0101lismu.
58
- Leksika: optim\u0101ls vienk\u0101r\u0161ai un skaidrai valodai, izvairoties no tehnisk\u0101 \u017Eargona.
59
- Teikumu strukt\u016Bra: izmantojiet vienk\u0101r\u0161us l\u012Bdz vid\u0113ji sare\u017E\u0123\u012Btus teikumus.
60
- Tonis: uzturiet draudz\u012Bgu un iesaisto\u0161u toni.`,TOOLTIP_PROFESSIONAL:`Form\u0101lisms: izmantojiet vid\u0113ja l\u012Bdz augsta l\u012Bme\u0146a form\u0101lismu.
61
- Leksika: p\u0113c nepiecie\u0161am\u012Bbas izmantojiet nozarei rakstur\u012Bgu terminolo\u0123iju un \u017Eargonu.
62
- Teikumu strukt\u016Bra: nodro\u0161iniet, ka teikumi ir skaidri un kodol\u012Bgi, bet ne p\u0101r\u0101k sare\u017E\u0123\u012Bti.
63
- Tonis: uzturiet profesion\u0101lu, cie\u0146pilnu un vienk\u0101r\u0161u toni.`,TOOLTIP_ACADEMIC:`Form\u0101lisms: izmantojiet augsta l\u012Bme\u0146a form\u0101lismu.
64
- Leksika: iek\u013Caujiet tehnisku un t\u0113mai rakstur\u012Bgu terminolo\u0123iju.
65
- Teikumu strukt\u016Bra: izmantojiet sare\u017E\u0123\u012Btu teikumu strukt\u016Bru, koncentr\u0113joties uz skaidr\u012Bbu un precizit\u0101ti.
66
- Tonis: uzturiet objekt\u012Bvu, anal\u012Btisku un da\u017Ek\u0101rt bezpersonisku toni.`,SPECIFIC_STYLE:"{{style}} rakst\u012Bbas stils",GENERAL:"Visp\u0101r\u012Bgs",PROFESSIONAL:"Profesion\u0101ls",ACADEMIC:"Akad\u0113misks"}},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\u0101ksme",EVENT:"Konference",GENERAL:"Visp\u0101r\u012Bgs"},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 Yh,V_=f(()=>{"use strict";I();mO();cy();vO();Lo();I();qh();Yh=(()=>{class t extends uf{#e;#t;get showUseCaseSummary(){return this._showUseCaseSummary}set showUseCaseSummary(e){this._showUseCaseSummary=this.ensureTypeBool(e)}get showUseCaseRephrase(){return this._showUseCaseRephrase}set showUseCaseRephrase(e){this._showUseCaseRephrase=this.ensureTypeBool(e)}constructor(){super(gO),this.#e=y(Sa),this.#t=y(sc),this.supportEmail="support@tilde.com",this.maxCharLength=1e5,this._showUseCaseSummary=!1,this._showUseCaseRephrase=!1}ngOnInit(){super.ngOnInit(),this.#n()}ngOnChanges(){super.ngOnChanges(),this.#n()}#n(){this.#r(),this.#i()}#r(){this.serviceUrl&&(this.#t.llmService.url=this.serviceUrl),this.subscriptionUrl&&(this.#e.subscriptionUrl=this.subscriptionUrl),this.supportEmail&&(this.#e.supportEmail=this.supportEmail),this.appId&&(this.#t.sharedConfiguration.xAppId=this.appId),this.maxCharLength&&(this.#e.maxCharLength=this.maxCharLength),this.useLocalQuota!==void 0&&(this.#e.useLocalQuota=this.ensureTypeBool(this.useLocalQuota))}#i(){this.quotaServiceUrl&&(this.#t.quotaService.url=this.quotaServiceUrl)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,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"},standalone:!0,features:[ye,Ve,Ee],decls:1,vars:4,consts:[[3,"language","text","showUseCaseSummary","showUseCaseRephrase"]],template:function(i,r){i&1&&ee(0,"lib-llm",0),i&2&&S("language",r.language)("text",r.text)("showUseCaseSummary",r.showUseCaseSummary)("showUseCaseRephrase",r.showUseCaseRephrase)},dependencies:[hO,cO]})}}return t})()});var wG,EG,DG,IG,yO,bO=f(()=>{"use strict";me();Cb();V_();I();wG=()=>({voice:"lv-LV-male",voiceName:"Austris"}),EG=()=>({voice:"lv-LV-female",voiceName:"Marta"}),DG=()=>({voice:"lv-LV-sandra",voiceName:"Sandra"}),IG=(t,n,e)=>[t,n,e],yO=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["app-root"]],standalone:!0,features:[Ot([]),Ee],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(i,r){i&1&&ee(0,"app-llm",0)(1,"app-text-to-speech",1),i&2&&(S("showUseCaseSummary",!1)("showUseCaseRephrase",!1)("useLocalQuota",!1),C(),S("voices",zD(8,IG,Uu(5,wG),Uu(6,EG),Uu(7,DG)))("maxCharLength",500))},dependencies:[at,ph,Yh],encapsulation:2})}}return t})()});var _O,xO=f(()=>{"use strict";_O={production:!0}});function CO(t){return new T(3e3,!1)}function SG(){return new T(3100,!1)}function MG(){return new T(3101,!1)}function AG(t){return new T(3001,!1)}function TG(t){return new T(3003,!1)}function RG(t){return new T(3004,!1)}function OG(t,n){return new T(3005,!1)}function kG(){return new T(3006,!1)}function FG(){return new T(3007,!1)}function NG(t,n){return new T(3008,!1)}function LG(t){return new T(3002,!1)}function PG(t,n,e,i,r){return new T(3010,!1)}function jG(){return new T(3011,!1)}function VG(){return new T(3012,!1)}function BG(){return new T(3200,!1)}function UG(){return new T(3202,!1)}function zG(){return new T(3013,!1)}function $G(t){return new T(3014,!1)}function HG(t){return new T(3015,!1)}function GG(t){return new T(3016,!1)}function WG(t,n){return new T(3404,!1)}function qG(t){return new T(3502,!1)}function YG(t){return new T(3503,!1)}function KG(){return new T(3300,!1)}function QG(t){return new T(3504,!1)}function ZG(t){return new T(3301,!1)}function XG(t,n){return new T(3302,!1)}function JG(t){return new T(3303,!1)}function e8(t,n){return new T(3400,!1)}function t8(t){return new T(3401,!1)}function n8(t){return new T(3402,!1)}function i8(t,n){return new T(3505,!1)}function $r(t){switch(t.length){case 0:return new kr;case 1:return t[0];default:return new Wl(t)}}function LO(t,n,e=new Map,i=new Map){let r=[],o=[],s=-1,a=null;if(n.forEach(l=>{let c=l.get("offset"),d=c==s,u=d&&a||new Map;l.forEach((m,h)=>{let v=h,b=m;if(h!=="offset")switch(v=t.normalizePropertyName(v,r),b){case eh:b=e.get(h);break;case oi:b=i.get(h);break;default:b=t.normalizeStyleValue(h,v,b,r);break}u.set(v,b)}),d||o.push(u),a=u,s=c}),r.length)throw qG(r);return o}function l0(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&B_(e,"start",t)));break;case"done":t.onDone(()=>i(e&&B_(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&B_(e,"destroy",t)));break}}function B_(t,n,e){let i=e.totalTime,r=!!e.disabled,o=c0(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,i??t.totalTime,r),s=t._data;return s!=null&&(o._data=s),o}function c0(t,n,e,i,r="",o=0,s){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function un(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function wO(t){let n=t.indexOf(":"),e=t.substring(1,n),i=t.slice(n+1);return[e,i]}function d0(t){let n=t.parentNode||t.host||null;return n===r8?null:n}function o8(t){return t.substring(1,6)=="ebkit"}function s8(t){$o||($o=a8()||{},EO=$o.style?"WebkitAppearance"in $o.style:!1);let n=!0;return $o.style&&!o8(t)&&(n=t in $o.style,!n&&EO&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in $o.style)),n}function a8(){return typeof document<"u"?document.body:null}function PO(t,n){for(;n;){if(n===t)return!0;n=d0(n)}return!1}function jO(t,n,e){if(e)return Array.from(t.querySelectorAll(n));let i=t.querySelector(n);return i?[i]:[]}function qi(t){if(typeof t=="number")return t;let n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:Y_(parseFloat(n[1]),n[2])}function Y_(t,n){switch(n){case"s":return t*l8;default:return t}}function tp(t,n,e){return t.hasOwnProperty("duration")?t:d8(t,n,e)}function d8(t,n,e){let i=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,r,o=0,s="";if(typeof t=="string"){let a=t.match(i);if(a===null)return n.push(CO(t)),{duration:0,delay:0,easing:""};r=Y_(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(o=Y_(parseFloat(l),a[4]));let c=a[5];c&&(s=c)}else r=t;if(!e){let a=!1,l=n.length;r<0&&(n.push(SG()),a=!0),o<0&&(n.push(MG()),a=!0),a&&n.splice(l,0,CO(t))}return{duration:r,delay:o,easing:s}}function u8(t){return t.length?t[0]instanceof Map?t:t.map(n=>new Map(Object.entries(n))):[]}function ui(t,n,e){n.forEach((i,r)=>{let o=f0(r);e&&!e.has(r)&&e.set(r,t.style[o]),t.style[o]=i})}function Go(t,n){n.forEach((e,i)=>{let r=f0(i);t.style[r]=""})}function Sc(t){return Array.isArray(t)?t.length==1?t[0]:rM(t):t}function f8(t,n,e){let i=n.params||{},r=UO(t);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(AG(o))})}function UO(t){let n=[];if(typeof t=="string"){let e;for(;e=K_.exec(t);)n.push(e[1]);K_.lastIndex=0}return n}function Ac(t,n,e){let i=`${t}`,r=i.replace(K_,(o,s)=>{let a=n[s];return a==null&&(e.push(TG(s)),a=""),a.toString()});return r==i?t:r}function f0(t){return t.replace(h8,(...n)=>n[1].toUpperCase())}function p8(t,n){return t===0||n===0}function m8(t,n,e){if(e.size&&n.length){let i=n[0],r=[];if(e.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;o<n.length;o++){let s=n[o];r.forEach(a=>s.set(a,h0(t,a)))}}return n}function dn(t,n,e){switch(n.type){case le.Trigger:return t.visitTrigger(n,e);case le.State:return t.visitState(n,e);case le.Transition:return t.visitTransition(n,e);case le.Sequence:return t.visitSequence(n,e);case le.Group:return t.visitGroup(n,e);case le.Animate:return t.visitAnimate(n,e);case le.Keyframes:return t.visitKeyframes(n,e);case le.Style:return t.visitStyle(n,e);case le.Reference:return t.visitReference(n,e);case le.AnimateChild:return t.visitAnimateChild(n,e);case le.AnimateRef:return t.visitAnimateRef(n,e);case le.Query:return t.visitQuery(n,e);case le.Stagger:return t.visitStagger(n,e);default:throw RG(n.type)}}function h0(t,n){return window.getComputedStyle(t)[n]}function v8(t,n){let e=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(i=>y8(i,e,n)):e.push(t),e}function y8(t,n,e){if(t[0]==":"){let l=b8(t,e);if(typeof l=="function"){n.push(l);return}t=l}let i=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return e.push(HG(t)),n;let r=i[1],o=i[2],s=i[3];n.push(IO(r,s));let a=r==ip&&s==ip;o[0]=="<"&&!a&&n.push(IO(s,r))}function b8(t,n){switch(t){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 n.push(GG(t)),"* => *"}}function IO(t,n){let e=Qh.has(t)||Zh.has(t),i=Qh.has(n)||Zh.has(n);return(r,o)=>{let s=t==ip||t==r,a=n==ip||n==o;return!s&&e&&typeof r=="boolean"&&(s=r?Qh.has(t):Zh.has(t)),!a&&i&&typeof o=="boolean"&&(a=o?Qh.has(n):Zh.has(n)),s&&a}}function $O(t,n,e,i){return new Q_(t).build(n,e,i)}function x8(t){let n=!!t.split(/\s*,\s*/).find(e=>e==zO);return n&&(t=t.replace(_8,"")),t=t.replace(/@\*/g,ep).replace(/@\w+/g,e=>ep+"-"+e.slice(1)).replace(/:animating/g,q_),[t,n]}function C8(t){return t?x({},t):null}function w8(t){if(typeof t=="string")return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){let i=e;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}function E8(t,n){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=tp(t,n).duration;return U_(o,0,"")}let e=t;if(e.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=U_(0,0,"");return o.dynamic=!0,o.strValue=e,o}let r=tp(e,n);return U_(r.duration,r.delay,r.easing)}function Ho(t){return t?(t=x({},t),t.params&&(t.params=C8(t.params))):t={},t}function U_(t,n,e){return{duration:t,delay:n,easing:e}}function p0(t,n,e,i,r,o,s=null,a=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}function HO(t,n,e,i,r,o=new Map,s=new Map,a,l,c=[]){return new X_().buildKeyframes(t,n,e,i,r,o,s,a,l,c)}function MO(t,n=3){let e=Math.pow(10,n-1);return Math.round(t*e)/e}function T8(t,n){let e=new Map,i;return t.forEach(r=>{if(r==="*"){i??=n.keys();for(let o of i)e.set(o,oi)}else for(let[o,s]of r)e.set(o,s)}),e}function AO(t,n,e,i,r,o,s,a,l,c,d,u,m){return{type:0,element:t,triggerName:n,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:m}}function R8(t,n,e,i,r){return t.some(o=>o(n,e,i,r))}function GO(t,n){let e=x({},n);return Object.entries(t).forEach(([i,r])=>{r!=null&&(e[i]=r)}),e}function O8(t,n,e){return new n0(t,n,e)}function k8(t,n,e){let i=[(s,a)=>!0],r={type:le.Sequence,steps:[],options:null},o={type:le.Transition,animation:r,matchers:i,options:null,queryCount:0,depCount:0};return new sp(t,o,n)}function TO(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}function U8(t,n,e){let i=t.get(n);if(i){if(i.length){let r=i.indexOf(e);i.splice(r,1)}i.length==0&&t.delete(n)}return i}function z8(t){return t??null}function Xh(t){return t&&t.nodeType===1}function $8(t){return t=="start"||t=="done"}function OO(t,n){let e=t.style.display;return t.style.display=n??"none",e}function kO(t,n,e,i,r){let o=[];e.forEach(l=>o.push(OO(l)));let s=[];i.forEach((l,c)=>{let d=new Map;l.forEach(u=>{let m=n.computeStyle(c,u,r);d.set(u,m),(!m||m.length==0)&&(c[Bn]=B8,s.push(c))}),t.set(c,d)});let a=0;return e.forEach(l=>OO(l,o[a++])),s}function FO(t,n){let e=new Map;if(t.forEach(a=>e.set(a,[])),n.length==0)return e;let i=1,r=new Set(n),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 n.forEach(a=>{let l=s(a);l!==i&&e.get(l).push(a)}),e}function In(t,n){t.classList?.add(n)}function Ta(t,n){t.classList?.remove(n)}function H8(t,n,e){$r(e).onDone(()=>t.processLeaveNode(n))}function G8(t){let n=[];return qO(t,n),n}function qO(t,n){for(let e=0;e<t.length;e++){let i=t[e];i instanceof Wl?qO(i.players,n):n.push(i)}}function W8(t,n){let e=Object.keys(t),i=Object.keys(n);if(e.length!=i.length)return!1;for(let r=0;r<e.length;r++){let o=e[r];if(!n.hasOwnProperty(o)||t[o]!==n[o])return!1}return!0}function NO(t,n,e){let i=e.get(t);if(!i)return!1;let r=n.get(t);return r?i.forEach(o=>r.add(o)):n.set(t,i),e.delete(t),!0}function q8(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=G_(n[0]),n.length>1&&(i=G_(n[n.length-1]))):n instanceof Map&&(e=G_(n)),e||i?new s0(t,e,i):null}function G_(t){let n=null;return t.forEach((e,i)=>{Y8(i)&&(n=n||new Map,n.set(i,e))}),n}function Y8(t){return t==="display"||t==="position"}function K8(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function Q8(t){let n=t.indexOf("."),e=t.substring(0,n),i=t.slice(n+1);return[e,i]}var r8,$o,EO,u0,Wo,qo,l8,VO,c8,BO,W_,Kh,ep,DO,q_,K_,h8,g8,np,ip,Qh,Zh,zO,_8,SO,Q_,Z_,Tc,D8,I8,S8,M8,A8,X_,rp,J_,op,e0,z_,sp,t0,n0,F8,i0,RO,N8,$_,L8,P8,j8,V8,WO,B8,Bn,Rc,Mc,H_,r0,o0,Oc,Ra,s0,ap,lp,Jh,YO,cp,a0,dp,m0=f(()=>{"use strict";th();I();I();r8=typeof document>"u"?null:document.documentElement;$o=null,EO=!1;u0=(()=>{class t{validateStyleProperty(e){return s8(e)}containsElement(e,i){return PO(e,i)}getParentElement(e){return d0(e)}query(e,i,r){return jO(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,s,a=[],l){return new kr(r,o)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),Wo=class{static{this.NOOP=new u0}},qo=class{},l8=1e3,VO="{{",c8="}}",BO="ng-enter",W_="ng-leave",Kh="ng-trigger",ep=".ng-trigger",DO="ng-animating",q_=".ng-animating";K_=new RegExp(`${VO}\\s*(.+?)\\s*${c8}`,"g");h8=/-+([a-z0-9])/g;g8=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"]),np=class extends qo{normalizePropertyName(n,e){return f0(n)}normalizeStyleValue(n,e,i,r){let o="",s=i.toString().trim();if(g8.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(OG(n,i))}return s+o}},ip="*";Qh=new Set(["true","1"]),Zh=new Set(["false","0"]);zO=":self",_8=new RegExp(`s*${zO}s*,?`,"g");SO="",Q_=class{constructor(n){this._driver=n}build(n,e,i){let r=new Z_(e);return this._resetContextStyleTimingState(r),dn(this,Sc(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector=SO,n.collectedStyles=new Map,n.collectedStyles.set(SO,new Map),n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,r=e.depCount=0,o=[],s=[];return n.name.charAt(0)=="@"&&e.errors.push(kG()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),a.type==le.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==le.Transition){let l=this.visitTransition(a,e);i+=l.queryCount,r+=l.depCount,s.push(l)}else e.errors.push(FG())}),{type:le.Trigger,name:n.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(n,e){let i=this.visitStyle(n.styles,e),r=n.options&&n.options.params||null;if(i.containsDynamicStyles){let o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{UO(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&e.errors.push(NG(n.name,[...o.values()]))}return{type:le.State,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;let i=dn(this,Sc(n.animation),e),r=v8(n.expr,e.errors);return{type:le.Transition,matchers:r,animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Ho(n.options)}}visitSequence(n,e){return{type:le.Sequence,steps:n.steps.map(i=>dn(this,i,e)),options:Ho(n.options)}}visitGroup(n,e){let i=e.currentTime,r=0,o=n.steps.map(s=>{e.currentTime=i;let a=dn(this,s,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:le.Group,steps:o,options:Ho(n.options)}}visitAnimate(n,e){let i=E8(n.timings,e.errors);e.currentAnimateTimings=i;let r,o=n.styles?n.styles:si({});if(o.type==le.Keyframes)r=this.visitKeyframes(o,e);else{let s=n.styles,a=!1;if(!s){a=!0;let c={};i.easing&&(c.easing=i.easing),s=si(c)}e.currentTime+=i.duration+i.delay;let l=this.visitStyle(s,e);l.isEmptyStep=a,r=l}return e.currentAnimateTimings=null,{type:le.Animate,timings:i,style:r,options:null}}visitStyle(n,e){let i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){let i=[],r=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of r)typeof a=="string"?a===oi?i.push(a):e.errors.push(LG(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(VO)>=0){o=!0;break}}}),{type:le.Style,styles:i,easing:s,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,e){let i=e.currentAnimateTimings,r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),n.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let c=e.collectedStyles.get(e.currentQuerySelector),d=c.get(l),u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(e.errors.push(PG(l,d.startTime,d.endTime,o,r)),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:r}),e.options&&f8(a,e.options,e.errors)})})}visitKeyframes(n,e){let i={type:le.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(jG()),i;let r=1,o=0,s=[],a=!1,l=!1,c=0,d=n.steps.map(M=>{let B=this._makeStyleAst(M,e),G=B.offset!=null?B.offset:w8(B.styles),De=0;return G!=null&&(o++,De=B.offset=G),l=l||De<0||De>1,a=a||De<c,c=De,s.push(De),B});l&&e.errors.push(VG()),a&&e.errors.push(BG());let u=n.steps.length,m=0;o>0&&o<u?e.errors.push(UG()):o==0&&(m=r/(u-1));let h=u-1,v=e.currentTime,b=e.currentAnimateTimings,E=b.duration;return d.forEach((M,B)=>{let G=m>0?B==h?1:m*B:s[B],De=G*E;e.currentTime=v+b.delay+De,b.duration=De,this._validateStyleAst(M,e),M.offset=G,i.styles.push(M)}),i}visitReference(n,e){return{type:le.Reference,animation:dn(this,Sc(n.animation),e),options:Ho(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:le.AnimateChild,options:Ho(n.options)}}visitAnimateRef(n,e){return{type:le.AnimateRef,animation:this.visitReference(n.animation,e),options:Ho(n.options)}}visitQuery(n,e){let i=e.currentQuerySelector,r=n.options||{};e.queryCount++,e.currentQuery=n;let[o,s]=x8(n.selector);e.currentQuerySelector=i.length?i+" "+o:o,un(e.collectedStyles,e.currentQuerySelector,new Map);let a=dn(this,Sc(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:le.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:Ho(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(zG());let i=n.timings==="full"?{duration:0,delay:0,easing:"full"}:tp(n.timings,e.errors,!0);return{type:le.Stagger,animation:dn(this,Sc(n.animation),e),timings:i,options:null}}};Z_=class{constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};Tc=class{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}},D8=1,I8=":enter",S8=new RegExp(I8,"g"),M8=":leave",A8=new RegExp(M8,"g");X_=class{buildKeyframes(n,e,i,r,o,s,a,l,c,d=[]){c=c||new Tc;let u=new J_(n,e,c,r,o,d,[]);u.options=l;let m=l.delay?qi(l.delay):0;u.currentTimeline.delayNextStep(m),u.currentTimeline.setStyles([s],null,u.errors,l),dn(this,i,u);let h=u.timelines.filter(v=>v.containsAnimation());if(h.length&&a.size){let v;for(let b=h.length-1;b>=0;b--){let E=h[b];if(E.element===e){v=E;break}}v&&!v.allowOnlyTimelineStyles()&&v.setStyles([a],null,u.errors,l)}return h.length?h.map(v=>v.buildKeyframes()):[p0(e,[],[],[],0,m,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){let i=e.subInstructions.get(e.element);if(i){let r=e.createSubContext(n.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&e.transformIntoNewTimeline(s)}e.previousNode=n}visitAnimateRef(n,e){let i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],e,i),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_applyAnimationRefDelays(n,e,i){for(let r of n){let o=r?.delay;if(o){let s=typeof o=="number"?o:qi(Ac(o,r?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(n,e,i){let o=e.currentTimeline.currentTime,s=i.duration!=null?qi(i.duration):null,a=i.delay!=null?qi(i.delay):null;return s!==0&&n.forEach(l=>{let c=e.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(n,e){e.updateOptions(n.options,!0),dn(this,n.animation,e),e.previousNode=n}visitSequence(n,e){let i=e.subContextCount,r=e,o=n.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),o.delay!=null)){r.previousNode.type==le.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=rp);let s=qi(o.delay);r.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>dn(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){let i=[],r=e.currentTimeline.currentTime,o=n.options&&n.options.delay?qi(n.options.delay):0;n.steps.forEach(s=>{let a=e.createSubContext(n.options);o&&a.delayNextStep(o),dn(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=n}_visitTiming(n,e){if(n.dynamic){let i=n.strValue,r=e.params?Ac(i,e.params,e.errors):i;return tp(r,e.errors)}else return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){let i=e.currentAnimateTimings=this._visitTiming(n.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());let o=n.style;o.type==le.Keyframes?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){let i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();let o=r&&r.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(o):i.setStyles(n.styles,o,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){let i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,n.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=n}visitQuery(n,e){let i=e.currentTimeline.currentTime,r=n.options||{},o=r.delay?qi(r.delay):0;o&&(e.previousNode.type===le.Style||i==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=rp);let s=i,a=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{e.currentQueryIndex=d;let u=e.createSubContext(n.options,c);o&&u.delayNextStep(o),c===e.element&&(l=u.currentTimeline),dn(this,n.animation,u),u.currentTimeline.applyStylesToKeyframe();let m=u.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=n}visitStagger(n,e){let i=e.parentContext,r=e.currentTimeline,o=n.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 u=d.currentTime;dn(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=r.currentTime-u+(r.startTime-i.currentTimeline.startTime)}},rp={},J_=class t{constructor(n,e,i,r,o,s,a,l){this._driver=n,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=rp,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new op(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;let i=n,r=this.options;i.duration!=null&&(r.duration=qi(i.duration)),i.delay!=null&&(r.delay=qi(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]=Ac(o[a],s,this.errors))})}}_copyOptions(){let n={};if(this.options){let e=this.options.params;if(e){let i=n.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return n}createSubContext(n=null,e,i){let r=e||this.element,o=new t(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(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=rp,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){let r={duration:e??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},o=new e0(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,r,n.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,r,o,s){let a=[];if(r&&a.push(this.element),n.length>0){n=n.replace(S8,"."+this._enterClassName),n=n.replace(A8,"."+this._leaveClassName);let l=i!=1,c=this._driver.query(this.element,n,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($G(e)),a}},op=class t{constructor(n,e,i,r){this._driver=n,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(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(n){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new t(this._driver,n,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+=D8,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||oi),this._currentKeyframe.set(e,oi);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,r){e&&this._previousKeyframe.set("easing",e);let o=r&&r.params||{},s=T8(n,this._globalTimelineStyles);for(let[a,l]of s){let c=Ac(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((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,i)=>{let r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let n=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,u)=>{d===eh?n.add(u):d===oi&&e.add(u)}),i||c.set("offset",l/this.duration),r.push(c)});let o=[...n.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 p0(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}},e0=class extends op{constructor(n,e,i,r,o,s,a=!1){super(n,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 n=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(n[0]);l.set("offset",0),o.push(l);let c=new Map(n[0]);c.set("offset",MO(a)),o.push(c);let d=n.length-1;for(let u=1;u<=d;u++){let m=new Map(n[u]),h=m.get("offset"),v=e+h*i;m.set("offset",MO(v/s)),o.push(m)}i=s,e=0,r="",n=o}return p0(this.element,n,this.preStyleProps,this.postStyleProps,i,e,r,!0)}};z_={},sp=class{constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,r){return R8(this.ast.matchers,n,e,i,r)}buildStyles(n,e,i){let r=this._stateStyles.get("*");return n!==void 0&&(r=this._stateStyles.get(n?.toString())||r),r?r.buildStyles(e,i):new Map}build(n,e,i,r,o,s,a,l,c,d){let u=[],m=this.ast.options&&this.ast.options.params||z_,h=a&&a.params||z_,v=this.buildStyles(i,h,u),b=l&&l.params||z_,E=this.buildStyles(r,b,u),M=new Set,B=new Map,G=new Map,De=r==="void",nt={params:GO(b,m),delay:this.ast.options?.delay},Te=d?[]:HO(n,e,this.ast.animation,o,s,v,E,nt,c,u),$e=0;return Te.forEach(ht=>{$e=Math.max(ht.duration+ht.delay,$e)}),u.length?AO(e,this._triggerName,i,r,De,v,E,[],[],B,G,$e,u):(Te.forEach(ht=>{let fi=ht.element,Yo=un(B,fi,new Set);ht.preStyleProps.forEach(Hr=>Yo.add(Hr));let v0=un(G,fi,new Set);ht.postStyleProps.forEach(Hr=>v0.add(Hr)),fi!==e&&M.add(fi)}),AO(e,this._triggerName,i,r,De,v,E,Te,[...M.values()],B,G,$e))}};t0=class{constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){let i=new Map,r=GO(n,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=Ac(s,r,e));let l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),i.set(a,s)})}),i}};n0=class{constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(r=>{let o=r.options&&r.options.params||{};this.states.set(r.name,new t0(r.style,o,i))}),TO(this.states,"true","1"),TO(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new sp(n,r,this.states))}),this.fallbackTransition=k8(n,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,i,r){return this.transitionFactories.find(s=>s.match(n,e,i,r))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}};F8=new Tc,i0=class{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,e){let i=[],r=[],o=$O(this._driver,e,i,r);if(i.length)throw YG(i);r.length&&void 0,this._animations.set(n,o)}_buildPlayer(n,e,i){let r=n.element,o=LO(this._normalizer,n.keyframes,e,i);return this._driver.animate(r,o,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){let r=[],o=this._animations.get(n),s,a=new Map;if(o?(s=HO(this._driver,e,o,BO,W_,new Map,new Map,i,F8,r),s.forEach(d=>{let u=un(a,d.element,new Map);d.postStyleProps.forEach(m=>u.set(m,null))})):(r.push(KG()),s=[]),r.length)throw QG(r);a.forEach((d,u)=>{d.forEach((m,h)=>{d.set(h,this._driver.computeStyle(u,h,oi))})});let l=s.map(d=>{let u=a.get(d.element);return this._buildPlayer(d,new Map,u)}),c=$r(l);return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){let e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);let i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){let e=this._playersById.get(n);if(!e)throw ZG(n);return e}listen(n,e,i,r){let o=c0(e,"","","");return l0(this._getPlayer(n),i,o,r),()=>{}}command(n,e,i,r){if(i=="register"){this.register(n,r[0]);return}if(i=="create"){let s=r[0]||{};this.create(n,e,s);return}let o=this._getPlayer(n);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(n);break}}},RO="ng-animate-queued",N8=".ng-animate-queued",$_="ng-animate-disabled",L8=".ng-animate-disabled",P8="ng-star-inserted",j8=".ng-star-inserted",V8=[],WO={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},B8={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Bn="__ng_removed",Rc=class{get params(){return this.options.params}constructor(n,e=""){this.namespaceId=e;let i=n&&n.hasOwnProperty("value"),r=i?n.value:n;if(this.value=z8(r),i){let o=n,{value:s}=o,a=hp(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){let e=n.params;if(e){let i=this.options.params;Object.keys(e).forEach(r=>{i[r]==null&&(i[r]=e[r])})}}},Mc="void",H_=new Rc(Mc),r0=class{constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,In(e,this._hostClassName)}listen(n,e,i,r){if(!this._triggers.has(e))throw XG(i,e);if(i==null||i.length==0)throw JG(e);if(!$8(i))throw e8(i,e);let o=un(this._elementListeners,n,[]),s={name:e,phase:i,callback:r};o.push(s);let a=un(this._engine.statesByElement,n,new Map);return a.has(e)||(In(n,Kh),In(n,Kh+"-"+e),a.set(e,H_)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(n,e){return this._triggers.has(n)?!1:(this._triggers.set(n,e),!0)}_getTrigger(n){let e=this._triggers.get(n);if(!e)throw t8(n);return e}trigger(n,e,i,r=!0){let o=this._getTrigger(e),s=new Oc(this.id,e,n),a=this._engine.statesByElement.get(n);a||(In(n,Kh),In(n,Kh+"-"+e),this._engine.statesByElement.set(n,a=new Map));let l=a.get(e),c=new Rc(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=H_),!(c.value===Mc)&&l.value===c.value){if(!W8(l.params,c.params)){let b=[],E=o.matchStyles(l.value,l.params,b),M=o.matchStyles(c.value,c.params,b);b.length?this._engine.reportError(b):this._engine.afterFlush(()=>{Go(n,E),ui(n,M)})}return}let m=un(this._engine.playersByElement,n,[]);m.forEach(b=>{b.namespaceId==this.id&&b.triggerName==e&&b.queued&&b.destroy()});let h=o.matchTransition(l.value,c.value,n,c.params),v=!1;if(!h){if(!r)return;h=o.fallbackTransition,v=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:h,fromState:l,toState:c,player:s,isFallbackTransition:v}),v||(In(n,RO),s.onStart(()=>{Ta(n,RO)})),s.onDone(()=>{let b=this.players.indexOf(s);b>=0&&this.players.splice(b,1);let E=this._engine.playersByElement.get(n);if(E){let M=E.indexOf(s);M>=0&&E.splice(M,1)}}),this.players.push(s),m.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);let e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){let i=this._engine.driver.query(n,ep,!0);i.forEach(r=>{if(r[Bn])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(n,e,i,r){let o=this._engine.statesByElement.get(n),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(n,c,Mc,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,s),i&&$r(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){let e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);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)||H_,d=new Rc(Mc),u=new Oc(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(n,e){let i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let r=!1;if(i.totalAnimations){let o=i.players.length?i.playersByQueriedElement.get(n):[];if(o&&o.length)r=!0;else{let s=n;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(n),r)i.markElementAsRemoved(this.id,n,!1,e);else{let o=n[Bn];(!o||o===WO)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){In(n,this._hostClassName)}drainQueuedTransitions(n){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=c0(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,l0(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(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}},o0=class{_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}constructor(n,e,i){this.bodyNode=n,this.driver=e,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,o)=>{}}get queuedPlayers(){let n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){let i=new r0(n,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[n]=i}_balanceNamespaceList(n,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,n),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(n)}else i.push(n);return r.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let r=this._namespaceLookup[n];r&&r.register(e,i)&&this.totalAnimations++}destroy(n,e){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(n);this.namespacesByHostElement.delete(i.hostElement);let r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(e),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){let e=new Set,i=this.statesByElement.get(n);if(i){for(let r of i.values())if(r.namespaceId){let o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}}return e}trigger(n,e,i,r){if(Xh(e)){let o=this._fetchNamespace(n);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(n,e,i,r){if(!Xh(e))return;let o=e[Bn];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){let s=this._fetchNamespace(n);s&&s.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),In(n,$_)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Ta(n,$_))}removeNode(n,e,i){if(Xh(e)){let r=n?this._fetchNamespace(n):null;r?r.removeNode(e,i):this.markElementAsRemoved(n,e,!1,i);let o=this.namespacesByHostElement.get(e);o&&o.id!==n&&o.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(n,e,i,r,o){this.collectedLeaveElements.push(e),e[Bn]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,e,i,r,o){return Xh(e)?this._fetchNamespace(n).listen(e,i,r,o):()=>{}}_buildInstruction(n,e,i,r,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,r,n.fromState.options,n.toState.options,e,o)}destroyInnerAnimations(n){let e=this.driver.query(n,ep,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(n,q_,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){let e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){let e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return $r(this.players).onDone(()=>n());n()})}processLeaveNode(n){let e=n[Bn];if(e&&e.setForRemoval){if(n[Bn]=WO,e.namespaceId){this.destroyInnerAnimations(n);let i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains($_)&&this.markElementAsDisabled(n,!1),this.driver.query(n,L8,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-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];In(r,P8)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let i=[];try{e=this._flushAnimations(i,n)}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?$r(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw n8(n)}_flushAnimations(n,e){let i=new Tc,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(U=>{d.add(U);let W=this.driver.query(U,N8,!0);for(let Q=0;Q<W.length;Q++)d.add(W[Q])});let u=this.bodyNode,m=Array.from(this.statesByElement.keys()),h=FO(m,this.collectedEnterElements),v=new Map,b=0;h.forEach((U,W)=>{let Q=BO+b++;v.set(W,Q),U.forEach(Se=>In(Se,Q))});let E=[],M=new Set,B=new Set;for(let U=0;U<this.collectedLeaveElements.length;U++){let W=this.collectedLeaveElements[U],Q=W[Bn];Q&&Q.setForRemoval&&(E.push(W),M.add(W),Q.hasAnimation?this.driver.query(W,j8,!0).forEach(Se=>M.add(Se)):B.add(W))}let G=new Map,De=FO(m,Array.from(M));De.forEach((U,W)=>{let Q=W_+b++;G.set(W,Q),U.forEach(Se=>In(Se,Q))}),n.push(()=>{h.forEach((U,W)=>{let Q=v.get(W);U.forEach(Se=>Ta(Se,Q))}),De.forEach((U,W)=>{let Q=G.get(W);U.forEach(Se=>Ta(Se,Q))}),E.forEach(U=>{this.processLeaveNode(U)})});let nt=[],Te=[];for(let U=this._namespaceList.length-1;U>=0;U--)this._namespaceList[U].drainQueuedTransitions(e).forEach(Q=>{let Se=Q.player,pt=Q.element;if(nt.push(Se),this.collectedEnterElements.length){let Dt=pt[Bn];if(Dt&&Dt.setForMove){if(Dt.previousTriggersValues&&Dt.previousTriggersValues.has(Q.triggerName)){let Gr=Dt.previousTriggersValues.get(Q.triggerName),fn=this.statesByElement.get(Q.element);if(fn&&fn.has(Q.triggerName)){let kc=fn.get(Q.triggerName);kc.value=Gr,fn.set(Q.triggerName,kc)}}Se.destroy();return}}let Un=!u||!this.driver.containsElement(u,pt),Yt=G.get(pt),Yi=v.get(pt),Qe=this._buildInstruction(Q,i,Yi,Yt,Un);if(Qe.errors&&Qe.errors.length){Te.push(Qe);return}if(Un){Se.onStart(()=>Go(pt,Qe.fromStyles)),Se.onDestroy(()=>ui(pt,Qe.toStyles)),r.push(Se);return}if(Q.isFallbackTransition){Se.onStart(()=>Go(pt,Qe.fromStyles)),Se.onDestroy(()=>ui(pt,Qe.toStyles)),r.push(Se);return}let _0=[];Qe.timelines.forEach(Dt=>{Dt.stretchStartingKeyframe=!0,this.disabledNodes.has(Dt.element)||_0.push(Dt)}),Qe.timelines=_0,i.append(pt,Qe.timelines);let lk={instruction:Qe,player:Se,element:pt};s.push(lk),Qe.queriedElements.forEach(Dt=>un(a,Dt,[]).push(Se)),Qe.preStyleProps.forEach((Dt,Gr)=>{if(Dt.size){let fn=l.get(Gr);fn||l.set(Gr,fn=new Set),Dt.forEach((kc,fp)=>fn.add(fp))}}),Qe.postStyleProps.forEach((Dt,Gr)=>{let fn=c.get(Gr);fn||c.set(Gr,fn=new Set),Dt.forEach((kc,fp)=>fn.add(fp))})});if(Te.length){let U=[];Te.forEach(W=>{U.push(i8(W.triggerName,W.errors))}),nt.forEach(W=>W.destroy()),this.reportError(U)}let $e=new Map,ht=new Map;s.forEach(U=>{let W=U.element;i.has(W)&&(ht.set(W,W),this._beforeAnimationBuild(U.player.namespaceId,U.instruction,$e))}),r.forEach(U=>{let W=U.element;this._getPreviousPlayers(W,!1,U.namespaceId,U.triggerName,null).forEach(Se=>{un($e,W,[]).push(Se),Se.destroy()})});let fi=E.filter(U=>NO(U,l,c)),Yo=new Map;kO(Yo,this.driver,B,c,oi).forEach(U=>{NO(U,l,c)&&fi.push(U)});let Hr=new Map;h.forEach((U,W)=>{kO(Hr,this.driver,new Set(U),l,eh)}),fi.forEach(U=>{let W=Yo.get(U),Q=Hr.get(U);Yo.set(U,new Map([...W?.entries()??[],...Q?.entries()??[]]))});let up=[],y0=[],b0={};s.forEach(U=>{let{element:W,player:Q,instruction:Se}=U;if(i.has(W)){if(d.has(W)){Q.onDestroy(()=>ui(W,Se.toStyles)),Q.disabled=!0,Q.overrideTotalTime(Se.totalTime),r.push(Q);return}let pt=b0;if(ht.size>1){let Yt=W,Yi=[];for(;Yt=Yt.parentNode;){let Qe=ht.get(Yt);if(Qe){pt=Qe;break}Yi.push(Yt)}Yi.forEach(Qe=>ht.set(Qe,pt))}let Un=this._buildAnimation(Q.namespaceId,Se,$e,o,Hr,Yo);if(Q.setRealPlayer(Un),pt===b0)up.push(Q);else{let Yt=this.playersByElement.get(pt);Yt&&Yt.length&&(Q.parentPlayer=$r(Yt)),r.push(Q)}}else Go(W,Se.fromStyles),Q.onDestroy(()=>ui(W,Se.toStyles)),y0.push(Q),d.has(W)&&r.push(Q)}),y0.forEach(U=>{let W=o.get(U.element);if(W&&W.length){let Q=$r(W);U.setRealPlayer(Q)}}),r.forEach(U=>{U.parentPlayer?U.syncPlayerEvents(U.parentPlayer):U.destroy()});for(let U=0;U<E.length;U++){let W=E[U],Q=W[Bn];if(Ta(W,W_),Q&&Q.hasAnimation)continue;let Se=[];if(a.size){let Un=a.get(W);Un&&Un.length&&Se.push(...Un);let Yt=this.driver.query(W,q_,!0);for(let Yi=0;Yi<Yt.length;Yi++){let Qe=a.get(Yt[Yi]);Qe&&Qe.length&&Se.push(...Qe)}}let pt=Se.filter(Un=>!Un.destroyed);pt.length?H8(this,W,pt):this.processLeaveNode(W)}return E.length=0,up.forEach(U=>{this.players.push(U),U.onDone(()=>{U.destroy();let W=this.players.indexOf(U);this.players.splice(W,1)}),U.play()}),up}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,r,o){let s=[];if(e){let a=this.playersByQueriedElement.get(n);a&&(s=a)}else{let a=this.playersByElement.get(n);if(a){let l=!o||o==Mc;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(n,e,i){let r=e.triggerName,o=e.element,s=e.isRemovalTransition?void 0:n,a=e.isRemovalTransition?void 0:r;for(let l of e.timelines){let c=l.element,d=c!==o,u=un(i,c,[]);this._getPreviousPlayers(c,d,s,a,e.toState).forEach(h=>{let v=h.getRealPlayer();v.beforeDestroy&&v.beforeDestroy(),h.destroy(),u.push(h)})}Go(o,e.fromStyles)}_buildAnimation(n,e,i,r,o,s){let a=e.triggerName,l=e.element,c=[],d=new Set,u=new Set,m=e.timelines.map(v=>{let b=v.element;d.add(b);let E=b[Bn];if(E&&E.removedBeforeQueried)return new kr(v.duration,v.delay);let M=b!==l,B=G8((i.get(b)||V8).map($e=>$e.getRealPlayer())).filter($e=>{let ht=$e;return ht.element?ht.element===b:!1}),G=o.get(b),De=s.get(b),nt=LO(this._normalizer,v.keyframes,G,De),Te=this._buildPlayer(v,nt,B);if(v.subTimeline&&r&&u.add(b),M){let $e=new Oc(n,a,b);$e.setRealPlayer(Te),c.push($e)}return Te});c.forEach(v=>{un(this.playersByQueriedElement,v.element,[]).push(v),v.onDone(()=>U8(this.playersByQueriedElement,v.element,v))}),d.forEach(v=>In(v,DO));let h=$r(m);return h.onDestroy(()=>{d.forEach(v=>Ta(v,DO)),ui(l,e.toStyles)}),u.forEach(v=>{un(r,v,[]).push(h)}),h}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new kr(n.duration,n.delay)}},Oc=class{constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i,this._player=new kr,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>l0(n,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){let e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){un(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}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(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){let e=this._player;e.triggerCallback&&e.triggerCallback(n)}};Ra=class{constructor(n,e,i){this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new o0(n.body,e,i),this._timelineEngine=new i0(n.body,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(n,e,i,r,o){let s=n+"-"+r,a=this._triggerCache[s];if(!a){let l=[],c=[],d=$O(this._driver,o,l,c);if(l.length)throw WG(r,l);c.length&&void 0,a=O8(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,r,a)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,r){this._transitionEngine.insertNode(n,e,i,r)}onRemove(n,e,i){this._transitionEngine.removeNode(n,e,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,r){if(i.charAt(0)=="@"){let[o,s]=wO(i),a=r;this._timelineEngine.command(o,e,s,a)}else this._transitionEngine.trigger(n,e,i,r)}listen(n,e,i,r,o){if(i.charAt(0)=="@"){let[s,a]=wO(i);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(n,e,i,r,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}};s0=class t{static{this.initialStylesByElement=new WeakMap}constructor(n,e,i){this._element=n,this._startStyles=e,this._endStyles=i,this._state=0;let r=t.initialStylesByElement.get(n);r||t.initialStylesByElement.set(n,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&ui(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ui(this._element,this._initialStyles),this._endStyles&&(ui(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Go(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Go(this._element,this._endStyles),this._endStyles=null),ui(this._element,this._initialStyles),this._state=3)}};ap=class{constructor(n,e,i,r){this.element=n,this.keyframes=e,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.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(n){let e=[];return n.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(n,e,i){return n.animate(this._convertKeyframesToObject(e),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),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(n=>n()),this._onDestroyFns=[])}setPosition(n){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{r!=="offset"&&n.set(r,this._finished?i:h0(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){let e=n==="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},lp=class{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}containsElement(n,e){return PO(n,e)}getParentElement(n){return d0(n)}query(n,e,i){return jO(n,e,i)}computeStyle(n,e,i){return h0(n,e)}animate(n,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(h=>h instanceof ap);p8(i,r)&&d.forEach(h=>{h.currentSnapshot.forEach((v,b)=>c.set(b,v))});let u=u8(e).map(h=>new Map(h));u=m8(n,u,c);let m=q8(n,u);return new ap(n,u,l,m)}},Jh="@",YO="@.disabled",cp=class{constructor(n,e,i,r){this.namespaceId=n,this.delegate=e,this.engine=i,this._onDestroy=r,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,r=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,r)}removeChild(n,e,i){this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,r){this.delegate.setAttribute(n,e,i,r)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,r){this.delegate.setStyle(n,e,i,r)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){e.charAt(0)==Jh&&e==YO?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i){return this.delegate.listen(n,e,i)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}},a0=class extends cp{constructor(n,e,i,r,o){super(e,i,r,o),this.factory=n,this.namespaceId=e}setProperty(n,e,i){e.charAt(0)==Jh?e.charAt(1)=="."&&e==YO?(i=i===void 0?!0:!!i,this.disableAnimations(n,i)):this.engine.process(this.namespaceId,n,e.slice(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i){if(e.charAt(0)==Jh){let r=K8(n),o=e.slice(1),s="";return o.charAt(0)!=Jh&&([o,s]=Q8(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,i,a)})}return this.delegate.listen(n,e,i)}};dp=class{constructor(n,e,i){this.delegate=n,this.engine=e,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,e.onRemovalComplete=(r,o)=>{o?.removeChild(null,r)}}createRenderer(n,e){let i="",r=this.delegate.createRenderer(n,e);if(!n||!e?.data?.animation){let c=this._rendererCache,d=c.get(r);if(!d){let u=()=>c.delete(r);d=new cp(i,r,this.engine,u),c.set(r,d)}return d}let o=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,n);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,n,c.name,c)};return e.data.animation.forEach(a),new a0(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,e,i){if(n>=0&&n<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()}}});function J8(){return new np}function e4(t,n,e){return new dp(t,n,e)}function QO(){return bn("NgEagerAnimations"),[...t4]}var X8,KO,t4,xce,ZO=f(()=>{"use strict";I();I();Ps();m0();m0();me();X8=(()=>{class t extends Ra{constructor(e,i,r){super(e,i,r)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(i){return new(i||t)(g(z),g(Wo),g(qo))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})();KO=[{provide:qo,useFactory:J8},{provide:Ra,useClass:X8},{provide:ar,useFactory:e4,deps:[of,Ra,k]}],t4=[{provide:Wo,useFactory:()=>new lp},{provide:rt,useValue:"BrowserAnimations"},...KO],xce=[{provide:Wo,useClass:u0},{provide:rt,useValue:"NoopAnimations"},...KO]});var XO,JO=f(()=>{"use strict";Ma();XO=()=>({provide:Sa,useFactory:()=>({supportEmail:"",maxCharLength:1e4,subscriptionUrl:"",useLocalQuota:!0})})});var ek,tk=f(()=>{"use strict";df();ek=()=>({provide:Us,useValue:{}})});var nk,ik=f(()=>{"use strict";I();df();Re();nk=(t,n)=>{let e=y(Us),i=window;if(e.skipAuthUrls?.find(r=>t.url.includes(r)))return n(t);if(i.getTildeWebComponentAuthToken){let r=i.getTildeWebComponentAuthToken;return Le(r()).pipe(He(o=>{let s=t.clone({setHeaders:{Authorization:`Bearer ${o}`}});return n(s)}))}if(e.xApiKey){let r=t.clone({setHeaders:{"X-Api-Key":`${e.xApiKey}`}});return n(r)}return n(t)}});var rk,ok=f(()=>{"use strict";Lo();rk=()=>{let t="https://services.tilde.com/service";return{provide:sc,useFactory:()=>({sharedConfiguration:{xAppId:""},quotaService:{url:`${t}/quota/usage`},llmService:{url:`${t}/language-assistant`}})}}});var g0,sk=f(()=>{"use strict";bl();I();ZO();bt();JO();tk();ik();ok();g0={providers:[bI(_I([nk])),QO(),Vg(ei.forRoot()),XO(),rk(),ek()]}});var n4=uk(ak=>{QD();Ps();bO();V_();xO();sk();Cb();Ko(ak,null,function*(){let t=yield MI(g0),n=Rv(ph,{injector:t.injector}),e=Rv(Yh,{injector:t.injector});customElements.define("tilde-text-to-speech",n),customElements.define("tilde-llm",e)});_O.production||SI(yO,g0).catch(t=>console.error(t))});export default n4();
28
+ `});var F_={};fF(F_,{REPHRASE:()=>pG,SUMMARIZE:()=>hG});var tO=f(()=>{"use strict";eO()});var nO,iO=f(()=>{"use strict";D();an();Pr();bt();D();Pr();an();nO=(()=>{class t{constructor(){this.data=y(rc)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["lib-new-feature-dialog"]],standalone:!0,features:[Ee],decls:10,vars:9,consts:[["mat-dialog-title",""],[1,"description",3,"innerHTML"],["mat-button","","mat-dialog-close","","color","accent"]],template:function(i,r){i&1&&(I(0,"h2",0),oe(1),de(2,"translate"),T(),I(3,"mat-dialog-content"),J(4,"p",1),de(5,"translate"),T(),I(6,"mat-dialog-actions")(7,"button",2),oe(8),de(9,"translate"),T()()),i&2&&(w(),dt(ge(2,3,r.data.title)),w(3),A("innerHTML",ge(5,5,r.data.description),dr),w(4),Je(" ",ge(9,7,r.data.close)," "))},dependencies:[pa,ph,mh,vh,gh,Ir,ii,yt],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}"]})}}return t})()});var rO,oO=f(()=>{"use strict";D();D();rO=(()=>{class t{constructor(){this.current=rn(void 0),this.queue=[]}requestOpenFeature(e){this.queue.includes(e)||(this.queue.push(e),this.current()||this.showNextFeature())}showNextFeature(){if(this.queue.length===0)return;let e=this.queue.shift();e&&(this.current.set(e),e.showFeatureDialog())}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()});var Aa,zh=f(()=>{"use strict";D();Pr();pe();iO();Ur();oO();Re();D();Aa=(()=>{class t{constructor(){this.timeout=0,this.maxWidth=320,this.#e=y(ko),this.#t=y(rO),this.#n=new R,this.featureActive=rn(!1),this.isFeatureSeen=!1}#e;#t;#n;ngOnInit(){setTimeout(()=>{this.setFeatureStatus()},this.timeout)}ngOnDestroy(){this.#n.next(null),this.#n.complete()}showFeatureDialog(){let e=document.querySelector(`.${this.featureClassName}`);e&&(Uo.isMobileRes()&&this.mobileScreenCustomPosition?.autoScroll&&e.scrollIntoView({behavior:"smooth",block:"center"}),setTimeout(()=>{this.featureActive.set(!0);let i=e.getBoundingClientRect();this.dialogRef=this.#e.open(nO,{data:{title:this.titleLocalizationKey,description:this.descriptionLocalizationKey,close:this.closeLocalizationKey,featureLocalStorageKey:this.featureLocalStorageKey},position:{left:`${Uo.isMobileRes()&&this.mobileScreenCustomPosition?.left?this.mobileScreenCustomPosition.left:i.left-this.maxWidth+"px"}`,top:`${Uo.isMobileRes()&&this.mobileScreenCustomPosition?.top?this.mobileScreenCustomPosition.top:i.top+45+"px"}`},maxWidth:`${this.maxWidth}px`}),this.dialogRef.afterClosed().subscribe(()=>{this.setFeatureSeen(),this.#t.current.set(void 0),this.#t.showNextFeature()})},Uo.isMobileRes()&&this.mobileScreenCustomPosition?.autoScroll?500:0))}setFeatureStatus(){this.isFeatureSeen=!!this.featureLocalStorageKey&&!!localStorage.getItem(this.featureLocalStorageKey),this.isFeatureSeen||this.#t.requestOpenFeature(this)}setFeatureSeen(){this.featureActive.set(!1),this.isFeatureSeen=!0,this.featureLocalStorageKey&&localStorage.setItem(this.featureLocalStorageKey,"true")}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["lib-new-feature-dialog-wrapper"]],inputs:{titleLocalizationKey:"titleLocalizationKey",descriptionLocalizationKey:"descriptionLocalizationKey",closeLocalizationKey:"closeLocalizationKey",featureClassName:"featureClassName",featureLocalStorageKey:"featureLocalStorageKey",timeout:"timeout",maxWidth:"maxWidth",mobileScreenCustomPosition:"mobileScreenCustomPosition"},standalone:!0,features:[Ee],decls:0,vars:0,template:function(i,r){},dependencies:[st,pa],encapsulation:2})}}return t})()});var aO,k_=f(()=>{"use strict";D();Ma();D();an();Vi();zh();bt();aO=(()=>{class t{constructor(){this.openModalEvent=new P}openModal(){this.openModalEvent.emit(Ut.SUMMARY)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["lib-llm-summary"]],inputs:{isTextSummarizable:"isTextSummarizable",newFeatureLocalStorageKey:"newFeatureLocalStorageKey"},outputs:{openModalEvent:"openModalEvent"},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(i,r){if(i&1){let o=Pe();I(0,"button",1),ee("click",function(){return ye(o),be(r.openModal())}),J(1,"mat-icon",2),oe(2),de(3,"translate"),T(),J(4,"lib-new-feature-dialog-wrapper",3,0)}if(i&2){let o=qt(5);le("summarize-feature-active",o==null?null:o.featureActive()),A("disabled",!r.isTextSummarizable),w(),A("svgIcon","summarize"),w(),Je(" ",ge(3,10,"LLM.SUMMARY"),`
29
+ `),w(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"+r.newFeatureLocalStorageKey)}},dependencies:[ii,ri,Aa,yt],styles:[".summarize-feature-active{z-index:1001!important;background-color:#fff!important}"]})}}return t})()});var lO,N_=f(()=>{"use strict";D();Ma();D();an();Vi();zh();bt();lO=(()=>{class t{constructor(){this.openModalEvent=new P}openModal(){this.openModalEvent.emit(Ut.REPHRASE)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["lib-llm-rephrase"]],inputs:{isTargetLanguageRephrasable:"isTargetLanguageRephrasable",newFeatureLocalStorageKey:"newFeatureLocalStorageKey"},outputs:{openModalEvent:"openModalEvent"},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(i,r){if(i&1){let o=Pe();I(0,"button",1),ee("click",function(){return ye(o),be(r.openModal())}),J(1,"mat-icon",2),oe(2),de(3,"translate"),T(),J(4,"lib-new-feature-dialog-wrapper",3,0)}if(i&2){let o=qt(5);le("rephrase-feature-active",o==null?null:o.featureActive()),A("disabled",!r.isTargetLanguageRephrasable),w(),A("svgIcon","rephrase"),w(),Je(" ",ge(3,11,"LLM.REPHRASE"),`
30
+ `),w(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"+r.newFeatureLocalStorageKey)("maxWidth",400)}},dependencies:[ii,ri,Aa,yt],styles:[".rephrase-feature-active{z-index:1001!important;background-color:#fff!important}"]})}}return t})()});function vG(t,n){if(t&1){let e=Pe();I(0,"div",2),de(1,"translate"),I(2,"lib-llm-summary",3),ee("openModalEvent",function(r){ye(e);let o=H();return be(o.openLLMModal(r))}),T()()}if(t&2){let e=H();A("matTooltipPosition","left")("matTooltip",e.isTextSummarizable?"":ge(1,4,"LLM.MENU_SUMMARY_DISABLED_TOOLTIP")),w(2),A("isTextSummarizable",!!e.isTextSummarizable)("newFeatureLocalStorageKey",e.newFeatureLocalStorageKey)}}function yG(t,n){if(t&1){let e=Pe();I(0,"div",2),de(1,"translate"),I(2,"lib-llm-rephrase",4),ee("openModalEvent",function(r){ye(e);let o=H();return be(o.openLLMModal(r))}),T()()}if(t&2){let e=H();A("matTooltipPosition","left")("matTooltip",e.isTargetLanguageRephrasable?"":ge(1,4,"LLM.MENU_REPHRASE_DISABLED_TOOLTIP")),w(2),A("isTargetLanguageRephrasable",!!e.isTargetLanguageRephrasable)("newFeatureLocalStorageKey",e.newFeatureLocalStorageKey)}}var cO,$h=f(()=>{"use strict";D();fh();O_();tO();Re();D();Pr();I_();pe();Fr();k_();N_();bt();cO=(()=>{class t{get isTextSummarizable(){return this.text}get isTargetLanguageRephrasable(){return!this.rephrasableLanguagesCodeList||this.language&&this.rephrasableLanguagesCodeList.includes(this.languageService.removeRegionFromLanguageCode(this.language))}constructor(e,i,r){this.dialog=e,this.iconService=i,this.languageService=r,this.summaryEnabled=!0,this.rephraseEnabled=!0,this.showUseCaseSummary=!1,this.showUseCaseRephrase=!1,this.menuTriggerClick=new P,this.llmAction=Ut,this.iconService.registerIcons(F_)}openLLMModal(e){let i;!this.text||typeof this.text=="string"?i=O(this.text??""):i=this.text;let r={text:i,language:this.language,action:e,showUseCaseSummary:this.showUseCaseSummary,showUseCaseRephrase:this.showUseCaseRephrase,summaryUseCases:this.summaryUseCases,rephraseUseCases:this.rephraseUseCases};this.dialog.open(JR,{panelClass:"responsive-dialog",maxWidth:"800px",width:"100%",data:r})}static{this.\u0275fac=function(i){return new(i||t)(p(ko),p(yA),p(w_))}}static{this.\u0275cmp=Y({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"},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(i,r){i&1&&(I(0,"div",0),ie(1,vG,3,6,"div",1)(2,yG,3,6,"div",1),T()),i&2&&(w(),A("ngIf",r.summaryEnabled),w(),A("ngIf",r.rephraseEnabled))},dependencies:[hr,Or,aO,lO,yt],styles:[".llm-wrapper[_ngcontent-%COMP%]{display:flex;gap:8px}"]})}}return t})()});var dO=f(()=>{"use strict"});var uO=f(()=>{"use strict";dO()});var fO=f(()=>{"use strict";zh();uO()});var hO,pO=f(()=>{"use strict";pe();$h();an();Vi();bt();Pr();T_();Ni();R_();Ql();f_();Fr();dh();Gf();O_();fO();N_();k_();D();hO=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=L({type:t})}static{this.\u0275inj=N({imports:[st,Ir,$f,ei,pa,ZR,Cf,lS,ih,_T,aa,ha,qS,Aa]})}}return t})()});var mO=f(()=>{"use strict";$h();pO();Ma()});var gO,vO=f(()=>{"use strict";gO={en:{TOOLTIPS:{COPY:"Copy to clipboard",DISLIKE:"Dislike"},LLM:{USE_CASES_LABEL:"Use case",SUMMARY:"Summarize",REPHRASE:"Rephrase",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"},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"},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"},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 Hh,L_=f(()=>{"use strict";D();mO();oy();vO();No();D();$h();Hh=(()=>{class t extends af{#e;#t;get showUseCaseSummary(){return this._showUseCaseSummary}set showUseCaseSummary(e){this._showUseCaseSummary=this.ensureTypeBool(e)}get showUseCaseRephrase(){return this._showUseCaseRephrase}set showUseCaseRephrase(e){this._showUseCaseRephrase=this.ensureTypeBool(e)}constructor(){super(gO),this.#e=y(Sa),this.#t=y(oc),this.supportEmail="support@tilde.com",this.maxCharLength=1e5,this._showUseCaseSummary=!1,this._showUseCaseRephrase=!1}ngOnInit(){super.ngOnInit(),this.#n()}ngOnChanges(){super.ngOnChanges(),this.#n()}#n(){this.#r(),this.#i()}#r(){this.serviceUrl&&(this.#t.llmService.url=this.serviceUrl),this.subscriptionUrl&&(this.#e.subscriptionUrl=this.subscriptionUrl),this.supportEmail&&(this.#e.supportEmail=this.supportEmail),this.appId&&(this.#t.sharedConfiguration.xAppId=this.appId),this.maxCharLength&&(this.#e.maxCharLength=this.maxCharLength),this.useLocalQuota!==void 0&&(this.#e.useLocalQuota=this.ensureTypeBool(this.useLocalQuota))}#i(){this.quotaServiceUrl&&(this.#t.quotaService.url=this.quotaServiceUrl)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,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"},standalone:!0,features:[me,Ve,Ee],decls:1,vars:4,consts:[[3,"language","text","showUseCaseSummary","showUseCaseRephrase"]],template:function(i,r){i&1&&J(0,"lib-llm",0),i&2&&A("language",r.language)("text",r.text)("showUseCaseSummary",r.showUseCaseSummary)("showUseCaseRephrase",r.showUseCaseRephrase)},dependencies:[hO,cO]})}}return t})()});var _G,xG,CG,wG,yO,bO=f(()=>{"use strict";pe();yb();L_();D();_G=()=>({voice:"lv-LV-male",voiceName:"Austris"}),xG=()=>({voice:"lv-LV-female",voiceName:"Marta"}),CG=()=>({voice:"lv-LV-sandra",voiceName:"Sandra"}),wG=(t,n,e)=>[t,n,e],yO=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Y({type:t,selectors:[["app-root"]],standalone:!0,features:[Ot([]),Ee],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(i,r){i&1&&J(0,"app-llm",0)(1,"app-text-to-speech",1),i&2&&(A("showUseCaseSummary",!1)("showUseCaseRephrase",!1)("useLocalQuota",!1),w(),A("voices",zD(8,wG,ju(5,_G),ju(6,xG),ju(7,CG)))("maxCharLength",500))},dependencies:[st,uh,Hh],encapsulation:2})}}return t})()});var _O,xO=f(()=>{"use strict";_O={production:!0}});function CO(t){return new M(3e3,!1)}function EG(){return new M(3100,!1)}function DG(){return new M(3101,!1)}function IG(t){return new M(3001,!1)}function SG(t){return new M(3003,!1)}function MG(t){return new M(3004,!1)}function AG(t,n){return new M(3005,!1)}function TG(){return new M(3006,!1)}function RG(){return new M(3007,!1)}function OG(t,n){return new M(3008,!1)}function FG(t){return new M(3002,!1)}function kG(t,n,e,i,r){return new M(3010,!1)}function NG(){return new M(3011,!1)}function LG(){return new M(3012,!1)}function PG(){return new M(3200,!1)}function jG(){return new M(3202,!1)}function VG(){return new M(3013,!1)}function BG(t){return new M(3014,!1)}function UG(t){return new M(3015,!1)}function zG(t){return new M(3016,!1)}function $G(t,n){return new M(3404,!1)}function HG(t){return new M(3502,!1)}function GG(t){return new M(3503,!1)}function WG(){return new M(3300,!1)}function qG(t){return new M(3504,!1)}function YG(t){return new M(3301,!1)}function KG(t,n){return new M(3302,!1)}function QG(t){return new M(3303,!1)}function ZG(t,n){return new M(3400,!1)}function XG(t){return new M(3401,!1)}function JG(t){return new M(3402,!1)}function e8(t,n){return new M(3505,!1)}function $r(t){switch(t.length){case 0:return new Rr;case 1:return t[0];default:return new Wl(t)}}function LO(t,n,e=new Map,i=new Map){let r=[],o=[],s=-1,a=null;if(n.forEach(l=>{let c=l.get("offset"),d=c==s,u=d&&a||new Map;l.forEach((m,h)=>{let v=h,b=m;if(h!=="offset")switch(v=t.normalizePropertyName(v,r),b){case Qf:b=e.get(h);break;case oi:b=i.get(h);break;default:b=t.normalizeStyleValue(h,v,b,r);break}u.set(v,b)}),d||o.push(u),a=u,s=c}),r.length)throw HG(r);return o}function o0(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&P_(e,"start",t)));break;case"done":t.onDone(()=>i(e&&P_(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&P_(e,"destroy",t)));break}}function P_(t,n,e){let i=e.totalTime,r=!!e.disabled,o=s0(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,i??t.totalTime,r),s=t._data;return s!=null&&(o._data=s),o}function s0(t,n,e,i,r="",o=0,s){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function un(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function wO(t){let n=t.indexOf(":"),e=t.substring(1,n),i=t.slice(n+1);return[e,i]}function a0(t){let n=t.parentNode||t.host||null;return n===t8?null:n}function n8(t){return t.substring(1,6)=="ebkit"}function i8(t){zo||(zo=r8()||{},EO=zo.style?"WebkitAppearance"in zo.style:!1);let n=!0;return zo.style&&!n8(t)&&(n=t in zo.style,!n&&EO&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in zo.style)),n}function r8(){return typeof document<"u"?document.body:null}function PO(t,n){for(;n;){if(n===t)return!0;n=a0(n)}return!1}function jO(t,n,e){if(e)return Array.from(t.querySelectorAll(n));let i=t.querySelector(n);return i?[i]:[]}function Gi(t){if(typeof t=="number")return t;let n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:G_(parseFloat(n[1]),n[2])}function G_(t,n){switch(n){case"s":return t*o8;default:return t}}function Zh(t,n,e){return t.hasOwnProperty("duration")?t:a8(t,n,e)}function a8(t,n,e){let i=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,r,o=0,s="";if(typeof t=="string"){let a=t.match(i);if(a===null)return n.push(CO(t)),{duration:0,delay:0,easing:""};r=G_(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(o=G_(parseFloat(l),a[4]));let c=a[5];c&&(s=c)}else r=t;if(!e){let a=!1,l=n.length;r<0&&(n.push(EG()),a=!0),o<0&&(n.push(DG()),a=!0),a&&n.splice(l,0,CO(t))}return{duration:r,delay:o,easing:s}}function l8(t){return t.length?t[0]instanceof Map?t:t.map(n=>new Map(Object.entries(n))):[]}function di(t,n,e){n.forEach((i,r)=>{let o=c0(r);e&&!e.has(r)&&e.set(r,t.style[o]),t.style[o]=i})}function Ho(t,n){n.forEach((e,i)=>{let r=c0(i);t.style[r]=""})}function Ic(t){return Array.isArray(t)?t.length==1?t[0]:rM(t):t}function c8(t,n,e){let i=n.params||{},r=UO(t);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(IG(o))})}function UO(t){let n=[];if(typeof t=="string"){let e;for(;e=W_.exec(t);)n.push(e[1]);W_.lastIndex=0}return n}function Mc(t,n,e){let i=`${t}`,r=i.replace(W_,(o,s)=>{let a=n[s];return a==null&&(e.push(SG(s)),a=""),a.toString()});return r==i?t:r}function c0(t){return t.replace(d8,(...n)=>n[1].toUpperCase())}function u8(t,n){return t===0||n===0}function f8(t,n,e){if(e.size&&n.length){let i=n[0],r=[];if(e.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;o<n.length;o++){let s=n[o];r.forEach(a=>s.set(a,d0(t,a)))}}return n}function dn(t,n,e){switch(n.type){case se.Trigger:return t.visitTrigger(n,e);case se.State:return t.visitState(n,e);case se.Transition:return t.visitTransition(n,e);case se.Sequence:return t.visitSequence(n,e);case se.Group:return t.visitGroup(n,e);case se.Animate:return t.visitAnimate(n,e);case se.Keyframes:return t.visitKeyframes(n,e);case se.Style:return t.visitStyle(n,e);case se.Reference:return t.visitReference(n,e);case se.AnimateChild:return t.visitAnimateChild(n,e);case se.AnimateRef:return t.visitAnimateRef(n,e);case se.Query:return t.visitQuery(n,e);case se.Stagger:return t.visitStagger(n,e);default:throw MG(n.type)}}function d0(t,n){return window.getComputedStyle(t)[n]}function p8(t,n){let e=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(i=>m8(i,e,n)):e.push(t),e}function m8(t,n,e){if(t[0]==":"){let l=g8(t,e);if(typeof l=="function"){n.push(l);return}t=l}let i=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return e.push(UG(t)),n;let r=i[1],o=i[2],s=i[3];n.push(IO(r,s));let a=r==Jh&&s==Jh;o[0]=="<"&&!a&&n.push(IO(s,r))}function g8(t,n){switch(t){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 n.push(zG(t)),"* => *"}}function IO(t,n){let e=Wh.has(t)||qh.has(t),i=Wh.has(n)||qh.has(n);return(r,o)=>{let s=t==Jh||t==r,a=n==Jh||n==o;return!s&&e&&typeof r=="boolean"&&(s=r?Wh.has(t):qh.has(t)),!a&&i&&typeof o=="boolean"&&(a=o?Wh.has(n):qh.has(n)),s&&a}}function $O(t,n,e,i){return new q_(t).build(n,e,i)}function y8(t){let n=!!t.split(/\s*,\s*/).find(e=>e==zO);return n&&(t=t.replace(v8,"")),t=t.replace(/@\*/g,Qh).replace(/@\w+/g,e=>Qh+"-"+e.slice(1)).replace(/:animating/g,H_),[t,n]}function b8(t){return t?x({},t):null}function _8(t){if(typeof t=="string")return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){let i=e;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}function x8(t,n){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=Zh(t,n).duration;return j_(o,0,"")}let e=t;if(e.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=j_(0,0,"");return o.dynamic=!0,o.strValue=e,o}let r=Zh(e,n);return j_(r.duration,r.delay,r.easing)}function $o(t){return t?(t=x({},t),t.params&&(t.params=b8(t.params))):t={},t}function j_(t,n,e){return{duration:t,delay:n,easing:e}}function u0(t,n,e,i,r,o,s=null,a=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}function HO(t,n,e,i,r,o=new Map,s=new Map,a,l,c=[]){return new K_().buildKeyframes(t,n,e,i,r,o,s,a,l,c)}function MO(t,n=3){let e=Math.pow(10,n-1);return Math.round(t*e)/e}function S8(t,n){let e=new Map,i;return t.forEach(r=>{if(r==="*"){i??=n.keys();for(let o of i)e.set(o,oi)}else for(let[o,s]of r)e.set(o,s)}),e}function AO(t,n,e,i,r,o,s,a,l,c,d,u,m){return{type:0,element:t,triggerName:n,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:m}}function M8(t,n,e,i,r){return t.some(o=>o(n,e,i,r))}function GO(t,n){let e=x({},n);return Object.entries(t).forEach(([i,r])=>{r!=null&&(e[i]=r)}),e}function A8(t,n,e){return new J_(t,n,e)}function T8(t,n,e){let i=[(s,a)=>!0],r={type:se.Sequence,steps:[],options:null},o={type:se.Transition,animation:r,matchers:i,options:null,queryCount:0,depCount:0};return new np(t,o,n)}function TO(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}function j8(t,n,e){let i=t.get(n);if(i){if(i.length){let r=i.indexOf(e);i.splice(r,1)}i.length==0&&t.delete(n)}return i}function V8(t){return t??null}function Yh(t){return t&&t.nodeType===1}function B8(t){return t=="start"||t=="done"}function OO(t,n){let e=t.style.display;return t.style.display=n??"none",e}function FO(t,n,e,i,r){let o=[];e.forEach(l=>o.push(OO(l)));let s=[];i.forEach((l,c)=>{let d=new Map;l.forEach(u=>{let m=n.computeStyle(c,u,r);d.set(u,m),(!m||m.length==0)&&(c[Bn]=P8,s.push(c))}),t.set(c,d)});let a=0;return e.forEach(l=>OO(l,o[a++])),s}function kO(t,n){let e=new Map;if(t.forEach(a=>e.set(a,[])),n.length==0)return e;let i=1,r=new Set(n),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 n.forEach(a=>{let l=s(a);l!==i&&e.get(l).push(a)}),e}function In(t,n){t.classList?.add(n)}function Ta(t,n){t.classList?.remove(n)}function U8(t,n,e){$r(e).onDone(()=>t.processLeaveNode(n))}function z8(t){let n=[];return qO(t,n),n}function qO(t,n){for(let e=0;e<t.length;e++){let i=t[e];i instanceof Wl?qO(i.players,n):n.push(i)}}function $8(t,n){let e=Object.keys(t),i=Object.keys(n);if(e.length!=i.length)return!1;for(let r=0;r<e.length;r++){let o=e[r];if(!n.hasOwnProperty(o)||t[o]!==n[o])return!1}return!0}function NO(t,n,e){let i=e.get(t);if(!i)return!1;let r=n.get(t);return r?i.forEach(o=>r.add(o)):n.set(t,i),e.delete(t),!0}function H8(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=z_(n[0]),n.length>1&&(i=z_(n[n.length-1]))):n instanceof Map&&(e=z_(n)),e||i?new i0(t,e,i):null}function z_(t){let n=null;return t.forEach((e,i)=>{G8(i)&&(n=n||new Map,n.set(i,e))}),n}function G8(t){return t==="display"||t==="position"}function W8(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function q8(t){let n=t.indexOf("."),e=t.substring(0,n),i=t.slice(n+1);return[e,i]}var t8,zo,EO,l0,Go,Wo,o8,VO,s8,BO,$_,Gh,Qh,DO,H_,W_,d8,h8,Xh,Jh,Wh,qh,zO,v8,SO,q_,Y_,Ac,C8,w8,E8,D8,I8,K_,ep,Q_,tp,Z_,V_,np,X_,J_,R8,e0,RO,O8,B_,F8,k8,N8,L8,WO,P8,Bn,Tc,Sc,U_,t0,n0,Rc,Ra,i0,ip,rp,Kh,YO,op,r0,sp,f0=f(()=>{"use strict";Zf();D();D();t8=typeof document>"u"?null:document.documentElement;zo=null,EO=!1;l0=(()=>{class t{validateStyleProperty(e){return i8(e)}containsElement(e,i){return PO(e,i)}getParentElement(e){return a0(e)}query(e,i,r){return jO(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,s,a=[],l){return new Rr(r,o)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})(),Go=class{static{this.NOOP=new l0}},Wo=class{},o8=1e3,VO="{{",s8="}}",BO="ng-enter",$_="ng-leave",Gh="ng-trigger",Qh=".ng-trigger",DO="ng-animating",H_=".ng-animating";W_=new RegExp(`${VO}\\s*(.+?)\\s*${s8}`,"g");d8=/-+([a-z0-9])/g;h8=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"]),Xh=class extends Wo{normalizePropertyName(n,e){return c0(n)}normalizeStyleValue(n,e,i,r){let o="",s=i.toString().trim();if(h8.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(AG(n,i))}return s+o}},Jh="*";Wh=new Set(["true","1"]),qh=new Set(["false","0"]);zO=":self",v8=new RegExp(`s*${zO}s*,?`,"g");SO="",q_=class{constructor(n){this._driver=n}build(n,e,i){let r=new Y_(e);return this._resetContextStyleTimingState(r),dn(this,Ic(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector=SO,n.collectedStyles=new Map,n.collectedStyles.set(SO,new Map),n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,r=e.depCount=0,o=[],s=[];return n.name.charAt(0)=="@"&&e.errors.push(TG()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),a.type==se.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==se.Transition){let l=this.visitTransition(a,e);i+=l.queryCount,r+=l.depCount,s.push(l)}else e.errors.push(RG())}),{type:se.Trigger,name:n.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(n,e){let i=this.visitStyle(n.styles,e),r=n.options&&n.options.params||null;if(i.containsDynamicStyles){let o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{UO(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&e.errors.push(OG(n.name,[...o.values()]))}return{type:se.State,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;let i=dn(this,Ic(n.animation),e),r=p8(n.expr,e.errors);return{type:se.Transition,matchers:r,animation:i,queryCount:e.queryCount,depCount:e.depCount,options:$o(n.options)}}visitSequence(n,e){return{type:se.Sequence,steps:n.steps.map(i=>dn(this,i,e)),options:$o(n.options)}}visitGroup(n,e){let i=e.currentTime,r=0,o=n.steps.map(s=>{e.currentTime=i;let a=dn(this,s,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:se.Group,steps:o,options:$o(n.options)}}visitAnimate(n,e){let i=x8(n.timings,e.errors);e.currentAnimateTimings=i;let r,o=n.styles?n.styles:si({});if(o.type==se.Keyframes)r=this.visitKeyframes(o,e);else{let s=n.styles,a=!1;if(!s){a=!0;let c={};i.easing&&(c.easing=i.easing),s=si(c)}e.currentTime+=i.duration+i.delay;let l=this.visitStyle(s,e);l.isEmptyStep=a,r=l}return e.currentAnimateTimings=null,{type:se.Animate,timings:i,style:r,options:null}}visitStyle(n,e){let i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){let i=[],r=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of r)typeof a=="string"?a===oi?i.push(a):e.errors.push(FG(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(VO)>=0){o=!0;break}}}),{type:se.Style,styles:i,easing:s,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,e){let i=e.currentAnimateTimings,r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),n.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let c=e.collectedStyles.get(e.currentQuerySelector),d=c.get(l),u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(e.errors.push(kG(l,d.startTime,d.endTime,o,r)),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:r}),e.options&&c8(a,e.options,e.errors)})})}visitKeyframes(n,e){let i={type:se.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(NG()),i;let r=1,o=0,s=[],a=!1,l=!1,c=0,d=n.steps.map(S=>{let B=this._makeStyleAst(S,e),G=B.offset!=null?B.offset:_8(B.styles),De=0;return G!=null&&(o++,De=B.offset=G),l=l||De<0||De>1,a=a||De<c,c=De,s.push(De),B});l&&e.errors.push(LG()),a&&e.errors.push(PG());let u=n.steps.length,m=0;o>0&&o<u?e.errors.push(jG()):o==0&&(m=r/(u-1));let h=u-1,v=e.currentTime,b=e.currentAnimateTimings,E=b.duration;return d.forEach((S,B)=>{let G=m>0?B==h?1:m*B:s[B],De=G*E;e.currentTime=v+b.delay+De,b.duration=De,this._validateStyleAst(S,e),S.offset=G,i.styles.push(S)}),i}visitReference(n,e){return{type:se.Reference,animation:dn(this,Ic(n.animation),e),options:$o(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:se.AnimateChild,options:$o(n.options)}}visitAnimateRef(n,e){return{type:se.AnimateRef,animation:this.visitReference(n.animation,e),options:$o(n.options)}}visitQuery(n,e){let i=e.currentQuerySelector,r=n.options||{};e.queryCount++,e.currentQuery=n;let[o,s]=y8(n.selector);e.currentQuerySelector=i.length?i+" "+o:o,un(e.collectedStyles,e.currentQuerySelector,new Map);let a=dn(this,Ic(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:se.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:$o(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(VG());let i=n.timings==="full"?{duration:0,delay:0,easing:"full"}:Zh(n.timings,e.errors,!0);return{type:se.Stagger,animation:dn(this,Ic(n.animation),e),timings:i,options:null}}};Y_=class{constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};Ac=class{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}},C8=1,w8=":enter",E8=new RegExp(w8,"g"),D8=":leave",I8=new RegExp(D8,"g");K_=class{buildKeyframes(n,e,i,r,o,s,a,l,c,d=[]){c=c||new Ac;let u=new Q_(n,e,c,r,o,d,[]);u.options=l;let m=l.delay?Gi(l.delay):0;u.currentTimeline.delayNextStep(m),u.currentTimeline.setStyles([s],null,u.errors,l),dn(this,i,u);let h=u.timelines.filter(v=>v.containsAnimation());if(h.length&&a.size){let v;for(let b=h.length-1;b>=0;b--){let E=h[b];if(E.element===e){v=E;break}}v&&!v.allowOnlyTimelineStyles()&&v.setStyles([a],null,u.errors,l)}return h.length?h.map(v=>v.buildKeyframes()):[u0(e,[],[],[],0,m,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){let i=e.subInstructions.get(e.element);if(i){let r=e.createSubContext(n.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&e.transformIntoNewTimeline(s)}e.previousNode=n}visitAnimateRef(n,e){let i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],e,i),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_applyAnimationRefDelays(n,e,i){for(let r of n){let o=r?.delay;if(o){let s=typeof o=="number"?o:Gi(Mc(o,r?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(n,e,i){let o=e.currentTimeline.currentTime,s=i.duration!=null?Gi(i.duration):null,a=i.delay!=null?Gi(i.delay):null;return s!==0&&n.forEach(l=>{let c=e.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(n,e){e.updateOptions(n.options,!0),dn(this,n.animation,e),e.previousNode=n}visitSequence(n,e){let i=e.subContextCount,r=e,o=n.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),o.delay!=null)){r.previousNode.type==se.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=ep);let s=Gi(o.delay);r.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>dn(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){let i=[],r=e.currentTimeline.currentTime,o=n.options&&n.options.delay?Gi(n.options.delay):0;n.steps.forEach(s=>{let a=e.createSubContext(n.options);o&&a.delayNextStep(o),dn(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=n}_visitTiming(n,e){if(n.dynamic){let i=n.strValue,r=e.params?Mc(i,e.params,e.errors):i;return Zh(r,e.errors)}else return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){let i=e.currentAnimateTimings=this._visitTiming(n.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());let o=n.style;o.type==se.Keyframes?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){let i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();let o=r&&r.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(o):i.setStyles(n.styles,o,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){let i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,n.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=n}visitQuery(n,e){let i=e.currentTimeline.currentTime,r=n.options||{},o=r.delay?Gi(r.delay):0;o&&(e.previousNode.type===se.Style||i==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ep);let s=i,a=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{e.currentQueryIndex=d;let u=e.createSubContext(n.options,c);o&&u.delayNextStep(o),c===e.element&&(l=u.currentTimeline),dn(this,n.animation,u),u.currentTimeline.applyStylesToKeyframe();let m=u.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=n}visitStagger(n,e){let i=e.parentContext,r=e.currentTimeline,o=n.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 u=d.currentTime;dn(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=r.currentTime-u+(r.startTime-i.currentTimeline.startTime)}},ep={},Q_=class t{constructor(n,e,i,r,o,s,a,l){this._driver=n,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ep,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new tp(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;let i=n,r=this.options;i.duration!=null&&(r.duration=Gi(i.duration)),i.delay!=null&&(r.delay=Gi(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]=Mc(o[a],s,this.errors))})}}_copyOptions(){let n={};if(this.options){let e=this.options.params;if(e){let i=n.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return n}createSubContext(n=null,e,i){let r=e||this.element,o=new t(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(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=ep,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){let r={duration:e??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},o=new Z_(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,r,n.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,r,o,s){let a=[];if(r&&a.push(this.element),n.length>0){n=n.replace(E8,"."+this._enterClassName),n=n.replace(I8,"."+this._leaveClassName);let l=i!=1,c=this._driver.query(this.element,n,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(BG(e)),a}},tp=class t{constructor(n,e,i,r){this._driver=n,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(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(n){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new t(this._driver,n,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+=C8,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||oi),this._currentKeyframe.set(e,oi);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,r){e&&this._previousKeyframe.set("easing",e);let o=r&&r.params||{},s=S8(n,this._globalTimelineStyles);for(let[a,l]of s){let c=Mc(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((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,i)=>{let r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let n=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,u)=>{d===Qf?n.add(u):d===oi&&e.add(u)}),i||c.set("offset",l/this.duration),r.push(c)});let o=[...n.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 u0(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}},Z_=class extends tp{constructor(n,e,i,r,o,s,a=!1){super(n,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 n=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(n[0]);l.set("offset",0),o.push(l);let c=new Map(n[0]);c.set("offset",MO(a)),o.push(c);let d=n.length-1;for(let u=1;u<=d;u++){let m=new Map(n[u]),h=m.get("offset"),v=e+h*i;m.set("offset",MO(v/s)),o.push(m)}i=s,e=0,r="",n=o}return u0(this.element,n,this.preStyleProps,this.postStyleProps,i,e,r,!0)}};V_={},np=class{constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,r){return M8(this.ast.matchers,n,e,i,r)}buildStyles(n,e,i){let r=this._stateStyles.get("*");return n!==void 0&&(r=this._stateStyles.get(n?.toString())||r),r?r.buildStyles(e,i):new Map}build(n,e,i,r,o,s,a,l,c,d){let u=[],m=this.ast.options&&this.ast.options.params||V_,h=a&&a.params||V_,v=this.buildStyles(i,h,u),b=l&&l.params||V_,E=this.buildStyles(r,b,u),S=new Set,B=new Map,G=new Map,De=r==="void",nt={params:GO(b,m),delay:this.ast.options?.delay},Te=d?[]:HO(n,e,this.ast.animation,o,s,v,E,nt,c,u),$e=0;return Te.forEach(ht=>{$e=Math.max(ht.duration+ht.delay,$e)}),u.length?AO(e,this._triggerName,i,r,De,v,E,[],[],B,G,$e,u):(Te.forEach(ht=>{let ui=ht.element,qo=un(B,ui,new Set);ht.preStyleProps.forEach(Hr=>qo.add(Hr));let p0=un(G,ui,new Set);ht.postStyleProps.forEach(Hr=>p0.add(Hr)),ui!==e&&S.add(ui)}),AO(e,this._triggerName,i,r,De,v,E,Te,[...S.values()],B,G,$e))}};X_=class{constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){let i=new Map,r=GO(n,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=Mc(s,r,e));let l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),i.set(a,s)})}),i}};J_=class{constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(r=>{let o=r.options&&r.options.params||{};this.states.set(r.name,new X_(r.style,o,i))}),TO(this.states,"true","1"),TO(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new np(n,r,this.states))}),this.fallbackTransition=T8(n,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,i,r){return this.transitionFactories.find(s=>s.match(n,e,i,r))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}};R8=new Ac,e0=class{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,e){let i=[],r=[],o=$O(this._driver,e,i,r);if(i.length)throw GG(i);r.length&&void 0,this._animations.set(n,o)}_buildPlayer(n,e,i){let r=n.element,o=LO(this._normalizer,n.keyframes,e,i);return this._driver.animate(r,o,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){let r=[],o=this._animations.get(n),s,a=new Map;if(o?(s=HO(this._driver,e,o,BO,$_,new Map,new Map,i,R8,r),s.forEach(d=>{let u=un(a,d.element,new Map);d.postStyleProps.forEach(m=>u.set(m,null))})):(r.push(WG()),s=[]),r.length)throw qG(r);a.forEach((d,u)=>{d.forEach((m,h)=>{d.set(h,this._driver.computeStyle(u,h,oi))})});let l=s.map(d=>{let u=a.get(d.element);return this._buildPlayer(d,new Map,u)}),c=$r(l);return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){let e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);let i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){let e=this._playersById.get(n);if(!e)throw YG(n);return e}listen(n,e,i,r){let o=s0(e,"","","");return o0(this._getPlayer(n),i,o,r),()=>{}}command(n,e,i,r){if(i=="register"){this.register(n,r[0]);return}if(i=="create"){let s=r[0]||{};this.create(n,e,s);return}let o=this._getPlayer(n);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(n);break}}},RO="ng-animate-queued",O8=".ng-animate-queued",B_="ng-animate-disabled",F8=".ng-animate-disabled",k8="ng-star-inserted",N8=".ng-star-inserted",L8=[],WO={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},P8={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Bn="__ng_removed",Tc=class{get params(){return this.options.params}constructor(n,e=""){this.namespaceId=e;let i=n&&n.hasOwnProperty("value"),r=i?n.value:n;if(this.value=V8(r),i){let o=n,{value:s}=o,a=cp(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){let e=n.params;if(e){let i=this.options.params;Object.keys(e).forEach(r=>{i[r]==null&&(i[r]=e[r])})}}},Sc="void",U_=new Tc(Sc),t0=class{constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,In(e,this._hostClassName)}listen(n,e,i,r){if(!this._triggers.has(e))throw KG(i,e);if(i==null||i.length==0)throw QG(e);if(!B8(i))throw ZG(i,e);let o=un(this._elementListeners,n,[]),s={name:e,phase:i,callback:r};o.push(s);let a=un(this._engine.statesByElement,n,new Map);return a.has(e)||(In(n,Gh),In(n,Gh+"-"+e),a.set(e,U_)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(n,e){return this._triggers.has(n)?!1:(this._triggers.set(n,e),!0)}_getTrigger(n){let e=this._triggers.get(n);if(!e)throw XG(n);return e}trigger(n,e,i,r=!0){let o=this._getTrigger(e),s=new Rc(this.id,e,n),a=this._engine.statesByElement.get(n);a||(In(n,Gh),In(n,Gh+"-"+e),this._engine.statesByElement.set(n,a=new Map));let l=a.get(e),c=new Tc(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=U_),!(c.value===Sc)&&l.value===c.value){if(!$8(l.params,c.params)){let b=[],E=o.matchStyles(l.value,l.params,b),S=o.matchStyles(c.value,c.params,b);b.length?this._engine.reportError(b):this._engine.afterFlush(()=>{Ho(n,E),di(n,S)})}return}let m=un(this._engine.playersByElement,n,[]);m.forEach(b=>{b.namespaceId==this.id&&b.triggerName==e&&b.queued&&b.destroy()});let h=o.matchTransition(l.value,c.value,n,c.params),v=!1;if(!h){if(!r)return;h=o.fallbackTransition,v=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:h,fromState:l,toState:c,player:s,isFallbackTransition:v}),v||(In(n,RO),s.onStart(()=>{Ta(n,RO)})),s.onDone(()=>{let b=this.players.indexOf(s);b>=0&&this.players.splice(b,1);let E=this._engine.playersByElement.get(n);if(E){let S=E.indexOf(s);S>=0&&E.splice(S,1)}}),this.players.push(s),m.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);let e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){let i=this._engine.driver.query(n,Qh,!0);i.forEach(r=>{if(r[Bn])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(n,e,i,r){let o=this._engine.statesByElement.get(n),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(n,c,Sc,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,s),i&&$r(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){let e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);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)||U_,d=new Tc(Sc),u=new Rc(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(n,e){let i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let r=!1;if(i.totalAnimations){let o=i.players.length?i.playersByQueriedElement.get(n):[];if(o&&o.length)r=!0;else{let s=n;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(n),r)i.markElementAsRemoved(this.id,n,!1,e);else{let o=n[Bn];(!o||o===WO)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){In(n,this._hostClassName)}drainQueuedTransitions(n){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=s0(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,o0(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(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}},n0=class{_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}constructor(n,e,i){this.bodyNode=n,this.driver=e,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,o)=>{}}get queuedPlayers(){let n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){let i=new t0(n,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[n]=i}_balanceNamespaceList(n,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,n),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(n)}else i.push(n);return r.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let r=this._namespaceLookup[n];r&&r.register(e,i)&&this.totalAnimations++}destroy(n,e){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(n);this.namespacesByHostElement.delete(i.hostElement);let r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(e),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){let e=new Set,i=this.statesByElement.get(n);if(i){for(let r of i.values())if(r.namespaceId){let o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}}return e}trigger(n,e,i,r){if(Yh(e)){let o=this._fetchNamespace(n);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(n,e,i,r){if(!Yh(e))return;let o=e[Bn];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){let s=this._fetchNamespace(n);s&&s.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),In(n,B_)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Ta(n,B_))}removeNode(n,e,i){if(Yh(e)){let r=n?this._fetchNamespace(n):null;r?r.removeNode(e,i):this.markElementAsRemoved(n,e,!1,i);let o=this.namespacesByHostElement.get(e);o&&o.id!==n&&o.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(n,e,i,r,o){this.collectedLeaveElements.push(e),e[Bn]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,e,i,r,o){return Yh(e)?this._fetchNamespace(n).listen(e,i,r,o):()=>{}}_buildInstruction(n,e,i,r,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,r,n.fromState.options,n.toState.options,e,o)}destroyInnerAnimations(n){let e=this.driver.query(n,Qh,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(n,H_,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){let e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){let e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return $r(this.players).onDone(()=>n());n()})}processLeaveNode(n){let e=n[Bn];if(e&&e.setForRemoval){if(n[Bn]=WO,e.namespaceId){this.destroyInnerAnimations(n);let i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(B_)&&this.markElementAsDisabled(n,!1),this.driver.query(n,F8,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-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];In(r,k8)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let i=[];try{e=this._flushAnimations(i,n)}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?$r(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw JG(n)}_flushAnimations(n,e){let i=new Ac,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(U=>{d.add(U);let W=this.driver.query(U,O8,!0);for(let K=0;K<W.length;K++)d.add(W[K])});let u=this.bodyNode,m=Array.from(this.statesByElement.keys()),h=kO(m,this.collectedEnterElements),v=new Map,b=0;h.forEach((U,W)=>{let K=BO+b++;v.set(W,K),U.forEach(Se=>In(Se,K))});let E=[],S=new Set,B=new Set;for(let U=0;U<this.collectedLeaveElements.length;U++){let W=this.collectedLeaveElements[U],K=W[Bn];K&&K.setForRemoval&&(E.push(W),S.add(W),K.hasAnimation?this.driver.query(W,N8,!0).forEach(Se=>S.add(Se)):B.add(W))}let G=new Map,De=kO(m,Array.from(S));De.forEach((U,W)=>{let K=$_+b++;G.set(W,K),U.forEach(Se=>In(Se,K))}),n.push(()=>{h.forEach((U,W)=>{let K=v.get(W);U.forEach(Se=>Ta(Se,K))}),De.forEach((U,W)=>{let K=G.get(W);U.forEach(Se=>Ta(Se,K))}),E.forEach(U=>{this.processLeaveNode(U)})});let nt=[],Te=[];for(let U=this._namespaceList.length-1;U>=0;U--)this._namespaceList[U].drainQueuedTransitions(e).forEach(K=>{let Se=K.player,pt=K.element;if(nt.push(Se),this.collectedEnterElements.length){let Dt=pt[Bn];if(Dt&&Dt.setForMove){if(Dt.previousTriggersValues&&Dt.previousTriggersValues.has(K.triggerName)){let Gr=Dt.previousTriggersValues.get(K.triggerName),fn=this.statesByElement.get(K.element);if(fn&&fn.has(K.triggerName)){let Oc=fn.get(K.triggerName);Oc.value=Gr,fn.set(K.triggerName,Oc)}}Se.destroy();return}}let Un=!u||!this.driver.containsElement(u,pt),Yt=G.get(pt),Wi=v.get(pt),Ke=this._buildInstruction(K,i,Wi,Yt,Un);if(Ke.errors&&Ke.errors.length){Te.push(Ke);return}if(Un){Se.onStart(()=>Ho(pt,Ke.fromStyles)),Se.onDestroy(()=>di(pt,Ke.toStyles)),r.push(Se);return}if(K.isFallbackTransition){Se.onStart(()=>Ho(pt,Ke.fromStyles)),Se.onDestroy(()=>di(pt,Ke.toStyles)),r.push(Se);return}let v0=[];Ke.timelines.forEach(Dt=>{Dt.stretchStartingKeyframe=!0,this.disabledNodes.has(Dt.element)||v0.push(Dt)}),Ke.timelines=v0,i.append(pt,Ke.timelines);let lF={instruction:Ke,player:Se,element:pt};s.push(lF),Ke.queriedElements.forEach(Dt=>un(a,Dt,[]).push(Se)),Ke.preStyleProps.forEach((Dt,Gr)=>{if(Dt.size){let fn=l.get(Gr);fn||l.set(Gr,fn=new Set),Dt.forEach((Oc,lp)=>fn.add(lp))}}),Ke.postStyleProps.forEach((Dt,Gr)=>{let fn=c.get(Gr);fn||c.set(Gr,fn=new Set),Dt.forEach((Oc,lp)=>fn.add(lp))})});if(Te.length){let U=[];Te.forEach(W=>{U.push(e8(W.triggerName,W.errors))}),nt.forEach(W=>W.destroy()),this.reportError(U)}let $e=new Map,ht=new Map;s.forEach(U=>{let W=U.element;i.has(W)&&(ht.set(W,W),this._beforeAnimationBuild(U.player.namespaceId,U.instruction,$e))}),r.forEach(U=>{let W=U.element;this._getPreviousPlayers(W,!1,U.namespaceId,U.triggerName,null).forEach(Se=>{un($e,W,[]).push(Se),Se.destroy()})});let ui=E.filter(U=>NO(U,l,c)),qo=new Map;FO(qo,this.driver,B,c,oi).forEach(U=>{NO(U,l,c)&&ui.push(U)});let Hr=new Map;h.forEach((U,W)=>{FO(Hr,this.driver,new Set(U),l,Qf)}),ui.forEach(U=>{let W=qo.get(U),K=Hr.get(U);qo.set(U,new Map([...W?.entries()??[],...K?.entries()??[]]))});let ap=[],m0=[],g0={};s.forEach(U=>{let{element:W,player:K,instruction:Se}=U;if(i.has(W)){if(d.has(W)){K.onDestroy(()=>di(W,Se.toStyles)),K.disabled=!0,K.overrideTotalTime(Se.totalTime),r.push(K);return}let pt=g0;if(ht.size>1){let Yt=W,Wi=[];for(;Yt=Yt.parentNode;){let Ke=ht.get(Yt);if(Ke){pt=Ke;break}Wi.push(Yt)}Wi.forEach(Ke=>ht.set(Ke,pt))}let Un=this._buildAnimation(K.namespaceId,Se,$e,o,Hr,qo);if(K.setRealPlayer(Un),pt===g0)ap.push(K);else{let Yt=this.playersByElement.get(pt);Yt&&Yt.length&&(K.parentPlayer=$r(Yt)),r.push(K)}}else Ho(W,Se.fromStyles),K.onDestroy(()=>di(W,Se.toStyles)),m0.push(K),d.has(W)&&r.push(K)}),m0.forEach(U=>{let W=o.get(U.element);if(W&&W.length){let K=$r(W);U.setRealPlayer(K)}}),r.forEach(U=>{U.parentPlayer?U.syncPlayerEvents(U.parentPlayer):U.destroy()});for(let U=0;U<E.length;U++){let W=E[U],K=W[Bn];if(Ta(W,$_),K&&K.hasAnimation)continue;let Se=[];if(a.size){let Un=a.get(W);Un&&Un.length&&Se.push(...Un);let Yt=this.driver.query(W,H_,!0);for(let Wi=0;Wi<Yt.length;Wi++){let Ke=a.get(Yt[Wi]);Ke&&Ke.length&&Se.push(...Ke)}}let pt=Se.filter(Un=>!Un.destroyed);pt.length?U8(this,W,pt):this.processLeaveNode(W)}return E.length=0,ap.forEach(U=>{this.players.push(U),U.onDone(()=>{U.destroy();let W=this.players.indexOf(U);this.players.splice(W,1)}),U.play()}),ap}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,r,o){let s=[];if(e){let a=this.playersByQueriedElement.get(n);a&&(s=a)}else{let a=this.playersByElement.get(n);if(a){let l=!o||o==Sc;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(n,e,i){let r=e.triggerName,o=e.element,s=e.isRemovalTransition?void 0:n,a=e.isRemovalTransition?void 0:r;for(let l of e.timelines){let c=l.element,d=c!==o,u=un(i,c,[]);this._getPreviousPlayers(c,d,s,a,e.toState).forEach(h=>{let v=h.getRealPlayer();v.beforeDestroy&&v.beforeDestroy(),h.destroy(),u.push(h)})}Ho(o,e.fromStyles)}_buildAnimation(n,e,i,r,o,s){let a=e.triggerName,l=e.element,c=[],d=new Set,u=new Set,m=e.timelines.map(v=>{let b=v.element;d.add(b);let E=b[Bn];if(E&&E.removedBeforeQueried)return new Rr(v.duration,v.delay);let S=b!==l,B=z8((i.get(b)||L8).map($e=>$e.getRealPlayer())).filter($e=>{let ht=$e;return ht.element?ht.element===b:!1}),G=o.get(b),De=s.get(b),nt=LO(this._normalizer,v.keyframes,G,De),Te=this._buildPlayer(v,nt,B);if(v.subTimeline&&r&&u.add(b),S){let $e=new Rc(n,a,b);$e.setRealPlayer(Te),c.push($e)}return Te});c.forEach(v=>{un(this.playersByQueriedElement,v.element,[]).push(v),v.onDone(()=>j8(this.playersByQueriedElement,v.element,v))}),d.forEach(v=>In(v,DO));let h=$r(m);return h.onDestroy(()=>{d.forEach(v=>Ta(v,DO)),di(l,e.toStyles)}),u.forEach(v=>{un(r,v,[]).push(h)}),h}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new Rr(n.duration,n.delay)}},Rc=class{constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i,this._player=new Rr,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>o0(n,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){let e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){un(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}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(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){let e=this._player;e.triggerCallback&&e.triggerCallback(n)}};Ra=class{constructor(n,e,i){this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new n0(n.body,e,i),this._timelineEngine=new e0(n.body,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(n,e,i,r,o){let s=n+"-"+r,a=this._triggerCache[s];if(!a){let l=[],c=[],d=$O(this._driver,o,l,c);if(l.length)throw $G(r,l);c.length&&void 0,a=A8(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,r,a)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,r){this._transitionEngine.insertNode(n,e,i,r)}onRemove(n,e,i){this._transitionEngine.removeNode(n,e,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,r){if(i.charAt(0)=="@"){let[o,s]=wO(i),a=r;this._timelineEngine.command(o,e,s,a)}else this._transitionEngine.trigger(n,e,i,r)}listen(n,e,i,r,o){if(i.charAt(0)=="@"){let[s,a]=wO(i);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(n,e,i,r,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}};i0=class t{static{this.initialStylesByElement=new WeakMap}constructor(n,e,i){this._element=n,this._startStyles=e,this._endStyles=i,this._state=0;let r=t.initialStylesByElement.get(n);r||t.initialStylesByElement.set(n,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&di(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(di(this._element,this._initialStyles),this._endStyles&&(di(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Ho(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ho(this._element,this._endStyles),this._endStyles=null),di(this._element,this._initialStyles),this._state=3)}};ip=class{constructor(n,e,i,r){this.element=n,this.keyframes=e,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.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(n){let e=[];return n.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(n,e,i){return n.animate(this._convertKeyframesToObject(e),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),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(n=>n()),this._onDestroyFns=[])}setPosition(n){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{r!=="offset"&&n.set(r,this._finished?i:d0(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){let e=n==="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},rp=class{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}containsElement(n,e){return PO(n,e)}getParentElement(n){return a0(n)}query(n,e,i){return jO(n,e,i)}computeStyle(n,e,i){return d0(n,e)}animate(n,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(h=>h instanceof ip);u8(i,r)&&d.forEach(h=>{h.currentSnapshot.forEach((v,b)=>c.set(b,v))});let u=l8(e).map(h=>new Map(h));u=f8(n,u,c);let m=H8(n,u);return new ip(n,u,l,m)}},Kh="@",YO="@.disabled",op=class{constructor(n,e,i,r){this.namespaceId=n,this.delegate=e,this.engine=i,this._onDestroy=r,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,r=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,r)}removeChild(n,e,i){this.parentNode(e)&&this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,r){this.delegate.setAttribute(n,e,i,r)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,r){this.delegate.setStyle(n,e,i,r)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){e.charAt(0)==Kh&&e==YO?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i){return this.delegate.listen(n,e,i)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}},r0=class extends op{constructor(n,e,i,r,o){super(e,i,r,o),this.factory=n,this.namespaceId=e}setProperty(n,e,i){e.charAt(0)==Kh?e.charAt(1)=="."&&e==YO?(i=i===void 0?!0:!!i,this.disableAnimations(n,i)):this.engine.process(this.namespaceId,n,e.slice(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i){if(e.charAt(0)==Kh){let r=W8(n),o=e.slice(1),s="";return o.charAt(0)!=Kh&&([o,s]=q8(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,i,a)})}return this.delegate.listen(n,e,i)}};sp=class{constructor(n,e,i){this.delegate=n,this.engine=e,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,e.onRemovalComplete=(r,o)=>{o?.removeChild(null,r)}}createRenderer(n,e){let i="",r=this.delegate.createRenderer(n,e);if(!n||!e?.data?.animation){let c=this._rendererCache,d=c.get(r);if(!d){let u=()=>c.delete(r);d=new op(i,r,this.engine,u),c.set(r,d)}return d}let o=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,n);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,n,c.name,c)};return e.data.animation.forEach(a),new r0(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,e,i){if(n>=0&&n<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()}}});function Q8(){return new Xh}function Z8(t,n,e){return new sp(t,n,e)}function QO(){return bn("NgEagerAnimations"),[...X8]}var K8,KO,X8,yce,ZO=f(()=>{"use strict";D();D();Ps();f0();f0();pe();K8=(()=>{class t extends Ra{constructor(e,i,r){super(e,i,r)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(i){return new(i||t)(g(z),g(Go),g(Wo))}}static{this.\u0275prov=_({token:t,factory:t.\u0275fac})}}return t})();KO=[{provide:Wo,useFactory:Q8},{provide:Ra,useClass:K8},{provide:or,useFactory:Z8,deps:[ef,Ra,F]}],X8=[{provide:Go,useFactory:()=>new rp},{provide:rt,useValue:"BrowserAnimations"},...KO],yce=[{provide:Go,useClass:l0},{provide:rt,useValue:"NoopAnimations"},...KO]});var XO,JO=f(()=>{"use strict";Ma();XO=()=>({provide:Sa,useFactory:()=>({supportEmail:"",maxCharLength:1e4,subscriptionUrl:"",useLocalQuota:!0})})});var eF,tF=f(()=>{"use strict";sf();eF=()=>({provide:Us,useValue:{}})});var nF,iF=f(()=>{"use strict";D();sf();Re();nF=(t,n)=>{let e=y(Us),i=window;if(e.skipAuthUrls?.find(r=>t.url.includes(r)))return n(t);if(i.getTildeWebComponentAuthToken){let r=i.getTildeWebComponentAuthToken;return Ne(r()).pipe(He(o=>{let s=t.clone({setHeaders:{Authorization:`Bearer ${o}`}});return n(s)}))}if(e.xApiKey){let r=t.clone({setHeaders:{"X-Api-Key":`${e.xApiKey}`}});return n(r)}return n(t)}});var rF,oF=f(()=>{"use strict";No();rF=()=>{let t="https://services.tilde.com/service";return{provide:oc,useFactory:()=>({sharedConfiguration:{xAppId:""},quotaService:{url:`${t}/quota/usage`},llmService:{url:`${t}/language-assistant`}})}}});var h0,sF=f(()=>{"use strict";bl();D();ZO();bt();JO();tF();iF();oF();h0={providers:[bI(_I([nF])),QO(),Ng(ei.forRoot()),XO(),rF(),eF()]}});var J8=uF(aF=>{QD();Ps();bO();L_();xO();sF();yb();Yo(aF,null,function*(){let t=yield MI(h0),n=Sv(uh,{injector:t.injector}),e=Sv(Hh,{injector:t.injector});customElements.define("tilde-text-to-speech",n),customElements.define("tilde-llm",e)});_O.production||SI(yO,h0).catch(t=>console.error(t))});export default J8();