@tilde-nlp/ngx-common 5.0.13 → 5.0.15

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,25 +1,25 @@
1
- var ES=Object.defineProperty,DS=Object.defineProperties;var IS=Object.getOwnPropertyDescriptors;var bc=Object.getOwnPropertySymbols;var fA=Object.prototype.hasOwnProperty,hA=Object.prototype.propertyIsEnumerable;var uA=(t,e,i)=>e in t?ES(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,A=(t,e)=>{for(var i in e||={})fA.call(e,i)&&uA(t,i,e[i]);if(bc)for(var i of bc(e))hA.call(e,i)&&uA(t,i,e[i]);return t},we=(t,e)=>DS(t,IS(e));var Th=(t,e)=>{var i={};for(var n in t)fA.call(t,n)&&e.indexOf(n)<0&&(i[n]=t[n]);if(t!=null&&bc)for(var n of bc(t))e.indexOf(n)<0&&hA.call(t,n)&&(i[n]=t[n]);return i};var g=(t,e)=>()=>(t&&(e=t(t=0)),e);var MS=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Oh=(t,e,i)=>{if(!e.has(t))throw TypeError("Cannot "+i)};var Qe=(t,e,i)=>(Oh(t,e,"read from private field"),i?i.call(t):e.get(t)),et=(t,e,i)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,i)},Zt=(t,e,i,n)=>(Oh(t,e,"write to private field"),n?n.call(t,i):e.set(t,i),i);var Nt=(t,e,i)=>(Oh(t,e,"access private method"),i);var Ro=(t,e,i)=>new Promise((n,r)=>{var o=l=>{try{a(i.next(l))}catch(c){r(c)}},s=l=>{try{a(i.throw(l))}catch(c){r(c)}},a=l=>l.done?n(l.value):Promise.resolve(l.value).then(o,s);a((i=i.apply(t,e)).next())});function Te(t){let e=mA;return mA=t,e}function SS(){return Ac}function TS(t){if(!(Vh(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Rh)){if(!t.producerMustRecompute(t)&&!Cc(t)){t.dirty=!1,t.lastCleanEpoch=Rh;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=Rh}}function OS(t){if(t.liveConsumerNode===void 0)return;let e=Ac;Ac=!0;try{for(let i of t.liveConsumerNode)i.dirty||pA(i)}finally{Ac=e}}function pA(t){t.dirty=!0,OS(t),t.consumerMarkedDirty?.(t)}function Lh(t){return t&&(t.nextProducerIndex=0),Te(t)}function Ph(t,e){if(Te(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Vh(t))for(let i=t.nextProducerIndex;i<t.producerNode.length;i++)jh(t.producerNode[i],t.producerIndexOfThis[i]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Cc(t){_c(t);for(let e=0;e<t.producerNode.length;e++){let i=t.producerNode[e],n=t.producerLastReadVersion[e];if(n!==i.version||(TS(i),n!==i.version))return!0}return!1}function Nh(t){if(_c(t),Vh(t))for(let e=0;e<t.producerNode.length;e++)jh(t.producerNode[e],t.producerIndexOfThis[e]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function jh(t,e){if(RS(t),_c(t),t.liveConsumerNode.length===1)for(let n=0;n<t.producerNode.length;n++)jh(t.producerNode[n],t.producerIndexOfThis[n]);let i=t.liveConsumerNode.length-1;if(t.liveConsumerNode[e]=t.liveConsumerNode[i],t.liveConsumerIndexOfThis[e]=t.liveConsumerIndexOfThis[i],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,e<t.liveConsumerNode.length){let n=t.liveConsumerIndexOfThis[e],r=t.liveConsumerNode[e];_c(r),r.producerIndexOfThis[n]=e}}function Vh(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function _c(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function RS(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function FS(){throw new Error}function gA(t){kS=t}function vA(t,e,i){let n=Object.create(LS);i&&(n.consumerAllowSignalWrites=!0),n.fn=t,n.schedule=e;let r=l=>{n.cleanupFn=l};function o(l){return l.fn===null&&l.schedule===null}function s(l){o(l)||(Nh(l),l.cleanupFn(),l.fn=null,l.schedule=null,l.cleanupFn=Fh)}let a=()=>{if(n.fn===null)return;if(SS())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(n.dirty=!1,n.hasRun&&!Cc(n))return;n.hasRun=!0;let l=Lh(n);try{n.cleanupFn(),n.cleanupFn=Fh,n.fn(r)}finally{Ph(n,l)}};return n.ref={notify:()=>pA(n),run:a,cleanup:()=>n.cleanupFn(),destroy:()=>s(n),[xc]:n},n.ref}var mA,Ac,Rh,xc,kh,kS,Fh,LS,yA=g(()=>{"use strict";mA=null,Ac=!1,Rh=1,xc=Symbol("SIGNAL");kh={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:()=>{}};kS=FS;Fh=()=>{},LS=we(A({},kh),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule!==null&&t.schedule(t.ref)},hasRun:!1,cleanupFn:Fh})});function q(t){return typeof t=="function"}var ht=g(()=>{"use strict"});function Fo(t){let i=t(n=>{Error.call(n),n.stack=new Error().stack});return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}var wc=g(()=>{"use strict"});var Ec,bA=g(()=>{"use strict";wc();Ec=Fo(t=>function(i){t(this),this.message=i?`${i.length} errors occurred during unsubscription:
1
+ var ES=Object.defineProperty,DS=Object.defineProperties;var IS=Object.getOwnPropertyDescriptors;var bc=Object.getOwnPropertySymbols;var hA=Object.prototype.hasOwnProperty,mA=Object.prototype.propertyIsEnumerable;var fA=(t,e,i)=>e in t?ES(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,A=(t,e)=>{for(var i in e||={})hA.call(e,i)&&fA(t,i,e[i]);if(bc)for(var i of bc(e))mA.call(e,i)&&fA(t,i,e[i]);return t},we=(t,e)=>DS(t,IS(e));var Th=(t,e)=>{var i={};for(var n in t)hA.call(t,n)&&e.indexOf(n)<0&&(i[n]=t[n]);if(t!=null&&bc)for(var n of bc(t))e.indexOf(n)<0&&mA.call(t,n)&&(i[n]=t[n]);return i};var g=(t,e)=>()=>(t&&(e=t(t=0)),e);var MS=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Oh=(t,e,i)=>{if(!e.has(t))throw TypeError("Cannot "+i)};var Ke=(t,e,i)=>(Oh(t,e,"read from private field"),i?i.call(t):e.get(t)),et=(t,e,i)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,i)},Zt=(t,e,i,n)=>(Oh(t,e,"write to private field"),n?n.call(t,i):e.set(t,i),i);var Nt=(t,e,i)=>(Oh(t,e,"access private method"),i);var Ro=(t,e,i)=>new Promise((n,r)=>{var o=l=>{try{a(i.next(l))}catch(c){r(c)}},s=l=>{try{a(i.throw(l))}catch(c){r(c)}},a=l=>l.done?n(l.value):Promise.resolve(l.value).then(o,s);a((i=i.apply(t,e)).next())});function Te(t){let e=pA;return pA=t,e}function SS(){return Ac}function TS(t){if(!(Vh(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Rh)){if(!t.producerMustRecompute(t)&&!Cc(t)){t.dirty=!1,t.lastCleanEpoch=Rh;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=Rh}}function OS(t){if(t.liveConsumerNode===void 0)return;let e=Ac;Ac=!0;try{for(let i of t.liveConsumerNode)i.dirty||gA(i)}finally{Ac=e}}function gA(t){t.dirty=!0,OS(t),t.consumerMarkedDirty?.(t)}function Lh(t){return t&&(t.nextProducerIndex=0),Te(t)}function Ph(t,e){if(Te(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Vh(t))for(let i=t.nextProducerIndex;i<t.producerNode.length;i++)jh(t.producerNode[i],t.producerIndexOfThis[i]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Cc(t){_c(t);for(let e=0;e<t.producerNode.length;e++){let i=t.producerNode[e],n=t.producerLastReadVersion[e];if(n!==i.version||(TS(i),n!==i.version))return!0}return!1}function Nh(t){if(_c(t),Vh(t))for(let e=0;e<t.producerNode.length;e++)jh(t.producerNode[e],t.producerIndexOfThis[e]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function jh(t,e){if(RS(t),_c(t),t.liveConsumerNode.length===1)for(let n=0;n<t.producerNode.length;n++)jh(t.producerNode[n],t.producerIndexOfThis[n]);let i=t.liveConsumerNode.length-1;if(t.liveConsumerNode[e]=t.liveConsumerNode[i],t.liveConsumerIndexOfThis[e]=t.liveConsumerIndexOfThis[i],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,e<t.liveConsumerNode.length){let n=t.liveConsumerIndexOfThis[e],r=t.liveConsumerNode[e];_c(r),r.producerIndexOfThis[n]=e}}function Vh(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function _c(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function RS(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function FS(){throw new Error}function vA(t){kS=t}function yA(t,e,i){let n=Object.create(LS);i&&(n.consumerAllowSignalWrites=!0),n.fn=t,n.schedule=e;let r=l=>{n.cleanupFn=l};function o(l){return l.fn===null&&l.schedule===null}function s(l){o(l)||(Nh(l),l.cleanupFn(),l.fn=null,l.schedule=null,l.cleanupFn=Fh)}let a=()=>{if(n.fn===null)return;if(SS())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(n.dirty=!1,n.hasRun&&!Cc(n))return;n.hasRun=!0;let l=Lh(n);try{n.cleanupFn(),n.cleanupFn=Fh,n.fn(r)}finally{Ph(n,l)}};return n.ref={notify:()=>gA(n),run:a,cleanup:()=>n.cleanupFn(),destroy:()=>s(n),[xc]:n},n.ref}var pA,Ac,Rh,xc,kh,kS,Fh,LS,bA=g(()=>{"use strict";pA=null,Ac=!1,Rh=1,xc=Symbol("SIGNAL");kh={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:()=>{}};kS=FS;Fh=()=>{},LS=we(A({},kh),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule!==null&&t.schedule(t.ref)},hasRun:!1,cleanupFn:Fh})});function q(t){return typeof t=="function"}var ht=g(()=>{"use strict"});function Fo(t){let i=t(n=>{Error.call(n),n.stack=new Error().stack});return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}var wc=g(()=>{"use strict"});var Ec,AA=g(()=>{"use strict";wc();Ec=Fo(t=>function(i){t(this),this.message=i?`${i.length} errors occurred during unsubscription:
2
2
  ${i.map((n,r)=>`${r+1}) ${n.toString()}`).join(`
3
- `)}`:"",this.name="UnsubscriptionError",this.errors=i})});function Tr(t,e){if(t){let i=t.indexOf(e);0<=i&&t.splice(i,1)}}var Dc=g(()=>{"use strict"});function Ic(t){return t instanceof be||t&&"closed"in t&&q(t.remove)&&q(t.add)&&q(t.unsubscribe)}function AA(t){q(t)?t():t.unsubscribe()}var be,Bh,Or=g(()=>{"use strict";ht();bA();Dc();be=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:i}=this;if(i)if(this._parentage=null,Array.isArray(i))for(let o of i)o.remove(this);else i.remove(this);let{initialTeardown:n}=this;if(q(n))try{n()}catch(o){e=o instanceof Ec?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{AA(o)}catch(s){e=e??[],s instanceof Ec?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Ec(e)}}add(e){var i;if(e&&e!==this)if(this.closed)AA(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(i=this._finalizers)!==null&&i!==void 0?i:[]).push(e)}}_hasParent(e){let{_parentage:i}=this;return i===e||Array.isArray(i)&&i.includes(e)}_addParent(e){let{_parentage:i}=this;this._parentage=Array.isArray(i)?(i.push(e),i):i?[i,e]:e}_removeParent(e){let{_parentage:i}=this;i===e?this._parentage=null:Array.isArray(i)&&Tr(i,e)}remove(e){let{_finalizers:i}=this;i&&Tr(i,e),e instanceof t&&e._removeParent(this)}};be.EMPTY=(()=>{let t=new be;return t.closed=!0,t})();Bh=be.EMPTY});var Cn,ca=g(()=>{"use strict";Cn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}});var ko,Uh=g(()=>{"use strict";ko={setTimeout(t,e,...i){let{delegate:n}=ko;return n?.setTimeout?n.setTimeout(t,e,...i):setTimeout(t,e,...i)},clearTimeout(t){let{delegate:e}=ko;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0}});function Mc(t){ko.setTimeout(()=>{let{onUnhandledError:e}=Cn;if(e)e(t);else throw t})}var Hh=g(()=>{"use strict";ca();Uh()});function Rr(){}var Sc=g(()=>{"use strict"});function xA(t){return zh("E",void 0,t)}function CA(t){return zh("N",t,void 0)}function zh(t,e,i){return{kind:t,value:e,error:i}}var _A,wA=g(()=>{"use strict";_A=zh("C",void 0,void 0)});function Lo(t){if(Cn.useDeprecatedSynchronousErrorHandling){let e=!Fr;if(e&&(Fr={errorThrown:!1,error:null}),t(),e){let{errorThrown:i,error:n}=Fr;if(Fr=null,i)throw n}}else t()}function EA(t){Cn.useDeprecatedSynchronousErrorHandling&&Fr&&(Fr.errorThrown=!0,Fr.error=t)}var Fr,Tc=g(()=>{"use strict";ca();Fr=null});function Wh(t,e){return PS.call(t,e)}function Oc(t){Cn.useDeprecatedSynchronousErrorHandling?EA(t):Mc(t)}function NS(t){throw t}function Gh(t,e){let{onStoppedNotification:i}=Cn;i&&ko.setTimeout(()=>i(t,e))}var kr,PS,Qh,oi,jS,Rc=g(()=>{"use strict";ht();Or();ca();Hh();Sc();wA();Uh();Tc();kr=class extends be{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Ic(e)&&e.add(this)):this.destination=jS}static create(e,i,n){return new oi(e,i,n)}next(e){this.isStopped?Gh(CA(e),this):this._next(e)}error(e){this.isStopped?Gh(xA(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Gh(_A,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},PS=Function.prototype.bind;Qh=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:i}=this;if(i.next)try{i.next(e)}catch(n){Oc(n)}}error(e){let{partialObserver:i}=this;if(i.error)try{i.error(e)}catch(n){Oc(n)}else Oc(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(i){Oc(i)}}},oi=class extends kr{constructor(e,i,n){super();let r;if(q(e)||!e)r={next:e??void 0,error:i??void 0,complete:n??void 0};else{let o;this&&Cn.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),r={next:e.next&&Wh(e.next,o),error:e.error&&Wh(e.error,o),complete:e.complete&&Wh(e.complete,o)}):r=e}this.destination=new Qh(r)}};jS={closed:!0,next:Rr,error:NS,complete:Rr}});var Po,Fc=g(()=>{"use strict";Po=typeof Symbol=="function"&&Symbol.observable||"@@observable"});function jt(t){return t}var Vi=g(()=>{"use strict"});function Kh(...t){return qh(t)}function qh(t){return t.length===0?jt:t.length===1?t[0]:function(i){return t.reduce((n,r)=>r(n),i)}}var Yh=g(()=>{"use strict";Vi()});function DA(t){var e;return(e=t??Cn.Promise)!==null&&e!==void 0?e:Promise}function VS(t){return t&&q(t.next)&&q(t.error)&&q(t.complete)}function BS(t){return t&&t instanceof kr||VS(t)&&Ic(t)}var X,St=g(()=>{"use strict";Rc();Or();Fc();Yh();ca();ht();Tc();X=(()=>{class t{constructor(i){i&&(this._subscribe=i)}lift(i){let n=new t;return n.source=this,n.operator=i,n}subscribe(i,n,r){let o=BS(i)?i:new oi(i,n,r);return Lo(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(i){try{return this._subscribe(i)}catch(n){i.error(n)}}forEach(i,n){return n=DA(n),new n((r,o)=>{let s=new oi({next:a=>{try{i(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(i){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(i)}[Po](){return this}pipe(...i){return qh(i)(this)}toPromise(i){return i=DA(i),new i((n,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>n(o))})}}return t.create=e=>new t(e),t})()});function Zh(t){return q(t?.lift)}function ee(t){return e=>{if(Zh(e))return e.lift(function(i){try{return t(i,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}var Ye=g(()=>{"use strict";ht()});function J(t,e,i,n,r){return new $h(t,e,i,n,r)}var $h,tt=g(()=>{"use strict";Rc();$h=class extends kr{constructor(e,i,n,r,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=i?function(a){try{i(a)}catch(l){e.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:i}=this;super.unsubscribe(),!i&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}}});function No(){return ee((t,e)=>{let i=null;t._refCount++;let n=J(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){i=null;return}let r=t._connection,o=i;i=null,r&&(!o||r===o)&&r.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(i=t.connect())})}var Xh=g(()=>{"use strict";Ye();tt()});var Lr,IA=g(()=>{"use strict";St();Or();Xh();tt();Ye();Lr=class extends X{constructor(e,i){super(),this.source=e,this.subjectFactory=i,this._subject=null,this._refCount=0,this._connection=null,Zh(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new be;let i=this.getSubject();e.add(this.source.subscribe(J(i,void 0,()=>{this._teardown(),i.complete()},n=>{this._teardown(),i.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=be.EMPTY)}return e}refCount(){return No()(this)}}});var MA,SA=g(()=>{"use strict";wc();MA=Fo(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"})});var k,kc,da=g(()=>{"use strict";St();Or();SA();Dc();Tc();k=(()=>{class t extends X{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(i){let n=new kc(this,this);return n.operator=i,n}_throwIfClosed(){if(this.closed)throw new MA}next(i){Lo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(i)}})}error(i){Lo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=i;let{observers:n}=this;for(;n.length;)n.shift().error(i)}})}complete(){Lo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:i}=this;for(;i.length;)i.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var i;return((i=this.observers)===null||i===void 0?void 0:i.length)>0}_trySubscribe(i){return this._throwIfClosed(),super._trySubscribe(i)}_subscribe(i){return this._throwIfClosed(),this._checkFinalizedStatuses(i),this._innerSubscribe(i)}_innerSubscribe(i){let{hasError:n,isStopped:r,observers:o}=this;return n||r?Bh:(this.currentObservers=null,o.push(i),new be(()=>{this.currentObservers=null,Tr(o,i)}))}_checkFinalizedStatuses(i){let{hasError:n,thrownError:r,isStopped:o}=this;n?i.error(r):o&&i.complete()}asObservable(){let i=new X;return i.source=this,i}}return t.create=(e,i)=>new kc(e,i),t})(),kc=class extends k{constructor(e,i){super(),this.destination=e,this.source=i}next(e){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.next)===null||n===void 0||n.call(i,e)}error(e){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.error)===null||n===void 0||n.call(i,e)}complete(){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||i===void 0||i.call(e)}_subscribe(e){var i,n;return(n=(i=this.source)===null||i===void 0?void 0:i.subscribe(e))!==null&&n!==void 0?n:Bh}}});var ot,TA=g(()=>{"use strict";da();ot=class extends k{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let i=super._subscribe(e);return!i.closed&&e.next(this._value),i}getValue(){let{hasError:e,thrownError:i,_value:n}=this;if(e)throw i;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}}});var ua,Jh=g(()=>{"use strict";ua={now(){return(ua.delegate||Date).now()},delegate:void 0}});var Pr,em=g(()=>{"use strict";da();Jh();Pr=class extends k{constructor(e=1/0,i=1/0,n=ua){super(),this._bufferSize=e,this._windowTime=i,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=i===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,i)}next(e){let{isStopped:i,_buffer:n,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;i||(n.push(e),!r&&n.push(o.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let i=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:r}=this,o=r.slice();for(let s=0;s<o.length&&!e.closed;s+=n?1:2)e.next(o[s]);return this._checkFinalizedStatuses(e),i}_trimBuffer(){let{_bufferSize:e,_timestampProvider:i,_buffer:n,_infiniteTimeWindow:r}=this,o=(r?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!r){let s=i.now(),a=0;for(let l=1;l<n.length&&n[l]<=s;l+=2)a=l;a&&n.splice(0,a+1)}}}});var Lc,OA=g(()=>{"use strict";Or();Lc=class extends be{constructor(e,i){super()}schedule(e,i=0){return this}}});var fa,RA=g(()=>{"use strict";fa={setInterval(t,e,...i){let{delegate:n}=fa;return n?.setInterval?n.setInterval(t,e,...i):setInterval(t,e,...i)},clearInterval(t){let{delegate:e}=fa;return(e?.clearInterval||clearInterval)(t)},delegate:void 0}});var jo,tm=g(()=>{"use strict";OA();RA();Dc();jo=class extends Lc{constructor(e,i){super(e,i),this.scheduler=e,this.work=i,this.pending=!1}schedule(e,i=0){var n;if(this.closed)return this;this.state=e;let r=this.id,o=this.scheduler;return r!=null&&(this.id=this.recycleAsyncId(o,r,i)),this.pending=!0,this.delay=i,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(o,this.id,i),this}requestAsyncId(e,i,n=0){return fa.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,i,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return i;i!=null&&fa.clearInterval(i)}execute(e,i){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(e,i);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,i){let n=!1,r;try{this.work(e)}catch(o){n=!0,r=o||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){let{id:e,scheduler:i}=this,{actions:n}=i;this.work=this.state=this.scheduler=null,this.pending=!1,Tr(n,this),e!=null&&(this.id=this.recycleAsyncId(i,e,null)),this.delay=null,super.unsubscribe()}}}});function FA(t){return t in im?(delete im[t],!0):!1}var US,nm,im,kA,LA=g(()=>{"use strict";US=1,im={};kA={setImmediate(t){let e=US++;return im[e]=!0,nm||(nm=Promise.resolve()),nm.then(()=>FA(e)&&t()),e},clearImmediate(t){FA(t)}}});var HS,zS,ha,PA=g(()=>{"use strict";LA();({setImmediate:HS,clearImmediate:zS}=kA),ha={setImmediate(...t){let{delegate:e}=ha;return(e?.setImmediate||HS)(...t)},clearImmediate(t){let{delegate:e}=ha;return(e?.clearImmediate||zS)(t)},delegate:void 0}});var Pc,NA=g(()=>{"use strict";tm();PA();Pc=class extends jo{constructor(e,i){super(e,i),this.scheduler=e,this.work=i}requestAsyncId(e,i,n=0){return n!==null&&n>0?super.requestAsyncId(e,i,n):(e.actions.push(this),e._scheduled||(e._scheduled=ha.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,i,n=0){var r;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(e,i,n);let{actions:o}=e;i!=null&&((r=o[o.length-1])===null||r===void 0?void 0:r.id)!==i&&(ha.clearImmediate(i),e._scheduled===i&&(e._scheduled=void 0))}}});var Vo,jA=g(()=>{"use strict";Jh();Vo=class t{constructor(e,i=t.now){this.schedulerActionCtor=e,this.now=i}schedule(e,i=0,n){return new this.schedulerActionCtor(this,e).schedule(n,i)}};Vo.now=ua.now});var Bo,rm=g(()=>{"use strict";jA();Bo=class extends Vo{constructor(e,i=Vo.now){super(e,i),this.actions=[],this._active=!1}flush(e){let{actions:i}=this;if(this._active){i.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=i.shift());if(this._active=!1,n){for(;e=i.shift();)e.unsubscribe();throw n}}}});var Nc,VA=g(()=>{"use strict";rm();Nc=class extends Bo{flush(e){this._active=!0;let i=this._scheduled;this._scheduled=void 0;let{actions:n}=this,r;e=e||n.shift();do if(r=e.execute(e.state,e.delay))break;while((e=n[0])&&e.id===i&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===i&&n.shift();)e.unsubscribe();throw r}}}});var Uo,BA=g(()=>{"use strict";NA();VA();Uo=new Nc(Pc)});var Nr,UA,ma=g(()=>{"use strict";tm();rm();Nr=new Bo(jo),UA=Nr});var Vt,pa=g(()=>{"use strict";St();Vt=new X(t=>t.complete())});function jc(t){return t&&q(t.schedule)}var om=g(()=>{"use strict";ht()});function sm(t){return t[t.length-1]}function Vc(t){return q(sm(t))?t.pop():void 0}function Vn(t){return jc(sm(t))?t.pop():void 0}function HA(t,e){return typeof sm(t)=="number"?t.pop():e}var jr=g(()=>{"use strict";ht();om()});function WA(t,e,i,n){function r(o){return o instanceof i?o:new i(function(s){s(o)})}return new(i||(i=Promise))(function(o,s){function a(d){try{c(n.next(d))}catch(u){s(u)}}function l(d){try{c(n.throw(d))}catch(u){s(u)}}function c(d){d.done?o(d.value):r(d.value).then(a,l)}c((n=n.apply(t,e||[])).next())})}function zA(t){var e=typeof Symbol=="function"&&Symbol.iterator,i=e&&t[e],n=0;if(i)return i.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Vr(t){return this instanceof Vr?(this.v=t,this):new Vr(t)}function GA(t,e,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=i.apply(t,e||[]),r,o=[];return r={},a("next"),a("throw"),a("return",s),r[Symbol.asyncIterator]=function(){return this},r;function s(m){return function(v){return Promise.resolve(v).then(m,u)}}function a(m,v){n[m]&&(r[m]=function(_){return new Promise(function(I,M){o.push([m,_,I,M])>1||l(m,_)})},v&&(r[m]=v(r[m])))}function l(m,v){try{c(n[m](v))}catch(_){h(o[0][3],_)}}function c(m){m.value instanceof Vr?Promise.resolve(m.value.v).then(d,u):h(o[0][2],m)}function d(m){l("next",m)}function u(m){l("throw",m)}function h(m,v){m(v),o.shift(),o.length&&l(o[0][0],o[0][1])}}function QA(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],i;return e?e.call(t):(t=typeof zA=="function"?zA(t):t[Symbol.iterator](),i={},n("next"),n("throw"),n("return"),i[Symbol.asyncIterator]=function(){return this},i);function n(o){i[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 am=g(()=>{"use strict"});var Ho,Bc=g(()=>{"use strict";Ho=t=>t&&typeof t.length=="number"&&typeof t!="function"});function Uc(t){return q(t?.then)}var lm=g(()=>{"use strict";ht()});function Hc(t){return q(t[Po])}var cm=g(()=>{"use strict";Fc();ht()});function zc(t){return Symbol.asyncIterator&&q(t?.[Symbol.asyncIterator])}var dm=g(()=>{"use strict";ht()});function Wc(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 um=g(()=>{"use strict"});function WS(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Gc,fm=g(()=>{"use strict";Gc=WS()});function Qc(t){return q(t?.[Gc])}var hm=g(()=>{"use strict";fm();ht()});function Kc(t){return GA(this,arguments,function*(){let i=t.getReader();try{for(;;){let{value:n,done:r}=yield Vr(i.read());if(r)return yield Vr(void 0);yield yield Vr(n)}}finally{i.releaseLock()}})}function qc(t){return q(t?.getReader)}var Yc=g(()=>{"use strict";am();ht()});function Oe(t){if(t instanceof X)return t;if(t!=null){if(Hc(t))return GS(t);if(Ho(t))return QS(t);if(Uc(t))return KS(t);if(zc(t))return KA(t);if(Qc(t))return qS(t);if(qc(t))return YS(t)}throw Wc(t)}function GS(t){return new X(e=>{let i=t[Po]();if(q(i.subscribe))return i.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function QS(t){return new X(e=>{for(let i=0;i<t.length&&!e.closed;i++)e.next(t[i]);e.complete()})}function KS(t){return new X(e=>{t.then(i=>{e.closed||(e.next(i),e.complete())},i=>e.error(i)).then(null,Mc)})}function qS(t){return new X(e=>{for(let i of t)if(e.next(i),e.closed)return;e.complete()})}function KA(t){return new X(e=>{ZS(t,e).catch(i=>e.error(i))})}function YS(t){return KA(Kc(t))}function ZS(t,e){var i,n,r,o;return WA(this,void 0,void 0,function*(){try{for(i=QA(t);n=yield i.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){r={error:s}}finally{try{n&&!n.done&&(o=i.return)&&(yield o.call(i))}finally{if(r)throw r.error}}e.complete()})}var Tt=g(()=>{"use strict";am();Bc();lm();St();cm();dm();um();hm();Yc();ht();Hh();Fc()});function Gt(t,e,i,n=0,r=!1){let o=e.schedule(function(){i(),r?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!r)return o}var zo=g(()=>{"use strict"});function Zc(t,e=0){return ee((i,n)=>{i.subscribe(J(n,r=>Gt(n,t,()=>n.next(r),e),()=>Gt(n,t,()=>n.complete(),e),r=>Gt(n,t,()=>n.error(r),e)))})}var mm=g(()=>{"use strict";zo();Ye();tt()});function $c(t,e=0){return ee((i,n)=>{n.add(t.schedule(()=>i.subscribe(n),e))})}var pm=g(()=>{"use strict";Ye()});function qA(t,e){return Oe(t).pipe($c(e),Zc(e))}var YA=g(()=>{"use strict";Tt();mm();pm()});function ZA(t,e){return Oe(t).pipe($c(e),Zc(e))}var $A=g(()=>{"use strict";Tt();mm();pm()});function XA(t,e){return new X(i=>{let n=0;return e.schedule(function(){n===t.length?i.complete():(i.next(t[n++]),i.closed||this.schedule())})})}var JA=g(()=>{"use strict";St()});function e0(t,e){return new X(i=>{let n;return Gt(i,e,()=>{n=t[Gc](),Gt(i,e,()=>{let r,o;try{({value:r,done:o}=n.next())}catch(s){i.error(s);return}o?i.complete():i.next(r)},0,!0)}),()=>q(n?.return)&&n.return()})}var t0=g(()=>{"use strict";St();fm();ht();zo()});function Xc(t,e){if(!t)throw new Error("Iterable cannot be null");return new X(i=>{Gt(i,e,()=>{let n=t[Symbol.asyncIterator]();Gt(i,e,()=>{n.next().then(r=>{r.done?i.complete():i.next(r.value)})},0,!0)})})}var gm=g(()=>{"use strict";St();zo()});function n0(t,e){return Xc(Kc(t),e)}var i0=g(()=>{"use strict";gm();Yc()});function r0(t,e){if(t!=null){if(Hc(t))return qA(t,e);if(Ho(t))return XA(t,e);if(Uc(t))return ZA(t,e);if(zc(t))return Xc(t,e);if(Qc(t))return e0(t,e);if(qc(t))return n0(t,e)}throw Wc(t)}var o0=g(()=>{"use strict";YA();$A();JA();t0();gm();cm();lm();Bc();hm();dm();um();Yc();i0()});function ke(t,e){return e?r0(t,e):Oe(t)}var Wo=g(()=>{"use strict";o0();Tt()});function R(...t){let e=Vn(t);return ke(t,e)}var s0=g(()=>{"use strict";jr();Wo()});function Bi(t,e){let i=q(t)?t:()=>t,n=r=>r.error(i());return new X(e?r=>e.schedule(n,0,r):n)}var a0=g(()=>{"use strict";St();ht()});function $t(t){return!!t&&(t instanceof X||q(t.lift)&&q(t.subscribe))}var l0=g(()=>{"use strict";St();ht()});var si,ga=g(()=>{"use strict";wc();si=Fo(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"})});function c0(t){return t instanceof Date&&!isNaN(t)}var d0=g(()=>{"use strict"});function B(t,e){return ee((i,n)=>{let r=0;i.subscribe(J(n,o=>{n.next(t.call(e,o,r++))}))})}var Go=g(()=>{"use strict";Ye();tt()});function XS(t,e){return $S(e)?t(...e):t(e)}function Qo(t){return B(e=>XS(t,e))}var $S,Jc=g(()=>{"use strict";Go();({isArray:$S}=Array)});function ed(t){if(t.length===1){let e=t[0];if(JS(e))return{args:e,keys:null};if(iT(e)){let i=nT(e);return{args:i.map(n=>e[n]),keys:i}}}return{args:t,keys:null}}function iT(t){return t&&typeof t=="object"&&eT(t)===tT}var JS,eT,tT,nT,vm=g(()=>{"use strict";({isArray:JS}=Array),{getPrototypeOf:eT,prototype:tT,keys:nT}=Object});function td(t,e){return t.reduce((i,n,r)=>(i[n]=e[r],i),{})}var ym=g(()=>{"use strict"});function Br(...t){let e=Vn(t),i=Vc(t),{args:n,keys:r}=ed(t);if(n.length===0)return ke([],e);let o=new X(rT(n,e,r?s=>td(r,s):jt));return i?o.pipe(Qo(i)):o}function rT(t,e,i=jt){return n=>{u0(e,()=>{let{length:r}=t,o=new Array(r),s=r,a=r;for(let l=0;l<r;l++)u0(e,()=>{let c=ke(t[l],e),d=!1;c.subscribe(J(n,u=>{o[l]=u,d||(d=!0,a--),a||n.next(i(o.slice()))},()=>{--s||n.complete()}))},n)},n)}}function u0(t,e,i){t?Gt(i,t,e):e()}var f0=g(()=>{"use strict";St();vm();Wo();Vi();Jc();jr();ym();tt();zo()});function h0(t,e,i,n,r,o,s,a){let l=[],c=0,d=0,u=!1,h=()=>{u&&!l.length&&!c&&e.complete()},m=_=>c<n?v(_):l.push(_),v=_=>{o&&e.next(_),c++;let I=!1;Oe(i(_,d++)).subscribe(J(e,M=>{r?.(M),o?m(M):e.next(M)},()=>{I=!0},void 0,()=>{if(I)try{for(c--;l.length&&c<n;){let M=l.shift();s?Gt(e,s,()=>v(M)):v(M)}h()}catch(M){e.error(M)}}))};return t.subscribe(J(e,m,()=>{u=!0,h()})),()=>{a?.()}}var m0=g(()=>{"use strict";Tt();zo();tt()});function Ve(t,e,i=1/0){return q(e)?Ve((n,r)=>B((o,s)=>e(n,o,r,s))(Oe(t(n,r))),i):(typeof e=="number"&&(i=e),ee((n,r)=>h0(n,r,t,i)))}var Ur=g(()=>{"use strict";Go();Tt();Ye();m0();ht()});function Ui(t=1/0){return Ve(jt,t)}var nd=g(()=>{"use strict";Ur();Vi()});function p0(){return Ui(1)}var g0=g(()=>{"use strict";nd()});function Xt(...t){return p0()(ke(t,Vn(t)))}var id=g(()=>{"use strict";g0();jr();Wo()});function Jt(t){return new X(e=>{Oe(t()).subscribe(e)})}var v0=g(()=>{"use strict";St();Tt()});function Hi(...t){let e=Vc(t),{args:i,keys:n}=ed(t),r=new X(o=>{let{length:s}=i;if(!s){o.complete();return}let a=new Array(s),l=s,c=s;for(let d=0;d<s;d++){let u=!1;Oe(i[d]).subscribe(J(o,h=>{u||(u=!0,c--),a[d]=h},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(n?td(n,a):a),o.complete())}))}});return e?r.pipe(Qo(e)):r}var y0=g(()=>{"use strict";St();vm();Tt();jr();tt();Jc();ym()});function zi(t,e,i,n){if(q(i)&&(n=i,i=void 0),n)return zi(t,e,i).pipe(Qo(n));let[r,o]=dT(t)?sT.map(s=>a=>t[s](e,a,i)):lT(t)?oT.map(b0(t,e)):cT(t)?aT.map(b0(t,e)):[];if(!r&&Ho(t))return Ve(s=>zi(s,e,i))(Oe(t));if(!r)throw new TypeError("Invalid event target");return new X(s=>{let a=(...l)=>s.next(1<l.length?l:l[0]);return r(a),()=>o(a)})}function b0(t,e){return i=>n=>t[i](e,n)}function lT(t){return q(t.addListener)&&q(t.removeListener)}function cT(t){return q(t.on)&&q(t.off)}function dT(t){return q(t.addEventListener)&&q(t.removeEventListener)}var oT,sT,aT,A0=g(()=>{"use strict";Tt();St();Ur();Bc();ht();Jc();oT=["addListener","removeListener"],sT=["addEventListener","removeEventListener"],aT=["on","off"]});function rd(t=0,e,i=UA){let n=-1;return e!=null&&(jc(e)?i=e:n=e),new X(r=>{let o=c0(t)?+t-i.now():t;o<0&&(o=0);let s=0;return i.schedule(function(){r.closed||(r.next(s++),0<=n?this.schedule(void 0,n):r.complete())},o)})}var bm=g(()=>{"use strict";St();ma();om();d0()});function mt(...t){let e=Vn(t),i=HA(t,1/0),n=t;return n.length?n.length===1?Oe(n[0]):Ui(i)(ke(n,e)):Vt}var _0=g(()=>{"use strict";nd();Tt();pa();jr();Wo()});function de(t,e){return ee((i,n)=>{let r=0;i.subscribe(J(n,o=>t.call(e,o,r++)&&n.next(o)))})}var va=g(()=>{"use strict";Ye();tt()});var x0=g(()=>{"use strict"});function C0(t){return ee((e,i)=>{let n=!1,r=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,n){n=!1;let c=r;r=null,i.next(c)}s&&i.complete()},l=()=>{o=null,s&&i.complete()};e.subscribe(J(i,c=>{n=!0,r=c,o||Oe(t(c)).subscribe(o=J(i,a,l))},()=>{s=!0,(!n||!o||o.closed)&&i.complete()}))})}var w0=g(()=>{"use strict";Ye();Tt();tt()});function od(t,e=Nr){return C0(()=>rd(t,e))}var E0=g(()=>{"use strict";ma();w0();bm()});function en(t){return ee((e,i)=>{let n=null,r=!1,o;n=e.subscribe(J(i,void 0,void 0,s=>{o=Oe(t(s,en(t)(e))),n?(n.unsubscribe(),n=null,o.subscribe(i)):r=!0})),r&&(n.unsubscribe(),n=null,o.subscribe(i))})}var Am=g(()=>{"use strict";Tt();tt();Ye()});function D0(t,e,i,n,r){return(o,s)=>{let a=i,l=e,c=0;o.subscribe(J(s,d=>{let u=c++;l=a?t(l,d,u):(a=!0,d),n&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}var I0=g(()=>{"use strict";tt()});function wn(t,e){return q(e)?Ve(t,e,1):Ve(t,1)}var M0=g(()=>{"use strict";Ur();ht()});function ai(t,e=Nr){return ee((i,n)=>{let r=null,o=null,s=null,a=()=>{if(r){r.unsubscribe(),r=null;let c=o;o=null,n.next(c)}};function l(){let c=s+t,d=e.now();if(d<c){r=this.schedule(void 0,c-d),n.add(r);return}a()}i.subscribe(J(n,c=>{o=c,s=e.now(),r||(r=e.schedule(l,t),n.add(r))},()=>{a(),n.complete()},void 0,()=>{o=r=null}))})}var _m=g(()=>{"use strict";ma();Ye();tt()});function Wi(t){return ee((e,i)=>{let n=!1;e.subscribe(J(i,r=>{n=!0,i.next(r)},()=>{n||i.next(t),i.complete()}))})}var sd=g(()=>{"use strict";Ye();tt()});function Ae(t){return t<=0?()=>Vt:ee((e,i)=>{let n=0;e.subscribe(J(i,r=>{++n<=t&&(i.next(r),t<=n&&i.complete())}))})}var ad=g(()=>{"use strict";pa();Ye();tt()});function S0(){return ee((t,e)=>{t.subscribe(J(e,Rr))})}var T0=g(()=>{"use strict";Ye();tt();Sc()});function ya(t){return B(()=>t)}var xm=g(()=>{"use strict";Go()});function Cm(t,e){return e?i=>Xt(e.pipe(Ae(1),S0()),i.pipe(Cm(t))):Ve((i,n)=>Oe(t(i,n)).pipe(Ae(1),ya(i)))}var O0=g(()=>{"use strict";id();ad();T0();xm();Ur();Tt()});function ld(t,e=Nr){let i=rd(t,e);return Cm(()=>i)}var R0=g(()=>{"use strict";ma();O0();bm()});function Hr(t,e=jt){return t=t??uT,ee((i,n)=>{let r,o=!0;i.subscribe(J(n,s=>{let a=e(s);(o||!t(r,a))&&(o=!1,r=a,n.next(s))}))})}function uT(t,e){return t===e}var F0=g(()=>{"use strict";Vi();Ye();tt()});function cd(t=fT){return ee((e,i)=>{let n=!1;e.subscribe(J(i,r=>{n=!0,i.next(r)},()=>n?i.complete():i.error(t())))})}function fT(){return new si}var wm=g(()=>{"use strict";ga();Ye();tt()});function Bt(t){return ee((e,i)=>{try{e.subscribe(i)}finally{i.add(t)}})}var Em=g(()=>{"use strict";Ye()});function Bn(t,e){let i=arguments.length>=2;return n=>n.pipe(t?de((r,o)=>t(r,o,n)):jt,Ae(1),i?Wi(e):cd(()=>new si))}var k0=g(()=>{"use strict";ga();va();ad();sd();wm();Vi()});function Ko(t){return t<=0?()=>Vt:ee((e,i)=>{let n=[];e.subscribe(J(i,r=>{n.push(r),t<n.length&&n.shift()},()=>{for(let r of n)i.next(r);i.complete()},void 0,()=>{n=null}))})}var Dm=g(()=>{"use strict";pa();Ye();tt()});function Im(t,e){let i=arguments.length>=2;return n=>n.pipe(t?de((r,o)=>t(r,o,n)):jt,Ko(1),i?Wi(e):cd(()=>new si))}var L0=g(()=>{"use strict";ga();va();Dm();wm();sd();Vi()});function Mm(t,e){return ee(D0(t,e,arguments.length>=2,!0))}var P0=g(()=>{"use strict";Ye();I0()});function ba(t={}){let{connector:e=()=>new k,resetOnError:i=!0,resetOnComplete:n=!0,resetOnRefCountZero:r=!0}=t;return o=>{let s,a,l,c=0,d=!1,u=!1,h=()=>{a?.unsubscribe(),a=void 0},m=()=>{h(),s=l=void 0,d=u=!1},v=()=>{let _=s;m(),_?.unsubscribe()};return ee((_,I)=>{c++,!u&&!d&&h();let M=l=l??e();I.add(()=>{c--,c===0&&!u&&!d&&(a=Sm(v,r))}),M.subscribe(I),!s&&c>0&&(s=new oi({next:L=>M.next(L),error:L=>{u=!0,h(),a=Sm(m,i,L),M.error(L)},complete:()=>{d=!0,h(),a=Sm(m,n),M.complete()}}),Oe(_).subscribe(s))})(o)}}function Sm(t,e,...i){if(e===!0){t();return}if(e===!1)return;let n=new oi({next:()=>{n.unsubscribe(),t()}});return Oe(e(...i)).subscribe(n)}var Tm=g(()=>{"use strict";Tt();da();Rc();Ye()});function zr(t,e,i){let n,r=!1;return t&&typeof t=="object"?{bufferSize:n=1/0,windowTime:e=1/0,refCount:r=!1,scheduler:i}=t:n=t??1/0,ba({connector:()=>new Pr(n,e,i),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}var N0=g(()=>{"use strict";em();Tm()});function Aa(t){return de((e,i)=>t<=i)}var j0=g(()=>{"use strict";va()});function Ct(...t){let e=Vn(t);return ee((i,n)=>{(e?Xt(t,i,e):Xt(t,i)).subscribe(n)})}var V0=g(()=>{"use strict";id();jr();Ye()});function Be(t,e){return ee((i,n)=>{let r=null,o=0,s=!1,a=()=>s&&!r&&n.complete();i.subscribe(J(n,l=>{r?.unsubscribe();let c=0,d=o++;Oe(t(l,d)).subscribe(r=J(n,u=>n.next(e?e(l,u,d,c++):u),()=>{r=null,a()}))},()=>{s=!0,a()}))})}var B0=g(()=>{"use strict";Tt();Ye();tt()});function te(t){return ee((e,i)=>{Oe(t).subscribe(J(i,()=>i.complete(),Rr)),!i.closed&&e.subscribe(i)})}var Om=g(()=>{"use strict";Ye();tt();Tt();Sc()});function Rm(t,e=!1){return ee((i,n)=>{let r=0;i.subscribe(J(n,o=>{let s=t(o,r++);(s||e)&&n.next(o),!s&&n.complete()}))})}var U0=g(()=>{"use strict";Ye();tt()});function Le(t,e,i){let n=q(t)||e||i?{next:t,error:e,complete:i}:t;return n?ee((r,o)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;r.subscribe(J(o,l=>{var c;(c=n.next)===null||c===void 0||c.call(n,l),o.next(l)},()=>{var l;a=!1,(l=n.complete)===null||l===void 0||l.call(n),o.complete()},l=>{var c;a=!1,(c=n.error)===null||c===void 0||c.call(n,l),o.error(l)},()=>{var l,c;a&&((l=n.unsubscribe)===null||l===void 0||l.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):jt}var Fm=g(()=>{"use strict";ht();Ye();tt();Vi()});var Ke=g(()=>{"use strict";St();IA();da();TA();em();BA();Or();Yh();l0();ga();f0();id();v0();y0();Wo();A0();_0();s0();a0();pa();x0();Am();_m();Em();Go();Ur();Om();Fm()});var at=g(()=>{"use strict";E0();Am();M0();_m();sd();R0();F0();va();Em();k0();L0();Go();xm();nd();Ur();Xh();P0();Tm();N0();j0();V0();B0();ad();Dm();Om();U0();Fm()});function zd(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function Fa(t){return{toString:t}.toString()}function hT(t){return function(...i){if(t){let n=t(...i);for(let r in n)this[r]=n[r]}}}function I_(t,e,i){return Fa(()=>{let n=hT(e);function r(...o){if(this instanceof r)return n.apply(this,o),this;let s=new r(...o);return a.annotation=s,a;function a(l,c,d){let u=l.hasOwnProperty(dd)?l[dd]:Object.defineProperty(l,dd,{value:[]})[dd];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),l}}return i&&(r.prototype=Object.create(i.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}function Ue(t){for(let e in t)if(t[e]===Ue)return e;throw Error("Could not find renamed property on target object.")}function mT(t,e){for(let i in e)e.hasOwnProperty(i)&&!t.hasOwnProperty(i)&&(t[i]=e[i])}function Ht(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(Ht).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let i=e.indexOf(`
4
- `);return i===-1?e:e.substring(0,i)}function qm(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}function Xi(t){return t.__forward_ref__=Xi,t.toString=function(){return Ht(this())},t}function Ut(t){return M_(t)?t():t}function M_(t){return typeof t=="function"&&t.hasOwnProperty(pT)&&t.__forward_ref__===Xi}function b(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 Wd(t){return H0(t,T_)||H0(t,O_)}function S_(t){return Wd(t)!==null}function H0(t,e){return t.hasOwnProperty(e)?t[e]:null}function gT(t){let e=t&&(t[T_]||t[O_]);return e||null}function z0(t){return t&&(t.hasOwnProperty(W0)||t.hasOwnProperty(vT))?t[W0]:null}function R_(t){return t&&!!t.\u0275providers}function Qr(t){return typeof t=="string"?t:t==null?"":String(t)}function xT(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Qr(t)}function CT(t,e){let i=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new T(-200,t)}function $p(t,e){throw new T(-201,!1)}function F_(){return Ym}function Qt(t){let e=Ym;return Ym=t,e}function k_(t,e,i){let n=Wd(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(i&xe.Optional)return null;if(e!==void 0)return e;$p(t,"Injector")}function MT(){return Xo}function Gi(t){let e=Xo;return Xo=t,e}function ST(t,e=xe.Default){if(Xo===void 0)throw new T(-203,!1);return Xo===null?k_(t,void 0,e):Xo.get(t,e&xe.Optional?null:void 0,e)}function p(t,e=xe.Default){return(F_()||ST)(Ut(t),e)}function y(t,e=xe.Default){return p(t,Gd(e))}function Gd(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function $m(t){let e=[];for(let i=0;i<t.length;i++){let n=Ut(t[i]);if(Array.isArray(n)){if(n.length===0)throw new T(900,!1);let r,o=xe.Default;for(let s=0;s<n.length;s++){let a=n[s],l=TT(a);typeof l=="number"?l===-1?r=a.token:o|=l:r=a}e.push(p(r,o))}else e.push(p(n))}return e}function L_(t,e){return t[Zm]=e,t.prototype[Zm]=e,t}function TT(t){return t[Zm]}function OT(t,e,i,n){let r=t[wd];throw e[Q0]&&r.unshift(e[Q0]),t.message=RT(`
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=i})});function Tr(t,e){if(t){let i=t.indexOf(e);0<=i&&t.splice(i,1)}}var Dc=g(()=>{"use strict"});function Ic(t){return t instanceof be||t&&"closed"in t&&q(t.remove)&&q(t.add)&&q(t.unsubscribe)}function _A(t){q(t)?t():t.unsubscribe()}var be,Bh,Or=g(()=>{"use strict";ht();AA();Dc();be=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:i}=this;if(i)if(this._parentage=null,Array.isArray(i))for(let o of i)o.remove(this);else i.remove(this);let{initialTeardown:n}=this;if(q(n))try{n()}catch(o){e=o instanceof Ec?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{_A(o)}catch(s){e=e??[],s instanceof Ec?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Ec(e)}}add(e){var i;if(e&&e!==this)if(this.closed)_A(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(i=this._finalizers)!==null&&i!==void 0?i:[]).push(e)}}_hasParent(e){let{_parentage:i}=this;return i===e||Array.isArray(i)&&i.includes(e)}_addParent(e){let{_parentage:i}=this;this._parentage=Array.isArray(i)?(i.push(e),i):i?[i,e]:e}_removeParent(e){let{_parentage:i}=this;i===e?this._parentage=null:Array.isArray(i)&&Tr(i,e)}remove(e){let{_finalizers:i}=this;i&&Tr(i,e),e instanceof t&&e._removeParent(this)}};be.EMPTY=(()=>{let t=new be;return t.closed=!0,t})();Bh=be.EMPTY});var Cn,ca=g(()=>{"use strict";Cn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}});var ko,Uh=g(()=>{"use strict";ko={setTimeout(t,e,...i){let{delegate:n}=ko;return n?.setTimeout?n.setTimeout(t,e,...i):setTimeout(t,e,...i)},clearTimeout(t){let{delegate:e}=ko;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0}});function Mc(t){ko.setTimeout(()=>{let{onUnhandledError:e}=Cn;if(e)e(t);else throw t})}var Hh=g(()=>{"use strict";ca();Uh()});function Rr(){}var Sc=g(()=>{"use strict"});function CA(t){return zh("E",void 0,t)}function wA(t){return zh("N",t,void 0)}function zh(t,e,i){return{kind:t,value:e,error:i}}var xA,EA=g(()=>{"use strict";xA=zh("C",void 0,void 0)});function Lo(t){if(Cn.useDeprecatedSynchronousErrorHandling){let e=!Fr;if(e&&(Fr={errorThrown:!1,error:null}),t(),e){let{errorThrown:i,error:n}=Fr;if(Fr=null,i)throw n}}else t()}function DA(t){Cn.useDeprecatedSynchronousErrorHandling&&Fr&&(Fr.errorThrown=!0,Fr.error=t)}var Fr,Tc=g(()=>{"use strict";ca();Fr=null});function Wh(t,e){return PS.call(t,e)}function Oc(t){Cn.useDeprecatedSynchronousErrorHandling?DA(t):Mc(t)}function NS(t){throw t}function Gh(t,e){let{onStoppedNotification:i}=Cn;i&&ko.setTimeout(()=>i(t,e))}var kr,PS,Kh,oi,jS,Rc=g(()=>{"use strict";ht();Or();ca();Hh();Sc();EA();Uh();Tc();kr=class extends be{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Ic(e)&&e.add(this)):this.destination=jS}static create(e,i,n){return new oi(e,i,n)}next(e){this.isStopped?Gh(wA(e),this):this._next(e)}error(e){this.isStopped?Gh(CA(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Gh(xA,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},PS=Function.prototype.bind;Kh=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:i}=this;if(i.next)try{i.next(e)}catch(n){Oc(n)}}error(e){let{partialObserver:i}=this;if(i.error)try{i.error(e)}catch(n){Oc(n)}else Oc(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(i){Oc(i)}}},oi=class extends kr{constructor(e,i,n){super();let r;if(q(e)||!e)r={next:e??void 0,error:i??void 0,complete:n??void 0};else{let o;this&&Cn.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),r={next:e.next&&Wh(e.next,o),error:e.error&&Wh(e.error,o),complete:e.complete&&Wh(e.complete,o)}):r=e}this.destination=new Kh(r)}};jS={closed:!0,next:Rr,error:NS,complete:Rr}});var Po,Fc=g(()=>{"use strict";Po=typeof Symbol=="function"&&Symbol.observable||"@@observable"});function jt(t){return t}var Vi=g(()=>{"use strict"});function Qh(...t){return qh(t)}function qh(t){return t.length===0?jt:t.length===1?t[0]:function(i){return t.reduce((n,r)=>r(n),i)}}var Yh=g(()=>{"use strict";Vi()});function IA(t){var e;return(e=t??Cn.Promise)!==null&&e!==void 0?e:Promise}function VS(t){return t&&q(t.next)&&q(t.error)&&q(t.complete)}function BS(t){return t&&t instanceof kr||VS(t)&&Ic(t)}var X,St=g(()=>{"use strict";Rc();Or();Fc();Yh();ca();ht();Tc();X=(()=>{class t{constructor(i){i&&(this._subscribe=i)}lift(i){let n=new t;return n.source=this,n.operator=i,n}subscribe(i,n,r){let o=BS(i)?i:new oi(i,n,r);return Lo(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(i){try{return this._subscribe(i)}catch(n){i.error(n)}}forEach(i,n){return n=IA(n),new n((r,o)=>{let s=new oi({next:a=>{try{i(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(i){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(i)}[Po](){return this}pipe(...i){return qh(i)(this)}toPromise(i){return i=IA(i),new i((n,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>n(o))})}}return t.create=e=>new t(e),t})()});function Zh(t){return q(t?.lift)}function ee(t){return e=>{if(Zh(e))return e.lift(function(i){try{return t(i,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}var Ye=g(()=>{"use strict";ht()});function J(t,e,i,n,r){return new $h(t,e,i,n,r)}var $h,tt=g(()=>{"use strict";Rc();$h=class extends kr{constructor(e,i,n,r,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=i?function(a){try{i(a)}catch(l){e.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:i}=this;super.unsubscribe(),!i&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}}});function No(){return ee((t,e)=>{let i=null;t._refCount++;let n=J(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){i=null;return}let r=t._connection,o=i;i=null,r&&(!o||r===o)&&r.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(i=t.connect())})}var Xh=g(()=>{"use strict";Ye();tt()});var Lr,MA=g(()=>{"use strict";St();Or();Xh();tt();Ye();Lr=class extends X{constructor(e,i){super(),this.source=e,this.subjectFactory=i,this._subject=null,this._refCount=0,this._connection=null,Zh(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new be;let i=this.getSubject();e.add(this.source.subscribe(J(i,void 0,()=>{this._teardown(),i.complete()},n=>{this._teardown(),i.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=be.EMPTY)}return e}refCount(){return No()(this)}}});var SA,TA=g(()=>{"use strict";wc();SA=Fo(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"})});var k,kc,da=g(()=>{"use strict";St();Or();TA();Dc();Tc();k=(()=>{class t extends X{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(i){let n=new kc(this,this);return n.operator=i,n}_throwIfClosed(){if(this.closed)throw new SA}next(i){Lo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(i)}})}error(i){Lo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=i;let{observers:n}=this;for(;n.length;)n.shift().error(i)}})}complete(){Lo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:i}=this;for(;i.length;)i.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var i;return((i=this.observers)===null||i===void 0?void 0:i.length)>0}_trySubscribe(i){return this._throwIfClosed(),super._trySubscribe(i)}_subscribe(i){return this._throwIfClosed(),this._checkFinalizedStatuses(i),this._innerSubscribe(i)}_innerSubscribe(i){let{hasError:n,isStopped:r,observers:o}=this;return n||r?Bh:(this.currentObservers=null,o.push(i),new be(()=>{this.currentObservers=null,Tr(o,i)}))}_checkFinalizedStatuses(i){let{hasError:n,thrownError:r,isStopped:o}=this;n?i.error(r):o&&i.complete()}asObservable(){let i=new X;return i.source=this,i}}return t.create=(e,i)=>new kc(e,i),t})(),kc=class extends k{constructor(e,i){super(),this.destination=e,this.source=i}next(e){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.next)===null||n===void 0||n.call(i,e)}error(e){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.error)===null||n===void 0||n.call(i,e)}complete(){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||i===void 0||i.call(e)}_subscribe(e){var i,n;return(n=(i=this.source)===null||i===void 0?void 0:i.subscribe(e))!==null&&n!==void 0?n:Bh}}});var ot,OA=g(()=>{"use strict";da();ot=class extends k{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let i=super._subscribe(e);return!i.closed&&e.next(this._value),i}getValue(){let{hasError:e,thrownError:i,_value:n}=this;if(e)throw i;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}}});var ua,Jh=g(()=>{"use strict";ua={now(){return(ua.delegate||Date).now()},delegate:void 0}});var Pr,em=g(()=>{"use strict";da();Jh();Pr=class extends k{constructor(e=1/0,i=1/0,n=ua){super(),this._bufferSize=e,this._windowTime=i,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=i===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,i)}next(e){let{isStopped:i,_buffer:n,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;i||(n.push(e),!r&&n.push(o.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let i=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:r}=this,o=r.slice();for(let s=0;s<o.length&&!e.closed;s+=n?1:2)e.next(o[s]);return this._checkFinalizedStatuses(e),i}_trimBuffer(){let{_bufferSize:e,_timestampProvider:i,_buffer:n,_infiniteTimeWindow:r}=this,o=(r?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!r){let s=i.now(),a=0;for(let l=1;l<n.length&&n[l]<=s;l+=2)a=l;a&&n.splice(0,a+1)}}}});var Lc,RA=g(()=>{"use strict";Or();Lc=class extends be{constructor(e,i){super()}schedule(e,i=0){return this}}});var fa,FA=g(()=>{"use strict";fa={setInterval(t,e,...i){let{delegate:n}=fa;return n?.setInterval?n.setInterval(t,e,...i):setInterval(t,e,...i)},clearInterval(t){let{delegate:e}=fa;return(e?.clearInterval||clearInterval)(t)},delegate:void 0}});var jo,tm=g(()=>{"use strict";RA();FA();Dc();jo=class extends Lc{constructor(e,i){super(e,i),this.scheduler=e,this.work=i,this.pending=!1}schedule(e,i=0){var n;if(this.closed)return this;this.state=e;let r=this.id,o=this.scheduler;return r!=null&&(this.id=this.recycleAsyncId(o,r,i)),this.pending=!0,this.delay=i,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(o,this.id,i),this}requestAsyncId(e,i,n=0){return fa.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,i,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return i;i!=null&&fa.clearInterval(i)}execute(e,i){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(e,i);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,i){let n=!1,r;try{this.work(e)}catch(o){n=!0,r=o||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){let{id:e,scheduler:i}=this,{actions:n}=i;this.work=this.state=this.scheduler=null,this.pending=!1,Tr(n,this),e!=null&&(this.id=this.recycleAsyncId(i,e,null)),this.delay=null,super.unsubscribe()}}}});function kA(t){return t in im?(delete im[t],!0):!1}var US,nm,im,LA,PA=g(()=>{"use strict";US=1,im={};LA={setImmediate(t){let e=US++;return im[e]=!0,nm||(nm=Promise.resolve()),nm.then(()=>kA(e)&&t()),e},clearImmediate(t){kA(t)}}});var HS,zS,ha,NA=g(()=>{"use strict";PA();({setImmediate:HS,clearImmediate:zS}=LA),ha={setImmediate(...t){let{delegate:e}=ha;return(e?.setImmediate||HS)(...t)},clearImmediate(t){let{delegate:e}=ha;return(e?.clearImmediate||zS)(t)},delegate:void 0}});var Pc,jA=g(()=>{"use strict";tm();NA();Pc=class extends jo{constructor(e,i){super(e,i),this.scheduler=e,this.work=i}requestAsyncId(e,i,n=0){return n!==null&&n>0?super.requestAsyncId(e,i,n):(e.actions.push(this),e._scheduled||(e._scheduled=ha.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,i,n=0){var r;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(e,i,n);let{actions:o}=e;i!=null&&((r=o[o.length-1])===null||r===void 0?void 0:r.id)!==i&&(ha.clearImmediate(i),e._scheduled===i&&(e._scheduled=void 0))}}});var Vo,VA=g(()=>{"use strict";Jh();Vo=class t{constructor(e,i=t.now){this.schedulerActionCtor=e,this.now=i}schedule(e,i=0,n){return new this.schedulerActionCtor(this,e).schedule(n,i)}};Vo.now=ua.now});var Bo,rm=g(()=>{"use strict";VA();Bo=class extends Vo{constructor(e,i=Vo.now){super(e,i),this.actions=[],this._active=!1}flush(e){let{actions:i}=this;if(this._active){i.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=i.shift());if(this._active=!1,n){for(;e=i.shift();)e.unsubscribe();throw n}}}});var Nc,BA=g(()=>{"use strict";rm();Nc=class extends Bo{flush(e){this._active=!0;let i=this._scheduled;this._scheduled=void 0;let{actions:n}=this,r;e=e||n.shift();do if(r=e.execute(e.state,e.delay))break;while((e=n[0])&&e.id===i&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===i&&n.shift();)e.unsubscribe();throw r}}}});var Uo,UA=g(()=>{"use strict";jA();BA();Uo=new Nc(Pc)});var Nr,HA,ma=g(()=>{"use strict";tm();rm();Nr=new Bo(jo),HA=Nr});var Vt,pa=g(()=>{"use strict";St();Vt=new X(t=>t.complete())});function jc(t){return t&&q(t.schedule)}var om=g(()=>{"use strict";ht()});function sm(t){return t[t.length-1]}function Vc(t){return q(sm(t))?t.pop():void 0}function Vn(t){return jc(sm(t))?t.pop():void 0}function zA(t,e){return typeof sm(t)=="number"?t.pop():e}var jr=g(()=>{"use strict";ht();om()});function GA(t,e,i,n){function r(o){return o instanceof i?o:new i(function(s){s(o)})}return new(i||(i=Promise))(function(o,s){function a(d){try{c(n.next(d))}catch(u){s(u)}}function l(d){try{c(n.throw(d))}catch(u){s(u)}}function c(d){d.done?o(d.value):r(d.value).then(a,l)}c((n=n.apply(t,e||[])).next())})}function WA(t){var e=typeof Symbol=="function"&&Symbol.iterator,i=e&&t[e],n=0;if(i)return i.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Vr(t){return this instanceof Vr?(this.v=t,this):new Vr(t)}function KA(t,e,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=i.apply(t,e||[]),r,o=[];return r={},a("next"),a("throw"),a("return",s),r[Symbol.asyncIterator]=function(){return this},r;function s(m){return function(v){return Promise.resolve(v).then(m,u)}}function a(m,v){n[m]&&(r[m]=function(_){return new Promise(function(I,M){o.push([m,_,I,M])>1||l(m,_)})},v&&(r[m]=v(r[m])))}function l(m,v){try{c(n[m](v))}catch(_){h(o[0][3],_)}}function c(m){m.value instanceof Vr?Promise.resolve(m.value.v).then(d,u):h(o[0][2],m)}function d(m){l("next",m)}function u(m){l("throw",m)}function h(m,v){m(v),o.shift(),o.length&&l(o[0][0],o[0][1])}}function QA(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],i;return e?e.call(t):(t=typeof WA=="function"?WA(t):t[Symbol.iterator](),i={},n("next"),n("throw"),n("return"),i[Symbol.asyncIterator]=function(){return this},i);function n(o){i[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 am=g(()=>{"use strict"});var Ho,Bc=g(()=>{"use strict";Ho=t=>t&&typeof t.length=="number"&&typeof t!="function"});function Uc(t){return q(t?.then)}var lm=g(()=>{"use strict";ht()});function Hc(t){return q(t[Po])}var cm=g(()=>{"use strict";Fc();ht()});function zc(t){return Symbol.asyncIterator&&q(t?.[Symbol.asyncIterator])}var dm=g(()=>{"use strict";ht()});function Wc(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 um=g(()=>{"use strict"});function WS(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Gc,fm=g(()=>{"use strict";Gc=WS()});function Kc(t){return q(t?.[Gc])}var hm=g(()=>{"use strict";fm();ht()});function Qc(t){return KA(this,arguments,function*(){let i=t.getReader();try{for(;;){let{value:n,done:r}=yield Vr(i.read());if(r)return yield Vr(void 0);yield yield Vr(n)}}finally{i.releaseLock()}})}function qc(t){return q(t?.getReader)}var Yc=g(()=>{"use strict";am();ht()});function Oe(t){if(t instanceof X)return t;if(t!=null){if(Hc(t))return GS(t);if(Ho(t))return KS(t);if(Uc(t))return QS(t);if(zc(t))return qA(t);if(Kc(t))return qS(t);if(qc(t))return YS(t)}throw Wc(t)}function GS(t){return new X(e=>{let i=t[Po]();if(q(i.subscribe))return i.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function KS(t){return new X(e=>{for(let i=0;i<t.length&&!e.closed;i++)e.next(t[i]);e.complete()})}function QS(t){return new X(e=>{t.then(i=>{e.closed||(e.next(i),e.complete())},i=>e.error(i)).then(null,Mc)})}function qS(t){return new X(e=>{for(let i of t)if(e.next(i),e.closed)return;e.complete()})}function qA(t){return new X(e=>{ZS(t,e).catch(i=>e.error(i))})}function YS(t){return qA(Qc(t))}function ZS(t,e){var i,n,r,o;return GA(this,void 0,void 0,function*(){try{for(i=QA(t);n=yield i.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){r={error:s}}finally{try{n&&!n.done&&(o=i.return)&&(yield o.call(i))}finally{if(r)throw r.error}}e.complete()})}var Tt=g(()=>{"use strict";am();Bc();lm();St();cm();dm();um();hm();Yc();ht();Hh();Fc()});function Gt(t,e,i,n=0,r=!1){let o=e.schedule(function(){i(),r?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!r)return o}var zo=g(()=>{"use strict"});function Zc(t,e=0){return ee((i,n)=>{i.subscribe(J(n,r=>Gt(n,t,()=>n.next(r),e),()=>Gt(n,t,()=>n.complete(),e),r=>Gt(n,t,()=>n.error(r),e)))})}var mm=g(()=>{"use strict";zo();Ye();tt()});function $c(t,e=0){return ee((i,n)=>{n.add(t.schedule(()=>i.subscribe(n),e))})}var pm=g(()=>{"use strict";Ye()});function YA(t,e){return Oe(t).pipe($c(e),Zc(e))}var ZA=g(()=>{"use strict";Tt();mm();pm()});function $A(t,e){return Oe(t).pipe($c(e),Zc(e))}var XA=g(()=>{"use strict";Tt();mm();pm()});function JA(t,e){return new X(i=>{let n=0;return e.schedule(function(){n===t.length?i.complete():(i.next(t[n++]),i.closed||this.schedule())})})}var e0=g(()=>{"use strict";St()});function t0(t,e){return new X(i=>{let n;return Gt(i,e,()=>{n=t[Gc](),Gt(i,e,()=>{let r,o;try{({value:r,done:o}=n.next())}catch(s){i.error(s);return}o?i.complete():i.next(r)},0,!0)}),()=>q(n?.return)&&n.return()})}var n0=g(()=>{"use strict";St();fm();ht();zo()});function Xc(t,e){if(!t)throw new Error("Iterable cannot be null");return new X(i=>{Gt(i,e,()=>{let n=t[Symbol.asyncIterator]();Gt(i,e,()=>{n.next().then(r=>{r.done?i.complete():i.next(r.value)})},0,!0)})})}var gm=g(()=>{"use strict";St();zo()});function i0(t,e){return Xc(Qc(t),e)}var r0=g(()=>{"use strict";gm();Yc()});function o0(t,e){if(t!=null){if(Hc(t))return YA(t,e);if(Ho(t))return JA(t,e);if(Uc(t))return $A(t,e);if(zc(t))return Xc(t,e);if(Kc(t))return t0(t,e);if(qc(t))return i0(t,e)}throw Wc(t)}var s0=g(()=>{"use strict";ZA();XA();e0();n0();gm();cm();lm();Bc();hm();dm();um();Yc();r0()});function ke(t,e){return e?o0(t,e):Oe(t)}var Wo=g(()=>{"use strict";s0();Tt()});function R(...t){let e=Vn(t);return ke(t,e)}var a0=g(()=>{"use strict";jr();Wo()});function Bi(t,e){let i=q(t)?t:()=>t,n=r=>r.error(i());return new X(e?r=>e.schedule(n,0,r):n)}var l0=g(()=>{"use strict";St();ht()});function $t(t){return!!t&&(t instanceof X||q(t.lift)&&q(t.subscribe))}var c0=g(()=>{"use strict";St();ht()});var si,ga=g(()=>{"use strict";wc();si=Fo(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"})});function d0(t){return t instanceof Date&&!isNaN(t)}var u0=g(()=>{"use strict"});function B(t,e){return ee((i,n)=>{let r=0;i.subscribe(J(n,o=>{n.next(t.call(e,o,r++))}))})}var Go=g(()=>{"use strict";Ye();tt()});function XS(t,e){return $S(e)?t(...e):t(e)}function Ko(t){return B(e=>XS(t,e))}var $S,Jc=g(()=>{"use strict";Go();({isArray:$S}=Array)});function ed(t){if(t.length===1){let e=t[0];if(JS(e))return{args:e,keys:null};if(iT(e)){let i=nT(e);return{args:i.map(n=>e[n]),keys:i}}}return{args:t,keys:null}}function iT(t){return t&&typeof t=="object"&&eT(t)===tT}var JS,eT,tT,nT,vm=g(()=>{"use strict";({isArray:JS}=Array),{getPrototypeOf:eT,prototype:tT,keys:nT}=Object});function td(t,e){return t.reduce((i,n,r)=>(i[n]=e[r],i),{})}var ym=g(()=>{"use strict"});function Br(...t){let e=Vn(t),i=Vc(t),{args:n,keys:r}=ed(t);if(n.length===0)return ke([],e);let o=new X(rT(n,e,r?s=>td(r,s):jt));return i?o.pipe(Ko(i)):o}function rT(t,e,i=jt){return n=>{f0(e,()=>{let{length:r}=t,o=new Array(r),s=r,a=r;for(let l=0;l<r;l++)f0(e,()=>{let c=ke(t[l],e),d=!1;c.subscribe(J(n,u=>{o[l]=u,d||(d=!0,a--),a||n.next(i(o.slice()))},()=>{--s||n.complete()}))},n)},n)}}function f0(t,e,i){t?Gt(i,t,e):e()}var h0=g(()=>{"use strict";St();vm();Wo();Vi();Jc();jr();ym();tt();zo()});function m0(t,e,i,n,r,o,s,a){let l=[],c=0,d=0,u=!1,h=()=>{u&&!l.length&&!c&&e.complete()},m=_=>c<n?v(_):l.push(_),v=_=>{o&&e.next(_),c++;let I=!1;Oe(i(_,d++)).subscribe(J(e,M=>{r?.(M),o?m(M):e.next(M)},()=>{I=!0},void 0,()=>{if(I)try{for(c--;l.length&&c<n;){let M=l.shift();s?Gt(e,s,()=>v(M)):v(M)}h()}catch(M){e.error(M)}}))};return t.subscribe(J(e,m,()=>{u=!0,h()})),()=>{a?.()}}var p0=g(()=>{"use strict";Tt();zo();tt()});function Ve(t,e,i=1/0){return q(e)?Ve((n,r)=>B((o,s)=>e(n,o,r,s))(Oe(t(n,r))),i):(typeof e=="number"&&(i=e),ee((n,r)=>m0(n,r,t,i)))}var Ur=g(()=>{"use strict";Go();Tt();Ye();p0();ht()});function Ui(t=1/0){return Ve(jt,t)}var nd=g(()=>{"use strict";Ur();Vi()});function g0(){return Ui(1)}var v0=g(()=>{"use strict";nd()});function Xt(...t){return g0()(ke(t,Vn(t)))}var id=g(()=>{"use strict";v0();jr();Wo()});function Jt(t){return new X(e=>{Oe(t()).subscribe(e)})}var y0=g(()=>{"use strict";St();Tt()});function Hi(...t){let e=Vc(t),{args:i,keys:n}=ed(t),r=new X(o=>{let{length:s}=i;if(!s){o.complete();return}let a=new Array(s),l=s,c=s;for(let d=0;d<s;d++){let u=!1;Oe(i[d]).subscribe(J(o,h=>{u||(u=!0,c--),a[d]=h},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(n?td(n,a):a),o.complete())}))}});return e?r.pipe(Ko(e)):r}var b0=g(()=>{"use strict";St();vm();Tt();jr();tt();Jc();ym()});function zi(t,e,i,n){if(q(i)&&(n=i,i=void 0),n)return zi(t,e,i).pipe(Ko(n));let[r,o]=dT(t)?sT.map(s=>a=>t[s](e,a,i)):lT(t)?oT.map(A0(t,e)):cT(t)?aT.map(A0(t,e)):[];if(!r&&Ho(t))return Ve(s=>zi(s,e,i))(Oe(t));if(!r)throw new TypeError("Invalid event target");return new X(s=>{let a=(...l)=>s.next(1<l.length?l:l[0]);return r(a),()=>o(a)})}function A0(t,e){return i=>n=>t[i](e,n)}function lT(t){return q(t.addListener)&&q(t.removeListener)}function cT(t){return q(t.on)&&q(t.off)}function dT(t){return q(t.addEventListener)&&q(t.removeEventListener)}var oT,sT,aT,_0=g(()=>{"use strict";Tt();St();Ur();Bc();ht();Jc();oT=["addListener","removeListener"],sT=["addEventListener","removeEventListener"],aT=["on","off"]});function rd(t=0,e,i=HA){let n=-1;return e!=null&&(jc(e)?i=e:n=e),new X(r=>{let o=d0(t)?+t-i.now():t;o<0&&(o=0);let s=0;return i.schedule(function(){r.closed||(r.next(s++),0<=n?this.schedule(void 0,n):r.complete())},o)})}var bm=g(()=>{"use strict";St();ma();om();u0()});function mt(...t){let e=Vn(t),i=zA(t,1/0),n=t;return n.length?n.length===1?Oe(n[0]):Ui(i)(ke(n,e)):Vt}var x0=g(()=>{"use strict";nd();Tt();pa();jr();Wo()});function de(t,e){return ee((i,n)=>{let r=0;i.subscribe(J(n,o=>t.call(e,o,r++)&&n.next(o)))})}var va=g(()=>{"use strict";Ye();tt()});var C0=g(()=>{"use strict"});function w0(t){return ee((e,i)=>{let n=!1,r=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,n){n=!1;let c=r;r=null,i.next(c)}s&&i.complete()},l=()=>{o=null,s&&i.complete()};e.subscribe(J(i,c=>{n=!0,r=c,o||Oe(t(c)).subscribe(o=J(i,a,l))},()=>{s=!0,(!n||!o||o.closed)&&i.complete()}))})}var E0=g(()=>{"use strict";Ye();Tt();tt()});function od(t,e=Nr){return w0(()=>rd(t,e))}var D0=g(()=>{"use strict";ma();E0();bm()});function en(t){return ee((e,i)=>{let n=null,r=!1,o;n=e.subscribe(J(i,void 0,void 0,s=>{o=Oe(t(s,en(t)(e))),n?(n.unsubscribe(),n=null,o.subscribe(i)):r=!0})),r&&(n.unsubscribe(),n=null,o.subscribe(i))})}var Am=g(()=>{"use strict";Tt();tt();Ye()});function I0(t,e,i,n,r){return(o,s)=>{let a=i,l=e,c=0;o.subscribe(J(s,d=>{let u=c++;l=a?t(l,d,u):(a=!0,d),n&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}var M0=g(()=>{"use strict";tt()});function wn(t,e){return q(e)?Ve(t,e,1):Ve(t,1)}var S0=g(()=>{"use strict";Ur();ht()});function ai(t,e=Nr){return ee((i,n)=>{let r=null,o=null,s=null,a=()=>{if(r){r.unsubscribe(),r=null;let c=o;o=null,n.next(c)}};function l(){let c=s+t,d=e.now();if(d<c){r=this.schedule(void 0,c-d),n.add(r);return}a()}i.subscribe(J(n,c=>{o=c,s=e.now(),r||(r=e.schedule(l,t),n.add(r))},()=>{a(),n.complete()},void 0,()=>{o=r=null}))})}var _m=g(()=>{"use strict";ma();Ye();tt()});function Wi(t){return ee((e,i)=>{let n=!1;e.subscribe(J(i,r=>{n=!0,i.next(r)},()=>{n||i.next(t),i.complete()}))})}var sd=g(()=>{"use strict";Ye();tt()});function Ae(t){return t<=0?()=>Vt:ee((e,i)=>{let n=0;e.subscribe(J(i,r=>{++n<=t&&(i.next(r),t<=n&&i.complete())}))})}var ad=g(()=>{"use strict";pa();Ye();tt()});function T0(){return ee((t,e)=>{t.subscribe(J(e,Rr))})}var O0=g(()=>{"use strict";Ye();tt();Sc()});function ya(t){return B(()=>t)}var xm=g(()=>{"use strict";Go()});function Cm(t,e){return e?i=>Xt(e.pipe(Ae(1),T0()),i.pipe(Cm(t))):Ve((i,n)=>Oe(t(i,n)).pipe(Ae(1),ya(i)))}var R0=g(()=>{"use strict";id();ad();O0();xm();Ur();Tt()});function ld(t,e=Nr){let i=rd(t,e);return Cm(()=>i)}var F0=g(()=>{"use strict";ma();R0();bm()});function Hr(t,e=jt){return t=t??uT,ee((i,n)=>{let r,o=!0;i.subscribe(J(n,s=>{let a=e(s);(o||!t(r,a))&&(o=!1,r=a,n.next(s))}))})}function uT(t,e){return t===e}var k0=g(()=>{"use strict";Vi();Ye();tt()});function cd(t=fT){return ee((e,i)=>{let n=!1;e.subscribe(J(i,r=>{n=!0,i.next(r)},()=>n?i.complete():i.error(t())))})}function fT(){return new si}var wm=g(()=>{"use strict";ga();Ye();tt()});function Bt(t){return ee((e,i)=>{try{e.subscribe(i)}finally{i.add(t)}})}var Em=g(()=>{"use strict";Ye()});function Bn(t,e){let i=arguments.length>=2;return n=>n.pipe(t?de((r,o)=>t(r,o,n)):jt,Ae(1),i?Wi(e):cd(()=>new si))}var L0=g(()=>{"use strict";ga();va();ad();sd();wm();Vi()});function Qo(t){return t<=0?()=>Vt:ee((e,i)=>{let n=[];e.subscribe(J(i,r=>{n.push(r),t<n.length&&n.shift()},()=>{for(let r of n)i.next(r);i.complete()},void 0,()=>{n=null}))})}var Dm=g(()=>{"use strict";pa();Ye();tt()});function Im(t,e){let i=arguments.length>=2;return n=>n.pipe(t?de((r,o)=>t(r,o,n)):jt,Qo(1),i?Wi(e):cd(()=>new si))}var P0=g(()=>{"use strict";ga();va();Dm();wm();sd();Vi()});function Mm(t,e){return ee(I0(t,e,arguments.length>=2,!0))}var N0=g(()=>{"use strict";Ye();M0()});function ba(t={}){let{connector:e=()=>new k,resetOnError:i=!0,resetOnComplete:n=!0,resetOnRefCountZero:r=!0}=t;return o=>{let s,a,l,c=0,d=!1,u=!1,h=()=>{a?.unsubscribe(),a=void 0},m=()=>{h(),s=l=void 0,d=u=!1},v=()=>{let _=s;m(),_?.unsubscribe()};return ee((_,I)=>{c++,!u&&!d&&h();let M=l=l??e();I.add(()=>{c--,c===0&&!u&&!d&&(a=Sm(v,r))}),M.subscribe(I),!s&&c>0&&(s=new oi({next:L=>M.next(L),error:L=>{u=!0,h(),a=Sm(m,i,L),M.error(L)},complete:()=>{d=!0,h(),a=Sm(m,n),M.complete()}}),Oe(_).subscribe(s))})(o)}}function Sm(t,e,...i){if(e===!0){t();return}if(e===!1)return;let n=new oi({next:()=>{n.unsubscribe(),t()}});return Oe(e(...i)).subscribe(n)}var Tm=g(()=>{"use strict";Tt();da();Rc();Ye()});function zr(t,e,i){let n,r=!1;return t&&typeof t=="object"?{bufferSize:n=1/0,windowTime:e=1/0,refCount:r=!1,scheduler:i}=t:n=t??1/0,ba({connector:()=>new Pr(n,e,i),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}var j0=g(()=>{"use strict";em();Tm()});function Aa(t){return de((e,i)=>t<=i)}var V0=g(()=>{"use strict";va()});function Ct(...t){let e=Vn(t);return ee((i,n)=>{(e?Xt(t,i,e):Xt(t,i)).subscribe(n)})}var B0=g(()=>{"use strict";id();jr();Ye()});function Be(t,e){return ee((i,n)=>{let r=null,o=0,s=!1,a=()=>s&&!r&&n.complete();i.subscribe(J(n,l=>{r?.unsubscribe();let c=0,d=o++;Oe(t(l,d)).subscribe(r=J(n,u=>n.next(e?e(l,u,d,c++):u),()=>{r=null,a()}))},()=>{s=!0,a()}))})}var U0=g(()=>{"use strict";Tt();Ye();tt()});function te(t){return ee((e,i)=>{Oe(t).subscribe(J(i,()=>i.complete(),Rr)),!i.closed&&e.subscribe(i)})}var Om=g(()=>{"use strict";Ye();tt();Tt();Sc()});function Rm(t,e=!1){return ee((i,n)=>{let r=0;i.subscribe(J(n,o=>{let s=t(o,r++);(s||e)&&n.next(o),!s&&n.complete()}))})}var H0=g(()=>{"use strict";Ye();tt()});function Le(t,e,i){let n=q(t)||e||i?{next:t,error:e,complete:i}:t;return n?ee((r,o)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;r.subscribe(J(o,l=>{var c;(c=n.next)===null||c===void 0||c.call(n,l),o.next(l)},()=>{var l;a=!1,(l=n.complete)===null||l===void 0||l.call(n),o.complete()},l=>{var c;a=!1,(c=n.error)===null||c===void 0||c.call(n,l),o.error(l)},()=>{var l,c;a&&((l=n.unsubscribe)===null||l===void 0||l.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):jt}var Fm=g(()=>{"use strict";ht();Ye();tt();Vi()});var Qe=g(()=>{"use strict";St();MA();da();OA();em();UA();Or();Yh();c0();ga();h0();id();y0();b0();Wo();_0();x0();a0();l0();pa();C0();Am();_m();Em();Go();Ur();Om();Fm()});var at=g(()=>{"use strict";D0();Am();S0();_m();sd();F0();k0();va();Em();L0();P0();Go();xm();nd();Ur();Xh();N0();Tm();j0();V0();B0();U0();ad();Dm();Om();H0();Fm()});function zd(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function Fa(t){return{toString:t}.toString()}function hT(t){return function(...i){if(t){let n=t(...i);for(let r in n)this[r]=n[r]}}}function M_(t,e,i){return Fa(()=>{let n=hT(e);function r(...o){if(this instanceof r)return n.apply(this,o),this;let s=new r(...o);return a.annotation=s,a;function a(l,c,d){let u=l.hasOwnProperty(dd)?l[dd]:Object.defineProperty(l,dd,{value:[]})[dd];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),l}}return i&&(r.prototype=Object.create(i.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}function Ue(t){for(let e in t)if(t[e]===Ue)return e;throw Error("Could not find renamed property on target object.")}function mT(t,e){for(let i in e)e.hasOwnProperty(i)&&!t.hasOwnProperty(i)&&(t[i]=e[i])}function Ht(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(Ht).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let i=e.indexOf(`
4
+ `);return i===-1?e:e.substring(0,i)}function qm(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}function Xi(t){return t.__forward_ref__=Xi,t.toString=function(){return Ht(this())},t}function Ut(t){return S_(t)?t():t}function S_(t){return typeof t=="function"&&t.hasOwnProperty(pT)&&t.__forward_ref__===Xi}function b(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 Wd(t){return z0(t,O_)||z0(t,R_)}function T_(t){return Wd(t)!==null}function z0(t,e){return t.hasOwnProperty(e)?t[e]:null}function gT(t){let e=t&&(t[O_]||t[R_]);return e||null}function W0(t){return t&&(t.hasOwnProperty(G0)||t.hasOwnProperty(vT))?t[G0]:null}function F_(t){return t&&!!t.\u0275providers}function Kr(t){return typeof t=="string"?t:t==null?"":String(t)}function xT(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Kr(t)}function CT(t,e){let i=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new T(-200,t)}function $p(t,e){throw new T(-201,!1)}function k_(){return Ym}function Kt(t){let e=Ym;return Ym=t,e}function L_(t,e,i){let n=Wd(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(i&xe.Optional)return null;if(e!==void 0)return e;$p(t,"Injector")}function MT(){return Xo}function Gi(t){let e=Xo;return Xo=t,e}function ST(t,e=xe.Default){if(Xo===void 0)throw new T(-203,!1);return Xo===null?L_(t,void 0,e):Xo.get(t,e&xe.Optional?null:void 0,e)}function p(t,e=xe.Default){return(k_()||ST)(Ut(t),e)}function y(t,e=xe.Default){return p(t,Gd(e))}function Gd(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function $m(t){let e=[];for(let i=0;i<t.length;i++){let n=Ut(t[i]);if(Array.isArray(n)){if(n.length===0)throw new T(900,!1);let r,o=xe.Default;for(let s=0;s<n.length;s++){let a=n[s],l=TT(a);typeof l=="number"?l===-1?r=a.token:o|=l:r=a}e.push(p(r,o))}else e.push(p(n))}return e}function P_(t,e){return t[Zm]=e,t.prototype[Zm]=e,t}function TT(t){return t[Zm]}function OT(t,e,i,n){let r=t[wd];throw e[Q0]&&r.unshift(e[Q0]),t.message=RT(`
5
5
  `+t.message,r,i,n),t[ET]=r,t[wd]=null,t}function RT(t,e,i,n=null){t=t&&t.charAt(0)===`
6
6
  `&&t.charAt(1)==IT?t.slice(2):t;let r=Ht(e);if(Array.isArray(e))r=e.map(Ht).join(" -> ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):Ht(a)))}r=`{${o.join(", ")}}`}return`${i}${n?"("+n+")":""}[${r}]: ${t.replace(DT,`
7
- `)}`}function Kr(t,e){let i=t.hasOwnProperty(Cd);return i?t[Cd]:null}function FT(t,e,i){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++){let r=t[n],o=e[n];if(i&&(r=i(r),o=i(o)),o!==r)return!1}return!0}function kT(t){return t.flat(Number.POSITIVE_INFINITY)}function Xp(t,e){t.forEach(i=>Array.isArray(i)?Xp(i,e):e(i))}function P_(t,e,i){e>=t.length?t.push(i):t.splice(e,0,i)}function Ed(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function LT(t,e){let i=[];for(let n=0;n<t;n++)i.push(e);return i}function PT(t,e,i,n){let r=t.length;if(r==e)t.push(i,n);else if(r===1)t.push(n,t[0]),t[0]=i;else{for(r--,t.push(t[r-1],t[r]);r>e;){let o=r-2;t[r]=t[o],r--}t[e]=i,t[e+1]=n}}function Kd(t,e,i){let n=La(t,e);return n>=0?t[n|1]=i:(n=~n,PT(t,n,e,i)),n}function km(t,e){let i=La(t,e);if(i>=0)return t[i|1]}function La(t,e){return NT(t,e,1)}function NT(t,e,i){let n=0,r=t.length>>i;for(;r!==n;){let o=n+(r-n>>1),s=t[o<<i];if(e===s)return o<<i;s>e?r=o:n=o+1}return~(r<<i)}function jT(t,e,i){let n=t.length;for(;;){let r=t.indexOf(e,i);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let o=e.length;if(r+o===n||t.charCodeAt(r+o)<=32)return r}i=r+1}}function Xm(t,e,i){let n=0;for(;n<i.length;){let r=i[n];if(typeof r=="number"){if(r!==0)break;n++;let o=i[n++],s=i[n++],a=i[n++];t.setAttribute(e,s,a,o)}else{let o=r,s=i[++n];VT(o)?t.setProperty(e,o,s):t.setAttribute(e,o,s),n++}}return n}function B_(t){return t===3||t===4||t===6}function VT(t){return t.charCodeAt(0)===64}function Ca(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let i=-1;for(let n=0;n<e.length;n++){let r=e[n];typeof r=="number"?i=r:i===0||(i===-1||i===2?K0(t,i,r,null,e[++n]):K0(t,i,r,null,null))}}return t}function K0(t,e,i,n,r){let o=0,s=t.length;if(e===-1)s=-1;else for(;o<t.length;){let a=t[o++];if(typeof a=="number"){if(a===e){s=-1;break}else if(a>e){s=o-1;break}}}for(;o<t.length;){let a=t[o];if(typeof a=="number")break;if(a===i){if(n===null){r!==null&&(t[o+1]=r);return}else if(n===t[o+1]){t[o+2]=r;return}}o++,n!==null&&o++,r!==null&&o++}s!==-1&&(t.splice(s,0,e),o=s+1),t.splice(o++,0,i),n!==null&&t.splice(o++,0,n),r!==null&&t.splice(o++,0,r)}function BT(t,e,i,n){let r=0;if(n){for(;r<e.length&&typeof e[r]=="string";r+=2)if(e[r]==="class"&&jT(e[r+1].toLowerCase(),i,0)!==-1)return!0}else if(Jp(t))return!1;if(r=e.indexOf(1,r),r>-1){let o;for(;++r<e.length&&typeof(o=e[r])=="string";)if(o.toLowerCase()===i)return!0}return!1}function Jp(t){return t.type===4&&t.value!==U_}function UT(t,e,i){let n=t.type===4&&!i?U_:t.value;return e===n}function HT(t,e,i){let n=4,r=t.attrs,o=r!==null?GT(r):0,s=!1;for(let a=0;a<e.length;a++){let l=e[a];if(typeof l=="number"){if(!s&&!En(n)&&!En(l))return!1;if(s&&En(l))continue;s=!1,n=l|n&1;continue}if(!s)if(n&4){if(n=2|n&1,l!==""&&!UT(t,l,i)||l===""&&e.length===1){if(En(n))return!1;s=!0}}else if(n&8){if(r===null||!BT(t,r,l,i)){if(En(n))return!1;s=!0}}else{let c=e[++a],d=zT(l,r,Jp(t),i);if(d===-1){if(En(n))return!1;s=!0;continue}if(c!==""){let u;if(d>o?u="":u=r[d+1].toLowerCase(),n&2&&c!==u){if(En(n))return!1;s=!0}}}}return En(n)||s}function En(t){return(t&1)===0}function zT(t,e,i,n){if(e===null)return-1;let r=0;if(n||!i){let o=!1;for(;r<e.length;){let s=e[r];if(s===t)return r;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=e[++r];for(;typeof a=="string";)a=e[++r];continue}else{if(s===4)break;if(s===0){r+=4;continue}}r+=o?1:2}return-1}else return QT(e,t)}function H_(t,e,i=!1){for(let n=0;n<e.length;n++)if(HT(t,e[n],i))return!0;return!1}function WT(t){let e=t.attrs;if(e!=null){let i=e.indexOf(5);if(!(i&1))return e[i+1]}return null}function GT(t){for(let e=0;e<t.length;e++){let i=t[e];if(B_(i))return e}return t.length}function QT(t,e){let i=t.indexOf(4);if(i>-1)for(i++;i<t.length;){let n=t[i];if(typeof n=="number")return-1;if(n===e)return i;i++}return-1}function KT(t,e){e:for(let i=0;i<e.length;i++){let n=e[i];if(t.length===n.length){for(let r=0;r<t.length;r++)if(t[r]!==n[r])continue e;return!0}}return!1}function q0(t,e){return t?":not("+e.trim()+")":e}function qT(t){let e=t[0],i=1,n=2,r="",o=!1;for(;i<t.length;){let s=t[i];if(typeof s=="string")if(n&2){let a=t[++i];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else n&8?r+="."+s:n&4&&(r+=" "+s);else r!==""&&!En(s)&&(e+=q0(o,r),r=""),n=s,o=o||!En(n);i++}return r!==""&&(e+=q0(o,r)),e}function YT(t){return t.map(qT).join(",")}function ZT(t){let e=[],i=[],n=1,r=2;for(;n<t.length;){let o=t[n];if(typeof o=="string")r===2?o!==""&&e.push(o,t[++n]):r===8&&i.push(o);else{if(!En(r))break;r=o}n++}return{attrs:e,classes:i}}function ce(t){return Fa(()=>{let e=K_(t),i=we(A({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===V_.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||zn.Emulated,styles:t.styles||Kt,_:null,schemas:t.schemas||null,tView:null,id:""});q_(i);let n=t.dependencies;return i.directiveDefs=Z0(n,!1),i.pipeDefs=Z0(n,!0),i.id=JT(i),i})}function $T(t){return Ki(t)||z_(t)}function XT(t){return t!==null}function j(t){return Fa(()=>({type:t.type,bootstrap:t.bootstrap||Kt,declarations:t.declarations||Kt,imports:t.imports||Kt,exports:t.exports||Kt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Y0(t,e){if(t==null)return es;let i={};for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o,s,a=w.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),e?(i[o]=a!==w.None?[n,a]:n,e[o]=s):i[o]=n}return i}function V(t){return Fa(()=>{let e=K_(t);return q_(e),e})}function cs(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 Ki(t){return t[yT]||null}function z_(t){return t[bT]||null}function W_(t){return t[AT]||null}function G_(t){let e=Ki(t)||z_(t)||W_(t);return e!==null?e.standalone:!1}function Q_(t,e){let i=t[_T]||null;if(!i&&e===!0)throw new Error(`Type ${Ht(t)} does not have '\u0275mod' property.`);return i}function K_(t){let e={};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:e,inputTransforms:null,inputConfig:t.inputs||es,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Kt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Y0(t.inputs,e),outputs:Y0(t.outputs),debugInfo:null}}function q_(t){t.features?.forEach(e=>e(t))}function Z0(t,e){if(!t)return null;let i=e?W_:$T;return()=>(typeof t=="function"?t():t).map(n=>i(n)).filter(XT)}function JT(t){let e=0,i=[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 i)e=Math.imul(31,e)+r.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function Pa(t){return{\u0275providers:t}}function eg(...t){return{\u0275providers:Y_(!0,t),\u0275fromNgModule:!0}}function Y_(t,...e){let i=[],n=new Set,r,o=s=>{i.push(s)};return Xp(e,s=>{let a=s;Jm(a,o,[],n)&&(r||=[],r.push(a))}),r!==void 0&&Z_(r,o),i}function Z_(t,e){for(let i=0;i<t.length;i++){let{ngModule:n,providers:r}=t[i];tg(r,o=>{e(o,n)})}}function Jm(t,e,i,n){if(t=Ut(t),!t)return!1;let r=null,o=z0(t),s=!o&&Ki(t);if(!o&&!s){let l=t.ngModule;if(o=z0(l),o)r=l;else return!1}else{if(s&&!s.standalone)return!1;r=t}let a=n.has(r);if(s){if(a)return!1;if(n.add(r),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)Jm(c,e,i,n)}}else if(o){if(o.imports!=null&&!a){n.add(r);let c;try{Xp(o.imports,d=>{Jm(d,e,i,n)&&(c||=[],c.push(d))})}finally{}c!==void 0&&Z_(c,e)}if(!a){let c=Kr(r)||(()=>new r);e({provide:r,useFactory:c,deps:Kt},r),e({provide:j_,useValue:r,multi:!0},r),e({provide:ts,useValue:()=>p(r),multi:!0},r)}let l=o.providers;if(l!=null&&!a){let c=t;tg(l,d=>{e(d,c)})}}else return!1;return r!==t&&t.providers!==void 0}function tg(t,e){for(let i of t)R_(i)&&(i=i.\u0275providers),Array.isArray(i)?tg(i,e):e(i)}function $_(t){return t!==null&&typeof t=="object"&&e1 in t}function t1(t){return!!(t&&t.useExisting)}function n1(t){return!!(t&&t.useFactory)}function ns(t){return typeof t=="function"}function i1(t){return!!t.useClass}function ng(){return Lm===void 0&&(Lm=new Dd),Lm}function ep(t){let e=Wd(t),i=e!==null?e.factory:Kr(t);if(i!==null)return i;if(t instanceof C)throw new T(204,!1);if(t instanceof Function)return o1(t);throw new T(204,!1)}function o1(t){if(t.length>0)throw new T(204,!1);let i=gT(t);return i!==null?()=>i.factory(t):()=>new t}function s1(t){if($_(t))return qo(void 0,t.useValue);{let e=X_(t);return qo(e,gd)}}function X_(t,e,i){let n;if(ns(t)){let r=Ut(t);return Kr(r)||ep(r)}else if($_(t))n=()=>Ut(t.useValue);else if(n1(t))n=()=>t.useFactory(...$m(t.deps||[]));else if(t1(t))n=()=>p(Ut(t.useExisting));else{let r=Ut(t&&(t.useClass||t.provide));if(a1(t))n=()=>new r(...$m(t.deps));else return Kr(r)||ep(r)}return n}function qo(t,e,i=!1){return{factory:t,value:e,multi:i?[]:void 0}}function a1(t){return!!t.deps}function l1(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function c1(t){return typeof t=="function"||typeof t=="object"&&t instanceof C}function tp(t,e){for(let i of t)Array.isArray(i)?tp(i,e):i&&R_(i)?tp(i.\u0275providers,e):e(i)}function On(t,e){t instanceof wa&&t.assertNotDestroyed();let i,n=Gi(t),r=Qt(void 0);try{return e()}finally{Gi(n),Qt(r)}}function J_(){return F_()!==void 0||MT()!=null}function ex(t){if(!J_())throw new T(-203,!1)}function d1(t){return typeof t=="function"}function Wr(t){return Array.isArray(t)&&typeof t[nx]=="object"}function hi(t){return Array.isArray(t)&&t[nx]===!0}function rg(t){return(t.flags&4)!==0}function Zd(t){return t.componentOffset>-1}function $d(t){return(t.flags&1)===1}function qi(t){return!!t.template}function u1(t){return(t[$]&512)!==0}function ix(t,e,i,n){e!==null?e.applyValueToInputSignal(e,n):t[i]=n}function He(){return rx}function rx(t){return t.type.prototype.ngOnChanges&&(t.setInput=h1),f1}function f1(){let t=sx(this),e=t?.current;if(e){let i=t.previous;if(i===es)t.previous=e;else for(let n in e)i[n]=e[n];t.current=null,this.ngOnChanges(e)}}function h1(t,e,i,n,r){let o=this.declaredInputs[n],s=sx(t)||m1(t,{previous:es,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new Ma(c&&c.currentValue,i,l===es),ix(t,e,r,i)}function sx(t){return t[ox]||null}function m1(t,e){return t[ox]=e}function v1(){return g1}function Wn(t){for(;Array.isArray(t);)t=t[fi];return t}function lx(t,e){return Wn(e[t])}function dn(t,e){return Wn(e[t.index])}function og(t,e){return t.data[e]}function sg(t,e){return t[e]}function Ji(t,e){let i=e[t];return Wr(i)?i:i[fi]}function y1(t){return(t[$]&4)===4}function ag(t){return(t[$]&128)===128}function b1(t){return hi(t[wt])}function os(t,e){return e==null?null:t[e]}function cx(t){t[Yo]=0}function A1(t){t[$]&1024||(t[$]|=1024,ag(t)&&Sa(t))}function _1(t,e){for(;t>0;)e=e[ds],t--;return e}function lg(t){return!!(t[$]&9216||t[qr]?.dirty)}function np(t){t[Mn].changeDetectionScheduler?.notify(1),lg(t)?Sa(t):t[$]&64&&(v1()?(t[$]|=1024,Sa(t)):t[Mn].changeDetectionScheduler?.notify())}function Sa(t){t[Mn].changeDetectionScheduler?.notify();let e=Ta(t);for(;e!==null&&!(e[$]&8192||(e[$]|=8192,!ag(e)));)e=Ta(e)}function dx(t,e){if((t[$]&256)===256)throw new T(911,!1);t[Qi]===null&&(t[Qi]=[]),t[Qi].push(e)}function x1(t,e){if(t[Qi]===null)return;let i=t[Qi].indexOf(e);i!==-1&&t[Qi].splice(i,1)}function Ta(t){let e=t[wt];return hi(e)?e[wt]:e}function C1(){return le.lFrame.elementDepthCount}function w1(){le.lFrame.elementDepthCount++}function E1(){le.lFrame.elementDepthCount--}function ux(){return le.bindingsEnabled}function fx(){return le.skipHydrationRootTNode!==null}function D1(t){return le.skipHydrationRootTNode===t}function I1(){le.skipHydrationRootTNode=null}function se(){return le.lFrame.lView}function st(){return le.lFrame.tView}function ie(t){return le.lFrame.contextLView=t,t[cn]}function re(t){return le.lFrame.contextLView=null,t}function kt(){let t=hx();for(;t!==null&&t.type===64;)t=t.parent;return t}function hx(){return le.lFrame.currentTNode}function M1(){let t=le.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function no(t,e){let i=le.lFrame;i.currentTNode=t,i.isParent=e}function cg(){return le.lFrame.isParent}function dg(){le.lFrame.isParent=!1}function S1(){return le.lFrame.contextLView}function ja(){let t=le.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function T1(){return le.lFrame.bindingIndex}function O1(t){return le.lFrame.bindingIndex=t}function us(){return le.lFrame.bindingIndex++}function ug(t){let e=le.lFrame,i=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,i}function R1(){return le.lFrame.inI18n}function F1(t,e){let i=le.lFrame;i.bindingIndex=i.bindingRootIndex=t,ip(e)}function k1(){return le.lFrame.currentDirectiveIndex}function ip(t){le.lFrame.currentDirectiveIndex=t}function L1(t){let e=le.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function mx(){return le.lFrame.currentQueryIndex}function fg(t){le.lFrame.currentQueryIndex=t}function P1(t){let e=t[ae];return e.type===2?e.declTNode:e.type===1?t[tn]:null}function px(t,e,i){if(i&xe.SkipSelf){let r=e,o=t;for(;r=r.parent,r===null&&!(i&xe.Host);)if(r=P1(o),r===null||(o=o[ds],r.type&10))break;if(r===null)return!1;e=r,t=o}let n=le.lFrame=gx();return n.currentTNode=e,n.lView=t,!0}function hg(t){let e=gx(),i=t[ae];le.lFrame=e,e.currentTNode=i.firstChild,e.lView=t,e.tView=i,e.contextLView=t,e.bindingIndex=i.bindingStartIndex,e.inI18n=!1}function gx(){let t=le.lFrame,e=t===null?null:t.child;return e===null?vx(t):e}function vx(t){let e={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=e),e}function yx(){let t=le.lFrame;return le.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}function mg(){let t=yx();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 N1(t){return(le.lFrame.contextLView=_1(t,le.lFrame.contextLView))[cn]}function er(){return le.lFrame.selectedIndex}function Zr(t){le.lFrame.selectedIndex=t}function Xd(){let t=le.lFrame;return og(t.tView,t.selectedIndex)}function io(){le.lFrame.currentNamespace=ax}function Ax(){j1()}function j1(){le.lFrame.currentNamespace=null}function V1(){return le.lFrame.currentNamespace}function Jd(){return _x}function eu(t){_x=t}function B1(t,e,i){let{ngOnChanges:n,ngOnInit:r,ngDoCheck:o}=e.type.prototype;if(n){let s=rx(e);(i.preOrderHooks??=[]).push(t,s),(i.preOrderCheckHooks??=[]).push(t,s)}r&&(i.preOrderHooks??=[]).push(0-t,r),o&&((i.preOrderHooks??=[]).push(t,o),(i.preOrderCheckHooks??=[]).push(t,o))}function tu(t,e){for(let i=e.directiveStart,n=e.directiveEnd;i<n;i++){let o=t.data[i].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=o;s&&(t.contentHooks??=[]).push(-i,s),a&&((t.contentHooks??=[]).push(i,a),(t.contentCheckHooks??=[]).push(i,a)),l&&(t.viewHooks??=[]).push(-i,l),c&&((t.viewHooks??=[]).push(i,c),(t.viewCheckHooks??=[]).push(i,c)),d!=null&&(t.destroyHooks??=[]).push(i,d)}}function yd(t,e,i){xx(t,e,3,i)}function bd(t,e,i,n){(t[$]&3)===i&&xx(t,e,i,n)}function Pm(t,e){let i=t[$];(i&3)===e&&(i&=16383,i+=1,t[$]=i)}function xx(t,e,i,n){let r=n!==void 0?t[Yo]&65535:0,o=n??-1,s=e.length-1,a=0;for(let l=r;l<s;l++)if(typeof e[l+1]=="number"){if(a=e[l],n!=null&&a>=n)break}else e[l]<0&&(t[Yo]+=65536),(a<o||o==-1)&&(U1(t,i,e,l),t[Yo]=(t[Yo]&4294901760)+l+2),l++}function J0(t,e){Un(4,t,e);let i=Te(null);try{e.call(t)}finally{Te(i),Un(5,t,e)}}function U1(t,e,i,n){let r=i[n]<0,o=i[n+1],s=r?-i[n]:i[n],a=t[s];r?t[$]>>14<t[Yo]>>16&&(t[$]&3)===e&&(t[$]+=16384,J0(a,o)):J0(a,o)}function H1(t){return t instanceof $r}function z1(t){return(t.flags&8)!==0}function W1(t){return(t.flags&16)!==0}function Cx(t){return t!==Jo}function Md(t){return t&32767}function G1(t){return t>>16}function Sd(t,e){let i=G1(t),n=e;for(;i>0;)n=n[ds],i--;return n}function Td(t){let e=rp;return rp=t,e}function q1(t,e,i){let n;typeof i=="string"?n=i.charCodeAt(0)||0:i.hasOwnProperty(_a)&&(n=i[_a]),n==null&&(n=i[_a]=K1++);let r=n&wx,o=1<<r;e.data[t+(r>>Ex)]|=o}function Od(t,e){let i=Dx(t,e);if(i!==-1)return i;let n=e[ae];n.firstCreatePass&&(t.injectorIndex=e.length,Nm(n.data,t),Nm(e,null),Nm(n.blueprint,null));let r=pg(t,e),o=t.injectorIndex;if(Cx(r)){let s=Md(r),a=Sd(r,e),l=a[ae].data;for(let c=0;c<8;c++)e[o+c]=a[s+c]|l[s+c]}return e[o+8]=r,o}function Nm(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Dx(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function pg(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let i=0,n=null,r=e;for(;r!==null;){if(n=Ox(r),n===null)return Jo;if(i++,r=r[ds],n.injectorIndex!==-1)return n.injectorIndex|i<<16}return Jo}function op(t,e,i){q1(t,e,i)}function Y1(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let i=t.attrs;if(i){let n=i.length,r=0;for(;r<n;){let o=i[r];if(B_(o))break;if(o===0)r=r+2;else if(typeof o=="number")for(r++;r<n&&typeof i[r]=="string";)r++;else{if(o===e)return i[r+1];r=r+2}}}return null}function Ix(t,e,i){if(i&xe.Optional||t!==void 0)return t;$p(e,"NodeInjector")}function Mx(t,e,i,n){if(i&xe.Optional&&n===void 0&&(n=null),!(i&(xe.Self|xe.Host))){let r=t[is],o=Qt(void 0);try{return r?r.get(e,n,i&xe.Optional):k_(e,n,i&xe.Optional)}finally{Qt(o)}}return Ix(n,e,i)}function Sx(t,e,i,n=xe.Default,r){if(t!==null){if(e[$]&2048&&!(n&xe.Self)){let s=J1(t,e,i,n,Hn);if(s!==Hn)return s}let o=Tx(t,e,i,n,Hn);if(o!==Hn)return o}return Mx(e,i,n,r)}function Tx(t,e,i,n,r){let o=$1(i);if(typeof o=="function"){if(!px(e,t,n))return n&xe.Host?Ix(r,i,n):Mx(e,i,n,r);try{let s;if(s=o(n),s==null&&!(n&xe.Optional))$p(i);else return s}finally{bx()}}else if(typeof o=="number"){let s=null,a=Dx(t,e),l=Jo,c=n&xe.Host?e[Sn][tn]:null;for((a===-1||n&xe.SkipSelf)&&(l=a===-1?pg(t,e):e[a+8],l===Jo||!t_(n,!1)?a=-1:(s=e[ae],a=Md(l),e=Sd(l,e)));a!==-1;){let d=e[ae];if(e_(o,a,d.data)){let u=Z1(a,e,i,s,n,c);if(u!==Hn)return u}l=e[a+8],l!==Jo&&t_(n,e[ae].data[a+8]===c)&&e_(o,a,e)?(s=d,a=Md(l),e=Sd(l,e)):a=-1}}return r}function Z1(t,e,i,n,r,o){let s=e[ae],a=s.data[t+8],l=n==null?Zd(a)&&rp:n!=s&&(a.type&3)!==0,c=r&xe.Host&&o===a,d=Ad(a,s,i,l,c);return d!==null?Xr(e,s,d,a):Hn}function Ad(t,e,i,n,r){let o=t.providerIndexes,s=e.data,a=o&1048575,l=t.directiveStart,c=t.directiveEnd,d=o>>20,u=n?a:a+d,h=r?a+d:c;for(let m=u;m<h;m++){let v=s[m];if(m<l&&i===v||m>=l&&v.type===i)return m}if(r){let m=s[l];if(m&&qi(m)&&m.type===i)return l}return null}function Xr(t,e,i,n){let r=t[i],o=e.data;if(H1(r)){let s=r;s.resolving&&CT(xT(o[i]));let a=Td(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?Qt(s.injectImpl):null,d=px(t,n,xe.Default);try{r=t[i]=s.factory(void 0,o,t,n),e.firstCreatePass&&i>=n.directiveStart&&B1(i,o[i],e)}finally{c!==null&&Qt(c),Td(a),s.resolving=!1,bx()}}return r}function $1(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(_a)?t[_a]:void 0;return typeof e=="number"?e>=0?e&wx:X1:e}function e_(t,e,i){let n=1<<t;return!!(i[e+(t>>Ex)]&n)}function t_(t,e){return!(t&xe.Self)&&!(t&xe.Host&&e)}function X1(){return new Gr(kt(),se())}function it(t){return Fa(()=>{let e=t.prototype.constructor,i=e[Cd]||sp(e),n=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==n;){let o=r[Cd]||sp(r);if(o&&o!==i)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function sp(t){return M_(t)?()=>{let e=sp(Ut(t));return e&&e()}:Kr(t)}function J1(t,e,i,n,r){let o=t,s=e;for(;o!==null&&s!==null&&s[$]&2048&&!(s[$]&512);){let a=Tx(o,s,i,n|xe.Self,Hn);if(a!==Hn)return a;let l=o.parent;if(!l){let c=s[tx];if(c){let d=c.get(i,Hn,n);if(d!==Hn)return d}l=Ox(s),s=s[ds]}o=l}return r}function Ox(t){let e=t[ae],i=e.type;return i===2?e.declTNode:i===1?t[tn]:null}function tr(t){return Y1(kt(),t)}function n_(t,e=null,i=null,n){let r=Rx(t,e,i,n);return r.resolveInjectorInitializers(),r}function Rx(t,e=null,i=null,n,r=new Set){let o=[i||Kt,eg(t)];return n=n||(typeof t=="object"?void 0:Ht(t)),new wa(o,e||ng(),n||null,r)}function jm(t){return t[eO]}function tO(){return new ap(se())}function nO(){return fs(kt(),se())}function fs(t,e){return new P(dn(t,e))}function iO(t){return t instanceof P?t.nativeElement:t}function Vm(t){return e=>{setTimeout(t,void 0,e)}}function rO(){return this._results[Symbol.iterator]()}function kx(t){return(t.flags&128)===128}function sO(){return oO++}function aO(t){Lx.set(t[Yd],t)}function lO(t){Lx.delete(t[Yd])}function Zi(t,e){Wr(e)?(t[i_]=e[Yd],aO(e)):t[i_]=e}function Px(t){return jx(t[Ia])}function Nx(t){return jx(t[In])}function jx(t){for(;t!==null&&!hi(t);)t=t[In];return t}function Vx(t){cp=t}function Bx(){if(cp!==void 0)return cp;if(typeof document<"u")return document;throw new T(210,!1)}function vg(t,e,i=!1){return fO(t,e,i)}function mO(){if(ud===void 0&&(ud=null,li.trustedTypes))try{ud=li.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return ud}function iu(t){return mO()?.createHTML(t)||t}function Hx(){if(fd===void 0&&(fd=null,li.trustedTypes))try{fd=li.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return fd}function r_(t){return Hx()?.createHTML(t)||t}function o_(t){return Hx()?.createScriptURL(t)||t}function un(t){return t instanceof di?t.changingThisBreaksApplicationSecurity:t}function mi(t,e){let i=pO(t);if(i!=null&&i!==e){if(i==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${i} (see ${D_})`)}return i===e}function pO(t){return t instanceof di&&t.getTypeName()||null}function zx(t){return new dp(t)}function Wx(t){return new up(t)}function Gx(t){return new fp(t)}function Qx(t){return new hp(t)}function Kx(t){return new mp(t)}function gO(t){let e=new gp(t);return vO()?new pp(e):e}function vO(){try{return!!new window.DOMParser().parseFromString(iu(""),"text/html")}catch{return!1}}function ru(t){return t=String(t),t.match(yO)?t:"unsafe:"+t}function pi(t){let e={};for(let i of t.split(","))e[i]=!0;return e}function Ba(...t){let e={};for(let i of t)for(let n in i)i.hasOwnProperty(n)&&(e[n]=!0);return e}function DO(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function IO(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw Xx(e);return e}function MO(t){let e=t.firstChild;if(e&&DO(t,e))throw Xx(e);return e}function a_(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function Xx(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}function l_(t){return t.replace(/&/g,"&amp;").replace(SO,function(e){let i=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((i-55296)*1024+(n-56320)+65536)+";"}).replace(TO,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function yg(t,e){let i=null;try{hd=hd||gO(t);let n=e?String(e):"";i=hd.getInertBodyElement(n);let r=5,o=n;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,n=o,o=i.innerHTML,i=hd.getInertBodyElement(n)}while(n!==o);let a=new vp().sanitizeChildren(c_(i)||i);return iu(a)}finally{if(i){let n=c_(i)||i;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function c_(t){return"content"in t&&OO(t)?t.content:null}function OO(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}function hs(t){let e=Ag();return e?r_(e.sanitize(Et.HTML,t)||""):mi(t,"HTML")?r_(un(t)):yg(Bx(),Qr(t))}function bg(t){let e=Ag();return e?e.sanitize(Et.URL,t)||"":mi(t,"URL")?un(t):ru(Qr(t))}function RO(t){let e=Ag();if(e)return o_(e.sanitize(Et.RESOURCE_URL,t)||"");if(mi(t,"ResourceURL"))return o_(un(t));throw new T(904,!1)}function FO(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?RO:bg}function Jx(t,e,i){return FO(e,i)(t)}function Ag(){let t=se();return t&&t[Mn].sanitizer}function NO(t){return t.replace(kO,e=>e.replace(LO,PO))}function eC(t){return t instanceof Function?t():t}function jO(t){return(t??y(Xe)).get(bt)==="browser"}function _g(t,e){return VO(t,e)}function Zo(t,e,i,n,r){if(n!=null){let o,s=!1;hi(n)?o=n:Wr(n)&&(s=!0,n=n[fi]);let a=Wn(n);t===0&&i!==null?r==null?oC(e,i,a):Fd(e,i,a,r||null,!0):t===1&&i!==null?Fd(e,i,a,r||null,!0):t===2?tR(e,a,s):t===3&&e.destroyNode(a),o!=null&&iR(e,t,o,i,r)}}function BO(t,e){return t.createText(e)}function UO(t,e,i){t.setValue(e,i)}function HO(t,e){return t.createComment(NO(e))}function tC(t,e,i){return t.createElement(e,i)}function zO(t,e){nC(t,e),e[fi]=null,e[tn]=null}function WO(t,e,i,n,r,o){n[fi]=r,n[tn]=e,su(t,n,i,1,r,o)}function nC(t,e){e[Mn].changeDetectionScheduler?.notify(1),su(t,e,e[nt],2,null,null)}function GO(t){let e=t[Ia];if(!e)return Bm(t[ae],t);for(;e;){let i=null;if(Wr(e))i=e[Ia];else{let n=e[qt];n&&(i=n)}if(!i){for(;e&&!e[In]&&e!==t;)Wr(e)&&Bm(e[ae],e),e=e[wt];e===null&&(e=t),Wr(e)&&Bm(e[ae],e),i=e&&e[In]}e=i}}function QO(t,e,i,n){let r=qt+n,o=i.length;n>0&&(i[r-1][In]=e),n<o-qt?(e[In]=i[r],P_(i,qt+n,e)):(i.push(e),e[In]=null),e[wt]=i;let s=e[Na];s!==null&&i!==s&&KO(s,e);let a=e[ci];a!==null&&a.insertView(t),np(e),e[$]|=128}function KO(t,e){let i=t[rs],r=e[wt][wt][Sn];e[Sn]!==r&&(t[$]|=ig.HasTransplantedViews),i===null?t[rs]=[e]:i.push(e)}function iC(t,e){let i=t[rs],n=i.indexOf(e);i.splice(n,1)}function Rd(t,e){if(t.length<=qt)return;let i=qt+e,n=t[i];if(n){let r=n[Na];r!==null&&r!==t&&iC(r,n),e>0&&(t[i-1][In]=n[In]);let o=Ed(t,qt+e);zO(n[ae],n);let s=o[ci];s!==null&&s.detachView(o[ae]),n[wt]=null,n[In]=null,n[$]&=-129}return n}function xg(t,e){if(!(e[$]&256)){let i=e[nt];i.destroyNode&&su(t,e,i,3,null,null),GO(e)}}function Bm(t,e){if(e[$]&256)return;let i=Te(null);try{e[$]&=-129,e[$]|=256,e[qr]&&Nh(e[qr]),YO(t,e),qO(t,e),e[ae].type===1&&e[nt].destroy();let n=e[Na];if(n!==null&&hi(e[wt])){n!==e[wt]&&iC(n,e);let r=e[ci];r!==null&&r.detachView(t)}lO(e)}finally{Te(i)}}function qO(t,e){let i=t.cleanup,n=e[Da];if(i!==null)for(let o=0;o<i.length-1;o+=2)if(typeof i[o]=="string"){let s=i[o+3];s>=0?n[s]():n[-s].unsubscribe(),o+=2}else{let s=n[i[o+1]];i[o].call(s)}n!==null&&(e[Da]=null);let r=e[Qi];if(r!==null){e[Qi]=null;for(let o=0;o<r.length;o++){let s=r[o];s()}}}function YO(t,e){let i;if(t!=null&&(i=t.destroyHooks)!=null)for(let n=0;n<i.length;n+=2){let r=e[i[n]];if(!(r instanceof $r)){let o=i[n+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=r[o[s]],l=o[s+1];Un(4,a,l);try{l.call(a)}finally{Un(5,a,l)}}else{Un(4,r,o);try{o.call(r)}finally{Un(5,r,o)}}}}}function rC(t,e,i){return ZO(t,e.parent,i)}function ZO(t,e,i){let n=e;for(;n!==null&&n.type&40;)e=n,n=e.parent;if(n===null)return i[fi];{let{componentOffset:r}=n;if(r>-1){let{encapsulation:o}=t.data[n.directiveStart+r];if(o===zn.None||o===zn.Emulated)return null}return dn(n,i)}}function Fd(t,e,i,n,r){t.insertBefore(e,i,n,r)}function oC(t,e,i){t.appendChild(e,i)}function d_(t,e,i,n,r){n!==null?Fd(t,e,i,n,r):oC(t,e,i)}function $O(t,e,i,n){t.removeChild(e,i,n)}function Cg(t,e){return t.parentNode(e)}function XO(t,e){return t.nextSibling(e)}function sC(t,e,i){return eR(t,e,i)}function JO(t,e,i){return t.type&40?dn(t,i):null}function ou(t,e,i,n){let r=rC(t,n,e),o=e[nt],s=n.parent||e[tn],a=sC(s,n,e);if(r!=null)if(Array.isArray(i))for(let l=0;l<i.length;l++)d_(o,r,i[l],a,!1);else d_(o,r,i,a,!1);u_!==void 0&&u_(o,n,e,i,r)}function _d(t,e){if(e!==null){let i=e.type;if(i&3)return dn(e,t);if(i&4)return yp(-1,t[e.index]);if(i&8){let n=e.child;if(n!==null)return _d(t,n);{let r=t[e.index];return hi(r)?yp(-1,r):Wn(r)}}else{if(i&32)return _g(e,t)()||Wn(t[e.index]);{let n=aC(t,e);if(n!==null){if(Array.isArray(n))return n[0];let r=Ta(t[Sn]);return _d(r,n)}else return _d(t,e.next)}}}return null}function aC(t,e){if(e!==null){let n=t[Sn][tn],r=e.projection;return n.projection[r]}return null}function yp(t,e){let i=qt+t+1;if(i<e.length){let n=e[i],r=n[ae].firstChild;if(r!==null)return _d(n,r)}return e[Yr]}function tR(t,e,i){let n=Cg(t,e);n&&$O(t,n,e,i)}function wg(t,e,i,n,r,o,s){for(;i!=null;){let a=n[i.index],l=i.type;if(s&&e===0&&(a&&Zi(Wn(a),n),i.flags|=2),(i.flags&32)!==32)if(l&8)wg(t,e,i.child,n,r,o,!1),Zo(e,t,r,a,o);else if(l&32){let c=_g(i,n),d;for(;d=c();)Zo(e,t,r,d,o);Zo(e,t,r,a,o)}else l&16?lC(t,e,n,i,r,o):Zo(e,t,r,a,o);i=s?i.projectionNext:i.next}}function su(t,e,i,n,r,o){wg(i,n,t.firstChild,e,r,o,!1)}function nR(t,e,i){let n=e[nt],r=rC(t,i,e),o=i.parent||e[tn],s=sC(o,i,e);lC(n,0,e,i,r,s)}function lC(t,e,i,n,r,o){let s=i[Sn],l=s[tn].projection[n.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let d=l[c];Zo(e,t,r,d,o)}else{let c=l,d=s[wt];kx(n)&&(c.flags|=128),wg(t,e,c,d,r,o,!0)}}function iR(t,e,i,n,r){let o=i[Yr],s=Wn(i);o!==s&&Zo(e,t,n,o,r);for(let a=qt;a<i.length;a++){let l=i[a];su(l[ae],l,t,e,n,o)}}function rR(t,e,i,n,r){if(e)r?t.addClass(i,n):t.removeClass(i,n);else{let o=n.indexOf("-")===-1?void 0:ui.DashCase;r==null?t.removeStyle(i,n,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=ui.Important),t.setStyle(i,n,r,o))}}function oR(t,e,i){t.setAttribute(e,"style",i)}function cC(t,e,i){i===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",i)}function dC(t,e,i){let{mergedAttrs:n,classes:r,styles:o}=i;n!==null&&Xm(t,e,n),r!==null&&cC(t,e,r),o!==null&&oR(t,e,o)}function x(t=1){uC(st(),se(),er()+t,!1)}function uC(t,e,i,n){if(!n)if((e[$]&3)===3){let o=t.preOrderCheckHooks;o!==null&&yd(e,o,i)}else{let o=t.preOrderHooks;o!==null&&bd(e,o,0,i)}Zr(i)}function f(t,e=xe.Default){let i=se();if(i===null)return p(t,e);let n=kt();return Sx(n,i,Ut(t),e)}function ms(){let t="invalid";throw new Error(t)}function fC(t,e,i,n,r,o){let s=Te(null);try{let a=null;r&w.SignalBased&&(a=e[n][xc]),a!==null&&a.transformFn!==void 0&&(o=a.transformFn(o)),r&w.HasDecoratorInputTransform&&(o=t.inputTransforms[n].call(e,o)),t.setInput!==null?t.setInput(e,a,o,i,n):ix(e,a,n,o)}finally{Te(s)}}function sR(t,e){let i=t.hostBindingOpCodes;if(i!==null)try{for(let n=0;n<i.length;n++){let r=i[n];if(r<0)Zr(~r);else{let o=r,s=i[++n],a=i[++n];F1(s,o);let l=e[o];a(2,l)}}}finally{Zr(-1)}}function au(t,e,i,n,r,o,s,a,l,c,d){let u=e.blueprint.slice();return u[fi]=r,u[$]=n|4|128|8|64,(c!==null||t&&t[$]&2048)&&(u[$]|=2048),cx(u),u[wt]=u[ds]=t,u[cn]=i,u[Mn]=s||t&&t[Mn],u[nt]=a||t&&t[nt],u[is]=l||t&&t[is]||null,u[tn]=o,u[Yd]=sO(),u[Ea]=d,u[tx]=c,u[Sn]=e.type==2?t[Sn]:u,u}function ps(t,e,i,n,r){let o=t.data[e];if(o===null)o=aR(t,e,i,n,r),R1()&&(o.flags|=32);else if(o.type&64){o.type=i,o.value=n,o.attrs=r;let s=M1();o.injectorIndex=s===null?-1:s.injectorIndex}return no(o,!0),o}function aR(t,e,i,n,r){let o=hx(),s=cg(),a=s?o:o&&o.parent,l=t.data[e]=hR(t,a,i,e,n,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 hC(t,e,i,n){if(i===0)return-1;let r=e.length;for(let o=0;o<i;o++)e.push(n),t.blueprint.push(n),t.data.push(null);return r}function mC(t,e,i,n,r){let o=er(),s=n&2;try{Zr(-1),s&&e.length>Rt&&uC(t,e,Rt,!1),Un(s?2:0,r),i(n,r)}finally{Zr(o),Un(s?3:1,r)}}function Eg(t,e,i){if(rg(e)){let n=Te(null);try{let r=e.directiveStart,o=e.directiveEnd;for(let s=r;s<o;s++){let a=t.data[s];if(a.contentQueries){let l=i[s];a.contentQueries(1,l,s)}}}finally{Te(n)}}}function Dg(t,e,i){ux()&&(bR(t,e,i,dn(i,e)),(i.flags&64)===64&&vC(t,e,i))}function Ig(t,e,i=dn){let n=e.localNames;if(n!==null){let r=e.index+1;for(let o=0;o<n.length;o+=2){let s=n[o+1],a=s===-1?i(e,t):t[s];t[r++]=a}}}function pC(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=Mg(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function Mg(t,e,i,n,r,o,s,a,l,c,d){let u=Rt+n,h=u+r,m=lR(u,h),v=typeof c=="function"?c():c;return m[ae]={type:t,blueprint:m,template:i,queries:null,viewQuery:a,declTNode:e,data:m.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:l,consts:v,incompleteFirstPass:!1,ssrId:d}}function lR(t,e){let i=[];for(let n=0;n<e;n++)i.push(n<t?null:fn);return i}function cR(t,e,i,n){let o=n.get(hO,Ux)||i===zn.ShadowDom,s=t.selectRootElement(e,o);return dR(s),s}function dR(t){uR(t)}function fR(t,e,i,n){let r=AC(e);r.push(i),t.firstCreatePass&&_C(t).push(n,r.length-1)}function hR(t,e,i,n,r,o){let s=e?e.injectorIndex:-1,a=0;return fx()&&(a|=128),{type:i,index:n,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:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function f_(t,e,i,n,r){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;n??={};let a,l=w.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?h_(n,i,c,a,l):h_(n,i,c,a)}return n}function h_(t,e,i,n,r){let o;t.hasOwnProperty(i)?(o=t[i]).push(e,n):o=t[i]=[e,n],r!==void 0&&o.push(r)}function mR(t,e,i){let n=e.directiveStart,r=e.directiveEnd,o=t.data,s=e.attrs,a=[],l=null,c=null;for(let d=n;d<r;d++){let u=o[d],h=i?i.get(u):null,m=h?h.inputs:null,v=h?h.outputs:null;l=f_(0,u.inputs,d,l,m),c=f_(1,u.outputs,d,c,v);let _=l!==null&&s!==null&&!Jp(e)?TR(l,d,s):null;a.push(_)}l!==null&&(l.hasOwnProperty("class")&&(e.flags|=8),l.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=a,e.inputs=l,e.outputs=c}function pR(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Sg(t,e,i,n,r,o,s,a){let l=dn(e,i),c=e.inputs,d;!a&&c!=null&&(d=c[n])?(Og(t,i,d,n,r),Zd(e)&&gR(i,e.index)):e.type&3?(n=pR(n),r=s!=null?s(r,e.value||"",n):r,o.setProperty(l,n,r)):e.type&12}function gR(t,e){let i=Ji(e,t);i[$]&16||(i[$]|=64)}function Tg(t,e,i,n){if(ux()){let r=n===null?null:{"":-1},o=_R(t,i),s,a;o===null?s=a=null:[s,a]=o,s!==null&&gC(t,e,i,s,r,a),r&&xR(i,n,r)}i.mergedAttrs=Ca(i.mergedAttrs,i.attrs)}function gC(t,e,i,n,r,o){for(let c=0;c<n.length;c++)op(Od(i,e),t,n[c].type);wR(i,t.data.length,n.length);for(let c=0;c<n.length;c++){let d=n[c];d.providersResolver&&d.providersResolver(d)}let s=!1,a=!1,l=hC(t,e,n.length,null);for(let c=0;c<n.length;c++){let d=n[c];i.mergedAttrs=Ca(i.mergedAttrs,d.hostAttrs),ER(t,i,e,l,d),CR(l,d,r),d.contentQueries!==null&&(i.flags|=4),(d.hostBindings!==null||d.hostAttrs!==null||d.hostVars!==0)&&(i.flags|=64);let u=d.type.prototype;!s&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((t.preOrderHooks??=[]).push(i.index),s=!0),!a&&(u.ngOnChanges||u.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(i.index),a=!0),l++}mR(t,i,o)}function vR(t,e,i,n,r){let o=r.hostBindings;if(o){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;yR(s)!=a&&s.push(a),s.push(i,n,o)}}function yR(t){let e=t.length;for(;e>0;){let i=t[--e];if(typeof i=="number"&&i<0)return i}return 0}function bR(t,e,i,n){let r=i.directiveStart,o=i.directiveEnd;Zd(i)&&DR(e,i,t.data[r+i.componentOffset]),t.firstCreatePass||Od(i,e),Zi(n,e);let s=i.initialInputs;for(let a=r;a<o;a++){let l=t.data[a],c=Xr(e,t,a,i);if(Zi(c,e),s!==null&&SR(e,a-r,c,l,i,s),qi(l)){let d=Ji(i.index,e);d[cn]=Xr(e,t,a,i)}}}function vC(t,e,i){let n=i.directiveStart,r=i.directiveEnd,o=i.index,s=k1();try{Zr(o);for(let a=n;a<r;a++){let l=t.data[a],c=e[a];ip(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&AR(l,c)}}finally{Zr(-1),ip(s)}}function AR(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function _R(t,e){let i=t.directiveRegistry,n=null,r=null;if(i)for(let o=0;o<i.length;o++){let s=i[o];if(H_(e,s.selectors,!1))if(n||(n=[]),qi(s))if(s.findHostDirectiveDefs!==null){let a=[];r=r||new Map,s.findHostDirectiveDefs(s,a,r),n.unshift(...a,s);let l=a.length;bp(t,e,l)}else n.unshift(s),bp(t,e,0);else r=r||new Map,s.findHostDirectiveDefs?.(s,n,r),n.push(s)}return n===null?null:[n,r]}function bp(t,e,i){e.componentOffset=i,(t.components??=[]).push(e.index)}function xR(t,e,i){if(e){let n=t.localNames=[];for(let r=0;r<e.length;r+=2){let o=i[e[r+1]];if(o==null)throw new T(-301,!1);n.push(e[r],o)}}}function CR(t,e,i){if(i){if(e.exportAs)for(let n=0;n<e.exportAs.length;n++)i[e.exportAs[n]]=t;qi(e)&&(i[""]=t)}}function wR(t,e,i){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+i,t.providerIndexes=e}function ER(t,e,i,n,r){t.data[n]=r;let o=r.factory||(r.factory=Kr(r.type,!0)),s=new $r(o,qi(r),f);t.blueprint[n]=s,i[n]=s,vR(t,e,n,hC(t,i,r.hostVars,fn),r)}function DR(t,e,i){let n=dn(e,t),r=pC(i),o=t[Mn].rendererFactory,s=16;i.signals?s=4096:i.onPush&&(s=64);let a=lu(t,au(t,r,null,s,n,e,null,o.createRenderer(n,i),null,null,null));t[e.index]=a}function IR(t,e,i,n,r,o){let s=dn(t,e);MR(e[nt],s,o,t.value,i,n,r)}function MR(t,e,i,n,r,o,s){if(o==null)t.removeAttribute(e,r,i);else{let a=s==null?Qr(o):s(o,n||"",r);t.setAttribute(e,r,a,i)}}function SR(t,e,i,n,r,o){let s=o[e];if(s!==null)for(let a=0;a<s.length;){let l=s[a++],c=s[a++],d=s[a++],u=s[a++];fC(n,i,l,c,d,u)}}function TR(t,e,i){let n=null,r=0;for(;r<i.length;){let o=i[r];if(o===0){r+=4;continue}else if(o===5){r+=2;continue}if(typeof o=="number")break;if(t.hasOwnProperty(o)){n===null&&(n=[]);let s=t[o];for(let a=0;a<s.length;a+=3)if(s[a]===e){n.push(o,s[a+1],s[a+2],i[r+1]);break}}r+=2}return n}function yC(t,e,i,n){return[t,!0,0,e,null,n,null,i,null,null]}function bC(t,e){let i=t.contentQueries;if(i!==null){let n=Te(null);try{for(let r=0;r<i.length;r+=2){let o=i[r],s=i[r+1];if(s!==-1){let a=t.data[s];fg(o),a.contentQueries(2,e[s],s)}}}finally{Te(n)}}}function lu(t,e){return t[Ia]?t[$0][In]=e:t[Ia]=e,t[$0]=e,e}function Ap(t,e,i){fg(0);let n=Te(null);try{e(t,i)}finally{Te(n)}}function AC(t){return t[Da]||(t[Da]=[])}function _C(t){return t.cleanup||(t.cleanup=[])}function xC(t,e){let i=t[is],n=i?i.get(zt,null):null;n&&n.handleError(e)}function Og(t,e,i,n,r){for(let o=0;o<i.length;){let s=i[o++],a=i[o++],l=i[o++],c=e[s],d=t.data[s];fC(d,c,n,a,l,r)}}function CC(t,e,i){let n=lx(e,t);UO(t[nt],n,i)}function OR(t,e){let i=Ji(e,t),n=i[ae];RR(n,i);let r=i[fi];r!==null&&i[Ea]===null&&(i[Ea]=vg(r,i[is])),Rg(n,i,i[cn])}function RR(t,e){for(let i=e.length;i<t.blueprint.length;i++)e.push(t.blueprint[i])}function Rg(t,e,i){hg(e);try{let n=t.viewQuery;n!==null&&Ap(1,n,i);let r=t.template;r!==null&&mC(t,e,r,1,i),t.firstCreatePass&&(t.firstCreatePass=!1),e[ci]?.finishViewCreation(t),t.staticContentQueries&&bC(t,e),t.staticViewQueries&&Ap(2,t.viewQuery,i);let o=t.components;o!==null&&FR(e,o)}catch(n){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),n}finally{e[$]&=-5,mg()}}function FR(t,e){for(let i=0;i<e.length;i++)OR(t,e[i])}function wC(t,e,i,n){let r=Te(null);try{let o=e.tView,a=t[$]&4096?4096:16,l=au(t,o,i,a,null,e,null,null,n?.injector??null,n?.embeddedViewInjector??null,n?.dehydratedView??null),c=t[e.index];l[Na]=c;let d=t[ci];return d!==null&&(l[ci]=d.createEmbeddedView(o)),Rg(o,l,i),l}finally{Te(r)}}function kR(t,e){let i=qt+e;if(i<t.length)return t[i]}function _p(t,e){return!e||e.firstChild===null||kx(t)}function EC(t,e,i,n=!0){let r=e[ae];if(QO(r,e,t,i),n){let s=yp(i,t),a=e[nt],l=Cg(a,t[Yr]);l!==null&&WO(r,t[tn],a,e,l,s)}let o=e[Ea];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function LR(t,e){let i=Rd(t,e);return i!==void 0&&xg(i[ae],i),i}function kd(t,e,i,n,r=!1){for(;i!==null;){let o=e[i.index];o!==null&&n.push(Wn(o)),hi(o)&&PR(o,n);let s=i.type;if(s&8)kd(t,e,i.child,n);else if(s&32){let a=_g(i,e),l;for(;l=a();)n.push(l)}else if(s&16){let a=aC(e,i);if(Array.isArray(a))n.push(...a);else{let l=Ta(e[Sn]);kd(l[ae],l,a,n,!0)}}i=r?i.projectionNext:i.next}return n}function PR(t,e){for(let i=qt;i<t.length;i++){let n=t[i],r=n[ae].firstChild;r!==null&&kd(n[ae],n,r,e)}t[Yr]!==t[fi]&&e.push(t[Yr])}function NR(t){return t[qr]??jR(t)}function jR(t){let e=DC.pop()??Object.create(BR);return e.lView=t,e}function VR(t){t.lView[qr]!==t&&(t.lView=null,DC.push(t))}function MC(t,e=!0,i=0){let n=t[Mn],r=n.rendererFactory,o=!1;o||r.begin?.();try{UR(t,i)}catch(s){throw e&&xC(t,s),s}finally{o||(r.end?.(),n.inlineEffectRunner?.flush())}}function UR(t,e){xp(t,e);let i=0;for(;lg(t);){if(i===IC)throw new T(103,!1);i++,xp(t,1)}}function HR(t,e,i,n){let r=e[$];if((r&256)===256)return;let o=!1;!o&&e[Mn].inlineEffectRunner?.flush(),hg(e);let s=null,a=null;!o&&zR(t)&&(a=NR(e),s=Lh(a));try{cx(e),O1(t.bindingStartIndex),i!==null&&mC(t,e,i,2,n);let l=(r&3)===3;if(!o)if(l){let u=t.preOrderCheckHooks;u!==null&&yd(e,u,null)}else{let u=t.preOrderHooks;u!==null&&bd(e,u,0,null),Pm(e,0)}if(WR(e),SC(e,0),t.contentQueries!==null&&bC(t,e),!o)if(l){let u=t.contentCheckHooks;u!==null&&yd(e,u)}else{let u=t.contentHooks;u!==null&&bd(e,u,1),Pm(e,1)}sR(t,e);let c=t.components;c!==null&&OC(e,c,0);let d=t.viewQuery;if(d!==null&&Ap(2,d,n),!o)if(l){let u=t.viewCheckHooks;u!==null&&yd(e,u)}else{let u=t.viewHooks;u!==null&&bd(e,u,2),Pm(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[vd]){for(let u of e[vd])u();e[vd]=null}o||(e[$]&=-73)}catch(l){throw Sa(e),l}finally{a!==null&&(Ph(a,s),VR(a)),mg()}}function zR(t){return t.type!==2}function SC(t,e){for(let i=Px(t);i!==null;i=Nx(i))for(let n=qt;n<i.length;n++){let r=i[n];TC(r,e)}}function WR(t){for(let e=Px(t);e!==null;e=Nx(e)){if(!(e[$]&ig.HasTransplantedViews))continue;let i=e[rs];for(let n=0;n<i.length;n++){let r=i[n],o=r[wt];A1(r)}}}function GR(t,e,i){let n=Ji(e,t);TC(n,i)}function TC(t,e){ag(t)&&xp(t,e)}function xp(t,e){let n=t[ae],r=t[$],o=t[qr],s=!!(e===0&&r&16);if(s||=!!(r&64&&e===0),s||=!!(r&1024),s||=!!(o?.dirty&&Cc(o)),o&&(o.dirty=!1),t[$]&=-9217,s)HR(n,t,n.template,t[cn]);else if(r&8192){SC(t,1);let a=n.components;a!==null&&OC(t,a,1)}}function OC(t,e,i){for(let n=0;n<e.length;n++)GR(t,e[n],i)}function Fg(t){for(t[Mn].changeDetectionScheduler?.notify();t;){t[$]|=64;let e=Ta(t);if(u1(t)&&!e)return t;t=e}return null}function qR(){return cu(kt(),se())}function cu(t,e){return t.type&4?new KR(e,t,fs(t,e)):null}function Cp(t,e){return YR(t,e)}function ZR(t){let e=Error(`No component factory found for ${Ht(t)}.`);return e[$R]=t,e}function XR(){let t=se(),e=kt(),i=Ji(e.index,t);return(Wr(i)?i:t)[nt]}function nr(t){m_.has(t)||(m_.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function p_(...t){}function eF(){let t=typeof li.requestAnimationFrame=="function",e=li[t?"requestAnimationFrame":"setTimeout"],i=li[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&i){let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);let r=i[Zone.__symbol__("OriginalDelegate")];r&&(i=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:i}}function kg(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 nF(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(li,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Dp(t),t.isCheckStableRunning=!0,kg(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Dp(t))}function iF(t){let e=()=>{nF(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,n,r,o,s,a)=>{if(rF(a))return i.invokeTask(r,o,s,a);try{return g_(t),i.invokeTask(r,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),v_(t)}},onInvoke:(i,n,r,o,s,a,l)=>{try{return g_(t),i.invoke(r,o,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),v_(t)}},onHasTask:(i,n,r,o)=>{i.hasTask(r,o),n===r&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,Dp(t),kg(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(i,n,r,o)=>(i.handleError(r,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function Dp(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function g_(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function v_(t){t._nesting--,kg(t)}function rF(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}function du(t,e){!e&&ex(du);let i=e?.injector??y(Xe);if(!jO(i))return oF;nr("NgAfterNextRender");let n=i.get(Lg),r=n.handler??=new Mp,o=e?.phase??$o.MixedReadWrite,s=()=>{r.unregister(l),a()},a=i.get(nu).onDestroy(s),l=On(i,()=>new Ip(o,()=>{s(),t()}));return r.register(l),{destroy:s}}function Pd(t,e,i){let n=i?t.styles:null,r=i?t.classes:null,o=0;if(e!==null)for(let s=0;s<e.length;s++){let a=e[s];if(typeof a=="number")o=a;else if(o==1)r=qm(r,a);else if(o==2){let l=a,c=e[++s];n=qm(n,l+": "+c+";")}}i?t.styles=n:t.stylesWithoutHost=n,i?t.classes=r:t.classesWithoutHost=r}function y_(t){let e=[];for(let i in t){if(!t.hasOwnProperty(i))continue;let n=t[i];n!==void 0&&e.push({propName:Array.isArray(n)?n[0]:n,templateName:i})}return e}function sF(t){let e=t.toLowerCase();return e==="svg"?ax:e==="math"?p1:null}function aF(t,e){let i=t[ae],n=Rt;return t[n]=e,ps(i,n,2,"#host",null)}function lF(t,e,i,n,r,o,s){let a=r[ae];cF(n,t,e,s);let l=null;e!==null&&(l=vg(e,r[is]));let c=o.rendererFactory.createRenderer(e,i),d=16;i.signals?d=4096:i.onPush&&(d=64);let u=au(r,pC(i),null,d,r[t.index],t,o,c,null,null,l);return a.firstCreatePass&&bp(a,t,n.length-1),lu(r,u),r[t.index]=u}function cF(t,e,i,n){for(let r of t)e.mergedAttrs=Ca(e.mergedAttrs,r.hostAttrs);e.mergedAttrs!==null&&(Pd(e,e.mergedAttrs,!0),i!==null&&dC(n,i,e))}function dF(t,e,i,n,r,o){let s=kt(),a=r[ae],l=dn(s,r);gC(a,r,s,i,null,n);for(let d=0;d<i.length;d++){let u=s.directiveStart+d,h=Xr(r,a,u,s);Zi(h,r)}vC(a,r,s),l&&Zi(l,r);let c=Xr(r,a,s.directiveStart+s.componentOffset,s);if(t[cn]=r[cn]=c,o!==null)for(let d of o)d(c,e);return Eg(a,s,r),c}function uF(t,e,i,n){if(n)Xm(t,i,["ng-version","17.3.12"]);else{let{attrs:r,classes:o}=ZT(e.selectors[0]);r&&Xm(t,i,r),o&&o.length>0&&cC(t,i,o.join(" "))}}function fF(t,e,i){let n=t.projection=[];for(let r=0;r<e.length;r++){let o=i[r];n.push(o!=null?Array.from(o):null)}}function hF(){let t=kt();tu(se()[ae],t)}function mF(){let t=kt();return FC(t,se())}function b_(t){return t[Id]}function Hm(t){return t[Id]||(t[Id]=[])}function FC(t,e){let i,n=e[t.index];return hi(n)?i=n:(i=yC(n,e,null,t),e[t.index]=i,lu(e,i)),vF(i,e,t,n),new RC(i,t,e)}function gF(t,e){let i=t[nt],n=i.createComment(""),r=dn(e,t),o=Cg(i,r);return Fd(i,o,n,XO(i,r),!1),n}function bF(t,e,i){return yF(t,e,i)}function AF(t,e,i,n){if(t[Yr])return;let r;i.type&8?r=Wn(n):r=gF(e,i),t[Yr]=r}function _F(t,e){let i=t.localNames;if(i!==null){for(let n=0;n<i.length;n+=2)if(i[n]===e)return i[n+1]}return null}function xF(t,e){return t.type&11?fs(t,e):t.type&4?cu(t,e):null}function CF(t,e,i,n){return i===-1?xF(e,t):i===-2?wF(t,e,n):Xr(t,t[ae],i,e)}function wF(t,e,i){if(i===P)return fs(e,t);if(i===Ft)return cu(e,t);if(i===pt)return FC(e,t)}function kC(t,e,i,n){let r=e[ci].queries[n];if(r.matches===null){let o=t.data,s=i.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(CF(e,d,s[l+1],i.metadata.read))}}r.matches=a}return r.matches}function Lp(t,e,i,n){let r=t.queries.getByIndex(i),o=r.matches;if(o!==null){let s=kC(t,e,r,i);for(let a=0;a<o.length;a+=2){let l=o[a];if(l>0)n.push(s[a/2]);else{let c=o[a+1],d=e[-l];for(let u=qt;u<d.length;u++){let h=d[u];h[Na]===h[wt]&&Lp(h[ae],h,c,n)}if(d[rs]!==null){let u=d[rs];for(let h=0;h<u.length;h++){let m=u[h];Lp(m[ae],m,c,n)}}}}}return n}function EF(t,e){return t[ci].queries[e].queryList}function LC(t,e,i){let n=new Yi((i&4)===4);return fR(t,e,n,n.destroy),(e[ci]??=new Rp).queries.push(new Op(n))-1}function DF(t,e,i){let n=st();return n.firstCreatePass&&(PC(n,new jd(t,e,i),-1),(e&2)===2&&(n.staticViewQueries=!0)),LC(n,se(),e)}function IF(t,e,i,n){let r=st();if(r.firstCreatePass){let o=kt();PC(r,new jd(e,i,n),o.index),SF(r,t),(i&2)===2&&(r.staticContentQueries=!0)}return LC(r,se(),i)}function MF(t){return t.split(",").map(e=>e.trim())}function PC(t,e,i){t.queries===null&&(t.queries=new Fp),t.queries.track(new kp(e,i))}function SF(t,e){let i=t.contentQueries||(t.contentQueries=[]),n=i.length?i[i.length-1]:-1;e!==n&&i.push(t.queries.length-1,e)}function Pg(t,e){return t.queries.getByIndex(e)}function TF(t,e){let i=t[ae],n=Pg(i,e);return n.crossesNgTemplate?Lp(i,t,e,[]):kC(i,t,n,e)}function uu(t){return typeof t=="function"&&t[xc]!==void 0}function NC(t){return uu(t)&&typeof t.set=="function"}function OF(t){return Object.getPrototypeOf(t.prototype).constructor}function Ce(t){let e=OF(t.type),i=!0,n=[t];for(;e;){let r;if(qi(t))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new T(903,!1);r=e.\u0275dir}if(r){if(i){n.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&&PF(t,a);let l=r.viewQuery,c=r.contentQueries;if(l&&kF(t,l),c&&LF(t,c),RF(t,r),mT(t.outputs,r.outputs),qi(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===Ce&&(i=!1)}}e=Object.getPrototypeOf(e)}FF(n)}function RF(t,e){for(let i in e.inputs){if(!e.inputs.hasOwnProperty(i)||t.inputs.hasOwnProperty(i))continue;let n=e.inputs[i];if(n!==void 0&&(t.inputs[i]=n,t.declaredInputs[i]=e.declaredInputs[i],e.inputTransforms!==null)){let r=Array.isArray(n)?n[0]:n;if(!e.inputTransforms.hasOwnProperty(r))continue;t.inputTransforms??={},t.inputTransforms[r]=e.inputTransforms[r]}}}function FF(t){let e=0,i=null;for(let n=t.length-1;n>=0;n--){let r=t[n];r.hostVars=e+=r.hostVars,r.hostAttrs=Ca(r.hostAttrs,i=Ca(i,r.hostAttrs))}}function md(t){return t===es?{}:t===Kt?[]:t}function kF(t,e){let i=t.viewQuery;i?t.viewQuery=(n,r)=>{e(n,r),i(n,r)}:t.viewQuery=e}function LF(t,e){let i=t.contentQueries;i?t.contentQueries=(n,r,o)=>{e(n,r,o),i(n,r,o)}:t.contentQueries=e}function PF(t,e){let i=t.hostBindings;i?t.hostBindings=(n,r)=>{e(n,r),i(n,r)}:t.hostBindings=e}function ct(t){let e=t.inputConfig,i={};for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];Array.isArray(r)&&r[3]&&(i[n]=r[3])}t.inputTransforms=i}function fu(t,e,i=null){return new Vd({providers:t,parent:e,debugName:i,runEnvironmentInitializers:!0}).injector}function jC(t){return jF(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function NF(t,e){if(Array.isArray(t))for(let i=0;i<t.length;i++)e(t[i]);else{let i=t[Symbol.iterator](),n;for(;!(n=i.next()).done;)e(n.value)}}function jF(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Ng(t,e,i){return t[e]=i}function VF(t,e){return t[e]}function Tn(t,e,i){let n=t[e];return Object.is(n,i)?!1:(t[e]=i,!0)}function VC(t,e,i,n){let r=Tn(t,e,i);return Tn(t,e+1,n)||r}function BF(t){return(t.flags&32)===32}function UF(t,e,i,n,r,o,s,a,l){let c=e.consts,d=ps(e,t,4,s||null,os(c,a));Tg(e,i,d,os(c,l)),tu(e,d);let u=d.tView=Mg(2,d,n,r,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,d),u.queries=e.queries.embeddedTView(d)),d}function Y(t,e,i,n,r,o,s,a){let l=se(),c=st(),d=t+Rt,u=c.firstCreatePass?UF(d,c,l,e,i,n,r,o,s):c.data[d];no(u,!1);let h=HF(c,l,u,t);Jd()&&ou(c,l,h,u),Zi(h,l);let m=yC(h,l,h,u);return l[d]=m,lu(l,m),bF(m,u,l),$d(u)&&Dg(c,l,u),s!=null&&Ig(l,u,a),Y}function zF(t,e,i,n){return eu(!0),e[nt].createComment("")}function _e(t,e,i,n){let r=se(),o=us();if(Tn(r,o,e)){let s=st(),a=Xd();IR(a,r,t,e,i,n)}return _e}function BC(t,e,i,n){return Tn(t,us(),i)?e+Qr(i)+n:fn}function WF(t,e,i,n,r,o){let s=T1(),a=VC(t,s,i,r);return ug(2),a?e+Qr(i)+n+Qr(r)+o:fn}function pd(t,e){return t<<17|e<<2}function to(t){return t>>17&32767}function GF(t){return(t&2)==2}function QF(t,e){return t&131071|e<<17}function jp(t){return t|2}function ls(t){return(t&131068)>>2}function zm(t,e){return t&-131069|e<<2}function KF(t){return(t&1)===1}function Vp(t){return t|1}function qF(t,e,i,n,r,o){let s=o?e.classBindings:e.styleBindings,a=to(s),l=ls(s);t[n]=i;let c=!1,d;if(Array.isArray(i)){let u=i;d=u[1],(d===null||La(u,d)>0)&&(c=!0)}else d=i;if(r)if(l!==0){let h=to(t[a+1]);t[n+1]=pd(h,a),h!==0&&(t[h+1]=zm(t[h+1],n)),t[a+1]=QF(t[a+1],n)}else t[n+1]=pd(a,0),a!==0&&(t[a+1]=zm(t[a+1],n)),a=n;else t[n+1]=pd(l,0),a===0?a=n:t[l+1]=zm(t[l+1],n),l=n;c&&(t[n+1]=jp(t[n+1])),A_(t,d,n,!0),A_(t,d,n,!1),YF(e,d,t,n,o),s=pd(a,l),o?e.classBindings=s:e.styleBindings=s}function YF(t,e,i,n,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&La(o,e)>=0&&(i[n+1]=Vp(i[n+1]))}function A_(t,e,i,n){let r=t[i+1],o=e===null,s=n?to(r):ls(r),a=!1;for(;s!==0&&(a===!1||o);){let l=t[s],c=t[s+1];ZF(l,e)&&(a=!0,t[s+1]=n?Vp(c):jp(c)),s=n?to(c):ls(c)}a&&(t[i+1]=n?jp(r):Vp(r))}function ZF(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?La(t,e)>=0:!1}function $F(t){return t.substring(Dn.key,Dn.keyEnd)}function XF(t){return JF(t),UC(t,HC(t,0,Dn.textEnd))}function UC(t,e){let i=Dn.textEnd;return i===e?-1:(e=Dn.keyEnd=ek(t,Dn.key=e,i),HC(t,e,i))}function JF(t){Dn.key=0,Dn.keyEnd=0,Dn.value=0,Dn.valueEnd=0,Dn.textEnd=t.length}function HC(t,e,i){for(;e<i&&t.charCodeAt(e)<=32;)e++;return e}function ek(t,e,i){for(;e<i&&t.charCodeAt(e)>32;)e++;return e}function D(t,e,i){let n=se(),r=us();if(Tn(n,r,e)){let o=st(),s=Xd();Sg(o,s,n,t,e,n[nt],i,!1)}return D}function Bp(t,e,i,n,r){let o=e.inputs,s=r?"class":"style";Og(t,i,o[s],s,n)}function gi(t,e,i){return WC(t,e,i,!1),gi}function pe(t,e){return WC(t,e,null,!0),pe}function vi(t){GC(sk,zC,t,!0)}function zC(t,e){for(let i=XF(e);i>=0;i=UC(e,i))Kd(t,$F(e),!0)}function WC(t,e,i,n){let r=se(),o=st(),s=ug(2);if(o.firstUpdatePass&&KC(o,t,s,n),e!==fn&&Tn(r,s,e)){let a=o.data[er()];qC(o,a,r,r[nt],t,r[s+1]=lk(e,i),n,s)}}function GC(t,e,i,n){let r=st(),o=ug(2);r.firstUpdatePass&&KC(r,null,o,n);let s=se();if(i!==fn&&Tn(s,o,i)){let a=r.data[er()];if(YC(a,n)&&!QC(r,o)){let l=n?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(i=qm(l,i||"")),Bp(r,a,s,i,n)}else ak(r,a,s,s[nt],s[o+1],s[o+1]=ok(t,e,i),n,o)}}function QC(t,e){return e>=t.expandoStartIndex}function KC(t,e,i,n){let r=t.data;if(r[i+1]===null){let o=r[er()],s=QC(t,i);YC(o,n)&&e===null&&!s&&(e=!1),e=tk(r,o,e,n),qF(r,o,e,i,s,n)}}function tk(t,e,i,n){let r=L1(t),o=n?e.residualClasses:e.residualStyles;if(r===null)(n?e.classBindings:e.styleBindings)===0&&(i=Wm(null,t,e,i,n),i=Ra(i,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==r)if(i=Wm(r,t,e,i,n),o===null){let l=nk(t,e,n);l!==void 0&&Array.isArray(l)&&(l=Wm(null,t,e,l[1],n),l=Ra(l,e.attrs,n),ik(t,e,n,l))}else o=rk(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),i}function nk(t,e,i){let n=i?e.classBindings:e.styleBindings;if(ls(n)!==0)return t[to(n)]}function ik(t,e,i,n){let r=i?e.classBindings:e.styleBindings;t[to(r)]=n}function rk(t,e,i){let n,r=e.directiveEnd;for(let o=1+e.directiveStylingLast;o<r;o++){let s=t[o].hostAttrs;n=Ra(n,s,i)}return Ra(n,e.attrs,i)}function Wm(t,e,i,n,r){let o=null,s=i.directiveEnd,a=i.directiveStylingLast;for(a===-1?a=i.directiveStart:a++;a<s&&(o=e[a],n=Ra(n,o.hostAttrs,r),o!==t);)a++;return t!==null&&(i.directiveStylingLast=a),n}function Ra(t,e,i){let n=i?1:2,r=-1;if(e!==null)for(let o=0;o<e.length;o++){let s=e[o];typeof s=="number"?r=s:r===n&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),Kd(t,s,i?!0:e[++o]))}return t===void 0?null:t}function ok(t,e,i){if(i==null||i==="")return Kt;let n=[],r=un(i);if(Array.isArray(r))for(let o=0;o<r.length;o++)t(n,r[o],!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&t(n,o,r[o]);else typeof r=="string"&&e(n,r);return n}function sk(t,e,i){let n=String(e);n!==""&&!n.includes(" ")&&Kd(t,n,i)}function ak(t,e,i,n,r,o,s,a){r===fn&&(r=Kt);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 h=l<r.length?r[l+1]:void 0,m=c<o.length?o[c+1]:void 0,v=null,_;d===u?(l+=2,c+=2,h!==m&&(v=u,_=m)):u===null||d!==null&&d<u?(l+=2,v=d):(c+=2,v=u,_=m),v!==null&&qC(t,e,i,n,v,_,s,a),d=l<r.length?r[l]:null,u=c<o.length?o[c]:null}}function qC(t,e,i,n,r,o,s,a){if(!(e.type&3))return;let l=t.data,c=l[a+1],d=KF(c)?__(l,e,i,r,ls(c),s):void 0;if(!Bd(d)){Bd(o)||GF(c)&&(o=__(l,null,i,r,a,s));let u=lx(er(),i);rR(n,s,u,r,o)}}function __(t,e,i,n,r,o){let s=e===null,a;for(;r>0;){let l=t[r],c=Array.isArray(l),d=c?l[1]:l,u=d===null,h=i[r+1];h===fn&&(h=u?Kt:void 0);let m=u?km(h,n):d===n?h:void 0;if(c&&!Bd(m)&&(m=km(l,n)),Bd(m)&&(a=m,s))return a;let v=t[r+1];r=s?to(v):ls(v)}if(e!==null){let l=o?e.residualClasses:e.residualStyles;l!=null&&(a=km(l,n))}return a}function Bd(t){return t!==void 0}function lk(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=Ht(un(t)))),t}function YC(t,e){return(t.flags&(e?8:16))!==0}function hu(t,e,i){let n=se(),r=BC(n,t,e,i);GC(Kd,zC,r,!0)}function rt(t,e,i){nr("NgControlFlow");let n=se(),r=us(),o=ck(n,Rt+t),s=0;if(Tn(n,r,e)){let a=Te(null);try{if(LR(o,s),e!==-1){let l=dk(n[ae],Rt+e),c=Cp(o,l.tView.ssrId),d=wC(n,l,i,{dehydratedView:c});EC(o,d,s,_p(l,c))}}finally{Te(a)}}else{let a=kR(o,s);a!==void 0&&(a[cn]=i)}}function ck(t,e){return t[e]}function dk(t,e){return og(t,e)}function uk(t,e,i,n,r,o){let s=e.consts,a=os(s,r),l=ps(e,t,2,n,a);return Tg(e,i,l,os(s,o)),l.attrs!==null&&Pd(l,l.attrs,!1),l.mergedAttrs!==null&&Pd(l,l.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,l),l}function E(t,e,i,n){let r=se(),o=st(),s=Rt+t,a=r[nt],l=o.firstCreatePass?uk(s,o,r,e,i,n):o.data[s],c=fk(o,r,l,a,e,t);r[s]=c;let d=$d(l);return no(l,!0),dC(a,c,l),!BF(l)&&Jd()&&ou(o,r,c,l),C1()===0&&Zi(c,r),w1(),d&&(Dg(o,r,l),Eg(o,l,r)),n!==null&&Ig(r,l),E}function S(){let t=kt();cg()?dg():(t=t.parent,no(t,!1));let e=t;D1(e)&&I1(),E1();let i=st();return i.firstCreatePass&&(tu(i,t),rg(t)&&i.queries.elementEnd(t)),e.classesWithoutHost!=null&&z1(e)&&Bp(i,e,se(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&W1(e)&&Bp(i,e,se(),e.stylesWithoutHost,!1),S}function ne(t,e,i,n){return E(t,e,i,n),S(),ne}function hk(t,e,i,n,r){let o=e.consts,s=os(o,n),a=ps(e,t,8,"ng-container",s);s!==null&&Pd(a,s,!0);let l=os(o,r);return Tg(e,i,a,l),e.queries!==null&&e.queries.elementStart(e,a),a}function jg(t,e,i){let n=se(),r=st(),o=t+Rt,s=r.firstCreatePass?hk(o,r,n,e,i):r.data[o];no(s,!0);let a=mk(r,n,s,t);return n[o]=a,Jd()&&ou(r,n,a,s),Zi(a,n),$d(s)&&(Dg(r,n,s),Eg(r,s,n)),i!=null&&Ig(n,s),jg}function Vg(){let t=kt(),e=st();return cg()?dg():(t=t.parent,no(t,!1)),e.firstCreatePass&&(tu(e,t),rg(t)&&e.queries.elementEnd(t)),Vg}function Ua(t,e,i){return jg(t,e,i),Vg(),Ua}function je(){return se()}function ir(t,e,i){let n=se(),r=us();if(Tn(n,r,e)){let o=st(),s=Xd();Sg(o,s,n,t,e,n[nt],i,!0)}return ir}function gk(t){typeof t=="string"&&(pk=t.toLowerCase().replace(/_/g,"-"))}function K(t,e,i,n){let r=se(),o=st(),s=kt();return ZC(o,r,r[nt],s,t,e,n),K}function vk(t,e,i,n){let r=t.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let s=r[o];if(s===i&&r[o+1]===n){let a=e[Da],l=r[o+2];return a.length>l?a[l]:null}typeof s=="string"&&(o+=2)}return null}function ZC(t,e,i,n,r,o,s){let a=$d(n),c=t.firstCreatePass&&_C(t),d=e[cn],u=AC(e),h=!0;if(n.type&3||s){let _=dn(n,e),I=s?s(_):_,M=u.length,L=s?W=>s(Wn(W[n.index])):n.index,me=null;if(!s&&a&&(me=vk(t,e,r,n.index)),me!==null){let W=me.__ngLastListenerFn__||me;W.__ngNextListenerFn__=o,me.__ngLastListenerFn__=o,h=!1}else{o=C_(n,e,d,o,!1);let W=i.listen(I,r,o);u.push(o,W),c&&c.push(r,L,M,M+1)}}else o=C_(n,e,d,o,!1);let m=n.outputs,v;if(h&&m!==null&&(v=m[r])){let _=v.length;if(_)for(let I=0;I<_;I+=2){let M=v[I],L=v[I+1],$e=e[M][L].subscribe(o),We=u.length;u.push(o,$e),c&&c.push(r,n.index,We,-(We+1))}}}function x_(t,e,i,n){let r=Te(null);try{return Un(6,e,i),i(n)!==!1}catch(o){return xC(t,o),!1}finally{Un(7,e,i),Te(r)}}function C_(t,e,i,n,r){return function o(s){if(s===Function)return n;let a=t.componentOffset>-1?Ji(t.index,e):e;Fg(a);let l=x_(e,i,n,s),c=o.__ngNextListenerFn__;for(;c;)l=x_(e,i,c,s)&&l,c=c.__ngNextListenerFn__;return r&&l===!1&&s.preventDefault(),l}}function z(t=1){return N1(t)}function yk(t,e){let i=null,n=WT(t);for(let r=0;r<e.length;r++){let o=e[r];if(o==="*"){i=r;continue}if(n===null?H_(t,o,!0):KT(n,o))return r}return i}function Dt(t){let e=se()[Sn][tn];if(!e.projection){let i=t?t.length:1,n=e.projection=LT(i,null),r=n.slice(),o=e.child;for(;o!==null;){let s=t?yk(o,t):0;s!==null&&(r[s]?r[s].projectionNext=o:n[s]=o,r[s]=o),o=o.next}}}function Re(t,e=0,i){let n=se(),r=st(),o=ps(r,Rt+t,16,null,i||null);o.projection===null&&(o.projection=e),dg(),(!n[Ea]||fx())&&(o.flags&32)!==32&&nR(r,n,o)}function At(t,e,i,n){IF(t,e,i,n)}function qe(t,e,i){DF(t,e,i)}function ge(t){let e=se(),i=st(),n=mx();fg(n+1);let r=Pg(i,n);if(t.dirty&&y1(e)===((r.metadata.flags&2)===2)){if(r.matches===null)t.reset([]);else{let o=TF(e,n);t.reset(o,iO),t.notifyOnChanges()}return!0}return!1}function ve(){return EF(se(),mx())}function bk(t,e,i,n){i>=t.data.length&&(t.data[i]=null,t.blueprint[i]=null),e[i]=n}function Fn(t){let e=S1();return sg(e,Rt+t)}function ue(t,e=""){let i=se(),n=st(),r=t+Rt,o=n.firstCreatePass?ps(n,r,1,e,null):n.data[r],s=Ak(n,i,o,e,t);i[r]=s,Jd()&&ou(n,i,s,o),no(o,!1)}function gt(t){return dt("",t,""),gt}function dt(t,e,i){let n=se(),r=BC(n,t,e,i);return r!==fn&&CC(n,er(),r),dt}function mu(t,e,i,n,r){let o=se(),s=WF(o,t,e,i,n,r);return s!==fn&&CC(o,er(),s),mu}function Ha(t,e,i){NC(e)&&(e=e());let n=se(),r=us();if(Tn(n,r,e)){let o=st(),s=Xd();Sg(o,s,n,t,e,n[nt],i,!1)}return Ha}function pu(t,e){let i=NC(t);return i&&t.set(e),i}function za(t,e){let i=se(),n=st(),r=kt();return ZC(n,i,i[nt],r,t,e),za}function _k(t,e,i){let n=st();if(n.firstCreatePass){let r=qi(t);Up(i,n.data,n.blueprint,r,!0),Up(e,n.data,n.blueprint,r,!1)}}function Up(t,e,i,n,r){if(t=Ut(t),Array.isArray(t))for(let o=0;o<t.length;o++)Up(t[o],e,i,n,r);else{let o=st(),s=se(),a=kt(),l=ns(t)?t:Ut(t.provide),c=X_(t),d=a.providerIndexes&1048575,u=a.directiveStart,h=a.providerIndexes>>20;if(ns(t)||!t.multi){let m=new $r(c,r,f),v=Qm(l,e,r?d:d+h,u);v===-1?(op(Od(a,s),o,l),Gm(o,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),i.push(m),s.push(m)):(i[v]=m,s[v]=m)}else{let m=Qm(l,e,d+h,u),v=Qm(l,e,d,d+h),_=m>=0&&i[m],I=v>=0&&i[v];if(r&&!I||!r&&!_){op(Od(a,s),o,l);let M=wk(r?Ck:xk,i.length,r,n,c);!r&&I&&(i[v].providerFactory=M),Gm(o,t,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),i.push(M),s.push(M)}else{let M=$C(i[r?v:m],c,!r&&n);Gm(o,t,m>-1?m:v,M)}!r&&n&&I&&i[v].componentProviders++}}}function Gm(t,e,i,n){let r=ns(e),o=i1(e);if(r||o){let l=(o?Ut(e.useClass):e).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){let d=c.indexOf(i);d===-1?c.push(i,[n,l]):c[d+1].push(n,l)}else c.push(i,l)}}}function $C(t,e,i){return i&&t.componentProviders++,t.multi.push(e)-1}function Qm(t,e,i,n){for(let r=i;r<n;r++)if(e[r]===t)return r;return-1}function xk(t,e,i,n){return Hp(this.multi,[])}function Ck(t,e,i,n){let r=this.multi,o;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Xr(i,i[ae],this.providerFactory.index,n);o=a.slice(0,s),Hp(r,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],Hp(r,o);return o}function Hp(t,e){for(let i=0;i<t.length;i++){let n=t[i];e.push(n())}return e}function wk(t,e,i,n,r){let o=new $r(t,i,f);return o.multi=[],o.index=e,o.componentProviders=0,$C(o,r,n&&!i),o}function _t(t,e=[]){return i=>{i.providersResolver=(n,r)=>_k(n,r?r(t):t,e)}}function Ee(t){nr("NgStandalone"),t.getStandaloneInjector=e=>e.get(Ek).getOrCreateStandaloneInjector(t)}function gu(t,e,i){let n=ja()+t,r=se();return r[n]===fn?Ng(r,n,i?e.call(i):e()):VF(r,n)}function Wa(t,e,i,n){return JC(se(),ja(),t,e,i,n)}function Ga(t,e,i,n,r){return ew(se(),ja(),t,e,i,n,r)}function XC(t,e){let i=t[e];return i===fn?void 0:i}function JC(t,e,i,n,r,o){let s=e+i;return Tn(t,s,r)?Ng(t,s+1,o?n.call(o,r):n(r)):XC(t,s+1)}function ew(t,e,i,n,r,o,s){let a=e+i;return VC(t,a,r,o)?Ng(t,a+2,s?n.call(s,r,o):n(r,o)):XC(t,a+2)}function fe(t,e){let i=st(),n,r=t+Rt;i.firstCreatePass?(n=Dk(e,i.pipeRegistry),i.data[r]=n,n.onDestroy&&(i.destroyHooks??=[]).push(r,n.onDestroy)):n=i.data[r];let o=n.factory||(n.factory=Kr(n.type,!0)),s,a=Qt(f);try{let l=Td(!1),c=o();return Td(l),bk(i,se(),r,c),c}finally{Qt(a)}}function Dk(t,e){if(e)for(let i=e.length-1;i>=0;i--){let n=e[i];if(t===n.name)return n}}function Me(t,e,i){let n=t+Rt,r=se(),o=sg(r,n);return tw(r,n)?JC(r,ja(),e,o.transform,i,o):o.transform(i)}function yi(t,e,i,n){let r=t+Rt,o=se(),s=sg(o,r);return tw(o,r)?ew(o,ja(),e,s.transform,i,n,s):s.transform(i,n)}function tw(t,e){return t[ae].data[e].pure}function so(t,e){return cu(t,e)}function ao(t){return!!t&&typeof t.then=="function"}function iw(t){return!!t&&typeof t.subscribe=="function"}function Ik(){gA(()=>{throw new T(600,!1)})}function Mk(t){return t.isBoundToModule}function Sk(t,e,i){try{let n=i();return ao(n)?n.catch(r=>{throw e.runOutsideAngular(()=>t.handleError(r)),r}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}function Km(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function Tk(t,e,i){!e&&!zp(t)||Ok(t,i,e)}function zp(t){return lg(t)}function Ok(t,e,i){let n;i?(n=0,t[$]|=1024):t[$]&64?n=0:n=1,MC(t,e,n)}function Fk(t){return[{provide:F,useFactory:t},{provide:ts,multi:!0,useFactory:()=>{let e=y(Rk,{optional:!0});return()=>e.initialize()}},{provide:ts,multi:!0,useFactory:()=>{let e=y(Nk);return()=>{e.initialize()}}},{provide:Fx,useFactory:kk}]}function kk(){let t=y(F),e=y(zt);return i=>t.runOutsideAngular(()=>e.handleError(i))}function Lk(t){let e=Fk(()=>new F(Pk(t)));return Pa([[],e])}function Pk(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}function jk(){return typeof $localize<"u"&&$localize.locale||Ud}function Vk(t=[],e){return Xe.create({name:e,providers:[{provide:qd,useValue:"platform"},{provide:ow,useValue:new Set([()=>xd=null])},...t]})}function Bk(t=[]){if(xd)return xd;let e=Vk(t);return xd=e,Ik(),Uk(e),e}function Uk(t){t.get(gg,null)?.forEach(i=>i())}function Hk(t){return zk(kt(),se(),(t&16)===16)}function zk(t,e,i){if(Zd(t)&&!i){let n=Ji(t.index,e);return new Jr(n,n)}else if(t.type&47){let n=e[Sn];return new Jr(n,e)}return null}function w_(t,e,i){let n=t.previousIndex;if(n===null)return n;let r=0;return i&&n<i.length&&(r=i[n]),n+e+r}function E_(){return new _u([new Gp])}function Bg(t){try{let{rootComponent:e,appProviders:i,platformProviders:n}=t,r=Bk(n),o=[Lk(),...i||[]],a=new Vd({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1}).injector,l=a.get(F);return l.run(()=>{a.resolveInjectorInitializers();let c=a.get(zt,null),d;l.runOutsideAngular(()=>{d=l.onError.subscribe({next:m=>{c.handleError(m)}})});let u=()=>a.destroy(),h=r.get(ow);return h.add(u),a.onDestroy(()=>{d.unsubscribe(),h.delete(u)}),Sk(c,l,()=>{let m=a.get(rw);return m.runInitializers(),m.donePromise.then(()=>{let v=a.get(Au,Ud);gk(v||Ud);let _=a.get(kn);return e!==void 0&&_.bootstrap(e),_})})})}catch(e){return Promise.reject(e)}}function De(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function bi(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function Ug(t,e){nr("NgSignals"),!e?.injector&&ex(Ug);let i=e?.injector??y(Xe),n=e?.manualCleanup!==!0?i.get(nu):null,r=new Zp(i.get(Gk),t,typeof Zone>"u"?null:Zone.current,n,i,e?.allowSignalWrites??!1),o=i.get(Pe,null,{optional:!0});return!o||!(o._lView[$]&8)?r.watcher.notify():(o._lView[vd]??=[]).push(r.watcher.notify),r}function sw(t){let e=Ki(t);if(!e)return null;let i=new as(e);return{get selector(){return i.selector},get type(){return i.componentType},get inputs(){return i.inputs},get outputs(){return i.outputs},get ngContentSelectors(){return i.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var D_,T,dd,li,pT,T_,W0,O_,vT,C,yT,bT,AT,_T,Cd,_a,G0,xe,Ym,wT,xa,Zm,wd,ET,DT,IT,Q0,Xo,ka,Qd,es,Kt,ts,N_,j_,Dd,V_,zn,w,U_,e1,qd,gd,r1,Lm,Ot,wa,fi,ae,$,wt,In,tn,Ea,Da,cn,is,Mn,nt,Ia,$0,ds,Sn,Na,Yo,ci,Yd,tx,Qi,vd,qr,Rt,nx,Yr,Id,rs,qt,ig,Ma,ox,X0,Un,ax,p1,g1,le,bx,_x,Jo,$r,rp,Q1,wx,Ex,K1,Hn,Gr,Xe,eO,zt,Fx,nu,ap,P,lp,G,Yi,Lx,oO,i_,cp,Va,cO,gg,bt,lt,ro,dO,uO,fO,Ux,hO,ud,fd,di,dp,up,fp,hp,mp,pp,gp,yO,qx,Yx,Zx,bO,AO,_O,s_,$x,xO,CO,wO,EO,vp,SO,TO,hd,Et,kO,LO,PO,ui,VO,eR,u_,fn,uR,DC,BR,IC,Jr,Ft,QR,KR,IG,YR,ss,wp,Ld,$R,Ep,hn,eo,Rn,JR,Um,m_,F,tF,$o,oF,Ip,Mp,Lg,Nd,Sp,as,Tp,pt,pF,RC,vF,yF,Op,Rp,jd,Fp,kp,$i,Oa,Pp,Np,Vd,oo,HF,Dn,fk,mk,Ud,pk,Ak,Ek,Gn,vu,nw,yu,rw,gs,kn,Wp,bu,Rk,Nk,Au,ow,xd,Pe,Gp,Wk,Qp,Kp,qp,Hd,_u,Gk,Qk,Yp,Zp,O=g(()=>{"use strict";yA();Ke();at();D_="https://g.co/ng/security#xss",T=class extends Error{constructor(e,i){super(zd(e,i)),this.code=e}};dd="__parameters__";li=globalThis;pT=Ue({__forward_ref__:Ue});T_=Ue({\u0275prov:Ue}),W0=Ue({\u0275inj:Ue}),O_=Ue({ngInjectableDef:Ue}),vT=Ue({ngInjectorDef:Ue}),C=class{constructor(e,i){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof i=="number"?this.__NG_ELEMENT_ID__=i:i!==void 0&&(this.\u0275prov=b({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};yT=Ue({\u0275cmp:Ue}),bT=Ue({\u0275dir:Ue}),AT=Ue({\u0275pipe:Ue}),_T=Ue({\u0275mod:Ue}),Cd=Ue({\u0275fac:Ue}),_a=Ue({__NG_ELEMENT_ID__:Ue}),G0=Ue({__NG_ENV_ID__:Ue});xe=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}(xe||{});wT={},xa=wT,Zm="__NG_DI_FLAG__",wd="ngTempTokenPath",ET="ngTokenPath",DT=/\n/gm,IT="\u0275",Q0="__source";ka=L_(I_("Optional"),8),Qd=L_(I_("SkipSelf"),4);es={},Kt=[],ts=new C(""),N_=new C("",-1),j_=new C(""),Dd=class{get(e,i=xa){if(i===xa){let n=new Error(`NullInjectorError: No provider for ${Ht(e)}!`);throw n.name="NullInjectorError",n}return i}},V_=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(V_||{}),zn=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(zn||{}),w=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(w||{});U_="ng-template";e1=Ue({provide:String,useValue:Ue});qd=new C(""),gd={},r1={};Ot=class{},wa=class extends Ot{get destroyed(){return this._destroyed}constructor(e,i,n,r){super(),this.parent=i,this.source=n,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,tp(e,s=>this.processProvider(s)),this.records.set(N_,qo(void 0,this)),r.has("environment")&&this.records.set(Ot,qo(void 0,this));let o=this.records.get(qd);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(j_,Kt,xe.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=Te(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let i=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of i)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Te(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let i=Gi(this),n=Qt(void 0),r;try{return e()}finally{Gi(i),Qt(n)}}get(e,i=xa,n=xe.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(G0))return e[G0](this);n=Gd(n);let r,o=Gi(this),s=Qt(void 0);try{if(!(n&xe.SkipSelf)){let l=this.records.get(e);if(l===void 0){let c=c1(e)&&Wd(e);c&&this.injectableDefInScope(c)?l=qo(ep(e),gd):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l)}let a=n&xe.Self?ng():this.parent;return i=n&xe.Optional&&i===xa?null:i,a.get(e,i)}catch(a){if(a.name==="NullInjectorError"){if((a[wd]=a[wd]||[]).unshift(Ht(e)),o)throw a;return OT(a,e,"R3InjectorError",this.source)}else throw a}finally{Qt(s),Gi(o)}}resolveInjectorInitializers(){let e=Te(null),i=Gi(this),n=Qt(void 0),r;try{let o=this.get(ts,Kt,xe.Self);for(let s of o)s()}finally{Gi(i),Qt(n),Te(e)}}toString(){let e=[],i=this.records;for(let n of i.keys())e.push(Ht(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new T(205,!1)}processProvider(e){e=Ut(e);let i=ns(e)?e:Ut(e&&e.provide),n=s1(e);if(!ns(e)&&e.multi===!0){let r=this.records.get(i);r||(r=qo(void 0,gd,!0),r.factory=()=>$m(r.multi),this.records.set(i,r)),i=e,r.multi.push(e)}this.records.set(i,n)}hydrate(e,i){let n=Te(null);try{return i.value===gd&&(i.value=r1,i.value=i.factory()),typeof i.value=="object"&&i.value&&l1(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}finally{Te(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let i=Ut(e.providedIn);return typeof i=="string"?i==="any"||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(e){let i=this._onDestroyHooks.indexOf(e);i!==-1&&this._onDestroyHooks.splice(i,1)}};fi=0,ae=1,$=2,wt=3,In=4,tn=5,Ea=6,Da=7,cn=8,is=9,Mn=10,nt=11,Ia=12,$0=13,ds=14,Sn=15,Na=16,Yo=17,ci=18,Yd=19,tx=20,Qi=21,vd=22,qr=23,Rt=25,nx=1,Yr=7,Id=8,rs=9,qt=10,ig=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(ig||{});Ma=class{constructor(e,i,n){this.previousValue=e,this.currentValue=i,this.firstChange=n}isFirstChange(){return this.firstChange}};He.ngInherit=!0;ox="__ngSimpleChanges__";X0=null,Un=function(t,e,i){X0?.(t,e,i)},ax="svg",p1="math",g1=!1;le={lFrame:vx(null),bindingsEnabled:!0,skipHydrationRootTNode:null};bx=yx;_x=!0;Jo=-1,$r=class{constructor(e,i,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=n}};rp=!0;Q1=256,wx=Q1-1,Ex=5,K1=0,Hn={};Gr=class{constructor(e,i){this._tNode=e,this._lView=i}get(e,i,n){return Sx(this._tNode,this._lView,e,Gd(n),i)}};Xe=(()=>{let e=class e{static create(n,r){if(Array.isArray(n))return n_({name:""},r,n,"");{let o=n.name??"";return n_({name:o},n.parent,n.providers,o)}}};e.THROW_IF_NOT_FOUND=xa,e.NULL=new Dd,e.\u0275prov=b({token:e,providedIn:"any",factory:()=>p(N_)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();eO="ngOriginalError";zt=class{constructor(){this._console=console}handleError(e){let i=this._findOriginalError(e);this._console.error("ERROR",e),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(e){let i=e&&jm(e);for(;i&&jm(i);)i=jm(i);return i||null}},Fx=new C("",{providedIn:"root",factory:()=>y(zt).handleError.bind(void 0)}),nu=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=tO,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),ap=class extends nu{constructor(e){super(),this._lView=e}onDestroy(e){return dx(this._lView,e),()=>x1(this._lView,e)}};P=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=nO;let t=e;return t})();lp=class extends k{constructor(e=!1){super(),this.destroyRef=void 0,this.__isAsync=e,J_()&&(this.destroyRef=y(nu,{optional:!0})??void 0)}emit(e){let i=Te(null);try{super.next(e)}finally{Te(i)}}subscribe(e,i,n){let r=e,o=i||(()=>null),s=n;if(e&&typeof e=="object"){let l=e;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=Vm(o),r&&(r=Vm(r)),s&&(s=Vm(s)));let a=super.subscribe({next:r,error:o,complete:s});return e instanceof be&&e.add(a),a}};G=lp;Yi=class t{get changes(){return this._changes??=new G}constructor(e=!1){this._emitDistinctChangesOnly=e,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 i=t.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=rO)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,i){return this._results.reduce(e,i)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,i){this.dirty=!1;let n=kT(e);(this._changesDetected=!FT(this._results,n,i))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};Lx=new Map,oO=0;i_="__ngContext__";Va=new C("",{providedIn:"root",factory:()=>cO}),cO="ng",gg=new C(""),bt=new C("",{providedIn:"platform",factory:()=>"unknown"}),lt=new C(""),ro=new C("",{providedIn:"root",factory:()=>Bx().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),dO="h",uO="b",fO=()=>null;Ux=!1,hO=new C("",{providedIn:"root",factory:()=>Ux});di=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${D_})`}},dp=class extends di{getTypeName(){return"HTML"}},up=class extends di{getTypeName(){return"Style"}},fp=class extends di{getTypeName(){return"Script"}},hp=class extends di{getTypeName(){return"URL"}},mp=class extends di{getTypeName(){return"ResourceURL"}};pp=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{let i=new window.DOMParser().parseFromString(iu(e),"text/html").body;return i===null?this.inertDocumentHelper.getInertBodyElement(e):(i.removeChild(i.firstChild),i)}catch{return null}}},gp=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let i=this.inertDocument.createElement("template");return i.innerHTML=iu(e),i}};yO=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;qx=pi("area,br,col,hr,img,wbr"),Yx=pi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Zx=pi("rp,rt"),bO=Ba(Zx,Yx),AO=Ba(Yx,pi("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")),_O=Ba(Zx,pi("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")),s_=Ba(qx,AO,_O,bO),$x=pi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),xO=pi("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"),CO=pi("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"),wO=Ba($x,xO,CO),EO=pi("script,style,template"),vp=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let i=e.firstChild,n=!0,r=[];for(;i;){if(i.nodeType===Node.ELEMENT_NODE?n=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,n&&i.firstChild){r.push(i),i=MO(i);continue}for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let o=IO(i);if(o){i=o;break}i=r.pop()}}return this.buf.join("")}startElement(e){let i=a_(e).toLowerCase();if(!s_.hasOwnProperty(i))return this.sanitizedSomething=!0,!EO.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);let n=e.attributes;for(let r=0;r<n.length;r++){let o=n.item(r),s=o.name,a=s.toLowerCase();if(!wO.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;$x[a]&&(l=ru(l)),this.buf.push(" ",s,'="',l_(l),'"')}return this.buf.push(">"),!0}endElement(e){let i=a_(e).toLowerCase();s_.hasOwnProperty(i)&&!qx.hasOwnProperty(i)&&(this.buf.push("</"),this.buf.push(i),this.buf.push(">"))}chars(e){this.buf.push(l_(e))}};SO=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,TO=/([^\#-~ |!])/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||{});kO=/^>|^->|<!--|-->|--!>|<!-$/g,LO=/(<|>)/g,PO="\u200B$1\u200B";ui=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(ui||{});eR=JO;fn={};uR=()=>null;DC=[];BR=we(A({},kh),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{Sa(t.lView)},consumerOnSignalRead(){this.lView[qr]=this}}),IC=100;Jr=class{get rootNodes(){let e=this._lView,i=e[ae];return kd(i,e,i.firstChild,[])}constructor(e,i,n=!0){this._lView=e,this._cdRefInjectingView=i,this.notifyErrorHandler=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[cn]}set context(e){this._lView[cn]=e}get destroyed(){return(this._lView[$]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[wt];if(hi(e)){let i=e[Id],n=i?i.indexOf(this):-1;n>-1&&(Rd(e,n),Ed(i,n))}this._attachedToViewContainer=!1}xg(this._lView[ae],this._lView)}onDestroy(e){dx(this._lView,e)}markForCheck(){Fg(this._cdRefInjectingView||this._lView)}detach(){this._lView[$]&=-129}reattach(){np(this._lView),this._lView[$]|=128}detectChanges(){this._lView[$]|=1024,MC(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,nC(this._lView[ae],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=e,np(this._lView)}},Ft=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=qR;let t=e;return t})(),QR=Ft,KR=class extends QR{constructor(e,i,n){super(),this._declarationLView=e,this._declarationTContainer=i,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,i){return this.createEmbeddedViewImpl(e,i)}createEmbeddedViewImpl(e,i,n){let r=wC(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:i,dehydratedView:n});return new Jr(r)}};IG=new RegExp(`^(\\d+)*(${uO}|${dO})*(.*)`),YR=()=>null;ss=class{},wp=class{},Ld=class{};$R="ngComponent",Ep=class{resolveComponentFactory(e){throw ZR(e)}},hn=(()=>{let e=class e{};e.NULL=new Ep;let t=e;return t})(),eo=class{},Rn=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>XR();let t=e;return t})();JR=(()=>{let e=class e{};e.\u0275prov=b({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),Um={},m_=new Set;F=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new G(!1),this.onMicrotaskEmpty=new G(!1),this.onStable=new G(!1),this.onError=new G(!1),typeof Zone>"u")throw new T(908,!1);Zone.assertZonePatched();let r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!n&&i,r.shouldCoalesceRunChangeDetection=n,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=eF().nativeRequestAnimationFrame,iF(r)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new T(909,!1)}run(e,i,n){return this._inner.run(e,i,n)}runTask(e,i,n,r){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,e,tF,p_,p_);try{return o.runTask(s,i,n)}finally{o.cancelTask(s)}}runGuarded(e,i,n){return this._inner.runGuarded(e,i,n)}runOutsideAngular(e){return this._outer.run(e)}},tF={};$o=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}($o||{}),oF={destroy(){}};Ip=class{constructor(e,i){this.phase=e,this.callbackFn=i,this.zone=y(F),this.errorHandler=y(zt,{optional:!0}),y(ss,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},Mp=class{constructor(){this.executingCallbacks=!1,this.buckets={[$o.EarlyRead]:new Set,[$o.Write]:new Set,[$o.MixedReadWrite]:new Set,[$o.Read]:new Set},this.deferredCallbacks=new Set}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let i of e)i.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},Lg=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let r of n)r()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=b({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();Nd=class extends hn{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let i=Ki(e);return new as(i,this.ngModule)}};Sp=class{constructor(e,i){this.injector=e,this.parentInjector=i}get(e,i,n){n=Gd(n);let r=this.injector.get(e,Um,n);return r!==Um||i===Um?r:this.parentInjector.get(e,i,n)}},as=class extends Ld{get inputs(){let e=this.componentDef,i=e.inputTransforms,n=y_(e.inputs);if(i!==null)for(let r of n)i.hasOwnProperty(r.propName)&&(r.transform=i[r.propName]);return n}get outputs(){return y_(this.componentDef.outputs)}constructor(e,i){super(),this.componentDef=e,this.ngModule=i,this.componentType=e.type,this.selector=YT(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!i}create(e,i,n,r){let o=Te(null);try{r=r||this.ngModule;let s=r instanceof Ot?r:r?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Sp(e,s):e,l=a.get(eo,null);if(l===null)throw new T(407,!1);let c=a.get(JR,null),d=a.get(Lg,null),u=a.get(ss,null),h={rendererFactory:l,sanitizer:c,inlineEffectRunner:null,afterRenderEventManager:d,changeDetectionScheduler:u},m=l.createRenderer(null,this.componentDef),v=this.componentDef.selectors[0][0]||"div",_=n?cR(m,n,this.componentDef.encapsulation,a):tC(m,v,sF(v)),I=512;this.componentDef.signals?I|=4096:this.componentDef.onPush||(I|=16);let M=null;_!==null&&(M=vg(_,a,!0));let L=Mg(0,null,null,1,0,null,null,null,null,null,null),me=au(null,L,null,I,null,null,h,m,a,null,M);hg(me);let W,$e;try{let We=this.componentDef,Ge,ft=null;We.findHostDirectiveDefs?(Ge=[],ft=new Map,We.findHostDirectiveDefs(We,Ge,ft),Ge.push(We)):Ge=[We];let _n=aF(me,_),xn=lF(_n,_,We,Ge,me,h,m);$e=og(L,Rt),_&&uF(m,We,_,n),i!==void 0&&fF($e,this.ngContentSelectors,i),W=dF(xn,We,Ge,ft,me,[hF]),Rg(L,me,null)}finally{mg()}return new Tp(this.componentType,W,fs($e,me),me,$e)}finally{Te(o)}}},Tp=class extends wp{constructor(e,i,n,r,o){super(),this.location=n,this._rootLView=r,this._tNode=o,this.previousInputValues=null,this.instance=i,this.hostView=this.changeDetectorRef=new Jr(r,void 0,!1),this.componentType=e}setInput(e,i){let n=this._tNode.inputs,r;if(n!==null&&(r=n[e])){if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),i))return;let o=this._rootLView;Og(o[ae],o,r,e,i),this.previousInputValues.set(e,i);let s=Ji(this._tNode.index,o);Fg(s)}}get injector(){return new Gr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};pt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=mF;let t=e;return t})();pF=pt,RC=class extends pF{constructor(e,i,n){super(),this._lContainer=e,this._hostTNode=i,this._hostLView=n}get element(){return fs(this._hostTNode,this._hostLView)}get injector(){return new Gr(this._hostTNode,this._hostLView)}get parentInjector(){let e=pg(this._hostTNode,this._hostLView);if(Cx(e)){let i=Sd(e,this._hostLView),n=Md(e),r=i[ae].data[n+8];return new Gr(r,i)}else return new Gr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let i=b_(this._lContainer);return i!==null&&i[e]||null}get length(){return this._lContainer.length-qt}createEmbeddedView(e,i,n){let r,o;typeof n=="number"?r=n:n!=null&&(r=n.index,o=n.injector);let s=Cp(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(i||{},o,s);return this.insertImpl(a,r,_p(this._hostTNode,s)),a}createComponent(e,i,n,r,o){let s=e&&!d1(e),a;if(s)a=i;else{let v=i||{};a=v.index,n=v.injector,r=v.projectableNodes,o=v.environmentInjector||v.ngModuleRef}let l=s?e:new as(Ki(e)),c=n||this.parentInjector;if(!o&&l.ngModule==null){let _=(s?c:this.parentInjector).get(Ot,null);_&&(o=_)}let d=Ki(l.componentType??{}),u=Cp(this._lContainer,d?.id??null),h=u?.firstChild??null,m=l.create(c,r,h,o);return this.insertImpl(m.hostView,a,_p(this._hostTNode,u)),m}insert(e,i){return this.insertImpl(e,i,!0)}insertImpl(e,i,n){let r=e._lView;if(b1(r)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let l=r[wt],c=new RC(l,l[tn],l[wt]);c.detach(c.indexOf(e))}}let o=this._adjustIndex(i),s=this._lContainer;return EC(s,r,o,n),e.attachToViewContainerRef(),P_(Hm(s),o,e),e}move(e,i){return this.insert(e,i)}indexOf(e){let i=b_(this._lContainer);return i!==null?i.indexOf(e):-1}remove(e){let i=this._adjustIndex(e,-1),n=Rd(this._lContainer,i);n&&(Ed(Hm(this._lContainer),i),xg(n[ae],n))}detach(e){let i=this._adjustIndex(e,-1),n=Rd(this._lContainer,i);return n&&Ed(Hm(this._lContainer),i)!=null?new Jr(n):null}_adjustIndex(e,i=0){return e??this.length+i}};vF=AF,yF=()=>!1;Op=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Rp=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let i=e.queries;if(i!==null){let n=e.contentQueries!==null?e.contentQueries[0]:i.length,r=[];for(let o=0;o<n;o++){let s=i.getByIndex(o),a=this.queries[s.indexInDeclarationView];r.push(a.clone())}return new t(r)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let i=0;i<this.queries.length;i++)Pg(e,i).matches!==null&&this.queries[i].setDirty()}},jd=class{constructor(e,i,n=null){this.flags=i,this.read=n,typeof e=="string"?this.predicate=MF(e):this.predicate=e}},Fp=class t{constructor(e=[]){this.queries=e}elementStart(e,i){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,i)}elementEnd(e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementEnd(e)}embeddedTView(e){let i=null;for(let n=0;n<this.length;n++){let r=i!==null?i.length:0,o=this.getByIndex(n).embeddedTView(e,r);o&&(o.indexInDeclarationView=n,i!==null?i.push(o):i=[o])}return i!==null?new t(i):null}template(e,i){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,i)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},kp=class t{constructor(e,i=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=i}elementStart(e,i){this.isApplyingToNode(i)&&this.matchTNode(e,i)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,i){this.elementStart(e,i)}embeddedTView(e,i){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,i),new t(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let i=this._declarationNodeIndex,n=e.parent;for(;n!==null&&n.type&8&&n.index!==i;)n=n.parent;return i===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(e,i){let n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){let o=n[r];this.matchTNodeWithReadOption(e,i,_F(i,o)),this.matchTNodeWithReadOption(e,i,Ad(i,e,o,!1,!1))}else n===Ft?i.type&4&&this.matchTNodeWithReadOption(e,i,-1):this.matchTNodeWithReadOption(e,i,Ad(i,e,n,!1,!1))}matchTNodeWithReadOption(e,i,n){if(n!==null){let r=this.metadata.read;if(r!==null)if(r===P||r===pt||r===Ft&&i.type&4)this.addMatch(i.index,-2);else{let o=Ad(i,e,r,!1,!1);o!==null&&this.addMatch(i.index,o)}else this.addMatch(i.index,n)}}addMatch(e,i){this.matches===null?this.matches=[e,i]:this.matches.push(e,i)}};$i=class{},Oa=class{},Pp=class extends $i{constructor(e,i,n){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Nd(this);let r=Q_(e);this._bootstrapComponents=eC(r.bootstrap),this._r3Injector=Rx(e,i,[{provide:$i,useValue:this},{provide:hn,useValue:this.componentFactoryResolver},...n],Ht(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},Np=class extends Oa{constructor(e){super(),this.moduleType=e}create(e){return new Pp(this.moduleType,e,[])}},Vd=class extends $i{constructor(e){super(),this.componentFactoryResolver=new Nd(this),this.instance=null;let i=new wa([...e.providers,{provide:$i,useValue:this},{provide:hn,useValue:this.componentFactoryResolver}],e.parent||ng(),e.debugName,new Set(["environment"]));this.injector=i,e.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};oo=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ot(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();HF=zF;Dn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};fk=(t,e,i,n,r,o)=>(eu(!0),tC(n,r,V1()));mk=(t,e,i,n)=>(eu(!0),HO(e[nt],""));Ud="en-US",pk=Ud;Ak=(t,e,i,n,r)=>(eu(!0),BO(e[nt],n));Ek=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Y_(!1,n.type),o=r.length>0?fu([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=b({token:e,providedIn:"environment",factory:()=>new e(p(Ot))});let t=e;return t})();Gn=class{constructor(e){this.full=e;let i=e.split(".");this.major=i[0],this.minor=i[1],this.patch=i.slice(2).join(".")}},vu=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),nw=new C("");yu=new C(""),rw=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=y(yu,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if(ao(s))n.push(s);else if(iw(s)){let a=new Promise((l,c)=>{s.subscribe({complete:l,error:c})});n.push(a)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),gs=new C("");kn=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=y(Fx),this.afterRenderEffectManager=y(Lg),this.externalTestViews=new Set,this.beforeRender=new k,this.afterTick=new k,this.componentTypes=[],this.components=[],this.isStable=y(oo).hasPendingTasks.pipe(B(n=>!n)),this._injector=y(Ot)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){let o=n instanceof Ld;if(!this._injector.get(rw).done){let m=!o&&G_(n),v=!1;throw new T(405,v)}let a;o?a=n:a=this._injector.get(hn).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let l=Mk(a)?void 0:this._injector.get($i),c=r||a.selector,d=a.create(Xe.NULL,[],c,l),u=d.location.nativeElement,h=d.injector.get(nw,null);return h?.registerApplication(u),d.onDestroy(()=>{this.detachView(d.hostView),Km(this.components,d),h?.unregisterApplication(u)}),this._loadComponent(d),d}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new T(101,!1);let r=Te(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(o){this.internalErrorHandler(o)}finally{this.afterTick.next(),this._runningTick=!1,Te(r)}}detectChangesInAttachedViews(n){let r=0,o=this.afterRenderEffectManager;for(;;){if(r===IC)throw new T(103,!1);if(n){let s=r===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:l}of this._views)Tk(a,s,l)}if(r++,o.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>zp(s))&&(o.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>zp(s))))break}}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Km(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(gs,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Km(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new T(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();Wp=class{constructor(e,i){this.ngModuleFactory=e,this.componentFactories=i}},bu=(()=>{let e=class e{compileModuleSync(n){return new Np(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Q_(n),s=eC(o.declarations).reduce((a,l)=>{let c=Ki(l);return c&&a.push(new as(c)),a},[]);return new Wp(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Rk=(()=>{let e=class e{constructor(){this.zone=y(F),this.applicationRef=y(kn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();Nk=(()=>{let e=class e{constructor(){this.subscription=new be,this.initialized=!1,this.zone=y(F),this.pendingTasks=y(oo)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{F.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{F.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();Au=new C("",{providedIn:"root",factory:()=>y(Au,xe.Optional|xe.SkipSelf)||jk()}),ow=new C(""),xd=null;Pe=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Hk;let t=e;return t})();Gp=class{constructor(){}supports(e){return jC(e)}create(e){return new Qp(e)}},Wk=(t,e)=>e,Qp=class{constructor(e){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=e||Wk}forEachItem(e){let i;for(i=this._itHead;i!==null;i=i._next)e(i)}forEachOperation(e){let i=this._itHead,n=this._removalsHead,r=0,o=null;for(;i||n;){let s=!n||i&&i.currentIndex<w_(n,r,o)?i:n,a=w_(s,r,o),l=s.currentIndex;if(s===n)r--,n=n._nextRemoved;else if(i=i._next,s.previousIndex==null)r++;else{o||(o=[]);let c=a-r,d=l-r;if(c!=d){for(let h=0;h<c;h++){let m=h<o.length?o[h]:o[h]=0,v=m+h;d<=v&&v<c&&(o[h]=m+1)}let u=s.previousIndex;o[u]=d-c}}a!==l&&e(s,a,l)}}forEachPreviousItem(e){let i;for(i=this._previousItHead;i!==null;i=i._nextPrevious)e(i)}forEachAddedItem(e){let i;for(i=this._additionsHead;i!==null;i=i._nextAdded)e(i)}forEachMovedItem(e){let i;for(i=this._movesHead;i!==null;i=i._nextMoved)e(i)}forEachRemovedItem(e){let i;for(i=this._removalsHead;i!==null;i=i._nextRemoved)e(i)}forEachIdentityChange(e){let i;for(i=this._identityChangesHead;i!==null;i=i._nextIdentityChange)e(i)}diff(e){if(e==null&&(e=[]),!jC(e))throw new T(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let i=this._itHead,n=!1,r,o,s;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)o=e[a],s=this._trackByFn(a,o),i===null||!Object.is(i.trackById,s)?(i=this._mismatch(i,o,s,a),n=!0):(n&&(i=this._verifyReinsertion(i,o,s,a)),Object.is(i.item,o)||this._addIdentityChange(i,o)),i=i._next}else r=0,NF(e,a=>{s=this._trackByFn(r,a),i===null||!Object.is(i.trackById,s)?(i=this._mismatch(i,a,s,r),n=!0):(n&&(i=this._verifyReinsertion(i,a,s,r)),Object.is(i.item,a)||this._addIdentityChange(i,a)),i=i._next,r++}),this.length=r;return this._truncate(i),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,i,n,r){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,i)||this._addIdentityChange(e,i),this._reinsertAfter(e,o,r)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,r),e!==null?(Object.is(e.item,i)||this._addIdentityChange(e,i),this._moveAfter(e,o,r)):e=this._addAfter(new Kp(i,n),o,r)),e}_verifyReinsertion(e,i,n,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return o!==null?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;e!==null;){let i=e._next;this._addToRemovals(this._unlink(e)),e=i}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(e,i,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let r=e._prevRemoved,o=e._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,i,n),this._addToMoves(e,n),e}_moveAfter(e,i,n){return this._unlink(e),this._insertAfter(e,i,n),this._addToMoves(e,n),e}_addAfter(e,i,n){return this._insertAfter(e,i,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,i,n){let r=i===null?this._itHead:i._next;return e._next=r,e._prev=i,r===null?this._itTail=e:r._prev=e,i===null?this._itHead=e:i._next=e,this._linkedRecords===null&&(this._linkedRecords=new Hd),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let i=e._prev,n=e._next;return i===null?this._itHead=n:i._next=n,n===null?this._itTail=i:n._prev=i,e}_addToMoves(e,i){return e.previousIndex===i||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Hd),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,i){return e.item=i,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},Kp=class{constructor(e,i){this.item=e,this.trackById=i,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}},qp=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,i){let n;for(n=this._head;n!==null;n=n._nextDup)if((i===null||i<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let i=e._prevDup,n=e._nextDup;return i===null?this._head=n:i._nextDup=n,n===null?this._tail=i:n._prevDup=i,this._head===null}},Hd=class{constructor(){this.map=new Map}put(e){let i=e.trackById,n=this.map.get(i);n||(n=new qp,this.map.set(i,n)),n.add(e)}get(e,i){let n=e,r=this.map.get(n);return r?r.get(e,i):null}remove(e){let i=e.trackById;return this.map.get(i).remove(e)&&this.map.delete(i),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};_u=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||E_()),deps:[[e,new Qd,new ka]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new T(901,!1)}};e.\u0275prov=b({token:e,providedIn:"root",factory:E_});let t=e;return t})();Gk=new C("",{providedIn:"root",factory:()=>y(Qk)}),Qk=(()=>{let e=class e{};e.\u0275prov=b({token:e,providedIn:"root",factory:()=>new Yp});let t=e;return t})(),Yp=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=y(oo),this.taskId=null}scheduleEffect(e){if(this.enqueue(e),this.taskId===null){let i=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(i),this.taskId=null})}}enqueue(e){let i=e.creationZone;this.queues.has(i)||this.queues.set(i,new Set);let n=this.queues.get(i);n.has(e)||(this.queuedEffectCount++,n.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,i]of this.queues)e===null?this.flushQueue(i):e.run(()=>this.flushQueue(i))}flushQueue(e){for(let i of e)e.delete(i),this.queuedEffectCount--,i.run()}},Zp=class{constructor(e,i,n,r,o,s){this.scheduler=e,this.effectFn=i,this.creationZone=n,this.injector=o,this.watcher=vA(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(i){this.injector.get(zt,null,{optional:!0})?.handleError(i)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}});function Kk(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}function qk(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}function Yk(t){return typeof t=="function"}function Zk(t,e){if(!Hg){let i=Element.prototype;Hg=i.matches||i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?Hg.call(t,e):!1}function $k(t,e){return t===e||t!==t&&e!==e}function Xk(t){let e={};return t.forEach(({propName:i,templateName:n,transform:r})=>{e[Kk(n)]=[i,r]}),e}function Jk(t,e){return e.get(hn).resolveComponentFactory(t).inputs}function eL(t,e){let i=t.childNodes,n=e.map(()=>[]),r=-1;e.some((o,s)=>o==="*"?(r=s,!0):!1);for(let o=0,s=i.length;o<s;++o){let a=i[o],l=tL(a,e,r);l!==-1&&n[l].push(a)}return n}function tL(t,e,i){let n=i;return qk(t)&&e.some((r,o)=>r!=="*"&&Zk(t,r)?(n=o,!0):!1),n}function Qg(t,e){let i=Jk(t,e.injector),n=e.strategyFactory||new zg(t,e.injector),r=Xk(i),s=class s extends Gg{get ngElementStrategy(){if(!this._ngElementStrategy){let l=this._ngElementStrategy=n.create(this.injector||e.injector);i.forEach(({propName:c,transform:d})=>{if(!this.hasOwnProperty(c))return;let u=this[c];delete this[c],l.setInputValue(c,u,d)})}return this._ngElementStrategy}constructor(l){super(),this.injector=l}attributeChangedCallback(l,c,d,u){let[h,m]=r[l];this.ngElementStrategy.setInputValue(h,d,m)}connectedCallback(){let l=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),l=!0),this.ngElementStrategy.connect(this),l||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(l=>{let c=new CustomEvent(l.name,{detail:l.value});this.dispatchEvent(c)})}};s.observedAttributes=Object.keys(r);let o=s;return i.forEach(({propName:a,transform:l})=>{Object.defineProperty(o.prototype,a,{get(){return this.ngElementStrategy.getInputValue(a)},set(c){this.ngElementStrategy.setInputValue(a,c,l)},configurable:!0,enumerable:!0})}),o}var xu,Hg,nL,zg,Wg,Gg,aw=g(()=>{"use strict";O();Ke();at();xu={schedule(t,e){let i=setTimeout(t,e);return()=>clearTimeout(i)},scheduleBeforeRender(t){if(typeof window>"u")return xu.schedule(t,0);if(typeof window.requestAnimationFrame>"u")return xu.schedule(t,16);let e=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(e)}};nL=10,zg=class{constructor(e,i){this.componentFactory=i.get(hn).resolveComponentFactory(e)}create(e){return new Wg(this.componentFactory,e)}},Wg=class{constructor(e,i){this.componentFactory=e,this.injector=i,this.eventEmitters=new Pr(1),this.events=this.eventEmitters.pipe(Be(n=>mt(...n))),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:n})=>n)),this.ngZone=this.injector.get(F),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=xu.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},nL))})}getInputValue(e){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,i,n){this.runInZone(()=>{if(n&&(i=n.call(this.componentRef?.instance,i)),this.componentRef===null){this.initialInputValues.set(e,i);return}$k(i,this.getInputValue(e))&&!(i===void 0&&this.unchangedInputs.has(e))||(this.recordInputChange(e,i),this.unchangedInputs.delete(e),this.hasInputChanges=!0,this.componentRef.instance[e]=i,this.scheduleDetectChanges())})}initializeComponent(e){let i=Xe.create({providers:[],parent:this.injector}),n=eL(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(i,n,e),this.viewChangeDetectorRef=this.componentRef.injector.get(Pe),this.implementsOnChanges=Yk(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(kn).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:e,transform:i})=>{this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e),i)}),this.initialInputValues.clear()}initializeOutputs(e){let i=this.componentFactory.outputs.map(({propName:n,templateName:r})=>e.instance[n].pipe(B(s=>({name:r,value:s}))));this.eventEmitters.next(i)}callNgOnChanges(e){if(!this.implementsOnChanges||this.inputChanges===null)return;let i=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(i)}markViewForCheck(e){this.hasInputChanges&&(this.hasInputChanges=!1,e.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=xu.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(e,i){if(!this.implementsOnChanges)return;this.inputChanges===null&&(this.inputChanges={});let n=this.inputChanges[e];if(n){n.currentValue=i;return}let r=this.unchangedInputs.has(e),o=r?void 0:this.getInputValue(e);this.inputChanges[e]=new Ma(o,i,r)}detectChanges(){this.componentRef!==null&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},Gg=class extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}});function _i(){return hw}function mw(t){hw??=t}function Jg(t,e){if(t.length==0)return e;if(e.length==0)return t;let i=0;return t.endsWith("/")&&i++,e.startsWith("/")&&i++,i==2?t+e.substring(1):i==1?t+e:t+"/"+e}function lw(t){let e=t.match(/#|\?|$/),i=e&&e.index||t.length,n=i-(t[i-1]==="/"?1:0);return t.slice(0,n)+t.slice(i)}function Ai(t){return t&&t[0]!=="?"?"?"+t:t}function oL(){return new Qn(p(xi))}function sL(t,e){if(!t||!e.startsWith(t))return e;let i=e.substring(t.length);return i===""||["/",";","?","#"].includes(i[0])?i:e}function cw(t){return t.replace(/\/index.html$/,"")}function aL(t){if(new RegExp("^(https?:)?//").test(t)){let[,i]=t.split(/\/\/[^\/]+/);return i}return t}function wu(t,e){e=encodeURIComponent(e);for(let i of t.split(";")){let n=i.indexOf("="),[r,o]=n==-1?[i,""]:[i.slice(0,n),i.slice(n+1)];if(r.trim()===e)return decodeURIComponent(o)}return null}function uw(t,e){t.context.$implicit=e.item}function fw(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${Ht(e)}'.`)}function lL(t,e){return new T(2100,!1)}function Kn(t){return t===tv}function wi(t){return t===cL}function dL(t,e){let i=t.getElementById(e)||t.getElementsByName(e)[0];if(i)return i;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=n.currentNode;for(;r;){let o=r.shadowRoot;if(o){let s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}r=n.nextNode()}}return null}var hw,Cu,U,Xg,pw,rL,xi,gw,ev,vw,Qn,Kg,dw,Ci,qg,Eu,ys,Yg,Du,yw,vt,tv,cL,bw,Zg,$g,vs,Ie=g(()=>{"use strict";O();O();hw=null;Cu=class{},U=new C(""),Xg=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:()=>y(rL),providedIn:"platform"});let t=e;return t})(),pw=new C(""),rL=(()=>{let e=class e extends Xg{constructor(){super(),this._doc=y(U),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return _i().getBaseHref(this._doc)}onPopState(n){let r=_i().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=_i().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();xi=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:()=>y(ev),providedIn:"root"});let t=e;return t})(),gw=new C(""),ev=(()=>{let e=class e extends xi{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??y(U).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Jg(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Ai(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,s){let a=this.prepareExternalUrl(o+Ai(s));this._platformLocation.pushState(n,r,a)}replaceState(n,r,o,s){let a=this.prepareExternalUrl(o+Ai(s));this._platformLocation.replaceState(n,r,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(r){return new(r||e)(p(Xg),p(gw,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),vw=(()=>{let e=class e extends xi{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=Jg(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,s){let a=this.prepareExternalUrl(o+Ai(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,r,a)}replaceState(n,r,o,s){let a=this.prepareExternalUrl(o+Ai(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(r){return new(r||e)(p(Xg),p(gw,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),Qn=(()=>{let e=class e{constructor(n){this._subject=new G,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=aL(lw(cw(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Ai(r))}normalize(n){return e.stripTrailingSlash(sL(this._basePath,cw(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ai(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ai(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}};e.normalizeQueryParams=Ai,e.joinWithSlash=Jg,e.stripTrailingSlash=lw,e.\u0275fac=function(r){return new(r||e)(p(xi))},e.\u0275prov=b({token:e,factory:()=>oL(),providedIn:"root"});let t=e;return t})();Kg=/\s+/,dw=[],Ci=(()=>{let e=class e{constructor(n,r){this._ngEl=n,this._renderer=r,this.initialClasses=dw,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(Kg):dw}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Kg):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(Kg).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};e.\u0275fac=function(r){return new(r||e)(f(P),f(Rn))},e.\u0275dir=V({type:e,selectors:[["","ngClass",""]],inputs:{klass:[w.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})(),qg=class{constructor(e,i,n,r){this.$implicit=e,this.ngForOf=i,this.index=n,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}},Eu=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((o,s,a)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new qg(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)r.remove(s===null?void 0:s);else if(s!==null){let l=r.get(s);r.move(l,a),uw(l,o)}});for(let o=0,s=r.length;o<s;o++){let l=r.get(o).context;l.index=o,l.count=s,l.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let s=r.get(o.currentIndex);uw(s,o)})}static ngTemplateContextGuard(n,r){return!0}};e.\u0275fac=function(r){return new(r||e)(f(pt),f(Ft),f(_u))},e.\u0275dir=V({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();ys=(()=>{let e=class e{constructor(n,r){this._viewContainer=n,this._context=new Yg,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){fw("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){fw("ngIfElse",n),this._elseTemplateRef=n,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(n,r){return!0}};e.\u0275fac=function(r){return new(r||e)(f(pt),f(Ft))},e.\u0275dir=V({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),Yg=class{constructor(){this.$implicit=null,this.ngIf=null}};Du=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}};e.\u0275fac=function(r){return new(r||e)(f(pt))},e.\u0275dir=V({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[He]});let t=e;return t})();yw=(()=>{let e=class e{transform(n){if(n==null)return null;if(typeof n!="string")throw lL(e,n);return n.toUpperCase()}};e.\u0275fac=function(r){return new(r||e)},e.\u0275pipe=cs({name:"uppercase",type:e,pure:!0,standalone:!0});let t=e;return t})(),vt=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({});let t=e;return t})(),tv="browser",cL="server";bw=(()=>{let e=class e{};e.\u0275prov=b({token:e,providedIn:"root",factory:()=>Kn(y(bt))?new Zg(y(U),window):new $g});let t=e;return t})(),Zg=class{constructor(e,i){this.document=e,this.window=i,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let i=dL(this.document,e);i&&(this.scrollToElement(i),i.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let i=e.getBoundingClientRect(),n=i.left+this.window.pageXOffset,r=i.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],r-o[1])}};$g=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},vs=class{}});function hL(t,e){let i=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[s,a]=o==-1?[e.decodeKey(r),""]:[e.decodeKey(r.slice(0,o)),e.decodeValue(r.slice(o+1))],l=i.get(s)||[];l.push(a),i.set(s,l)}),i}function Aw(t){return encodeURIComponent(t).replace(mL,(e,i)=>pL[i]??e)}function Iu(t){return`${t}`}function gL(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function _w(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function xw(t){return typeof Blob<"u"&&t instanceof Blob}function Cw(t){return typeof FormData<"u"&&t instanceof FormData}function vL(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}function nv(t,e){return{body:e,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 yL(t,e){return e(t)}function bL(t,e,i){return(n,r)=>On(i,()=>e(n,o=>t(o,r)))}function CL(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}function SL(t,e){let i=t.url.toLowerCase();if(!y(Dw)||t.method==="GET"||t.method==="HEAD"||i.startsWith("http://")||i.startsWith("https://"))return e(t);let n=y(Ru).getToken(),r=y(IL);return n!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,n)})),e(t)}function TL(t,e){return{\u0275kind:t,\u0275providers:e}}function Mw(...t){let e=[or,Ew,ww,{provide:Ka,useExisting:ww},{provide:Mu,useExisting:Ew},{provide:sv,useValue:SL,multi:!0},{provide:Dw,useValue:!0},{provide:Ru,useClass:ML}];for(let i of t)e.push(...i.\u0275providers);return Pa(e)}function Sw(t){return TL(Iw.Interceptors,t.map(e=>({provide:sv,useValue:e,multi:!0})))}var Ka,Mu,co,iv,mL,pL,rr,rv,Qa,bs,qa,ov,Su,Tu,Ou,or,sv,AL,_L,ww,xL,Ew,Dw,wL,EL,DL,IL,Ru,ML,Iw,Ya=g(()=>{"use strict";O();O();Ke();at();Ie();Ie();Ka=class{},Mu=class{},co=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(`
8
- `).forEach(i=>{let n=i.indexOf(":");if(n>0){let r=i.slice(0,n),o=r.toLowerCase(),s=i.slice(n+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((i,n)=>{this.setHeaderEntries(n,i)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([i,n])=>{this.setHeaderEntries(i,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let i=this.headers.get(e.toLowerCase());return i&&i.length>0?i[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,i){return this.clone({name:e,value:i,op:"a"})}set(e,i){return this.clone({name:e,value:i,op:"s"})}delete(e,i){return this.clone({name:e,value:i,op:"d"})}maybeSetNormalizedName(e,i){this.normalizedNames.has(i)||this.normalizedNames.set(i,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(i=>{this.headers.set(i,e.headers.get(i)),this.normalizedNames.set(i,e.normalizedNames.get(i))})}clone(e){let i=new t;return i.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,i.lazyUpdate=(this.lazyUpdate||[]).concat([e]),i}applyUpdate(e){let i=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,i);let r=(e.op==="a"?this.headers.get(i):void 0)||[];r.push(...n),this.headers.set(i,r);break;case"d":let o=e.value;if(!o)this.headers.delete(i),this.normalizedNames.delete(i);else{let s=this.headers.get(i);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(i),this.normalizedNames.delete(i)):this.headers.set(i,s)}break}}setHeaderEntries(e,i){let n=(Array.isArray(i)?i:[i]).map(o=>o.toString()),r=e.toLowerCase();this.headers.set(r,n),this.maybeSetNormalizedName(e,r)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(i=>e(this.normalizedNames.get(i),this.headers.get(i)))}},iv=class{encodeKey(e){return Aw(e)}encodeValue(e){return Aw(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};mL=/%(\d[a-f0-9])/gi,pL={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};rr=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new iv,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=hL(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(i=>{let n=e.fromObject[i],r=Array.isArray(n)?n.map(Iu):[Iu(n)];this.map.set(i,r)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let i=this.map.get(e);return i?i[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,i){return this.clone({param:e,value:i,op:"a"})}appendAll(e){let i=[];return Object.keys(e).forEach(n=>{let r=e[n];Array.isArray(r)?r.forEach(o=>{i.push({param:n,value:o,op:"a"})}):i.push({param:n,value:r,op:"a"})}),this.clone(i)}set(e,i){return this.clone({param:e,value:i,op:"s"})}delete(e,i){return this.clone({param:e,value:i,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let i=this.encoder.encodeKey(e);return this.map.get(e).map(n=>i+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let i=new t({encoder:this.encoder});return i.cloneFrom=this.cloneFrom||this,i.updates=(this.updates||[]).concat(e),i}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let i=(e.op==="a"?this.map.get(e.param):void 0)||[];i.push(Iu(e.value)),this.map.set(e.param,i);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],r=n.indexOf(Iu(e.value));r!==-1&&n.splice(r,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}},rv=class{constructor(){this.map=new Map}set(e,i){return this.map.set(e,i),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};Qa=class t{constructor(e,i,n,r){this.url=i,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(gL(this.method)||r?(this.body=n!==void 0?n:null,o=r):o=n,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 co,this.context??=new rv,!this.params)this.params=new rr,this.urlWithParams=i;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=i;else{let a=i.indexOf("?"),l=a===-1?"?":a<i.length-1?"&":"";this.urlWithParams=i+l+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||_w(this.body)||xw(this.body)||Cw(this.body)||vL(this.body)?this.body:this.body instanceof rr?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||Cw(this.body)?null:xw(this.body)?this.body.type||null:_w(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof rr?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(e={}){let i=e.method||this.method,n=e.url||this.url,r=e.responseType||this.responseType,o=e.transferCache??this.transferCache,s=e.body!==void 0?e.body:this.body,a=e.withCredentials??this.withCredentials,l=e.reportProgress??this.reportProgress,c=e.headers||this.headers,d=e.params||this.params,u=e.context??this.context;return e.setHeaders!==void 0&&(c=Object.keys(e.setHeaders).reduce((h,m)=>h.set(m,e.setHeaders[m]),c)),e.setParams&&(d=Object.keys(e.setParams).reduce((h,m)=>h.set(m,e.setParams[m]),d)),new t(i,n,s,{params:d,headers:c,context:u,reportProgress:l,responseType:r,withCredentials:a,transferCache:o})}},bs=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}(bs||{}),qa=class{constructor(e,i=Ou.Ok,n="OK"){this.headers=e.headers||new co,this.status=e.status!==void 0?e.status:i,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},ov=class t extends qa{constructor(e={}){super(e),this.type=bs.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Su=class t extends qa{constructor(e={}){super(e),this.type=bs.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Tu=class extends qa{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},Ou=function(t){return t[t.Continue=100]="Continue",t[t.SwitchingProtocols=101]="SwitchingProtocols",t[t.Processing=102]="Processing",t[t.EarlyHints=103]="EarlyHints",t[t.Ok=200]="Ok",t[t.Created=201]="Created",t[t.Accepted=202]="Accepted",t[t.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",t[t.NoContent=204]="NoContent",t[t.ResetContent=205]="ResetContent",t[t.PartialContent=206]="PartialContent",t[t.MultiStatus=207]="MultiStatus",t[t.AlreadyReported=208]="AlreadyReported",t[t.ImUsed=226]="ImUsed",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.Found=302]="Found",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.Unused=306]="Unused",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.LengthRequired=411]="LengthRequired",t[t.PreconditionFailed=412]="PreconditionFailed",t[t.PayloadTooLarge=413]="PayloadTooLarge",t[t.UriTooLong=414]="UriTooLong",t[t.UnsupportedMediaType=415]="UnsupportedMediaType",t[t.RangeNotSatisfiable=416]="RangeNotSatisfiable",t[t.ExpectationFailed=417]="ExpectationFailed",t[t.ImATeapot=418]="ImATeapot",t[t.MisdirectedRequest=421]="MisdirectedRequest",t[t.UnprocessableEntity=422]="UnprocessableEntity",t[t.Locked=423]="Locked",t[t.FailedDependency=424]="FailedDependency",t[t.TooEarly=425]="TooEarly",t[t.UpgradeRequired=426]="UpgradeRequired",t[t.PreconditionRequired=428]="PreconditionRequired",t[t.TooManyRequests=429]="TooManyRequests",t[t.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",t[t.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout",t[t.HttpVersionNotSupported=505]="HttpVersionNotSupported",t[t.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",t[t.InsufficientStorage=507]="InsufficientStorage",t[t.LoopDetected=508]="LoopDetected",t[t.NotExtended=510]="NotExtended",t[t.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",t}(Ou||{});or=(()=>{let e=class e{constructor(n){this.handler=n}request(n,r,o={}){let s;if(n instanceof Qa)s=n;else{let c;o.headers instanceof co?c=o.headers:c=new co(o.headers);let d;o.params&&(o.params instanceof rr?d=o.params:d=new rr({fromObject:o.params})),s=new Qa(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:d,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=R(s).pipe(wn(c=>this.handler.handle(c)));if(n instanceof Qa||o.observe==="events")return a;let l=a.pipe(de(c=>c instanceof Su));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(B(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe(B(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe(B(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return l.pipe(B(c=>c.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new rr().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,nv(o,r))}post(n,r,o={}){return this.request("POST",n,nv(o,r))}put(n,r,o={}){return this.request("PUT",n,nv(o,r))}};e.\u0275fac=function(r){return new(r||e)(p(Ka))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})();sv=new C(""),AL=new C(""),_L=new C(""),ww=(()=>{let e=class e extends Ka{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=y(oo);let o=y(_L,{optional:!0});this.backend=o??n}handle(n){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(sv),...this.injector.get(AL,[])]));this.chain=o.reduceRight((s,a)=>bL(s,a,this.injector),yL)}let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Bt(()=>this.pendingTasks.remove(r)))}};e.\u0275fac=function(r){return new(r||e)(p(Mu),p(Ot))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),xL=/^\)\]\}',?\n/;Ew=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new T(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?ke(r.\u0275loadImpl()):R(null)).pipe(Be(()=>new X(s=>{let a=r.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((I,M)=>a.setRequestHeader(I,M.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let I=n.detectContentTypeHeader();I!==null&&a.setRequestHeader("Content-Type",I)}if(n.responseType){let I=n.responseType.toLowerCase();a.responseType=I!=="json"?I:"text"}let l=n.serializeBody(),c=null,d=()=>{if(c!==null)return c;let I=a.statusText||"OK",M=new co(a.getAllResponseHeaders()),L=CL(a)||n.url;return c=new ov({headers:M,status:a.status,statusText:I,url:L}),c},u=()=>{let{headers:I,status:M,statusText:L,url:me}=d(),W=null;M!==Ou.NoContent&&(W=typeof a.response>"u"?a.responseText:a.response),M===0&&(M=W?Ou.Ok:0);let $e=M>=200&&M<300;if(n.responseType==="json"&&typeof W=="string"){let We=W;W=W.replace(xL,"");try{W=W!==""?JSON.parse(W):null}catch(Ge){W=We,$e&&($e=!1,W={error:Ge,text:W})}}$e?(s.next(new Su({body:W,headers:I,status:M,statusText:L,url:me||void 0})),s.complete()):s.error(new Tu({error:W,headers:I,status:M,statusText:L,url:me||void 0}))},h=I=>{let{url:M}=d(),L=new Tu({error:I,status:a.status||0,statusText:a.statusText||"Unknown Error",url:M||void 0});s.error(L)},m=!1,v=I=>{m||(s.next(d()),m=!0);let M={type:bs.DownloadProgress,loaded:I.loaded};I.lengthComputable&&(M.total=I.total),n.responseType==="text"&&a.responseText&&(M.partialText=a.responseText),s.next(M)},_=I=>{let M={type:bs.UploadProgress,loaded:I.loaded};I.lengthComputable&&(M.total=I.total),s.next(M)};return a.addEventListener("load",u),a.addEventListener("error",h),a.addEventListener("timeout",h),a.addEventListener("abort",h),n.reportProgress&&(a.addEventListener("progress",v),l!==null&&a.upload&&a.upload.addEventListener("progress",_)),a.send(l),s.next({type:bs.Sent}),()=>{a.removeEventListener("error",h),a.removeEventListener("abort",h),a.removeEventListener("load",u),a.removeEventListener("timeout",h),n.reportProgress&&(a.removeEventListener("progress",v),l!==null&&a.upload&&a.upload.removeEventListener("progress",_)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(r){return new(r||e)(p(vs))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),Dw=new C(""),wL="XSRF-TOKEN",EL=new C("",{providedIn:"root",factory:()=>wL}),DL="X-XSRF-TOKEN",IL=new C("",{providedIn:"root",factory:()=>DL}),Ru=class{},ML=(()=>{let e=class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=wu(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(r){return new(r||e)(p(U),p(bt),p(EL))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})();Iw=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}(Iw||{})});function OL(){return Za=Za||document.querySelector("base"),Za?Za.getAttribute("href"):null}function RL(t){return new URL(t,document.baseURI).pathname}function jL(t){return LL.replace(hv,t)}function VL(t){return kL.replace(hv,t)}function Pw(t,e){return e.map(i=>i.replace(hv,t))}function Ow(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}function Nw(t,e){return Bg(A({rootComponent:t},Vw(e)))}function jw(t){return Bg(Vw(t))}function Vw(t){return{appProviders:[...qL,...t?.providers??[]],platformProviders:KL}}function WL(){dv.makeCurrent()}function GL(){return new zt}function QL(){return Vx(document),document}var cv,dv,Za,FL,uv,Fw,Fu,av,kw,lv,hv,Lw,kL,LL,PL,NL,ku,$a,fv,Xa,Lu,BL,Rw,UL,HL,zL,KL,qL,Bw,Ja,YL,As=g(()=>{"use strict";O();O();Ie();cv=class extends Cu{constructor(){super(...arguments),this.supportsDOMEvents=!0}},dv=class t extends cv{static makeCurrent(){mw(new t)}onAndCancel(e,i,n){return e.addEventListener(i,n),()=>{e.removeEventListener(i,n)}}dispatchEvent(e,i){e.dispatchEvent(i)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,i){return i=i||this.getDefaultDocument(),i.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,i){return i==="window"?window:i==="document"?e:i==="body"?e.body:null}getBaseHref(e){let i=OL();return i==null?null:RL(i)}resetBaseElement(){Za=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return wu(document.cookie,e)}},Za=null;FL=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),uv=new C(""),Fw=(()=>{let e=class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(s=>s.supports(n)),!r)throw new T(5101,!1);return this._eventNameToPlugin.set(n,r),r}};e.\u0275fac=function(r){return new(r||e)(p(uv),p(F))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),Fu=class{constructor(e){this._doc=e}},av="ng-app-id",kw=(()=>{let e=class e{constructor(n,r,o,s={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=wi(s),this.resetHostNodes()}addStyles(n){for(let r of n)this.changeUsageCount(r,1)===1&&this.onStyleAdded(r)}removeStyles(n){for(let r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(let r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){let r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${av}="${this.appId}"]`);if(n?.length){let r=new Map;return n.forEach(o=>{o.textContent!=null&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){let o=this.styleRef;if(o.has(n)){let s=o.get(n);return s.usage+=r,s.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){let o=this.styleNodesInDOM,s=o?.get(r);if(s?.parentNode===n)return o.delete(r),s.removeAttribute(av),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=r,this.platformIsServer&&a.setAttribute(av,this.appId),n.appendChild(a),a}}addStyleToHost(n,r){let o=this.getStyleElement(n,r),s=this.styleRef,a=s.get(r)?.elements;a?a.push(o):s.set(r,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(r){return new(r||e)(p(U),p(Va),p(ro,8),p(bt))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),lv={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},hv=/%COMP%/g,Lw="%COMP%",kL=`_nghost-${Lw}`,LL=`_ngcontent-${Lw}`,PL=!0,NL=new C("",{providedIn:"root",factory:()=>PL});ku=(()=>{let e=class e{constructor(n,r,o,s,a,l,c,d=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=c,this.nonce=d,this.rendererByCompId=new Map,this.platformIsServer=wi(l),this.defaultRenderer=new $a(n,a,c,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===zn.ShadowDom&&(r=we(A({},r),{encapsulation:zn.Emulated}));let o=this.getOrCreateRenderer(n,r);return o instanceof Lu?o.applyToHost(n):o instanceof Xa&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,s=o.get(r.id);if(!s){let a=this.doc,l=this.ngZone,c=this.eventManager,d=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(r.encapsulation){case zn.Emulated:s=new Lu(c,d,r,this.appId,u,a,l,h);break;case zn.ShadowDom:return new fv(c,d,n,r,a,l,this.nonce,h);default:s=new Xa(c,d,r,u,a,l,h);break}o.set(r.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(r){return new(r||e)(p(Fw),p(kw),p(Va),p(NL),p(U),p(bt),p(F),p(ro))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),$a=class{constructor(e,i,n,r){this.eventManager=e,this.doc=i,this.ngZone=n,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,i){return i?this.doc.createElementNS(lv[i]||i,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,i){(Ow(e)?e.content:e).appendChild(i)}insertBefore(e,i,n){e&&(Ow(e)?e.content:e).insertBefore(i,n)}removeChild(e,i){e&&e.removeChild(i)}selectRootElement(e,i){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new T(-5104,!1);return i||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,i,n,r){if(r){i=r+":"+i;let o=lv[r];o?e.setAttributeNS(o,i,n):e.setAttribute(i,n)}else e.setAttribute(i,n)}removeAttribute(e,i,n){if(n){let r=lv[n];r?e.removeAttributeNS(r,i):e.removeAttribute(`${n}:${i}`)}else e.removeAttribute(i)}addClass(e,i){e.classList.add(i)}removeClass(e,i){e.classList.remove(i)}setStyle(e,i,n,r){r&(ui.DashCase|ui.Important)?e.style.setProperty(i,n,r&ui.Important?"important":""):e.style[i]=n}removeStyle(e,i,n){n&ui.DashCase?e.style.removeProperty(i):e.style[i]=""}setProperty(e,i,n){e!=null&&(e[i]=n)}setValue(e,i){e.nodeValue=i}listen(e,i,n){if(typeof e=="string"&&(e=_i().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${i}`);return this.eventManager.addEventListener(e,i,this.decoratePreventDefault(n))}decoratePreventDefault(e){return i=>{if(i==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(i)):e(i))===!1&&i.preventDefault()}}};fv=class extends $a{constructor(e,i,n,r,o,s,a,l){super(e,o,s,l),this.sharedStylesHost=i,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=Pw(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(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,i){return super.appendChild(this.nodeOrShadowRoot(e),i)}insertBefore(e,i,n){return super.insertBefore(this.nodeOrShadowRoot(e),i,n)}removeChild(e,i){return super.removeChild(this.nodeOrShadowRoot(e),i)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Xa=class extends $a{constructor(e,i,n,r,o,s,a,l){super(e,o,s,a),this.sharedStylesHost=i,this.removeStylesOnCompDestroy=r,this.styles=l?Pw(l,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Lu=class extends Xa{constructor(e,i,n,r,o,s,a,l){let c=r+"-"+n.id;super(e,i,n,o,s,a,l,c),this.contentAttr=jL(c),this.hostAttr=VL(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,i){let n=super.createElement(e,i);return super.setAttribute(n,this.contentAttr,""),n}},BL=(()=>{let e=class e extends Fu{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}};e.\u0275fac=function(r){return new(r||e)(p(U))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),Rw=["alt","control","meta","shift"],UL={"\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"},HL={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},zL=(()=>{let e=class e extends Fu{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>_i().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(r.pop()),a="",l=r.indexOf("code");if(l>-1&&(r.splice(l,1),a="code."),Rw.forEach(d=>{let u=r.indexOf(d);u>-1&&(r.splice(u,1),a+=d+".")}),a+=s,r.length!=0||s.length===0)return null;let c={};return c.domEventName=o,c.fullKey=a,c}static matchEventFullKeyCode(n,r){let o=UL[n.key]||n.key,s="";return r.indexOf("code.")>-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Rw.forEach(a=>{if(a!==o){let l=HL[a];l(n)&&(s+=a+".")}}),s+=o,s===r)}static eventCallback(n,r,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>r(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(r){return new(r||e)(p(U))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})();KL=[{provide:bt,useValue:tv},{provide:gg,useValue:WL,multi:!0},{provide:U,useFactory:QL,deps:[]}],qL=[{provide:qd,useValue:"root"},{provide:zt,useFactory:GL,deps:[]},{provide:uv,useClass:BL,multi:!0,deps:[U,F,bt]},{provide:uv,useClass:zL,multi:!0,deps:[U]},ku,kw,Fw,{provide:eo,useExisting:ku},{provide:vs,useClass:FL,deps:[]},[]],Bw=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(r){return new(r||e)(p(U))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ja=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=p(YL),o},providedIn:"root"});let t=e;return t})(),YL=(()=>{let e=class e extends Ja{constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case Et.NONE:return r;case Et.HTML:return mi(r,"HTML")?un(r):yg(this._doc,String(r)).toString();case Et.STYLE:return mi(r,"Style")?un(r):r;case Et.SCRIPT:if(mi(r,"Script"))return un(r);throw new T(5200,!1);case Et.URL:return mi(r,"URL")?un(r):ru(String(r));case Et.RESOURCE_URL:if(mi(r,"ResourceURL"))return un(r);throw new T(5201,!1);default:throw new T(5202,!1)}}bypassSecurityTrustHtml(n){return zx(n)}bypassSecurityTrustStyle(n){return Wx(n)}bypassSecurityTrustScript(n){return Gx(n)}bypassSecurityTrustUrl(n){return Qx(n)}bypassSecurityTrustResourceUrl(n){return Kx(n)}};e.\u0275fac=function(r){return new(r||e)(p(U))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})()});function Pu(t,e){if(t===e)return!0;if(t===null||e===null)return!1;if(t!==t&&e!==e)return!0;let i=typeof t,n=typeof e,r,o,s;if(i==n&&i=="object")if(Array.isArray(t)){if(!Array.isArray(e))return!1;if((r=t.length)==e.length){for(o=0;o<r;o++)if(!Pu(t[o],e[o]))return!1;return!0}}else{if(Array.isArray(e))return!1;s=Object.create(null);for(o in t){if(!Pu(t[o],e[o]))return!1;s[o]=!0}for(o in e)if(!(o in s)&&typeof e[o]<"u")return!1;return!0}return!1}function sr(t){return typeof t<"u"&&t!==null}function pv(t){return t&&typeof t=="object"&&!Array.isArray(t)}function Gw(t,e){let i=Object.assign({},t);return pv(t)&&pv(e)&&Object.keys(e).forEach(n=>{pv(e[n])?n in t?i[n]=Gw(t[n],e[n]):Object.assign(i,{[n]:e[n]}):Object.assign(i,{[n]:e[n]})}),i}var _s,Uw,el,Hw,xs,zw,Cs,Ww,Nu,gv,vv,yv,bv,ar,Ei,lr,uo=g(()=>{"use strict";O();O();Ke();at();_s=class{},Uw=(()=>{class t extends _s{getTranslation(i){return R({})}static \u0275fac=(()=>{let i;return function(r){return(i||(i=it(t)))(r||t)}})();static \u0275prov=b({token:t,factory:t.\u0275fac})}return t})(),el=class{},Hw=(()=>{class t{handle(i){return i.key}static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:t.\u0275fac})}return t})();xs=class{},zw=(()=>{class t extends xs{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(i,n){let r;return typeof i=="string"?r=this.interpolateString(i,n):typeof i=="function"?r=this.interpolateFunction(i,n):r=i,r}getValue(i,n){let r=typeof n=="string"?n.split("."):[n];n="";do n+=r.shift(),sr(i)&&sr(i[n])&&(typeof i[n]=="object"||!r.length)?(i=i[n],n=""):r.length?n+=".":i=void 0;while(r.length);return i}interpolateFunction(i,n){return i(n)}interpolateString(i,n){return n?i.replace(this.templateMatcher,(r,o)=>{let s=this.getValue(n,o);return sr(s)?s:r}):i}static \u0275fac=(()=>{let i;return function(r){return(i||(i=it(t)))(r||t)}})();static \u0275prov=b({token:t,factory:t.\u0275fac})}return t})(),Cs=class{},Ww=(()=>{class t extends Cs{compile(i,n){return i}compileTranslations(i,n){return i}static \u0275fac=(()=>{let i;return function(r){return(i||(i=it(t)))(r||t)}})();static \u0275prov=b({token:t,factory:t.\u0275fac})}return t})(),Nu=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new G;onLangChange=new G;onDefaultLangChange=new G},gv=new C("USE_STORE"),vv=new C("USE_DEFAULT_LANG"),yv=new C("DEFAULT_LANGUAGE"),bv=new C("USE_EXTEND"),ar=(()=>{class t{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new G;_onLangChange=new G;_onDefaultLangChange=new G;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};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(i){this.isolate?this._defaultLang=i:this.store.defaultLang=i}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(i){this.isolate?this._currentLang=i:this.store.currentLang=i}get langs(){return this.isolate?this._langs:this.store.langs}set langs(i){this.isolate?this._langs=i:this.store.langs=i}get translations(){return this.isolate?this._translations:this.store.translations}set translations(i){this.isolate?this._translations=i:this.store.translations=i}constructor(i,n,r,o,s,a=!0,l=!1,c=!1,d){this.store=i,this.currentLoader=n,this.compiler=r,this.parser=o,this.missingTranslationHandler=s,this.useDefaultLang=a,this.isolate=l,this.extend=c,d&&this.setDefaultLang(d)}setDefaultLang(i){if(i===this.defaultLang)return;let n=this.retrieveTranslations(i);typeof n<"u"?(this.defaultLang==null&&(this.defaultLang=i),n.pipe(Ae(1)).subscribe(r=>{this.changeDefaultLang(i)})):this.changeDefaultLang(i)}getDefaultLang(){return this.defaultLang}use(i){if(i===this.currentLang)return R(this.translations[i]);let n=this.retrieveTranslations(i);return typeof n<"u"?(this.currentLang||(this.currentLang=i),n.pipe(Ae(1)).subscribe(r=>{this.changeLang(i)}),n):(this.changeLang(i),R(this.translations[i]))}retrieveTranslations(i){let n;return(typeof this.translations[i]>"u"||this.extend)&&(this._translationRequests[i]=this._translationRequests[i]||this.getTranslation(i),n=this._translationRequests[i]),n}getTranslation(i){this.pending=!0;let n=this.currentLoader.getTranslation(i).pipe(zr(1),Ae(1));return this.loadingTranslations=n.pipe(B(r=>this.compiler.compileTranslations(r,i)),zr(1),Ae(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[i]=this.extend&&this.translations[i]?A(A({},r),this.translations[i]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),n}setTranslation(i,n,r=!1){n=this.compiler.compileTranslations(n,i),(r||this.extend)&&this.translations[i]?this.translations[i]=Gw(this.translations[i],n):this.translations[i]=n,this.updateLangs(),this.onTranslationChange.emit({lang:i,translations:this.translations[i]})}getLangs(){return this.langs}addLangs(i){i.forEach(n=>{this.langs.indexOf(n)===-1&&this.langs.push(n)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(i,n,r){let o;if(n instanceof Array){let s={},a=!1;for(let l of n)s[l]=this.getParsedResult(i,l,r),$t(s[l])&&(a=!0);if(a){let l=n.map(c=>$t(s[c])?s[c]:R(s[c]));return Hi(l).pipe(B(c=>{let d={};return c.forEach((u,h)=>{d[n[h]]=u}),d}))}return s}if(i&&(o=this.parser.interpolate(this.parser.getValue(i,n),r)),typeof o>"u"&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],n),r)),typeof o>"u"){let s={key:n,translateService:this};typeof r<"u"&&(s.interpolateParams=r),o=this.missingTranslationHandler.handle(s)}return typeof o<"u"?o:n}get(i,n){if(!sr(i)||!i.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(wn(r=>(r=this.getParsedResult(r,i,n),$t(r)?r:R(r))));{let r=this.getParsedResult(this.translations[this.currentLang],i,n);return $t(r)?r:R(r)}}getStreamOnTranslationChange(i,n){if(!sr(i)||!i.length)throw new Error('Parameter "key" required');return Xt(Jt(()=>this.get(i,n)),this.onTranslationChange.pipe(Be(r=>{let o=this.getParsedResult(r.translations,i,n);return typeof o.subscribe=="function"?o:R(o)})))}stream(i,n){if(!sr(i)||!i.length)throw new Error('Parameter "key" required');return Xt(Jt(()=>this.get(i,n)),this.onLangChange.pipe(Be(r=>{let o=this.getParsedResult(r.translations,i,n);return $t(o)?o:R(o)})))}instant(i,n){if(!sr(i)||!i.length)throw new Error('Parameter "key" required');let r=this.getParsedResult(this.translations[this.currentLang],i,n);if($t(r)){if(i instanceof Array){let o={};return i.forEach((s,a)=>{o[i[a]]=i[a]}),o}return i}else return r}set(i,n,r=this.currentLang){this.translations[r][i]=this.compiler.compile(n,r),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeLang(i){this.currentLang=i,this.onLangChange.emit({lang:i,translations:this.translations[i]}),this.defaultLang==null&&this.changeDefaultLang(i)}changeDefaultLang(i){this.defaultLang=i,this.onDefaultLangChange.emit({lang:i,translations:this.translations[i]})}reloadLang(i){return this.resetLang(i),this.getTranslation(i)}resetLang(i){this._translationRequests[i]=void 0,this.translations[i]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let i=window.navigator.languages?window.navigator.languages[0]:null;if(i=i||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,!(typeof i>"u"))return i.indexOf("-")!==-1&&(i=i.split("-")[0]),i.indexOf("_")!==-1&&(i=i.split("_")[0]),i}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let i=window.navigator.languages?window.navigator.languages[0]:null;return i=i||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,i}static \u0275fac=function(n){return new(n||t)(p(Nu),p(_s),p(Cs),p(xs),p(el),p(vv),p(gv),p(bv),p(yv))};static \u0275prov=b({token:t,factory:t.\u0275fac})}return t})(),Ei=(()=>{class t{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(i,n){this.translate=i,this._ref=n}updateValue(i,n,r){let o=s=>{this.value=s!==void 0?s:i,this.lastKey=i,this._ref.markForCheck()};if(r){let s=this.translate.getParsedResult(r,i,n);$t(s.subscribe)?s.subscribe(o):o(s)}this.translate.get(i,n).subscribe(o)}transform(i,...n){if(!i||!i.length)return i;if(Pu(i,this.lastKey)&&Pu(n,this.lastParams))return this.value;let r;if(sr(n[0])&&n.length)if(typeof n[0]=="string"&&n[0].length){let o=n[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{r=JSON.parse(o)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${n[0]}`)}}else typeof n[0]=="object"&&!Array.isArray(n[0])&&(r=n[0]);return this.lastKey=i,this.lastParams=n,this.updateValue(i,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(i,r,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(i,r,o.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(i,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(n){return new(n||t)(f(ar,16),f(Pe,16))};static \u0275pipe=cs({name:"translate",type:t,pure:!1});static \u0275prov=b({token:t,factory:t.\u0275fac})}return t})(),lr=(()=>{class t{static forRoot(i={}){return{ngModule:t,providers:[i.loader||{provide:_s,useClass:Uw},i.compiler||{provide:Cs,useClass:Ww},i.parser||{provide:xs,useClass:zw},i.missingTranslationHandler||{provide:el,useClass:Hw},Nu,{provide:gv,useValue:i.isolate},{provide:vv,useValue:i.useDefaultLang},{provide:bv,useValue:i.extend},{provide:yv,useValue:i.defaultLanguage},ar]}}static forChild(i={}){return{ngModule:t,providers:[i.loader||{provide:_s,useClass:Uw},i.compiler||{provide:Cs,useClass:Ww},i.parser||{provide:xs,useClass:zw},i.missingTranslationHandler||{provide:el,useClass:Hw},{provide:gv,useValue:i.isolate},{provide:vv,useValue:i.useDefaultLang},{provide:bv,useValue:i.extend},{provide:yv,useValue:i.defaultLanguage},ar]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=j({type:t});static \u0275inj=N({})}return t})()});var ws,ju=g(()=>{"use strict";O();ws=new C("web-component-auth")});var Vu,Cv=g(()=>{"use strict";O();uo();ju();O();Vu=(()=>{var e,i,n,r,o,s,Kw,l,Av,d,_v,h,qw,v,Yw,I,xv;let L=class L{constructor(W){et(this,s);et(this,l);et(this,d);et(this,h);et(this,v);et(this,I);et(this,e,void 0);et(this,i,void 0);et(this,n,void 0);et(this,r,void 0);et(this,o,void 0);Zt(this,e,"lang"),Zt(this,i,y(ar)),Zt(this,n,y(ws)),this.setLanguageFromBrowser=!1,this.defaultLanguage="en",Zt(this,r,W)}get uiLanguage(){return Qe(this,o)}set uiLanguage(W){W!==Qe(this,o)&&(Zt(this,o,W),Zt(this,o,W),Nt(this,h,qw).call(this))}ngOnInit(){Nt(this,d,_v).call(this),Nt(this,s,Kw).call(this,Qe(this,r)),Nt(this,l,Av).call(this)}ngOnChanges(){Nt(this,d,_v).call(this),Nt(this,l,Av).call(this)}};e=new WeakMap,i=new WeakMap,n=new WeakMap,r=new WeakMap,o=new WeakMap,s=new WeakSet,Kw=function(W){for(let $e in W)W[$e]&&Qe(this,i).setTranslation($e,W[$e],!0)},l=new WeakSet,Av=function(){Qe(this,i).setDefaultLang(this.defaultLanguage),this.setLanguageFromBrowser&&Nt(this,v,Yw).call(this),this.uiLanguage||(this.uiLanguage=this.defaultLanguage),Qe(this,i).use(this.uiLanguage)},d=new WeakSet,_v=function(){this.xApiKey&&(Qe(this,n).xApiKey=this.xApiKey),this.skipAuthUrls&&(Qe(this,n).skipAuthUrls=typeof this.skipAuthUrls=="string"?JSON.parse(this.skipAuthUrls):this.skipAuthUrls)},h=new WeakSet,qw=function(){Qe(this,i).use(this.uiLanguage)},v=new WeakSet,Yw=function(){let W=Nt(this,I,xv).call(this);!this.uiLanguage&&W!==this.defaultLanguage&&(this.uiLanguage=W);let $e=_n=>{for(let xn of _n)if(xn.type==="attributes"&&xn.attributeName===Qe(this,e)){let vc=Nt(this,I,xv).call(this);this.uiLanguage=vc}},We=new MutationObserver($e),Ge=document.querySelector("html"),ft={attributes:!0,attributeFilter:[Qe(this,e)]};We.observe(Ge,ft)},I=new WeakSet,xv=function(){return document.querySelector("html").getAttribute(Qe(this,e)).split("-")[0]},L.\u0275fac=function($e){ms()},L.\u0275dir=V({type:L,inputs:{setLanguageFromBrowser:"setLanguageFromBrowser",defaultLanguage:"defaultLanguage",skipAuthUrls:"skipAuthUrls",uiLanguage:"uiLanguage",xApiKey:"xApiKey"},features:[He]});let t=L;return t})()});function XL(){let t=_i()?_i().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}function cr(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function iE(t){return t!=null&&typeof t.length=="number"}function tP(t){return e=>{if(cr(e.value)||cr(t))return null;let i=parseFloat(e.value);return!isNaN(i)&&i<t?{min:{min:t,actual:e.value}}:null}}function nP(t){return e=>{if(cr(e.value)||cr(t))return null;let i=parseFloat(e.value);return!isNaN(i)&&i>t?{max:{max:t,actual:e.value}}:null}}function iP(t){return cr(t.value)?{required:!0}:null}function rP(t){return t.value===!0?null:{required:!0}}function oP(t){return cr(t.value)||eP.test(t.value)?null:{email:!0}}function sP(t){return e=>cr(e.value)||!iE(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}function aP(t){return e=>iE(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function lP(t){if(!t)return rE;let e,i;return typeof t=="string"?(i="",t.charAt(0)!=="^"&&(i+="^"),i+=t,t.charAt(t.length-1)!=="$"&&(i+="$"),e=new RegExp(i)):(i=t.toString(),e=t),n=>{if(cr(n.value))return null;let r=n.value;return e.test(r)?null:{pattern:{requiredPattern:i,actualValue:r}}}}function rE(t){return null}function oE(t){return t!=null}function sE(t){return ao(t)?ke(t):t}function aE(t){let e={};return t.forEach(i=>{e=i!=null?A(A({},e),i):e}),Object.keys(e).length===0?null:e}function lE(t,e){return e.map(i=>i(t))}function cP(t){return!t.validate}function cE(t){return t.map(e=>cP(e)?e:i=>e.validate(i))}function dE(t){if(!t)return null;let e=t.filter(oE);return e.length==0?null:function(i){return aE(lE(i,e))}}function Iv(t){return t!=null?dE(cE(t)):null}function uE(t){if(!t)return null;let e=t.filter(oE);return e.length==0?null:function(i){let n=lE(i,e).map(sE);return Hi(n).pipe(B(aE))}}function Mv(t){return t!=null?uE(cE(t)):null}function Zw(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function fE(t){return t._rawValidators}function hE(t){return t._rawAsyncValidators}function wv(t){return t?Array.isArray(t)?t:[t]:[]}function Uu(t,e){return Array.isArray(t)?t.includes(e):t===e}function $w(t,e){let i=wv(e);return wv(t).forEach(r=>{Uu(i,r)||i.push(r)}),i}function Xw(t,e){return wv(e).filter(i=>!Uu(t,i))}function mE(t){return(Zu(t)?t.validators:t)||null}function uP(t){return Array.isArray(t)?Iv(t):t||null}function pE(t,e){return(Zu(e)?e.asyncValidators:t)||null}function fP(t){return Array.isArray(t)?Mv(t):t||null}function Zu(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function hP(t,e,i){let n=t.controls;if(!(e?Object.keys(n):n).length)throw new T(1e3,"");if(!n[i])throw new T(1001,"")}function mP(t,e,i){t._forEachChild((n,r)=>{if(i[r]===void 0)throw new T(1002,"")})}function pP(t,e){return[...e.path,t]}function sl(t,e,i=$u){Sv(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||i==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),vP(t,e),bP(t,e),yP(t,e),gP(t,e)}function Wu(t,e,i=!0){let n=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n)),Qu(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Gu(t,e){t.forEach(i=>{i.registerOnValidatorChange&&i.registerOnValidatorChange(e)})}function gP(t,e){if(e.valueAccessor.setDisabledState){let i=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(i),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(i)})}}function Sv(t,e){let i=fE(t);e.validator!==null?t.setValidators(Zw(i,e.validator)):typeof i=="function"&&t.setValidators([i]);let n=hE(t);e.asyncValidator!==null?t.setAsyncValidators(Zw(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let r=()=>t.updateValueAndValidity();Gu(e._rawValidators,r),Gu(e._rawAsyncValidators,r)}function Qu(t,e){let i=!1;if(t!==null){if(e.validator!==null){let r=fE(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==e.validator);o.length!==r.length&&(i=!0,t.setValidators(o))}}if(e.asyncValidator!==null){let r=hE(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==e.asyncValidator);o.length!==r.length&&(i=!0,t.setAsyncValidators(o))}}}let n=()=>{};return Gu(e._rawValidators,n),Gu(e._rawAsyncValidators,n),i}function vP(t,e){e.valueAccessor.registerOnChange(i=>{t._pendingValue=i,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&gE(t,e)})}function yP(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&gE(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function gE(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function bP(t,e){let i=(n,r)=>{e.valueAccessor.writeValue(n),r&&e.viewToModelUpdate(n)};t.registerOnChange(i),e._registerOnDestroy(()=>{t._unregisterOnChange(i)})}function vE(t,e){t==null,Sv(t,e)}function AP(t,e){return Qu(t,e)}function yE(t,e){if(!t.hasOwnProperty("model"))return!1;let i=t.model;return i.isFirstChange()?!0:!Object.is(e,i.currentValue)}function _P(t){return Object.getPrototypeOf(t.constructor)===ZL}function bE(t,e){t._syncPendingControls(),e.forEach(i=>{let n=i.control;n.updateOn==="submit"&&n._pendingChange&&(i.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function AE(t,e){if(!e)return null;Array.isArray(e);let i,n,r;return e.forEach(o=>{o.constructor===Ds?i=o:_P(o)?n=o:r=o}),r||n||i||null}function xP(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function Jw(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function eE(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var nE,ZL,Dv,$L,JL,Ds,Ku,qu,eP,rl,Hu,fo,Di,Ev,dP,lK,Yu,tl,Bu,Es,nl,zu,ol,Is,$u,CP,il,Tv,al,wP,EP,tE,Xu,_E,DP,Ov,IP,Ju,xE,ef,CE,ho=g(()=>{"use strict";O();O();Ie();Ke();at();nE=(()=>{let e=class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};e.\u0275fac=function(r){return new(r||e)(f(Rn),f(P))},e.\u0275dir=V({type:e});let t=e;return t})(),ZL=(()=>{let e=class e extends nE{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=it(e)))(o||e)}})(),e.\u0275dir=V({type:e,features:[Ce]});let t=e;return t})(),Dv=new C(""),$L={provide:Dv,useExisting:Xi(()=>Ds),multi:!0};JL=new C(""),Ds=(()=>{let e=class e extends nE{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!XL())}writeValue(n){let r=n??"";this.setProperty("value",r)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}};e.\u0275fac=function(r){return new(r||e)(f(Rn),f(P),f(JL,8))},e.\u0275dir=V({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){r&1&&K("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[_t([$L]),Ce]});let t=e;return t})();Ku=new C(""),qu=new C(""),eP=/^(?=.{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])?)*$/,rl=class{static min(e){return tP(e)}static max(e){return nP(e)}static required(e){return iP(e)}static requiredTrue(e){return rP(e)}static email(e){return oP(e)}static minLength(e){return sP(e)}static maxLength(e){return aP(e)}static pattern(e){return lP(e)}static nullValidator(e){return rE(e)}static compose(e){return dE(e)}static composeAsync(e){return uE(e)}};Hu=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=Iv(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Mv(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,i){return this.control?this.control.hasError(e,i):!1}getError(e,i){return this.control?this.control.getError(e,i):null}},fo=class extends Hu{get formDirective(){return null}get path(){return null}},Di=class extends Hu{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Ev=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},dP={"[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"},lK=we(A({},dP),{"[class.ng-submitted]":"isSubmitted"}),Yu=(()=>{let e=class e extends Ev{constructor(n){super(n)}};e.\u0275fac=function(r){return new(r||e)(f(Di,2))},e.\u0275dir=V({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&pe("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[Ce]});let t=e;return t})(),tl="VALID",Bu="INVALID",Es="PENDING",nl="DISABLED";zu=class{constructor(e,i){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(i)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===tl}get invalid(){return this.status===Bu}get pending(){return this.status==Es}get disabled(){return this.status===nl}get enabled(){return this.status!==nl}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators($w(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators($w(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Xw(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Xw(e,this._rawAsyncValidators))}hasValidator(e){return Uu(this._rawValidators,e)}hasAsyncValidator(e){return Uu(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(i=>{i.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=Es,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let i=this._parentMarkedDirty(e.onlySelf);this.status=nl,this.errors=null,this._forEachChild(n=>{n.disable(we(A({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(we(A({},e),{skipPristineCheck:i})),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){let i=this._parentMarkedDirty(e.onlySelf);this.status=tl,this._forEachChild(n=>{n.enable(we(A({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(we(A({},e),{skipPristineCheck:i})),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===tl||this.status===Es)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(i=>i._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?nl:tl}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=Es,this._hasOwnPendingAsyncValidator=!0;let i=sE(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,i={}){this.errors=e,this._updateControlsErrors(i.emitEvent!==!1)}get(e){let i=e;return i==null||(Array.isArray(i)||(i=i.split(".")),i.length===0)?null:i.reduce((n,r)=>n&&n._find(r),this)}getError(e,i){let n=i?this.get(i):this;return n&&n.errors?n.errors[e]:null}hasError(e,i){return!!this.getError(e,i)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new G,this.statusChanges=new G}_calculateStatus(){return this._allControlsDisabled()?nl:this.errors?Bu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Es)?Es:this._anyControlsHaveStatus(Bu)?Bu:tl}_anyControlsHaveStatus(e){return this._anyControls(i=>i.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Zu(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let i=this._parent&&this._parent.dirty;return!e&&!!i&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=uP(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=fP(this._rawAsyncValidators)}},ol=class extends zu{constructor(e,i,n){super(mE(i),pE(n,i)),this.controls=e,this._initObservables(),this._setUpdateStrategy(i),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,i){return this.controls[e]?this.controls[e]:(this.controls[e]=i,i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange),i)}addControl(e,i,n={}){this.registerControl(e,i),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,i={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}setControl(e,i,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],i&&this.registerControl(e,i),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,i={}){mP(this,!0,e),Object.keys(e).forEach(n=>{hP(this,!0,n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i)}patchValue(e,i={}){e!=null&&(Object.keys(e).forEach(n=>{let r=this.controls[n];r&&r.patchValue(e[n],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i))}reset(e={},i={}){this._forEachChild((n,r)=>{n.reset(e?e[r]:null,{onlySelf:!0,emitEvent:i.emitEvent})}),this._updatePristine(i),this._updateTouched(i),this.updateValueAndValidity(i)}getRawValue(){return this._reduceChildren({},(e,i,n)=>(e[n]=i.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(i,n)=>n._syncPendingControls()?!0:i);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(i=>{let n=this.controls[i];n&&e(n,i)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[i,n]of Object.entries(this.controls))if(this.contains(i)&&e(n))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(i,n,r)=>((n.enabled||this.disabled)&&(i[r]=n.value),i))}_reduceChildren(e,i){let n=e;return this._forEachChild((r,o)=>{n=i(n,r,o)}),n}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}},Is=new C("CallSetDisabledState",{providedIn:"root",factory:()=>$u}),$u="always";CP={provide:fo,useExisting:Xi(()=>Tv)},il=Promise.resolve(),Tv=(()=>{let e=class e extends fo{constructor(n,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new G,this.form=new ol({},Iv(n),Mv(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){il.then(()=>{let r=this._findContainer(n.path);n.control=r.registerControl(n.name,n.control),sl(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){il.then(()=>{let r=this._findContainer(n.path);r&&r.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){il.then(()=>{let r=this._findContainer(n.path),o=new ol({});vE(o,n),r.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){il.then(()=>{let r=this._findContainer(n.path);r&&r.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,r){il.then(()=>{this.form.get(n.path).setValue(r)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,bE(this.form,this._directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}};e.\u0275fac=function(r){return new(r||e)(f(Ku,10),f(qu,10),f(Is,8))},e.\u0275dir=V({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,o){r&1&&K("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[w.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[_t([CP]),Ce]});let t=e;return t})();al=class extends zu{constructor(e=null,i,n){super(mE(i),pE(n,i)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(i),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Zu(i)&&(i.nonNullable||i.initialValueIsDefault)&&(eE(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,i={}){this.value=this._pendingValue=e,this._onChange.length&&i.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,i.emitViewToModelChange!==!1)),this.updateValueAndValidity(i)}patchValue(e,i={}){this.setValue(e,i)}reset(e=this.defaultValue,i={}){this._applyFormState(e),this.markAsPristine(i),this.markAsUntouched(i),this.setValue(this.value,i),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){Jw(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Jw(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){eE(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}},wP=t=>t instanceof al,EP={provide:Di,useExisting:Xi(()=>Xu)},tE=Promise.resolve(),Xu=(()=>{let e=class e extends Di{constructor(n,r,o,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new al,this._registered=!1,this.name="",this.update=new G,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=AE(this,s)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),yE(n,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(n){this.viewModel=n,this.update.emit(n)}_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(){sl(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(n){tE.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let r=n.isDisabled.currentValue,o=r!==0&&De(r);tE.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?pP(n,this._parent):[n]}};e.\u0275fac=function(r){return new(r||e)(f(fo,9),f(Ku,10),f(qu,10),f(Dv,10),f(Pe,8),f(Is,8))},e.\u0275dir=V({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[w.None,"disabled","isDisabled"],model:[w.None,"ngModel","model"],options:[w.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[_t([EP]),Ce,He]});let t=e;return t})(),_E=new C(""),DP={provide:Di,useExisting:Xi(()=>Ov)},Ov=(()=>{let e=class e extends Di{set isDisabled(n){}constructor(n,r,o,s,a){super(),this._ngModelWarningConfig=s,this.callSetDisabledState=a,this.update=new G,this._ngModelWarningSent=!1,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=AE(this,o)}ngOnChanges(n){if(this._isControlChanged(n)){let r=n.form.previousValue;r&&Wu(r,this,!1),sl(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}yE(n,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Wu(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_isControlChanged(n){return n.hasOwnProperty("form")}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(r){return new(r||e)(f(Ku,10),f(qu,10),f(Dv,10),f(_E,8),f(Is,8))},e.\u0275dir=V({type:e,selectors:[["","formControl",""]],inputs:{form:[w.None,"formControl","form"],isDisabled:[w.None,"disabled","isDisabled"],model:[w.None,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[_t([DP]),Ce,He]});let t=e;return t})(),IP={provide:fo,useExisting:Xi(()=>Ju)},Ju=(()=>{let e=class e extends fo{constructor(n,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new G,this._setValidators(n),this._setAsyncValidators(r)}ngOnChanges(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Qu(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){let r=this.form.get(n.path);return sl(r,n,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),r}getControl(n){return this.form.get(n.path)}removeControl(n){Wu(n.control||null,n,!1),xP(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,r){this.form.get(n.path).setValue(r)}onSubmit(n){return this.submitted=!0,bE(this.form,this.directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_updateDomValue(){this.directives.forEach(n=>{let r=n.control,o=this.form.get(n.path);r!==o&&(Wu(r||null,n),wP(o)&&(sl(o,n,this.callSetDisabledState),n.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){let r=this.form.get(n.path);vE(r,n),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){let r=this.form.get(n.path);r&&AP(r,n)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Sv(this.form,this),this._oldForm&&Qu(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(r){return new(r||e)(f(Ku,10),f(qu,10),f(Is,8))},e.\u0275dir=V({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,o){r&1&&K("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[w.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[_t([IP]),Ce,He]});let t=e;return t})(),xE=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({});let t=e;return t})(),ef=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:Is,useValue:n.callSetDisabledState??$u}]}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[xE]});let t=e;return t})(),CE=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:_E,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:Is,useValue:n.callSetDisabledState??$u}]}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[xE]});let t=e;return t})()});function MP(){if(ll==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ll=!0}))}finally{ll=ll||!1}return ll}function qn(t){return MP()?t:!!t.capture}function wE(){if(mo==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return mo=!1,mo;if("scrollBehavior"in document.documentElement.style)mo=!0;else{let t=Element.prototype.scrollTo;t?mo=!/\{\s*\[native code\]\s*\}/.test(t.toString()):mo=!1}}return mo}function SP(){if(Fv==null){let t=typeof document<"u"?document.head:null;Fv=!!(t&&(t.createShadowRoot||t.attachShadow))}return Fv}function EE(t){if(SP()){let e=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function cl(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}function mn(t){return t.composedPath?t.composedPath()[0]:t.target}function dl(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var kv,Ne,ll,mo,Fv,Wt=g(()=>{"use strict";O();O();Ie();try{kv=typeof Intl<"u"&&Intl.v8BreakIterator}catch{kv=!1}Ne=(()=>{let e=class e{constructor(n){this._platformId=n,this.isBrowser=this._platformId?Kn(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||kv)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};e.\u0275fac=function(r){return new(r||e)(p(bt))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})()});function It(t,...e){return e.length?e.some(i=>t[i]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var Ii=g(()=>{"use strict"});function Ms(t){return t!=null&&`${t}`!="false"}function ur(t,e=0){return TP(t)?Number(t):e}function TP(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Ss(t){return Array.isArray(t)?t:[t]}function ut(t){return t==null?"":typeof t=="string"?t:`${t}px`}function Mi(t){return t instanceof P?t.nativeElement:t}var Si=g(()=>{"use strict";O()});var OP,tf,Lv=g(()=>{"use strict";O();OP=(()=>{let e=class e{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),tf=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({providers:[OP]});let t=e;return t})()});function FP(t,e){if(!DE.has(t))try{po||(po=document.createElement("style"),e&&po.setAttribute("nonce",e),po.setAttribute("type","text/css"),document.head.appendChild(po)),po.sheet&&(po.sheet.insertRule(`@media ${t} {body{ }}`,0),DE.add(t))}catch(i){console.error(i)}}function kP(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}function IE(t){return t.map(e=>e.split(",")).reduce((e,i)=>e.concat(i)).map(e=>e.trim())}var DE,po,RP,ME,SE=g(()=>{"use strict";O();O();Si();Ke();at();Wt();DE=new Set,RP=(()=>{let e=class e{constructor(n,r){this._platform=n,this._nonce=r,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):kP}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&FP(n,this._nonce),this._matchMedia(n)}};e.\u0275fac=function(r){return new(r||e)(p(Ne),p(ro,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();ME=(()=>{let e=class e{constructor(n,r){this._mediaMatcher=n,this._zone=r,this._queries=new Map,this._destroySubject=new k}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return IE(Ss(n)).some(o=>this._registerQuery(o).mql.matches)}observe(n){let o=IE(Ss(n)).map(a=>this._registerQuery(a).observable),s=Br(o);return s=Xt(s.pipe(Ae(1)),s.pipe(Aa(1),ai(0))),s.pipe(B(a=>{let l={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:d})=>{l.matches=l.matches||c,l.breakpoints[d]=c}),l}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let r=this._mediaMatcher.matchMedia(n),s={observable:new X(a=>{let l=c=>this._zone.run(()=>a.next(c));return r.addListener(l),()=>{r.removeListener(l)}}).pipe(Ct(r),B(({matches:a})=>({query:n,matches:a})),te(this._destroySubject)),mql:r};return this._queries.set(n,s),s}};e.\u0275fac=function(r){return new(r||e)(p(RP),p(F))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})()});function Uv(t,e,i){let n=sf(t,e);i=i.trim(),!n.some(r=>r.trim()===i)&&(n.push(i),t.setAttribute(e,n.join(kE)))}function df(t,e,i){let n=sf(t,e);i=i.trim();let r=n.filter(o=>o!==i);r.length?t.setAttribute(e,r.join(kE)):t.removeAttribute(e)}function sf(t,e){return t.getAttribute(e)?.match(/\S+/g)??[]}function Pv(t,e){return typeof t=="string"?`${e||""}/${t}`:t}function TE(t,e){t.id||(t.id=`${LE}-${e}-${jv++}`)}function qP(t){try{return t.frameElement}catch{return null}}function YP(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function ZP(t){let e=t.nodeName.toLowerCase();return e==="input"||e==="select"||e==="button"||e==="textarea"}function $P(t){return JP(t)&&t.type=="hidden"}function XP(t){return eN(t)&&t.hasAttribute("href")}function JP(t){return t.nodeName.toLowerCase()=="input"}function eN(t){return t.nodeName.toLowerCase()=="a"}function NE(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let e=t.getAttribute("tabindex");return!!(e&&!isNaN(parseInt(e,10)))}function OE(t){if(!NE(t))return null;let e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}function tN(t){let e=t.nodeName.toLowerCase(),i=e==="input"&&t.type;return i==="text"||i==="password"||e==="select"||e==="textarea"}function nN(t){return $P(t)?!1:ZP(t)||XP(t)||t.hasAttribute("contenteditable")||NE(t)}function iN(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}function fl(t){return t.buttons===0||t.detail===0}function hl(t){let e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}function lN(){return null}var kE,LE,nf,jv,PE,af,lf,cf,ul,Vv,uf,rN,oN,jE,Ts,sN,aN,cN,dN,VE,of,uN,rf,Ln,go,RE,FE,Nv,Hv,ff,nn=g(()=>{"use strict";Ie();O();O();Wt();Wt();Ke();Ii();at();Lv();Si();SE();kE=" ";LE="cdk-describedby-message",nf="cdk-describedby-host",jv=0,PE=(()=>{let e=class e{constructor(n,r){this._platform=r,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${jv++}`,this._document=n,this._id=y(Va)+"-"+jv++}describe(n,r,o){if(!this._canBeDescribed(n,r))return;let s=Pv(r,o);typeof r!="string"?(TE(r,this._id),this._messageRegistry.set(s,{messageElement:r,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(r,o),this._isElementDescribedByMessage(n,s)||this._addMessageReference(n,s)}removeDescription(n,r,o){if(!r||!this._isElementNode(n))return;let s=Pv(r,o);if(this._isElementDescribedByMessage(n,s)&&this._removeMessageReference(n,s),typeof r=="string"){let a=this._messageRegistry.get(s);a&&a.referenceCount===0&&this._deleteMessageElement(s)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let n=this._document.querySelectorAll(`[${nf}="${this._id}"]`);for(let r=0;r<n.length;r++)this._removeCdkDescribedByReferenceIds(n[r]),n[r].removeAttribute(nf);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(n,r){let o=this._document.createElement("div");TE(o,this._id),o.textContent=n,r&&o.setAttribute("role",r),this._createMessagesContainer(),this._messagesContainer.appendChild(o),this._messageRegistry.set(Pv(n,r),{messageElement:o,referenceCount:0})}_deleteMessageElement(n){this._messageRegistry.get(n)?.messageElement?.remove(),this._messageRegistry.delete(n)}_createMessagesContainer(){if(this._messagesContainer)return;let n="cdk-describedby-message-container",r=this._document.querySelectorAll(`.${n}[platform="server"]`);for(let s=0;s<r.length;s++)r[s].remove();let o=this._document.createElement("div");o.style.visibility="hidden",o.classList.add(n),o.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&o.setAttribute("platform","server"),this._document.body.appendChild(o),this._messagesContainer=o}_removeCdkDescribedByReferenceIds(n){let r=sf(n,"aria-describedby").filter(o=>o.indexOf(LE)!=0);n.setAttribute("aria-describedby",r.join(" "))}_addMessageReference(n,r){let o=this._messageRegistry.get(r);Uv(n,"aria-describedby",o.messageElement.id),n.setAttribute(nf,this._id),o.referenceCount++}_removeMessageReference(n,r){let o=this._messageRegistry.get(r);o.referenceCount--,df(n,"aria-describedby",o.messageElement.id),n.removeAttribute(nf)}_isElementDescribedByMessage(n,r){let o=sf(n,"aria-describedby"),s=this._messageRegistry.get(r),a=s&&s.messageElement.id;return!!a&&o.indexOf(a)!=-1}_canBeDescribed(n,r){if(!this._isElementNode(n))return!1;if(r&&typeof r=="object")return!0;let o=r==null?"":`${r}`.trim(),s=n.getAttribute("aria-label");return o?!s||s.trim()!==o:!1}_isElementNode(n){return n.nodeType===this._document.ELEMENT_NODE}};e.\u0275fac=function(r){return new(r||e)(p(U),p(Ne))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();af=class{constructor(e,i){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new k,this._typeaheadSubscription=be.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=n=>n.disabled,this._pressedLetters=[],this.tabOut=new k,this.change=new k,e instanceof Yi?this._itemChangesSubscription=e.changes.subscribe(n=>this._itemsChanged(n.toArray())):uu(e)&&(this._effectRef=Ug(()=>this._itemsChanged(e()),{injector:i}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Le(i=>this._pressedLetters.push(i)),ai(e),de(()=>this._pressedLetters.length>0),B(()=>this._pressedLetters.join(""))).subscribe(i=>{let n=this._getItemsArray();for(let r=1;r<n.length+1;r++){let o=(this._activeItemIndex+r)%n.length,s=n[o];if(!this._skipPredicateFn(s)&&s.getLabel().toUpperCase().trim().indexOf(i)===0){this.setActiveItem(o);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}withPageUpDown(e=!0,i=10){return this._pageUpAndDown={enabled:e,delta:i},this}setActiveItem(e){let i=this._activeItem;this.updateActiveItem(e),this._activeItem!==i&&this.change.next(this._activeItemIndex)}onKeydown(e){let i=e.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(i){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||It(e,"shiftKey"))&&(e.key&&e.key.length===1?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(i>=65&&i<=90||i>=48&&i<=57)&&this._letterKeyStream.next(String.fromCharCode(i)));return}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._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(e){let i=this._getItemsArray(),n=typeof e=="number"?e:i.indexOf(e),r=i[n];this._activeItem=r??null,this._activeItemIndex=n}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let i=this._getItemsArray();for(let n=1;n<=i.length;n++){let r=(this._activeItemIndex+e*n+i.length)%i.length,o=i[r];if(!this._skipPredicateFn(o)){this.setActiveItem(r);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,i){let n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(e+=i,!n[e])return;this.setActiveItem(e)}}_getItemsArray(){return uu(this._items)?this._items():this._items instanceof Yi?this._items.toArray():this._items}_itemsChanged(e){if(this._activeItem){let i=e.indexOf(this._activeItem);i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i)}}},lf=class extends af{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}},cf=class extends af{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}},ul=(()=>{let e=class e{constructor(n){this._platform=n}isDisabled(n){return n.hasAttribute("disabled")}isVisible(n){return YP(n)&&getComputedStyle(n).visibility==="visible"}isTabbable(n){if(!this._platform.isBrowser)return!1;let r=qP(iN(n));if(r&&(OE(r)===-1||!this.isVisible(r)))return!1;let o=n.nodeName.toLowerCase(),s=OE(n);return n.hasAttribute("contenteditable")?s!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!tN(n)?!1:o==="audio"?n.hasAttribute("controls")?s!==-1:!1:o==="video"?s===-1?!1:s!==null?!0:this._platform.FIREFOX||n.hasAttribute("controls"):n.tabIndex>=0}isFocusable(n,r){return nN(n)&&!this.isDisabled(n)&&(r?.ignoreVisibility||this.isVisible(n))}};e.\u0275fac=function(r){return new(r||e)(p(Ne))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();Vv=class{get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}constructor(e,i,n,r,o=!1){this._element=e,this._checker=i,this._ngZone=n,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let e=this._startAnchor,i=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),i&&(i.removeEventListener("focus",this.endAnchorListener),i.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(e){return new Promise(i=>{this._executeOnStable(()=>i(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(i=>{this._executeOnStable(()=>i(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(i=>{this._executeOnStable(()=>i(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let i=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?i.length?i[0]:this._getFirstTabbableElement(this._element):i.length?i[i.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let i=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(i){if(!this._checker.isFocusable(i)){let n=this._getFirstTabbableElement(i);return n?.focus(e),!!n}return i.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let i=this._getRegionBoundary("start");return i&&i.focus(e),!!i}focusLastTabbableElement(e){let i=this._getRegionBoundary("end");return i&&i.focus(e),!!i}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let i=e.children;for(let n=0;n<i.length;n++){let r=i[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(i[n]):null;if(r)return r}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let i=e.children;for(let n=i.length-1;n>=0;n--){let r=i[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(i[n]):null;if(r)return r}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,i){e?i.setAttribute("tabindex","0"):i.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(Ae(1)).subscribe(e)}},uf=(()=>{let e=class e{constructor(n,r,o){this._checker=n,this._ngZone=r,this._document=o}create(n,r=!1){return new Vv(n,this._checker,this._ngZone,this._document,r)}};e.\u0275fac=function(r){return new(r||e)(p(ul),p(F),p(U))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();rN=new C("cdk-input-modality-detector-options"),oN={ignoreKeys:[18,17,224,91,16]},jE=650,Ts=qn({passive:!0,capture:!0}),sN=(()=>{let e=class e{get mostRecentModality(){return this._modality.value}constructor(n,r,o,s){this._platform=n,this._mostRecentTarget=null,this._modality=new ot(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(l=>l===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=mn(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<jE||(this._modality.next(fl(a)?"keyboard":"mouse"),this._mostRecentTarget=mn(a))},this._onTouchstart=a=>{if(hl(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=mn(a)},this._options=A(A({},oN),s),this.modalityDetected=this._modality.pipe(Aa(1)),this.modalityChanged=this.modalityDetected.pipe(Hr()),n.isBrowser&&r.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Ts),o.addEventListener("mousedown",this._onMousedown,Ts),o.addEventListener("touchstart",this._onTouchstart,Ts)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ts),document.removeEventListener("mousedown",this._onMousedown,Ts),document.removeEventListener("touchstart",this._onTouchstart,Ts))}};e.\u0275fac=function(r){return new(r||e)(p(Ne),p(F),p(U),p(rN,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),aN=new C("liveAnnouncerElement",{providedIn:"root",factory:lN});cN=new C("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),dN=0,VE=(()=>{let e=class e{constructor(n,r,o,s){this._ngZone=r,this._defaultOptions=s,this._document=o,this._liveElement=n||this._createLiveElement()}announce(n,...r){let o=this._defaultOptions,s,a;return r.length===1&&typeof r[0]=="number"?a=r[0]:[s,a]=r,this.clear(),clearTimeout(this._previousTimeout),s||(s=o&&o.politeness?o.politeness:"polite"),a==null&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(l=>this._currentResolve=l)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=n,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let n="cdk-live-announcer-element",r=this._document.getElementsByClassName(n),o=this._document.createElement("div");for(let s=0;s<r.length;s++)r[s].remove();return o.classList.add(n),o.classList.add("cdk-visually-hidden"),o.setAttribute("aria-atomic","true"),o.setAttribute("aria-live","polite"),o.id=`cdk-live-announcer-${dN++}`,this._document.body.appendChild(o),o}_exposeAnnouncerToModals(n){let r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<r.length;o++){let s=r[o],a=s.getAttribute("aria-owns");a?a.indexOf(n)===-1&&s.setAttribute("aria-owns",a+" "+n):s.setAttribute("aria-owns",n)}}};e.\u0275fac=function(r){return new(r||e)(p(aN,8),p(F),p(U),p(cN,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),of=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(of||{}),uN=new C("cdk-focus-monitor-default-options"),rf=qn({passive:!0,capture:!0}),Ln=(()=>{let e=class e{constructor(n,r,o,s,a){this._ngZone=n,this._platform=r,this._inputModalityDetector=o,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 k,this._rootNodeFocusAndBlurListener=l=>{let c=mn(l);for(let d=c;d;d=d.parentElement)l.type==="focus"?this._onFocus(l,d):this._onBlur(l,d)},this._document=s,this._detectionMode=a?.detectionMode||of.IMMEDIATE}monitor(n,r=!1){let o=Mi(n);if(!this._platform.isBrowser||o.nodeType!==1)return R();let s=EE(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return r&&(a.checkChildren=!0),a.subject;let l={checkChildren:r,subject:new k,rootNode:s};return this._elementInfo.set(o,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(n){let r=Mi(n),o=this._elementInfo.get(r);o&&(o.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(o))}focusVia(n,r,o){let s=Mi(n),a=this._getDocument().activeElement;s===a?this._getClosestElementsInfo(s).forEach(([l,c])=>this._originChanged(l,r,c)):(this._setOrigin(r),typeof s.focus=="function"&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((n,r)=>this.stopMonitoring(r))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?"mouse":"program"}_shouldBeAttributedToTouch(n){return this._detectionMode===of.EVENTUAL||!!n?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(n,r){n.classList.toggle("cdk-focused",!!r),n.classList.toggle("cdk-touch-focused",r==="touch"),n.classList.toggle("cdk-keyboard-focused",r==="keyboard"),n.classList.toggle("cdk-mouse-focused",r==="mouse"),n.classList.toggle("cdk-program-focused",r==="program")}_setOrigin(n,r=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=n,this._originFromTouchInteraction=n==="touch"&&r,this._detectionMode===of.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?jE:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(n,r){let o=this._elementInfo.get(r),s=mn(n);!o||!o.checkChildren&&r!==s||this._originChanged(r,this._getFocusOrigin(s),o)}_onBlur(n,r){let o=this._elementInfo.get(r);!o||o.checkChildren&&n.relatedTarget instanceof Node&&r.contains(n.relatedTarget)||(this._setClasses(r),this._emitOrigin(o,null))}_emitOrigin(n,r){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(r))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;let r=n.rootNode,o=this._rootNodeFocusListenerCount.get(r)||0;o||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,rf),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,rf)}),this._rootNodeFocusListenerCount.set(r,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(te(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(n){let r=n.rootNode;if(this._rootNodeFocusListenerCount.has(r)){let o=this._rootNodeFocusListenerCount.get(r);o>1?this._rootNodeFocusListenerCount.set(r,o-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,rf),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,rf),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,r,o){this._setClasses(n,r),this._emitOrigin(o,r),this._lastFocusOrigin=r}_getClosestElementsInfo(n){let r=[];return this._elementInfo.forEach((o,s)=>{(s===n||o.checkChildren&&s.contains(n))&&r.push([s,o])}),r}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:r,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!r||r===n||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA"||n.disabled)return!1;let s=n.labels;if(s){for(let a=0;a<s.length;a++)if(s[a].contains(r))return!0}return!1}};e.\u0275fac=function(r){return new(r||e)(p(F),p(Ne),p(sN),p(U,8),p(uN,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),go=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}(go||{}),RE="cdk-high-contrast-black-on-white",FE="cdk-high-contrast-white-on-black",Nv="cdk-high-contrast-active",Hv=(()=>{let e=class e{constructor(n,r){this._platform=n,this._document=r,this._breakpointSubscription=y(ME).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return go.NONE;let n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);let r=this._document.defaultView||window,o=r&&r.getComputedStyle?r.getComputedStyle(n):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(n.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return go.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return go.BLACK_ON_WHITE}return go.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(Nv,RE,FE),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===go.BLACK_ON_WHITE?n.add(Nv,RE):r===go.WHITE_ON_BLACK&&n.add(Nv,FE)}}};e.\u0275fac=function(r){return new(r||e)(p(Ne),p(U))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ff=(()=>{let e=class e{constructor(n){n._applyBodyHighContrastModeCssClasses()}};e.\u0275fac=function(r){return new(r||e)(p(Hv))},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[tf]});let t=e;return t})()});function hN(){return y(U)}function pN(t){let e=t?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?mN.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var fN,mN,Lt,Yn,pn=g(()=>{"use strict";O();O();Ie();fN=new C("cdk-dir-doc",{providedIn:"root",factory:hN});mN=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;Lt=(()=>{let e=class e{constructor(n){if(this.value="ltr",this.change=new G,n){let r=n.body?n.body.dir:null,o=n.documentElement?n.documentElement.dir:null;this.value=pN(r||o||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(r){return new(r||e)(p(fN,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Yn=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({});let t=e;return t})()});function bN(t,e){if(t&1&&ne(0,"mat-pseudo-checkbox",1),t&2){let i=z();D("disabled",i.disabled)("state",i.selected?"checked":"unchecked")}}function AN(t,e){if(t&1&&ne(0,"mat-pseudo-checkbox",3),t&2){let i=z();D("disabled",i.disabled)}}function _N(t,e){if(t&1&&(E(0,"span",4),ue(1),S()),t&2){let i=z();x(),dt("(",i.group.label,")")}}function xN(){return!0}function EN(t,e,i){let n=Math.max(Math.abs(t-i.left),Math.abs(t-i.right)),r=Math.max(Math.abs(e-i.top),Math.abs(e-i.bottom));return Math.sqrt(n*n+r*r)}function ZE(t,e,i){if(i.length){let n=e.toArray(),r=i.toArray(),o=0;for(let s=0;s<t+1;s++)n[s].group&&n[s].group===r[o]&&o++;return o}return 0}function $E(t,e,i,n){return t<i?t:t+e>i+n?Math.max(0,t-n+e):i}var gN,vN,yN,CN,ze,mf,qE,gn,Gv,BE,Qv,UE,wN,HE,zE,WE,ml,Kv,YE,pf,pl,DN,IN,Yv,Zv,MN,qv,Vs,$v,GE,QE,zv,Wv,KE,hf,XE,vn=g(()=>{"use strict";O();O();nn();nn();pn();Ie();Wt();Wt();Si();Ke();Ii();gN=["text"],vN=[[["mat-icon"]],"*"],yN=["mat-icon","*"];CN=new C("mat-sanity-checks",{providedIn:"root",factory:xN}),ze=(()=>{let e=class e{constructor(n,r,o){this._sanityChecks=r,this._document=o,this._hasDoneGlobalChecks=!1,n._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(n){return dl()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[n]}};e.\u0275fac=function(r){return new(r||e)(p(Hv),p(CN,8),p(U))},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[Yn,Yn]});let t=e;return t})(),mf=class{constructor(e,i,n,r,o){this._defaultMatcher=e,this.ngControl=i,this._parentFormGroup=n,this._parentForm=r,this._stateChanges=o,this.errorState=!1}updateErrorState(){let e=this.errorState,i=this._parentFormGroup||this._parentForm,n=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=n?.isErrorState(r,i)??!1;o!==e&&(this.errorState=o,this._stateChanges.next())}},qE=(()=>{let e=class e{isErrorState(n,r){return!!(n&&n.invalid&&(n.touched||r&&r.submitted))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),gn=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}(gn||{}),Gv=class{constructor(e,i,n,r=!1){this._renderer=e,this.element=i,this.config=n,this._animationForciblyDisabledThroughCss=r,this.state=gn.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},BE=qn({passive:!0,capture:!0}),Qv=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let i=mn(e);i&&this._events.get(e.type)?.forEach((n,r)=>{(r===i||r.contains(i))&&n.forEach(o=>o.handleEvent(e))})}}addHandler(e,i,n,r){let o=this._events.get(i);if(o){let s=o.get(n);s?s.add(r):o.set(n,new Set([r]))}else this._events.set(i,new Map([[n,new Set([r])]])),e.runOutsideAngular(()=>{document.addEventListener(i,this._delegateEventHandler,BE)})}removeHandler(e,i,n){let r=this._events.get(e);if(!r)return;let o=r.get(i);o&&(o.delete(n),o.size===0&&r.delete(i),r.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,BE)))}},UE={enterDuration:225,exitDuration:150},wN=800,HE=qn({passive:!0,capture:!0}),zE=["mousedown","touchstart"],WE=["mouseup","mouseleave","touchend","touchcancel"],ml=class ml{constructor(e,i,n,r){this._target=e,this._ngZone=i,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Mi(n))}fadeInRipple(e,i,n={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=A(A({},UE),n.animation);n.centered&&(e=r.left+r.width/2,i=r.top+r.height/2);let s=n.radius||EN(e,i,r),a=e-r.left,l=i-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`,n.color!=null&&(d.style.backgroundColor=n.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let u=window.getComputedStyle(d),h=u.transitionProperty,m=u.transitionDuration,v=h==="none"||m==="0s"||m==="0s, 0s"||r.width===0&&r.height===0,_=new Gv(this,d,n,v);d.style.transform="scale3d(1, 1, 1)",_.state=gn.FADING_IN,n.persistent||(this._mostRecentTransientRipple=_);let I=null;return!v&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let M=()=>this._finishRippleTransition(_),L=()=>this._destroyRipple(_);d.addEventListener("transitionend",M),d.addEventListener("transitioncancel",L),I={onTransitionEnd:M,onTransitionCancel:L}}),this._activeRipples.set(_,I),(v||!c)&&this._finishRippleTransition(_),_}fadeOutRipple(e){if(e.state===gn.FADING_OUT||e.state===gn.HIDDEN)return;let i=e.element,n=A(A({},UE),e.config.animation);i.style.transitionDuration=`${n.exitDuration}ms`,i.style.opacity="0",e.state=gn.FADING_OUT,(e._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let i=Mi(e);!this._platform.isBrowser||!i||i===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=i,zE.forEach(n=>{ml._eventManager.addHandler(this._ngZone,n,i,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{WE.forEach(i=>{this._triggerElement.addEventListener(i,this,HE)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===gn.FADING_IN?this._startFadeOutTransition(e):e.state===gn.FADING_OUT&&this._destroyRipple(e)}_startFadeOutTransition(e){let i=e===this._mostRecentTransientRipple,{persistent:n}=e.config;e.state=gn.VISIBLE,!n&&(!i||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let i=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=gn.HIDDEN,i!==null&&(e.element.removeEventListener("transitionend",i.onTransitionEnd),e.element.removeEventListener("transitioncancel",i.onTransitionCancel)),e.element.remove()}_onMousedown(e){let i=fl(e),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+wN;!this._target.rippleDisabled&&!i&&!n&&(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}_onTouchStart(e){if(!this._target.rippleDisabled&&!hl(e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let i=e.changedTouches;if(i)for(let n=0;n<i.length;n++)this.fadeInRipple(i[n].clientX,i[n].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(e=>{let i=e.state===gn.VISIBLE||e.config.terminateOnPointerUp&&e.state===gn.FADING_IN;!e.config.persistent&&i&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(zE.forEach(i=>ml._eventManager.removeHandler(i,e,this)),this._pointerUpEventsRegistered&&(WE.forEach(i=>e.removeEventListener(i,this,HE)),this._pointerUpEventsRegistered=!1))}};ml._eventManager=new Qv;Kv=ml;YE=new C("mat-ripple-global-options"),pf=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(n){n&&this.fadeOutAllNonPersistent(),this._disabled=n,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(n){this._trigger=n,this._setupTriggerEventsIfEnabled()}constructor(n,r,o,s,a){this._elementRef=n,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new Kv(this,r,n,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:A(A(A({},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(n,r=0,o){return typeof n=="number"?this._rippleRenderer.fadeInRipple(n,r,A(A({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,A(A({},this.rippleConfig),n))}};e.\u0275fac=function(r){return new(r||e)(f(P),f(F),f(Ne),f(YE,8),f(lt,8))},e.\u0275dir=V({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(r,o){r&2&&pe("mat-ripple-unbounded",o.unbounded)},inputs:{color:[w.None,"matRippleColor","color"],unbounded:[w.None,"matRippleUnbounded","unbounded"],centered:[w.None,"matRippleCentered","centered"],radius:[w.None,"matRippleRadius","radius"],animation:[w.None,"matRippleAnimation","animation"],disabled:[w.None,"matRippleDisabled","disabled"],trigger:[w.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let t=e;return t})(),pl=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[ze,ze]});let t=e;return t})(),DN=(()=>{let e=class e{constructor(n){this._animationMode=n,this.state="unchecked",this.disabled=!1,this.appearance="full"}};e.\u0275fac=function(r){return new(r||e)(f(lt,8))},e.\u0275cmp=ce({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(r,o){r&2&&pe("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[Ee],decls:0,vars:0,template:function(r,o){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0});let t=e;return t})(),IN=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[ze]});let t=e;return t})(),Yv=new C("MAT_OPTION_PARENT_COMPONENT"),Zv=new C("MatOptgroup"),MN=0,qv=class{constructor(e,i=!1){this.source=e,this.isUserInput=i}},Vs=(()=>{let e=class e{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(n){this._disabled=n}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(n,r,o,s){this._element=n,this._changeDetectorRef=r,this._parent=o,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${MN++}`,this.onSelectionChange=new G,this._stateChanges=new k}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(n=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),n&&this._emitSelectionChangeEvent())}deselect(n=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),n&&this._emitSelectionChangeEvent())}focus(n,r){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(r)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(n){(n.keyCode===13||n.keyCode===32)&&!It(n)&&(this._selectViaInteraction(),n.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 n=this.viewValue;n!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=n)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(n=!1){this.onSelectionChange.emit(new qv(this,n))}};e.\u0275fac=function(r){return new(r||e)(f(P),f(Pe),f(Yv,8),f(Zv,8))},e.\u0275cmp=ce({type:e,selectors:[["mat-option"]],viewQuery:function(r,o){if(r&1&&qe(gN,7),r&2){let s;ge(s=ve())&&(o._text=s.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(r,o){r&1&&K("click",function(){return o._selectViaInteraction()})("keydown",function(a){return o._handleKeydown(a)}),r&2&&(ir("id",o.id),_e("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),pe("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},inputs:{value:"value",id:"id",disabled:[w.HasDecoratorInputTransform,"disabled","disabled",De]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[ct,Ee],ngContentSelectors:yN,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(r,o){r&1&&(Dt(vN),Y(0,bN,1,2,"mat-pseudo-checkbox",1),Re(1),E(2,"span",2,0),Re(4,1),S(),Y(5,AN,1,1,"mat-pseudo-checkbox",3)(6,_N,2,1,"span",4),ne(7,"div",5)),r&2&&(rt(0,o.multiple?0:-1),x(5),rt(5,!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),x(),rt(6,o.group&&o.group._inert?6:-1),x(),D("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[DN,pf],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let t=e;return t})();$v=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[pl,ze,IN]});let t=e;return t})(),GE={capture:!0},QE=["focus","click","mouseenter","touchstart"],zv="mat-ripple-loader-uninitialized",Wv="mat-ripple-loader-class-name",KE="mat-ripple-loader-centered",hf="mat-ripple-loader-disabled",XE=(()=>{let e=class e{constructor(){this._document=y(U,{optional:!0}),this._animationMode=y(lt,{optional:!0}),this._globalRippleOptions=y(YE,{optional:!0}),this._platform=y(Ne),this._ngZone=y(F),this._hosts=new Map,this._onInteraction=n=>{if(!(n.target instanceof HTMLElement))return;let o=n.target.closest(`[${zv}]`);o&&this._createRipple(o)},this._ngZone.runOutsideAngular(()=>{for(let n of QE)this._document?.addEventListener(n,this._onInteraction,GE)})}ngOnDestroy(){let n=this._hosts.keys();for(let r of n)this.destroyRipple(r);for(let r of QE)this._document?.removeEventListener(r,this._onInteraction,GE)}configureRipple(n,r){n.setAttribute(zv,""),(r.className||!n.hasAttribute(Wv))&&n.setAttribute(Wv,r.className||""),r.centered&&n.setAttribute(KE,""),r.disabled&&n.setAttribute(hf,"")}getRipple(n){return this._hosts.get(n)||this._createRipple(n)}setDisabled(n,r){let o=this._hosts.get(n);if(o){o.disabled=r;return}r?n.setAttribute(hf,""):n.removeAttribute(hf)}_createRipple(n){if(!this._document)return;let r=this._hosts.get(n);if(r)return r;n.querySelector(".mat-ripple")?.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",n.getAttribute(Wv)),n.append(o);let s=new pf(new P(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return s._isInitialized=!0,s.trigger=n,s.centered=n.hasAttribute(KE),s.disabled=n.hasAttribute(hf),this.attachRipple(n,s),s}attachRipple(n,r){n.removeAttribute(zv),this._hosts.set(n,r)}destroyRipple(n){let r=this._hosts.get(n);r&&(r.ngOnDestroy(),this._hosts.delete(n))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})()});var SN,TN,ON,RN,FN,kN,LN,PN,JE,gl,vo,gf,vf=g(()=>{"use strict";Wt();O();O();nn();vn();SN=["mat-button",""],TN=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],ON=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],RN=".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}",FN=["mat-icon-button",""],kN=["*"],LN=new C("MAT_BUTTON_CONFIG"),PN=[{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"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],JE=(()=>{let e=class e{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(n){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,n)}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=n,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(n){this._disabled=n,this._updateRippleDisabled()}constructor(n,r,o,s){this._elementRef=n,this._platform=r,this._ngZone=o,this._animationMode=s,this._focusMonitor=y(Ln),this._rippleLoader=y(XE),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let a=y(LN,{optional:!0}),l=n.nativeElement,c=l.classList;this.disabledInteractive=a?.disabledInteractive??!1,this._rippleLoader?.configureRipple(l,{className:"mat-mdc-button-ripple"});for(let{attribute:d,mdcClasses:u}of PN)l.hasAttribute(d)&&c.add(...u)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(n="program",r){n?this._focusMonitor.focusVia(this._elementRef.nativeElement,n,r):this._elementRef.nativeElement.focus(r)}_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)}};e.\u0275fac=function(r){ms()},e.\u0275dir=V({type:e,inputs:{color:"color",disableRipple:[w.HasDecoratorInputTransform,"disableRipple","disableRipple",De],disabled:[w.HasDecoratorInputTransform,"disabled","disabled",De],ariaDisabled:[w.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",De],disabledInteractive:[w.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",De]},features:[ct]});let t=e;return t})(),gl=(()=>{let e=class e extends JE{constructor(n,r,o,s){super(n,r,o,s)}};e.\u0275fac=function(r){return new(r||e)(f(P),f(Ne),f(F),f(lt,8))},e.\u0275cmp=ce({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(r,o){r&2&&(_e("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),vi(o.color?"mat-"+o.color:""),pe("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[Ce,Ee],attrs:SN,ngContentSelectors:ON,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(r,o){r&1&&(Dt(TN),ne(0,"span",0),Re(1),E(2,"span",1),Re(3,1),S(),Re(4,2),ne(5,"span",2)(6,"span",3)),r&2&&pe("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{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;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.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__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.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)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-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)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-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[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{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.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)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-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)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-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[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{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.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)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-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)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-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:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.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)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * 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)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-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)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-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[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-button-base{text-decoration:none}.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-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.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;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0});let t=e;return t})(),vo=(()=>{let e=class e extends JE{constructor(n,r,o,s){super(n,r,o,s),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};e.\u0275fac=function(r){return new(r||e)(f(P),f(Ne),f(F),f(lt,8))},e.\u0275cmp=ce({type:e,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(r,o){r&2&&(_e("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),vi(o.color?"mat-"+o.color:""),pe("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[Ce,Ee],attrs:FN,ngContentSelectors:kN,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(r,o){r&1&&(Dt(),ne(0,"span",0),Re(1),ne(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{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;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{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);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.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 .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{z-index:1}.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)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-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)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-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.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}',RN],encapsulation:2,changeDetection:0});let t=e;return t})(),gf=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[ze,pl,ze]});let t=e;return t})()});function VN(){if(yf===void 0&&(yf=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(yf=t.trustedTypes.createPolicy("angular#components",{createHTML:e=>e}))}return yf}function vl(t){return VN()?.createHTML(t)||t}function eD(t){return Error(`Unable to find icon with the name "${t}"`)}function BN(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function tD(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function nD(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}function bf(t){return t.cloneNode(!0)}function iD(t,e){return t+":"+e}function UN(t){return!!(t.url&&t.options)}function WN(){let t=y(U),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}var jN,yf,Ti,Jv,HN,zN,rD,GN,QN,yo,ey,Af=g(()=>{"use strict";O();O();vn();Ie();Ke();at();Ya();As();jN=["*"];Ti=class{constructor(e,i,n){this.url=e,this.svgText=i,this.options=n}},Jv=(()=>{let e=class e{constructor(n,r,o,s){this._httpClient=n,this._sanitizer=r,this._errorHandler=s,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(n,r,o){return this.addSvgIconInNamespace("",n,r,o)}addSvgIconLiteral(n,r,o){return this.addSvgIconLiteralInNamespace("",n,r,o)}addSvgIconInNamespace(n,r,o,s){return this._addSvgIconConfig(n,r,new Ti(o,null,s))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,r,o,s){let a=this._sanitizer.sanitize(Et.HTML,o);if(!a)throw nD(o);let l=vl(a);return this._addSvgIconConfig(n,r,new Ti("",l,s))}addSvgIconSet(n,r){return this.addSvgIconSetInNamespace("",n,r)}addSvgIconSetLiteral(n,r){return this.addSvgIconSetLiteralInNamespace("",n,r)}addSvgIconSetInNamespace(n,r,o){return this._addSvgIconSetConfig(n,new Ti(r,null,o))}addSvgIconSetLiteralInNamespace(n,r,o){let s=this._sanitizer.sanitize(Et.HTML,r);if(!s)throw nD(r);let a=vl(s);return this._addSvgIconSetConfig(n,new Ti("",a,o))}registerFontClassAlias(n,r=n){return this._fontCssClassesByAlias.set(n,r),this}classNameForFontAlias(n){return this._fontCssClassesByAlias.get(n)||n}setDefaultFontSetClass(...n){return this._defaultFontSetClass=n,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(n){let r=this._sanitizer.sanitize(Et.RESOURCE_URL,n);if(!r)throw tD(n);let o=this._cachedIconsByUrl.get(r);return o?R(bf(o)):this._loadSvgIconFromConfig(new Ti(n,null)).pipe(Le(s=>this._cachedIconsByUrl.set(r,s)),B(s=>bf(s)))}getNamedSvgIcon(n,r=""){let o=iD(r,n),s=this._svgIconConfigs.get(o);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(r,n),s)return this._svgIconConfigs.set(o,s),this._getSvgFromConfig(s);let a=this._iconSetConfigs.get(r);return a?this._getSvgFromIconSetConfigs(n,a):Bi(eD(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(n){return n.svgText?R(bf(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(B(r=>bf(r)))}_getSvgFromIconSetConfigs(n,r){let o=this._extractIconWithNameFromAnySet(n,r);if(o)return R(o);let s=r.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(en(l=>{let d=`Loading icon set URL: ${this._sanitizer.sanitize(Et.RESOURCE_URL,a.url)} failed: ${l.message}`;return this._errorHandler.handleError(new Error(d)),R(null)})));return Hi(s).pipe(B(()=>{let a=this._extractIconWithNameFromAnySet(n,r);if(!a)throw eD(n);return a}))}_extractIconWithNameFromAnySet(n,r){for(let o=r.length-1;o>=0;o--){let s=r[o];if(s.svgText&&s.svgText.toString().indexOf(n)>-1){let a=this._svgElementFromConfig(s),l=this._extractSvgIconFromSet(a,n,s.options);if(l)return l}}return null}_loadSvgIconFromConfig(n){return this._fetchIcon(n).pipe(Le(r=>n.svgText=r),B(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?R(null):this._fetchIcon(n).pipe(Le(r=>n.svgText=r))}_extractSvgIconFromSet(n,r,o){let s=n.querySelector(`[id="${r}"]`);if(!s)return null;let a=s.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,o);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),o);let l=this._svgElementFromString(vl("<svg></svg>"));return l.appendChild(a),this._setSvgAttributes(l,o)}_svgElementFromString(n){let r=this._document.createElement("DIV");r.innerHTML=n;let o=r.querySelector("svg");if(!o)throw Error("<svg> tag not found");return o}_toSvgElement(n){let r=this._svgElementFromString(vl("<svg></svg>")),o=n.attributes;for(let s=0;s<o.length;s++){let{name:a,value:l}=o[s];a!=="id"&&r.setAttribute(a,l)}for(let s=0;s<n.childNodes.length;s++)n.childNodes[s].nodeType===this._document.ELEMENT_NODE&&r.appendChild(n.childNodes[s].cloneNode(!0));return r}_setSvgAttributes(n,r){return n.setAttribute("fit",""),n.setAttribute("height","100%"),n.setAttribute("width","100%"),n.setAttribute("preserveAspectRatio","xMidYMid meet"),n.setAttribute("focusable","false"),r&&r.viewBox&&n.setAttribute("viewBox",r.viewBox),n}_fetchIcon(n){let{url:r,options:o}=n,s=o?.withCredentials??!1;if(!this._httpClient)throw BN();if(r==null)throw Error(`Cannot fetch icon from URL "${r}".`);let a=this._sanitizer.sanitize(Et.RESOURCE_URL,r);if(!a)throw tD(r);let l=this._inProgressUrlFetches.get(a);if(l)return l;let c=this._httpClient.get(a,{responseType:"text",withCredentials:s}).pipe(B(d=>vl(d)),Bt(()=>this._inProgressUrlFetches.delete(a)),ba());return this._inProgressUrlFetches.set(a,c),c}_addSvgIconConfig(n,r,o){return this._svgIconConfigs.set(iD(n,r),o),this}_addSvgIconSetConfig(n,r){let o=this._iconSetConfigs.get(n);return o?o.push(r):this._iconSetConfigs.set(n,[r]),this}_svgElementFromConfig(n){if(!n.svgElement){let r=this._svgElementFromString(n.svgText);this._setSvgAttributes(r,n.options),n.svgElement=r}return n.svgElement}_getIconConfigFromResolvers(n,r){for(let o=0;o<this._resolvers.length;o++){let s=this._resolvers[o](r,n);if(s)return UN(s)?new Ti(s.url,null,s.options):new Ti(s,null)}}};e.\u0275fac=function(r){return new(r||e)(p(or,8),p(Ja),p(U,8),p(zt))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();HN=new C("MAT_ICON_DEFAULT_OPTIONS"),zN=new C("mat-icon-location",{providedIn:"root",factory:WN});rD=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],GN=rD.map(t=>`[${t}]`).join(", "),QN=/^url\(['"]?#(.*?)['"]?\)$/,yo=(()=>{let e=class e{get color(){return this._color||this._defaultColor}set color(n){this._color=n}get svgIcon(){return this._svgIcon}set svgIcon(n){n!==this._svgIcon&&(n?this._updateSvgIcon(n):this._svgIcon&&this._clearSvgElement(),this._svgIcon=n)}get fontSet(){return this._fontSet}set fontSet(n){let r=this._cleanupFontValue(n);r!==this._fontSet&&(this._fontSet=r,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(n){let r=this._cleanupFontValue(n);r!==this._fontIcon&&(this._fontIcon=r,this._updateFontIconClasses())}constructor(n,r,o,s,a,l){this._elementRef=n,this._iconRegistry=r,this._location=s,this._errorHandler=a,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=be.EMPTY,l&&(l.color&&(this.color=this._defaultColor=l.color),l.fontSet&&(this.fontSet=l.fontSet)),o||n.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(n){if(!n)return["",""];let r=n.split(":");switch(r.length){case 1:return["",r[0]];case 2:return r;default:throw Error(`Invalid icon name: "${n}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let n=this._elementsWithExternalReferences;if(n&&n.size){let r=this._location.getPathname();r!==this._previousPath&&(this._previousPath=r,this._prependPathToReferences(r))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(n){this._clearSvgElement();let r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(n),this._prependPathToReferences(r),this._elementRef.nativeElement.appendChild(n)}_clearSvgElement(){let n=this._elementRef.nativeElement,r=n.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){let o=n.childNodes[r];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let n=this._elementRef.nativeElement,r=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>n.classList.remove(o)),r.forEach(o=>n.classList.add(o)),this._previousFontSetClass=r,this.fontIcon!==this._previousFontIconClass&&!r.includes("mat-ligature-font")&&(this._previousFontIconClass&&n.classList.remove(this._previousFontIconClass),this.fontIcon&&n.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(n){return typeof n=="string"?n.trim().split(" ")[0]:n}_prependPathToReferences(n){let r=this._elementsWithExternalReferences;r&&r.forEach((o,s)=>{o.forEach(a=>{s.setAttribute(a.name,`url('${n}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(n){let r=n.querySelectorAll(GN),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s<r.length;s++)rD.forEach(a=>{let l=r[s],c=l.getAttribute(a),d=c?c.match(QN):null;if(d){let u=o.get(l);u||(u=[],o.set(l,u)),u.push({name:a,value:d[1]})}})}_updateSvgIcon(n){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),n){let[r,o]=this._splitIconName(n);r&&(this._svgNamespace=r),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,r).pipe(Ae(1)).subscribe(s=>this._setSvgElement(s),s=>{let a=`Error retrieving icon ${r}:${o}! ${s.message}`;this._errorHandler.handleError(new Error(a))})}}};e.\u0275fac=function(r){return new(r||e)(f(P),f(Jv),tr("aria-hidden"),f(zN),f(zt),f(HN,8))},e.\u0275cmp=ce({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(r,o){r&2&&(_e("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),vi(o.color?"mat-"+o.color:""),pe("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[w.HasDecoratorInputTransform,"inline","inline",De],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[ct,Ee],ngContentSelectors:jN,decls:1,vars:0,template:function(r,o){r&1&&(Dt(),Re(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0});let t=e;return t})(),ey=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[ze,ze]});let t=e;return t})()});var oD,sD=g(()=>{"use strict";Ya();O();O();oD=(()=>{var e;let i=class i{constructor(){et(this,e,y(or))}play(r,o){return o.apiVersion===1?Qe(this,e).get(`${o.apiUrl}?system=${o.voice}&text=${r}`,{responseType:"blob"}):Qe(this,e).post(`${o.apiUrl}/?text=${r}&voice=${o.voice}`,null,{responseType:"blob"})}};e=new WeakMap,i.\u0275fac=function(o){return new(o||i)},i.\u0275prov=b({token:i,factory:i.\u0275fac,providedIn:"root"});let t=i;return t})()});function YN(t,e){if(t&1&&(io(),E(0,"svg",11),ne(1,"circle",12),S()),t&2){let i=z();_e("viewBox",i._viewBox()),x(),gi("stroke-dasharray",i._strokeCircumference(),"px")("stroke-dashoffset",i._strokeCircumference()/2,"px")("stroke-width",i._circleStrokeWidth(),"%"),_e("r",i._circleRadius())}}function $N(){return{diameter:aD}}var qN,ZN,aD,XN,Bs,lD,_f=g(()=>{"use strict";O();O();Ie();vn();qN=["determinateSpinner"];ZN=new C("mat-progress-spinner-default-options",{providedIn:"root",factory:$N});aD=100,XN=10,Bs=(()=>{let e=class e{get color(){return this._color||this._defaultColor}set color(n){this._color=n}constructor(n,r,o){this._elementRef=n,this._defaultColor="primary",this._value=0,this._diameter=aD,this._noopAnimations=r==="NoopAnimations"&&!!o&&!o._forceAnimations,this.mode=n.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",o&&(o.color&&(this.color=this._defaultColor=o.color),o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth))}get value(){return this.mode==="determinate"?this._value:0}set value(n){this._value=Math.max(0,Math.min(100,n||0))}get diameter(){return this._diameter}set diameter(n){this._diameter=n||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(n){this._strokeWidth=n||0}_circleRadius(){return(this.diameter-XN)/2}_viewBox(){let n=this._circleRadius()*2+this.strokeWidth;return`0 0 ${n} ${n}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}};e.\u0275fac=function(r){return new(r||e)(f(P),f(lt,8),f(ZN))},e.\u0275cmp=ce({type:e,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(r,o){if(r&1&&qe(qN,5),r&2){let s;ge(s=ve())&&(o._determinateCircle=s.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(r,o){r&2&&(_e("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",o.mode==="determinate"?o.value:null)("mode",o.mode),vi("mat-"+o.color),gi("width",o.diameter,"px")("height",o.diameter,"px")("--mdc-circular-progress-size",o.diameter+"px")("--mdc-circular-progress-active-indicator-width",o.diameter+"px"),pe("_mat-animation-noopable",o._noopAnimations)("mdc-circular-progress--indeterminate",o.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[w.HasDecoratorInputTransform,"value","value",bi],diameter:[w.HasDecoratorInputTransform,"diameter","diameter",bi],strokeWidth:[w.HasDecoratorInputTransform,"strokeWidth","strokeWidth",bi]},exportAs:["matProgressSpinner"],standalone:!0,features:[ct,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(r,o){if(r&1&&(Y(0,YN,2,8,"ng-template",null,0,so),E(2,"div",2,1),io(),E(4,"svg",3),ne(5,"circle",4),S()(),Ax(),E(6,"div",5)(7,"div",6)(8,"div",7),Ua(9,8),S(),E(10,"div",9),Ua(11,8),S(),E(12,"div",10),Ua(13,8),S()()()),r&2){let s=Fn(1);x(4),_e("viewBox",o._viewBox()),x(),gi("stroke-dasharray",o._strokeCircumference(),"px")("stroke-dashoffset",o._strokeDashOffset(),"px")("stroke-width",o._circleStrokeWidth(),"%"),_e("r",o._circleRadius()),x(4),D("ngTemplateOutlet",s),x(2),D("ngTemplateOutlet",s),x(2),D("ngTemplateOutlet",s)}},dependencies:[Du],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0});let t=e;return t})(),lD=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[vt,ze]});let t=e;return t})()});var xf,cD=g(()=>{"use strict";Ke();xf=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(e=!1,i,n=!0,r){this._multiple=e,this._emitChanges=n,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new k,i&&i.length&&(e?i.forEach(o=>this._markSelected(o)):this._markSelected(i[0]),this._selectedToEmit.length=0)}select(...e){this._verifyValueAssignment(e),e.forEach(n=>this._markSelected(n));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}deselect(...e){this._verifyValueAssignment(e),e.forEach(n=>this._unmarkSelected(n));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}setSelection(...e){this._verifyValueAssignment(e);let i=this.selected,n=new Set(e);e.forEach(o=>this._markSelected(o)),i.filter(o=>!n.has(this._getConcreteValue(o,n))).forEach(o=>this._unmarkSelected(o));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let i=this._hasQueuedChanges();return e&&this._emitChangeEvent(),i}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e,i){if(this.compareWith){i=i??this._selection;for(let n of i)if(this.compareWith(e,n))return n;return e}else return e}}});var e2,yl,t2,Us,fr,ty,hr=g(()=>{"use strict";Si();O();Ke();at();Wt();Ie();pn();e2=20,yl=(()=>{let e=class e{constructor(n,r,o){this._ngZone=n,this._platform=r,this._scrolled=new k,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){let r=this.scrollContainers.get(n);r&&(r.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=e2){return this._platform.isBrowser?new X(r=>{this._globalSubscription||this._addGlobalListener();let o=n>0?this._scrolled.pipe(od(n)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):R()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((n,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(n,r){let o=this.getAncestorScrollContainers(n);return this.scrolled(r).pipe(de(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(n){let r=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,n)&&r.push(s)}),r}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(n,r){let o=Mi(r),s=n.getElementRef().nativeElement;do if(o==s)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let n=this._getWindow();return zi(n.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};e.\u0275fac=function(r){return new(r||e)(p(F),p(Ne),p(U,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),t2=20,Us=(()=>{let e=class e{constructor(n,r,o){this._platform=n,this._change=new k,this._changeListener=s=>{this._change.next(s)},this._document=o,r.runOutsideAngular(()=>{if(n.isBrowser){let s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let n=this._getWindow();n.removeEventListener("resize",this._changeListener),n.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){let n=this.getViewportScrollPosition(),{width:r,height:o}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+o,right:n.left+r,height:o,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let n=this._document,r=this._getWindow(),o=n.documentElement,s=o.getBoundingClientRect(),a=-s.top||n.body.scrollTop||r.scrollY||o.scrollTop||0,l=-s.left||n.body.scrollLeft||r.scrollX||o.scrollLeft||0;return{top:a,left:l}}change(n=t2){return n>0?this._change.pipe(od(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}};e.\u0275fac=function(r){return new(r||e)(p(Ne),p(F),p(U,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),fr=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({});let t=e;return t})(),ty=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[Yn,fr,Yn,fr]});let t=e;return t})()});var bl,mr,Oi,ny,Hs,Al,_l,bo,zs=g(()=>{"use strict";O();O();Ie();bl=class{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},mr=class extends bl{constructor(e,i,n,r,o){super(),this.component=e,this.viewContainerRef=i,this.injector=n,this.componentFactoryResolver=r,this.projectableNodes=o}},Oi=class extends bl{constructor(e,i,n,r){super(),this.templateRef=e,this.viewContainerRef=i,this.context=n,this.injector=r}get origin(){return this.templateRef.elementRef}attach(e,i=this.context){return this.context=i,super.attach(e)}detach(){return this.context=void 0,super.detach()}},ny=class extends bl{constructor(e){super(),this.element=e instanceof P?e.nativeElement:e}},Hs=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof mr)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof Oi)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof ny)return this._attachedPortal=e,this.attachDomPortal(e)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},Al=class extends Hs{constructor(e,i,n,r,o){super(),this.outletElement=e,this._componentFactoryResolver=i,this._appRef=n,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(e){let n=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),r;return e.viewContainerRef?(r=e.viewContainerRef.createComponent(n,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector,e.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=n.create(e.injector||this._defaultInjector||Xe.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=e,r}attachTemplatePortal(e){let i=e.viewContainerRef,n=i.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return n.rootNodes.forEach(r=>this.outletElement.appendChild(r)),n.detectChanges(),this.setDisposeFn(()=>{let r=i.indexOf(n);r!==-1&&i.remove(r)}),this._attachedPortal=e,n}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}},_l=(()=>{let e=class e extends Hs{constructor(n,r,o){super(),this._componentFactoryResolver=n,this._viewContainerRef=r,this._isInitialized=!1,this.attached=new G,this.attachDomPortal=s=>{this._document;let a=s.element;a.parentNode;let l=this._document.createComment("dom-portal");s.setAttachedHost(this),a.parentNode.insertBefore(l,a),this._getRootNode().appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}get portal(){return this._attachedPortal}set portal(n){this.hasAttached()&&!n&&!this._isInitialized||(this.hasAttached()&&super.detach(),n&&super.attach(n),this._attachedPortal=n||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(n){n.setAttachedHost(this);let r=n.viewContainerRef!=null?n.viewContainerRef:this._viewContainerRef,s=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component),a=r.createComponent(s,r.length,n.injector||r.injector,n.projectableNodes||void 0);return r!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=n,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(n){n.setAttachedHost(this);let r=this._viewContainerRef.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=n,this._attachedRef=r,this.attached.emit(r),r}_getRootNode(){let n=this._viewContainerRef.element.nativeElement;return n.nodeType===n.ELEMENT_NODE?n:n.parentNode}};e.\u0275fac=function(r){return new(r||e)(f(hn),f(pt),f(U))},e.\u0275dir=V({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[w.None,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[Ce]});let t=e;return t})(),bo=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({});let t=e;return t})()});function oy(t,e){return e.some(i=>{let n=t.bottom<i.top,r=t.top>i.bottom,o=t.right<i.left,s=t.left>i.right;return n||r||o||s})}function fD(t,e){return e.some(i=>{let n=t.top<i.top,r=t.bottom>i.bottom,o=t.left<i.left,s=t.right>i.right;return n||r||o||s})}function Ao(t,e){for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function mD(t){if(typeof t!="number"&&t!=null){let[e,i]=t.split(o2);return!i||i==="px"?parseFloat(e):null}return t||null}function pD(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 s2(t,e){return t===e?!0:t.isOriginClipped===e.isOriginClipped&&t.isOriginOutsideView===e.isOriginOutsideView&&t.isOverlayClipped===e.isOverlayClipped&&t.isOverlayOutsideView===e.isOverlayOutsideView}function d2(t){return()=>t.scrollStrategies.reposition()}var uD,iy,ry,Cf,sy,n2,pr,ay,vD,i2,r2,Ws,Ri,hD,o2,ly,gD,cy,a2,l2,Ze,c2,yD,xl,dy,u2,Zn,$n=g(()=>{"use strict";hr();hr();hr();Ie();Ie();O();O();Si();Wt();Wt();at();pn();pn();zs();Ke();Ii();uD=wE(),iy=class{constructor(e,i){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=i}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=ut(-this._previousScrollPosition.left),e.style.top=ut(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,i=this._document.body,n=e.style,r=i.style,o=n.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),uD&&(n.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),uD&&(n.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let i=this._document.body,n=this._viewportRuler.getViewportSize();return i.scrollHeight>n.height||i.scrollWidth>n.width}},ry=class{constructor(e,i,n,r){this._scrollDispatcher=e,this._ngZone=i,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(de(i=>!i||!this._overlayRef.overlayElement.contains(i.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let i=this._viewportRuler.getViewportScrollPosition().top;Math.abs(i-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},Cf=class{enable(){}disable(){}attach(){}};sy=class{constructor(e,i,n,r){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=n,this._config=r,this._scrollSubscription=null}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let i=this._overlayRef.overlayElement.getBoundingClientRect(),{width:n,height:r}=this._viewportRuler.getViewportSize();oy(i,[{width:n,height:r,bottom:r,right:n,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}},n2=(()=>{let e=class e{constructor(n,r,o,s){this._scrollDispatcher=n,this._viewportRuler=r,this._ngZone=o,this.noop=()=>new Cf,this.close=a=>new ry(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new iy(this._viewportRuler,this._document),this.reposition=a=>new sy(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=s}};e.\u0275fac=function(r){return new(r||e)(p(yl),p(Us),p(F),p(U))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),pr=class{constructor(e){if(this.scrollStrategy=new Cf,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){let i=Object.keys(e);for(let n of i)e[n]!==void 0&&(this[n]=e[n])}}},ay=class{constructor(e,i){this.connectionPair=e,this.scrollableViewProperties=i}},vD=(()=>{let e=class e{constructor(n){this._attachedOverlays=[],this._document=n}ngOnDestroy(){this.detach()}add(n){this.remove(n),this._attachedOverlays.push(n)}remove(n){let r=this._attachedOverlays.indexOf(n);r>-1&&this._attachedOverlays.splice(r,1),this._attachedOverlays.length===0&&this.detach()}};e.\u0275fac=function(r){return new(r||e)(p(U))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),i2=(()=>{let e=class e extends vD{constructor(n,r){super(n),this._ngZone=r,this._keydownListener=o=>{let s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){let l=s[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>l.next(o)):l.next(o);break}}}add(n){super.add(n),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}};e.\u0275fac=function(r){return new(r||e)(p(U),p(F,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),r2=(()=>{let e=class e extends vD{constructor(n,r,o){super(n),this._platform=r,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=mn(s)},this._clickListener=s=>{let a=mn(s),l=s.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let c=this._attachedOverlays.slice();for(let d=c.length-1;d>-1;d--){let u=c[d];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(a)||u.overlayElement.contains(l))break;let h=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>h.next(s)):h.next(s)}}}add(n){if(super.add(n),!this._isAttached){let r=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(r)):this._addEventListeners(r),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let n=this._document.body;n.removeEventListener("pointerdown",this._pointerDownListener,!0),n.removeEventListener("click",this._clickListener,!0),n.removeEventListener("auxclick",this._clickListener,!0),n.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(n.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(n){n.addEventListener("pointerdown",this._pointerDownListener,!0),n.addEventListener("click",this._clickListener,!0),n.addEventListener("auxclick",this._clickListener,!0),n.addEventListener("contextmenu",this._clickListener,!0)}};e.\u0275fac=function(r){return new(r||e)(p(U),p(Ne),p(F,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ws=(()=>{let e=class e{constructor(n,r){this._platform=r,this._document=n}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let n="cdk-overlay-container";if(this._platform.isBrowser||dl()){let o=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let s=0;s<o.length;s++)o[s].remove()}let r=this._document.createElement("div");r.classList.add(n),dl()?r.setAttribute("platform","test"):this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}};e.\u0275fac=function(r){return new(r||e)(p(U),p(Ne))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ri=class{constructor(e,i,n,r,o,s,a,l,c,d=!1){this._portalOutlet=e,this._host=i,this._pane=n,this._config=r,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._backdropElement=null,this._backdropClick=new k,this._attachments=new k,this._detachments=new k,this._locationChanges=be.EMPTY,this._backdropClickHandler=u=>this._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new k,this._outsidePointerEvents=new k,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let i=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Ae(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof i?.onDestroy=="function"&&i.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),i}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){let e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=A(A({},this._config),e),this._updateElementSize()}setDirection(e){this._config=we(A({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=ut(this._config.width),e.height=ut(this._config.height),e.minWidth=ut(this._config.minWidth),e.minHeight=ut(this._config.minHeight),e.maxWidth=ut(this._config.maxWidth),e.maxHeight=ut(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){let e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e=this._backdropElement;if(e){if(this._animationsDisabled){this._disposeBackdrop(e);return}e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,i,n){let r=Ss(i||[]).filter(o=>!!o);r.length&&(n?e.classList.add(...r):e.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{let e=this._ngZone.onStable.pipe(te(mt(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),e.unsubscribe())})})}_disposeScrollStrategy(){let e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},hD="cdk-overlay-connected-position-bounding-box",o2=/([A-Za-z%]+)$/,ly=class{get positions(){return this._preferredPositions}constructor(e,i,n,r,o){this._viewportRuler=i,this._document=n,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 k,this._resizeSubscription=be.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(hD),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._originRect,i=this._overlayRect,n=this._viewportRect,r=this._containerRect,o=[],s;for(let a of this._preferredPositions){let l=this._getOriginPoint(e,r,a),c=this._getOverlayPoint(l,i,a),d=this._getOverlayFit(c,i,n,a);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,l);return}if(this._canFitWithFlexibleDimensions(d,c,n)){o.push({position:a,origin:l,overlayRect:i,boundingBoxRect:this._calculateBoundingBoxRect(l,a)});continue}(!s||s.overlayFit.visibleArea<d.visibleArea)&&(s={overlayFit:d,overlayPoint:c,originPoint:l,position:a,overlayRect:i})}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&&Ao(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(hD),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let i=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,i)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,i,n){let r;if(n.originX=="center")r=e.left+e.width/2;else{let s=this._isRtl()?e.right:e.left,a=this._isRtl()?e.left:e.right;r=n.originX=="start"?s:a}i.left<0&&(r-=i.left);let o;return n.originY=="center"?o=e.top+e.height/2:o=n.originY=="top"?e.top:e.bottom,i.top<0&&(o-=i.top),{x:r,y:o}}_getOverlayPoint(e,i,n){let r;n.overlayX=="center"?r=-i.width/2:n.overlayX==="start"?r=this._isRtl()?-i.width:0:r=this._isRtl()?0:-i.width;let o;return n.overlayY=="center"?o=-i.height/2:o=n.overlayY=="top"?0:-i.height,{x:e.x+r,y:e.y+o}}_getOverlayFit(e,i,n,r){let o=pD(i),{x:s,y:a}=e,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let d=0-s,u=s+o.width-n.width,h=0-a,m=a+o.height-n.height,v=this._subtractOverflows(o.width,d,u),_=this._subtractOverflows(o.height,h,m),I=v*_;return{visibleArea:I,isCompletelyWithinViewport:o.width*o.height===I,fitsInViewportVertically:_===o.height,fitsInViewportHorizontally:v==o.width}}_canFitWithFlexibleDimensions(e,i,n){if(this._hasFlexibleDimensions){let r=n.bottom-i.y,o=n.right-i.x,s=mD(this._overlayRef.getConfig().minHeight),a=mD(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||s!=null&&s<=r,c=e.fitsInViewportHorizontally||a!=null&&a<=o;return l&&c}return!1}_pushOverlayOnScreen(e,i,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let r=pD(i),o=this._viewportRect,s=Math.max(e.x+r.width-o.width,0),a=Math.max(e.y+r.height-o.height,0),l=Math.max(o.top-n.top-e.y,0),c=Math.max(o.left-n.left-e.x,0),d=0,u=0;return r.width<=o.width?d=c||-s:d=e.x<this._viewportMargin?o.left-n.left-e.x:0,r.height<=o.height?u=l||-a:u=e.y<this._viewportMargin?o.top-n.top-e.y:0,this._previousPushAmount={x:d,y:u},{x:e.x+d,y:e.y+u}}_applyPosition(e,i){if(this._setTransformOrigin(e),this._setOverlayElementStyles(i,e),this._setBoundingBoxStyles(i,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._positionChanges.observers.length){let n=this._getScrollVisibility();if(e!==this._lastPosition||!this._lastScrollVisibility||!s2(this._lastScrollVisibility,n)){let r=new ay(e,n);this._positionChanges.next(r)}this._lastScrollVisibility=n}this._lastPosition=e,this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;let i=this._boundingBox.querySelectorAll(this._transformOriginSelector),n,r=e.overlayY;e.overlayX==="center"?n="center":this._isRtl()?n=e.overlayX==="start"?"right":"left":n=e.overlayX==="start"?"left":"right";for(let o=0;o<i.length;o++)i[o].style.transformOrigin=`${n} ${r}`}_calculateBoundingBoxRect(e,i){let n=this._viewportRect,r=this._isRtl(),o,s,a;if(i.overlayY==="top")s=e.y,o=n.height-s+this._viewportMargin;else if(i.overlayY==="bottom")a=n.height-e.y+this._viewportMargin*2,o=n.height-a+this._viewportMargin;else{let m=Math.min(n.bottom-e.y+n.top,e.y),v=this._lastBoundingBoxSize.height;o=m*2,s=e.y-m,o>v&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-v/2)}let l=i.overlayX==="start"&&!r||i.overlayX==="end"&&r,c=i.overlayX==="end"&&!r||i.overlayX==="start"&&r,d,u,h;if(c)h=n.width-e.x+this._viewportMargin*2,d=e.x-this._viewportMargin;else if(l)u=e.x,d=n.right-e.x;else{let m=Math.min(n.right-e.x+n.left,e.x),v=this._lastBoundingBoxSize.width;d=m*2,u=e.x-m,d>v&&!this._isInitialRender&&!this._growAfterOpen&&(u=e.x-v/2)}return{top:s,left:u,bottom:a,right:h,width:d,height:o}}_setBoundingBoxStyles(e,i){let n=this._calculateBoundingBoxRect(e,i);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.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=ut(n.height),r.top=ut(n.top),r.bottom=ut(n.bottom),r.width=ut(n.width),r.left=ut(n.left),r.right=ut(n.right),i.overlayX==="center"?r.alignItems="center":r.alignItems=i.overlayX==="end"?"flex-end":"flex-start",i.overlayY==="center"?r.justifyContent="center":r.justifyContent=i.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=ut(o)),s&&(r.maxWidth=ut(s))}this._lastBoundingBoxSize=n,Ao(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Ao(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ao(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,i){let n={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){let d=this._viewportRuler.getViewportScrollPosition();Ao(n,this._getExactOverlayY(i,e,d)),Ao(n,this._getExactOverlayX(i,e,d))}else n.position="static";let a="",l=this._getOffset(i,"x"),c=this._getOffset(i,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),n.transform=a.trim(),s.maxHeight&&(r?n.maxHeight=ut(s.maxHeight):o&&(n.maxHeight="")),s.maxWidth&&(r?n.maxWidth=ut(s.maxWidth):o&&(n.maxWidth="")),Ao(this._pane.style,n)}_getExactOverlayY(e,i,n){let r={top:"",bottom:""},o=this._getOverlayPoint(i,this._overlayRect,e);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),e.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;r.bottom=`${s-(o.y+this._overlayRect.height)}px`}else r.top=ut(o.y);return r}_getExactOverlayX(e,i,n){let r={left:"",right:""},o=this._getOverlayPoint(i,this._overlayRect,e);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n));let s;if(this._isRtl()?s=e.overlayX==="end"?"left":"right":s=e.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;r.right=`${a-(o.x+this._overlayRect.width)}px`}else r.left=ut(o.x);return r}_getScrollVisibility(){let e=this._getOriginRect(),i=this._pane.getBoundingClientRect(),n=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:fD(e,n),isOriginOutsideView:oy(e,n),isOverlayClipped:fD(i,n),isOverlayOutsideView:oy(i,n)}}_subtractOverflows(e,...i){return i.reduce((n,r)=>n-Math.max(r,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,i=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+e-this._viewportMargin,bottom:n.top+i-this._viewportMargin,width:e-2*this._viewportMargin,height:i-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,i){return i==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&Ss(e).forEach(i=>{i!==""&&this._appliedPanelClasses.indexOf(i)===-1&&(this._appliedPanelClasses.push(i),this._pane.classList.add(i))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof P)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let i=e.width||0,n=e.height||0;return{top:e.y,bottom:e.y+n,left:e.x,right:e.x+i,height:n,width:i}}};gD="cdk-global-overlay-wrapper",cy=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(e){let i=e.getConfig();this._overlayRef=e,this._width&&!i.width&&e.updateSize({width:this._width}),this._height&&!i.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(gD),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,i=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=n,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,h=this._overlayRef.getConfig().direction==="rtl",m="",v="",_="";l?_="flex-start":d==="center"?(_="center",h?v=u:m=u):h?d==="left"||d==="end"?(_="flex-end",m=u):(d==="right"||d==="start")&&(_="flex-start",v=u):d==="left"||d==="start"?(_="flex-start",m=u):(d==="right"||d==="end")&&(_="flex-end",v=u),e.position=this._cssPosition,e.marginLeft=l?"0":m,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":v,i.justifyContent=_,i.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,i=this._overlayRef.hostElement,n=i.style;i.classList.remove(gD),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},a2=(()=>{let e=class e{constructor(n,r,o,s){this._viewportRuler=n,this._document=r,this._platform=o,this._overlayContainer=s}global(){return new cy}flexibleConnectedTo(n){return new ly(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};e.\u0275fac=function(r){return new(r||e)(p(Us),p(U),p(Ne),p(Ws))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),l2=0,Ze=(()=>{let e=class e{constructor(n,r,o,s,a,l,c,d,u,h,m,v){this.scrollStrategies=n,this._overlayContainer=r,this._componentFactoryResolver=o,this._positionBuilder=s,this._keyboardDispatcher=a,this._injector=l,this._ngZone=c,this._document=d,this._directionality=u,this._location=h,this._outsideClickDispatcher=m,this._animationsModuleType=v}create(n){let r=this._createHostElement(),o=this._createPaneElement(r),s=this._createPortalOutlet(o),a=new pr(n);return a.direction=a.direction||this._directionality.value,new Ri(s,r,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations")}position(){return this._positionBuilder}_createPaneElement(n){let r=this._document.createElement("div");return r.id=`cdk-overlay-${l2++}`,r.classList.add("cdk-overlay-pane"),n.appendChild(r),r}_createHostElement(){let n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalOutlet(n){return this._appRef||(this._appRef=this._injector.get(kn)),new Al(n,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};e.\u0275fac=function(r){return new(r||e)(p(n2),p(Ws),p(hn),p(a2),p(i2),p(Xe),p(F),p(U),p(Lt),p(Qn),p(r2),p(lt,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),c2=[{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"}],yD=new C("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=y(Ze);return()=>t.scrollStrategies.reposition()}}),xl=(()=>{let e=class e{constructor(n){this.elementRef=n}};e.\u0275fac=function(r){return new(r||e)(f(P))},e.\u0275dir=V({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});let t=e;return t})(),dy=(()=>{let e=class e{get offsetX(){return this._offsetX}set offsetX(n){this._offsetX=n,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(n){this._offsetY=n,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(n){this._disposeOnNavigation=n}constructor(n,r,o,s,a){this._overlay=n,this._dir=a,this._backdropSubscription=be.EMPTY,this._attachSubscription=be.EMPTY,this._detachSubscription=be.EMPTY,this._positionSubscription=be.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 G,this.positionChange=new G,this.attach=new G,this.detach=new G,this.overlayKeydown=new G,this.overlayOutsideClick=new G,this._templatePortal=new Oi(r,o),this._scrollStrategyFactory=s,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(n){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),n.origin&&this.open&&this._position.apply()),n.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=c2);let n=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=n.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=n.detachments().subscribe(()=>this.detach.emit()),n.keydownEvents().subscribe(r=>{this.overlayKeydown.next(r),r.keyCode===27&&!this.disableClose&&!It(r)&&(r.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{let o=this._getOriginElement(),s=mn(r);(!o||o!==s&&!o.contains(s))&&this.overlayOutsideClick.next(r)})}_buildConfig(){let n=this._position=this.positionStrategy||this._createPositionStrategy(),r=new pr({direction:this._dir,positionStrategy:n,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(r.width=this.width),(this.height||this.height===0)&&(r.height=this.height),(this.minWidth||this.minWidth===0)&&(r.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(r.minHeight=this.minHeight),this.backdropClass&&(r.backdropClass=this.backdropClass),this.panelClass&&(r.panelClass=this.panelClass),r}_updatePositionStrategy(n){let r=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return n.setOrigin(this._getOrigin()).withPositions(r).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let n=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(n),n}_getOrigin(){return this.origin instanceof xl?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof xl?this.origin.elementRef.nativeElement:this.origin instanceof P?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(n=>{this.backdropClick.emit(n)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Rm(()=>this.positionChange.observers.length>0)).subscribe(n=>{this._ngZone.run(()=>this.positionChange.emit(n)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}};e.\u0275fac=function(r){return new(r||e)(f(Ze),f(Ft),f(pt),f(yD),f(Lt,8))},e.\u0275dir=V({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[w.None,"cdkConnectedOverlayOrigin","origin"],positions:[w.None,"cdkConnectedOverlayPositions","positions"],positionStrategy:[w.None,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[w.None,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[w.None,"cdkConnectedOverlayOffsetY","offsetY"],width:[w.None,"cdkConnectedOverlayWidth","width"],height:[w.None,"cdkConnectedOverlayHeight","height"],minWidth:[w.None,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[w.None,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[w.None,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[w.None,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[w.None,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[w.None,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[w.None,"cdkConnectedOverlayOpen","open"],disableClose:[w.None,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[w.None,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[w.HasDecoratorInputTransform,"cdkConnectedOverlayHasBackdrop","hasBackdrop",De],lockPosition:[w.HasDecoratorInputTransform,"cdkConnectedOverlayLockPosition","lockPosition",De],flexibleDimensions:[w.HasDecoratorInputTransform,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",De],growAfterOpen:[w.HasDecoratorInputTransform,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",De],push:[w.HasDecoratorInputTransform,"cdkConnectedOverlayPush","push",De],disposeOnNavigation:[w.HasDecoratorInputTransform,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",De]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[ct,He]});let t=e;return t})();u2={provide:yD,deps:[Ze],useFactory:d2},Zn=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({providers:[Ze,u2],imports:[Yn,bo,ty,ty]});let t=e;return t})()});function vr(t,e){return{type:oe.Trigger,name:t,definitions:e,options:{}}}function ki(t,e=null){return{type:oe.Animate,styles:e,timings:t}}function bD(t,e=null){return{type:oe.Sequence,steps:t,options:e}}function Pt(t){return{type:oe.Style,styles:t,offset:null}}function _o(t,e,i){return{type:oe.State,name:t,styles:e,options:i}}function Jn(t,e,i=null){return{type:oe.Transition,expr:t,animation:e,options:i}}function AD(t=null){return{type:oe.AnimateChild,options:t}}function _D(t,e,i=null){return{type:oe.Query,selector:t,animation:e,options:i}}var oe,Xn,gr,Cl,Ef,wl=g(()=>{"use strict";oe=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}(oe||{}),Xn="*";gr=class{constructor(e=0,i=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=e+i}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let i=e=="start"?this._onStartFns:this._onDoneFns;i.forEach(n=>n()),i.length=0}},Cl=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let i=0,n=0,r=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++i==o&&this._onFinish()}),s.onDestroy(()=>{++n==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(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let i=e*this.totalTime;this.players.forEach(n=>{let r=n.totalTime?Math.min(1,i/n.totalTime):1;n.setPosition(r)})}getPosition(){let e=this.players.reduce((i,n)=>i===null||n.totalTime>i.totalTime?n:i,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let i=e=="start"?this._onStartFns:this._onDoneFns;i.forEach(n=>n()),i.length=0}},Ef="!"});function h2(t){return()=>t.scrollStrategies.reposition({scrollThrottle:wD})}function p2(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var f2,wD,ED,m2,g2,xD,CD,v2,y2,b2,A2,Gs,_2,El,Dl=g(()=>{"use strict";at();Si();Ii();O();O();Ie();Wt();Wt();nn();nn();pn();$n();$n();zs();Ke();hr();vn();f2=["tooltip"],wD=20,ED=new C("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=y(Ze);return()=>t.scrollStrategies.reposition({scrollThrottle:wD})}});m2={provide:ED,deps:[Ze],useFactory:h2};g2=new C("mat-tooltip-default-options",{providedIn:"root",factory:p2}),xD="tooltip-panel",CD=qn({passive:!0}),v2=8,y2=8,b2=24,A2=200,Gs=(()=>{let e=class e{get position(){return this._position}set position(n){n!==this._position&&(this._position=n,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(n){this._positionAtOrigin=Ms(n),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(n){this._disabled=Ms(n),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(n){this._showDelay=ur(n)}get hideDelay(){return this._hideDelay}set hideDelay(n){this._hideDelay=ur(n),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(n){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=n!=null?String(n).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(n){this._tooltipClass=n,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(n,r,o,s,a,l,c,d,u,h,m,v){this._overlay=n,this._elementRef=r,this._scrollDispatcher=o,this._viewContainerRef=s,this._ngZone=a,this._platform=l,this._ariaDescriber=c,this._focusMonitor=d,this._dir=h,this._defaultOptions=m,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=_2,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new k,this._scrollStrategy=u,this._document=v,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)),h.change.pipe(te(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=v2}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(te(this._destroyed)).subscribe(n=>{n?n==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let n=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([r,o])=>{n.removeEventListener(r,o,CD)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(n,this.message,"tooltip"),this._focusMonitor.stopMonitoring(n)}show(n=this.showDelay,r){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let o=this._createOverlay(r);this._detach(),this._portal=this._portal||new mr(this._tooltipComponent,this._viewContainerRef);let s=this._tooltipInstance=o.attach(this._portal).instance;s._triggerElement=this._elementRef.nativeElement,s._mouseLeaveHideDelay=this._hideDelay,s.afterHidden().pipe(te(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),s.show(n)}hide(n=this.hideDelay){let r=this._tooltipInstance;r&&(r.isVisible()?r.hide(n):(r._cancelPendingAnimations(),this._detach()))}toggle(n){this._isTooltipVisible()?this.hide():this.show(void 0,n)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(n){if(this._overlayRef){let s=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!n)&&s._origin instanceof P)return this._overlayRef;this._detach()}let r=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?n||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(r);return o.positionChanges.pipe(te(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:`${this._cssClassPrefix}-${xD}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(te(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(te(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(te(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&s.keyCode===27&&!It(s)&&(s.preventDefault(),s.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(n){let r=n.getConfig().positionStrategy,o=this._getOrigin(),s=this._getOverlayPosition();r.withPositions([this._addOffset(A(A({},o.main),s.main)),this._addOffset(A(A({},o.fallback),s.fallback))])}_addOffset(n){let r=y2,o=!this._dir||this._dir.value=="ltr";return n.originY==="top"?n.offsetY=-r:n.originY==="bottom"?n.offsetY=r:n.originX==="start"?n.offsetX=o?-r:r:n.originX==="end"&&(n.offsetX=o?r:-r),n}_getOrigin(){let n=!this._dir||this._dir.value=="ltr",r=this.position,o;r=="above"||r=="below"?o={originX:"center",originY:r=="above"?"top":"bottom"}:r=="before"||r=="left"&&n||r=="right"&&!n?o={originX:"start",originY:"center"}:(r=="after"||r=="right"&&n||r=="left"&&!n)&&(o={originX:"end",originY:"center"});let{x:s,y:a}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:s,originY:a}}}_getOverlayPosition(){let n=!this._dir||this._dir.value=="ltr",r=this.position,o;r=="above"?o={overlayX:"center",overlayY:"bottom"}:r=="below"?o={overlayX:"center",overlayY:"top"}:r=="before"||r=="left"&&n||r=="right"&&!n?o={overlayX:"end",overlayY:"center"}:(r=="after"||r=="right"&&n||r=="left"&&!n)&&(o={overlayX:"start",overlayY:"center"});let{x:s,y:a}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:s,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Ae(1),te(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(n){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=n,this._tooltipInstance._markForCheck())}_invertPosition(n,r){return this.position==="above"||this.position==="below"?r==="top"?r="bottom":r==="bottom"&&(r="top"):n==="end"?n="start":n==="start"&&(n="end"),{x:n,y:r}}_updateCurrentPositionClass(n){let{overlayY:r,originX:o,originY:s}=n,a;if(r==="center"?this._dir&&this._dir.value==="rtl"?a=o==="end"?"left":"right":a=o==="start"?"left":"right":a=r==="bottom"&&s==="top"?"above":"below",a!==this._currentPosition){let l=this._overlayRef;if(l){let c=`${this._cssClassPrefix}-${xD}-`;l.removePanelClass(c+this._currentPosition),l.addPanelClass(c+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",n=>{this._setupPointerExitEventsIfNeeded();let r;n.x!==void 0&&n.y!==void 0&&(r=n),this.show(void 0,r)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",n=>{let r=n.targetTouches?.[0],o=r?{x:r.clientX,y:r.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout);let s=500;this._touchstartTimeout=setTimeout(()=>this.show(void 0,o),this._defaultOptions.touchLongPressShowDelay??s)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let n=[];if(this._platformSupportsMouseEvents())n.push(["mouseleave",r=>{let o=r.relatedTarget;(!o||!this._overlayRef?.overlayElement.contains(o))&&this.hide()}],["wheel",r=>this._wheelListener(r)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let r=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};n.push(["touchend",r],["touchcancel",r])}this._addListeners(n),this._passiveListeners.push(...n)}_addListeners(n){n.forEach(([r,o])=>{this._elementRef.nativeElement.addEventListener(r,o,CD)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(n){if(this._isTooltipVisible()){let r=this._document.elementFromPoint(n.clientX,n.clientY),o=this._elementRef.nativeElement;r!==o&&!o.contains(r)&&this.hide()}}_disableNativeGesturesIfNecessary(){let n=this.touchGestures;if(n!=="off"){let r=this._elementRef.nativeElement,o=r.style;(n==="on"||r.nodeName!=="INPUT"&&r.nodeName!=="TEXTAREA")&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),(n==="on"||!r.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}};e.\u0275fac=function(r){return new(r||e)(f(Ze),f(P),f(yl),f(pt),f(F),f(Ne),f(PE),f(Ln),f(ED),f(Lt),f(g2,8),f(U))},e.\u0275dir=V({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(r,o){r&2&&pe("mat-mdc-tooltip-disabled",o.disabled)},inputs:{position:[w.None,"matTooltipPosition","position"],positionAtOrigin:[w.None,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[w.None,"matTooltipDisabled","disabled"],showDelay:[w.None,"matTooltipShowDelay","showDelay"],hideDelay:[w.None,"matTooltipHideDelay","hideDelay"],touchGestures:[w.None,"matTooltipTouchGestures","touchGestures"],message:[w.None,"matTooltip","message"],tooltipClass:[w.None,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0});let t=e;return t})(),_2=(()=>{let e=class e{constructor(n,r,o){this._changeDetectorRef=n,this._elementRef=r,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new k,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=o==="NoopAnimations"}show(n){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},n)}hide(n){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},n)}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:n}){(!n||!this._triggerElement.contains(n))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let n=this._elementRef.nativeElement.getBoundingClientRect();return n.height>b2&&n.width>=A2}_handleAnimationEnd({animationName:n}){(n===this._showAnimation||n===this._hideAnimation)&&this._finalizeAnimation(n===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(n){n?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(n){let r=this._tooltip.nativeElement,o=this._showAnimation,s=this._hideAnimation;if(r.classList.remove(n?s:o),r.classList.add(n?o:s),this._isVisible!==n&&(this._isVisible=n,this._changeDetectorRef.markForCheck()),n&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let a=getComputedStyle(r);(a.getPropertyValue("animation-duration")==="0s"||a.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}n&&this._onShow(),this._animationsDisabled&&(r.classList.add("_mat-animation-noopable"),this._finalizeAnimation(n))}};e.\u0275fac=function(r){return new(r||e)(f(Pe),f(P),f(lt,8))},e.\u0275cmp=ce({type:e,selectors:[["mat-tooltip-component"]],viewQuery:function(r,o){if(r&1&&qe(f2,7),r&2){let s;ge(s=ve())&&(o._tooltip=s.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(r,o){r&1&&K("mouseleave",function(a){return o._handleMouseLeave(a)}),r&2&&gi("zoom",o.isVisible()?1:null)},standalone:!0,features:[Ee],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(r,o){if(r&1){let s=je();E(0,"div",1,0),K("animationend",function(l){return ie(s),re(o._handleAnimationEnd(l))}),E(2,"div",2),ue(3),S()()}r&2&&(pe("mdc-tooltip--multiline",o._isMultiline),D("ngClass",o.tooltipClass),x(3),gt(o.message))},dependencies:[Ci],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.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}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.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-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});let t=e;return t})(),El=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({providers:[m2],imports:[ff,vt,Zn,ze,ze,fr]});let t=e;return t})()});var uy,ID,MD=g(()=>{"use strict";O();O();Ke();at();uy=class{constructor(e){this._box=e,this._destroyed=new k,this._resizeSubject=new k,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(i=>this._resizeSubject.next(i)))}observe(e){return this._elementObservables.has(e)||this._elementObservables.set(e,new X(i=>{let n=this._resizeSubject.subscribe(i);return this._resizeObserver?.observe(e,{box:this._box}),()=>{this._resizeObserver?.unobserve(e),n.unsubscribe(),this._elementObservables.delete(e)}}).pipe(de(i=>i.some(n=>n.target===e)),zr({bufferSize:1,refCount:!0}),te(this._destroyed))),this._elementObservables.get(e)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},ID=(()=>{let e=class e{constructor(){this._observers=new Map,this._ngZone=y(F),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,n]of this._observers)n.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(n,r){let o=r?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new uy(o)),this._observers.get(o).observe(n)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})()});function T2(t,e){t&1&&ne(0,"span",17)}function O2(t,e){if(t&1&&(E(0,"label",16),Re(1,1),Y(2,T2,1,0,"span",17),S()),t&2){let i=z(2);D("floating",i._shouldLabelFloat())("monitorResize",i._hasOutline())("id",i._labelId),_e("for",i._control.disableAutomaticLabeling?null:i._control.id),x(2),rt(2,!i.hideRequiredMarker&&i._control.required?2:-1)}}function R2(t,e){if(t&1&&Y(0,O2,3,5,"label",16),t&2){let i=z();rt(0,i._hasFloatingLabel()?0:-1)}}function F2(t,e){t&1&&ne(0,"div",5)}function k2(t,e){}function L2(t,e){if(t&1&&Y(0,k2,0,0,"ng-template",11),t&2){z(2);let i=Fn(1);D("ngTemplateOutlet",i)}}function P2(t,e){if(t&1&&(E(0,"div",7),Y(1,L2,1,1,null,11),S()),t&2){let i=z();D("matFormFieldNotchedOutlineOpen",i._shouldLabelFloat()),x(),rt(1,i._forceDisplayInfixLabel()?-1:1)}}function N2(t,e){t&1&&(E(0,"div",8,2),Re(2,2),S())}function j2(t,e){t&1&&(E(0,"div",9,3),Re(2,3),S())}function V2(t,e){}function B2(t,e){if(t&1&&Y(0,V2,0,0,"ng-template",11),t&2){z();let i=Fn(1);D("ngTemplateOutlet",i)}}function U2(t,e){t&1&&(E(0,"div",12),Re(1,4),S())}function H2(t,e){t&1&&(E(0,"div",13),Re(1,5),S())}function z2(t,e){t&1&&ne(0,"div",14)}function W2(t,e){if(t&1&&(E(0,"div",18),Re(1,6),S()),t&2){let i=z();D("@transitionMessages",i._subscriptAnimationState)}}function G2(t,e){if(t&1&&(E(0,"mat-hint",20),ue(1),S()),t&2){let i=z(2);D("id",i._hintLabelId),x(),gt(i.hintLabel)}}function Q2(t,e){if(t&1&&(E(0,"div",19),Y(1,G2,2,2,"mat-hint",20),Re(2,7),ne(3,"div",21),Re(4,8),S()),t&2){let i=z();D("@transitionMessages",i._subscriptAnimationState),x(),rt(1,i.hintLabel?1:-1)}}function $2(t){let e=t;if(e.offsetParent!==null)return e.scrollWidth;let i=e.cloneNode(!0);i.style.setProperty("position","absolute"),i.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(i);let n=i.scrollWidth;return i.remove(),n}var x2,C2,w2,E2,D2,I2,M2,S2,Qs,K2,q2,SD,Y2,Z2,ND,TD,OD,Df,RD,FD,X2,fy,hy,J2,kD,LD,ej,PD,tj,If,Mf,Il=g(()=>{"use strict";O();O();pn();Wt();Ke();at();MD();Si();wl();Ie();Lv();vn();x2=["notch"],C2=["matFormFieldNotchedOutline",""],w2=["*"],E2=["textField"],D2=["iconPrefixContainer"],I2=["textPrefixContainer"],M2=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],S2=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];Qs=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=V({type:e,selectors:[["mat-label"]],standalone:!0});let t=e;return t})(),K2=new C("MatError"),q2=0,SD=(()=>{let e=class e{constructor(){this.align="start",this.id=`mat-mdc-hint-${q2++}`}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=V({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(r,o){r&2&&(ir("id",o.id),_e("align",null),pe("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});let t=e;return t})(),Y2=new C("MatPrefix"),Z2=new C("MatSuffix"),ND=new C("FloatingLabelParent"),TD=(()=>{let e=class e{get floating(){return this._floating}set floating(n){this._floating=n,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(n){this._monitorResize=n,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(n){this._elementRef=n,this._floating=!1,this._monitorResize=!1,this._resizeObserver=y(ID),this._ngZone=y(F),this._parent=y(ND),this._resizeSubscription=new be}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return $2(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}};e.\u0275fac=function(r){return new(r||e)(f(P))},e.\u0275dir=V({type:e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(r,o){r&2&&pe("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});let t=e;return t})();OD="mdc-line-ripple--active",Df="mdc-line-ripple--deactivating",RD=(()=>{let e=class e{constructor(n,r){this._elementRef=n,this._handleTransitionEnd=o=>{let s=this._elementRef.nativeElement.classList,a=s.contains(Df);o.propertyName==="opacity"&&a&&s.remove(OD,Df)},r.runOutsideAngular(()=>{n.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let n=this._elementRef.nativeElement.classList;n.remove(Df),n.add(OD)}deactivate(){this._elementRef.nativeElement.classList.add(Df)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};e.\u0275fac=function(r){return new(r||e)(f(P),f(F))},e.\u0275dir=V({type:e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});let t=e;return t})(),FD=(()=>{let e=class e{constructor(n,r){this._elementRef=n,this._ngZone=r,this.open=!1}ngAfterViewInit(){let n=this._elementRef.nativeElement.querySelector(".mdc-floating-label");n?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(n.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>n.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(n){!this.open||!n?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${n}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}};e.\u0275fac=function(r){return new(r||e)(f(P),f(F))},e.\u0275cmp=ce({type:e,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(r,o){if(r&1&&qe(x2,5),r&2){let s;ge(s=ve())&&(o._notch=s.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(r,o){r&2&&pe("mdc-notched-outline--notched",o.open)},inputs:{open:[w.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[Ee],attrs:C2,ngContentSelectors:w2,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(r,o){r&1&&(Dt(),ne(0,"div",1),E(1,"div",2,0),Re(3),S(),ne(4,"div",3))},encapsulation:2,changeDetection:0});let t=e;return t})(),X2={transitionMessages:vr("transitionMessages",[_o("enter",Pt({opacity:1,transform:"translateY(0%)"})),Jn("void => enter",[Pt({opacity:0,transform:"translateY(-5px)"}),ki("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},fy=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=V({type:e});let t=e;return t})(),hy=new C("MatFormField"),J2=new C("MAT_FORM_FIELD_DEFAULT_OPTIONS"),kD=0,LD="fill",ej="auto",PD="fixed",tj="translateY(-50%)",If=(()=>{let e=class e{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(n){this._hideRequiredMarker=Ms(n)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||ej}set floatLabel(n){n!==this._floatLabel&&(this._floatLabel=n,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(n){let r=this._appearance,o=n||this._defaults?.appearance||LD;this._appearance=o,this._appearance==="outline"&&this._appearance!==r&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||PD}set subscriptSizing(n){this._subscriptSizing=n||this._defaults?.subscriptSizing||PD}get hintLabel(){return this._hintLabel}set hintLabel(n){this._hintLabel=n,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(n){this._explicitFormFieldControl=n}constructor(n,r,o,s,a,l,c,d){this._elementRef=n,this._changeDetectorRef=r,this._ngZone=o,this._dir=s,this._platform=a,this._defaults=l,this._animationMode=c,this._hideRequiredMarker=!1,this.color="primary",this._appearance=LD,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${kD++}`,this._hintLabelId=`mat-mdc-hint-${kD++}`,this._subscriptAnimationState="",this._destroyed=new k,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,l&&(l.appearance&&(this.appearance=l.appearance),this._hideRequiredMarker=!!l?.hideRequiredMarker,l.color&&(this.color=l.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){let n=this._control;n.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${n.controlType}`),n.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),n.ngControl&&n.ngControl.valueChanges&&n.ngControl.valueChanges.pipe(te(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(n=>!n._isText),this._hasTextPrefix=!!this._prefixChildren.find(n=>n._isText),this._hasIconSuffix=!!this._suffixChildren.find(n=>!n._isText),this._hasTextSuffix=!!this._suffixChildren.find(n=>n._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),mt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(te(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(te(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(n){let r=this._control?this._control.ngControl:null;return r&&r[n]}_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 n=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&n.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let r=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,o=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;r?n.push(r.id):this._hintLabel&&n.push(this._hintLabelId),o&&n.push(o.id)}else this._errorChildren&&n.push(...this._errorChildren.map(r=>r.id));this._control.setDescribedByIds(n)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;let n=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){n.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdateOnStable=!0;return}let r=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,s=r?.getBoundingClientRect().width??0,a=o?.getBoundingClientRect().width??0,l=this._dir.value==="rtl"?"-1":"1",c=`${s+a}px`,u=`calc(${l} * (${c} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;n.style.transform=`var(
7
+ `)}`}function Qr(t,e){let i=t.hasOwnProperty(Cd);return i?t[Cd]:null}function FT(t,e,i){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++){let r=t[n],o=e[n];if(i&&(r=i(r),o=i(o)),o!==r)return!1}return!0}function kT(t){return t.flat(Number.POSITIVE_INFINITY)}function Xp(t,e){t.forEach(i=>Array.isArray(i)?Xp(i,e):e(i))}function N_(t,e,i){e>=t.length?t.push(i):t.splice(e,0,i)}function Ed(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function LT(t,e){let i=[];for(let n=0;n<t;n++)i.push(e);return i}function PT(t,e,i,n){let r=t.length;if(r==e)t.push(i,n);else if(r===1)t.push(n,t[0]),t[0]=i;else{for(r--,t.push(t[r-1],t[r]);r>e;){let o=r-2;t[r]=t[o],r--}t[e]=i,t[e+1]=n}}function Qd(t,e,i){let n=La(t,e);return n>=0?t[n|1]=i:(n=~n,PT(t,n,e,i)),n}function km(t,e){let i=La(t,e);if(i>=0)return t[i|1]}function La(t,e){return NT(t,e,1)}function NT(t,e,i){let n=0,r=t.length>>i;for(;r!==n;){let o=n+(r-n>>1),s=t[o<<i];if(e===s)return o<<i;s>e?r=o:n=o+1}return~(r<<i)}function jT(t,e,i){let n=t.length;for(;;){let r=t.indexOf(e,i);if(r===-1)return r;if(r===0||t.charCodeAt(r-1)<=32){let o=e.length;if(r+o===n||t.charCodeAt(r+o)<=32)return r}i=r+1}}function Xm(t,e,i){let n=0;for(;n<i.length;){let r=i[n];if(typeof r=="number"){if(r!==0)break;n++;let o=i[n++],s=i[n++],a=i[n++];t.setAttribute(e,s,a,o)}else{let o=r,s=i[++n];VT(o)?t.setProperty(e,o,s):t.setAttribute(e,o,s),n++}}return n}function U_(t){return t===3||t===4||t===6}function VT(t){return t.charCodeAt(0)===64}function Ca(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let i=-1;for(let n=0;n<e.length;n++){let r=e[n];typeof r=="number"?i=r:i===0||(i===-1||i===2?q0(t,i,r,null,e[++n]):q0(t,i,r,null,null))}}return t}function q0(t,e,i,n,r){let o=0,s=t.length;if(e===-1)s=-1;else for(;o<t.length;){let a=t[o++];if(typeof a=="number"){if(a===e){s=-1;break}else if(a>e){s=o-1;break}}}for(;o<t.length;){let a=t[o];if(typeof a=="number")break;if(a===i){if(n===null){r!==null&&(t[o+1]=r);return}else if(n===t[o+1]){t[o+2]=r;return}}o++,n!==null&&o++,r!==null&&o++}s!==-1&&(t.splice(s,0,e),o=s+1),t.splice(o++,0,i),n!==null&&t.splice(o++,0,n),r!==null&&t.splice(o++,0,r)}function BT(t,e,i,n){let r=0;if(n){for(;r<e.length&&typeof e[r]=="string";r+=2)if(e[r]==="class"&&jT(e[r+1].toLowerCase(),i,0)!==-1)return!0}else if(Jp(t))return!1;if(r=e.indexOf(1,r),r>-1){let o;for(;++r<e.length&&typeof(o=e[r])=="string";)if(o.toLowerCase()===i)return!0}return!1}function Jp(t){return t.type===4&&t.value!==H_}function UT(t,e,i){let n=t.type===4&&!i?H_:t.value;return e===n}function HT(t,e,i){let n=4,r=t.attrs,o=r!==null?GT(r):0,s=!1;for(let a=0;a<e.length;a++){let l=e[a];if(typeof l=="number"){if(!s&&!En(n)&&!En(l))return!1;if(s&&En(l))continue;s=!1,n=l|n&1;continue}if(!s)if(n&4){if(n=2|n&1,l!==""&&!UT(t,l,i)||l===""&&e.length===1){if(En(n))return!1;s=!0}}else if(n&8){if(r===null||!BT(t,r,l,i)){if(En(n))return!1;s=!0}}else{let c=e[++a],d=zT(l,r,Jp(t),i);if(d===-1){if(En(n))return!1;s=!0;continue}if(c!==""){let u;if(d>o?u="":u=r[d+1].toLowerCase(),n&2&&c!==u){if(En(n))return!1;s=!0}}}}return En(n)||s}function En(t){return(t&1)===0}function zT(t,e,i,n){if(e===null)return-1;let r=0;if(n||!i){let o=!1;for(;r<e.length;){let s=e[r];if(s===t)return r;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=e[++r];for(;typeof a=="string";)a=e[++r];continue}else{if(s===4)break;if(s===0){r+=4;continue}}r+=o?1:2}return-1}else return KT(e,t)}function z_(t,e,i=!1){for(let n=0;n<e.length;n++)if(HT(t,e[n],i))return!0;return!1}function WT(t){let e=t.attrs;if(e!=null){let i=e.indexOf(5);if(!(i&1))return e[i+1]}return null}function GT(t){for(let e=0;e<t.length;e++){let i=t[e];if(U_(i))return e}return t.length}function KT(t,e){let i=t.indexOf(4);if(i>-1)for(i++;i<t.length;){let n=t[i];if(typeof n=="number")return-1;if(n===e)return i;i++}return-1}function QT(t,e){e:for(let i=0;i<e.length;i++){let n=e[i];if(t.length===n.length){for(let r=0;r<t.length;r++)if(t[r]!==n[r])continue e;return!0}}return!1}function Y0(t,e){return t?":not("+e.trim()+")":e}function qT(t){let e=t[0],i=1,n=2,r="",o=!1;for(;i<t.length;){let s=t[i];if(typeof s=="string")if(n&2){let a=t[++i];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else n&8?r+="."+s:n&4&&(r+=" "+s);else r!==""&&!En(s)&&(e+=Y0(o,r),r=""),n=s,o=o||!En(n);i++}return r!==""&&(e+=Y0(o,r)),e}function YT(t){return t.map(qT).join(",")}function ZT(t){let e=[],i=[],n=1,r=2;for(;n<t.length;){let o=t[n];if(typeof o=="string")r===2?o!==""&&e.push(o,t[++n]):r===8&&i.push(o);else{if(!En(r))break;r=o}n++}return{attrs:e,classes:i}}function ce(t){return Fa(()=>{let e=q_(t),i=we(A({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===B_.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||zn.Emulated,styles:t.styles||Qt,_:null,schemas:t.schemas||null,tView:null,id:""});Y_(i);let n=t.dependencies;return i.directiveDefs=$0(n,!1),i.pipeDefs=$0(n,!0),i.id=JT(i),i})}function $T(t){return Qi(t)||W_(t)}function XT(t){return t!==null}function j(t){return Fa(()=>({type:t.type,bootstrap:t.bootstrap||Qt,declarations:t.declarations||Qt,imports:t.imports||Qt,exports:t.exports||Qt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Z0(t,e){if(t==null)return es;let i={};for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o,s,a=w.None;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o):(o=r,s=r),e?(i[o]=a!==w.None?[n,a]:n,e[o]=s):i[o]=n}return i}function V(t){return Fa(()=>{let e=q_(t);return Y_(e),e})}function cs(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 Qi(t){return t[yT]||null}function W_(t){return t[bT]||null}function G_(t){return t[AT]||null}function K_(t){let e=Qi(t)||W_(t)||G_(t);return e!==null?e.standalone:!1}function Q_(t,e){let i=t[_T]||null;if(!i&&e===!0)throw new Error(`Type ${Ht(t)} does not have '\u0275mod' property.`);return i}function q_(t){let e={};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:e,inputTransforms:null,inputConfig:t.inputs||es,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Qt,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Z0(t.inputs,e),outputs:Z0(t.outputs),debugInfo:null}}function Y_(t){t.features?.forEach(e=>e(t))}function $0(t,e){if(!t)return null;let i=e?G_:$T;return()=>(typeof t=="function"?t():t).map(n=>i(n)).filter(XT)}function JT(t){let e=0,i=[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 i)e=Math.imul(31,e)+r.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function Pa(t){return{\u0275providers:t}}function eg(...t){return{\u0275providers:Z_(!0,t),\u0275fromNgModule:!0}}function Z_(t,...e){let i=[],n=new Set,r,o=s=>{i.push(s)};return Xp(e,s=>{let a=s;Jm(a,o,[],n)&&(r||=[],r.push(a))}),r!==void 0&&$_(r,o),i}function $_(t,e){for(let i=0;i<t.length;i++){let{ngModule:n,providers:r}=t[i];tg(r,o=>{e(o,n)})}}function Jm(t,e,i,n){if(t=Ut(t),!t)return!1;let r=null,o=W0(t),s=!o&&Qi(t);if(!o&&!s){let l=t.ngModule;if(o=W0(l),o)r=l;else return!1}else{if(s&&!s.standalone)return!1;r=t}let a=n.has(r);if(s){if(a)return!1;if(n.add(r),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)Jm(c,e,i,n)}}else if(o){if(o.imports!=null&&!a){n.add(r);let c;try{Xp(o.imports,d=>{Jm(d,e,i,n)&&(c||=[],c.push(d))})}finally{}c!==void 0&&$_(c,e)}if(!a){let c=Qr(r)||(()=>new r);e({provide:r,useFactory:c,deps:Qt},r),e({provide:V_,useValue:r,multi:!0},r),e({provide:ts,useValue:()=>p(r),multi:!0},r)}let l=o.providers;if(l!=null&&!a){let c=t;tg(l,d=>{e(d,c)})}}else return!1;return r!==t&&t.providers!==void 0}function tg(t,e){for(let i of t)F_(i)&&(i=i.\u0275providers),Array.isArray(i)?tg(i,e):e(i)}function X_(t){return t!==null&&typeof t=="object"&&e1 in t}function t1(t){return!!(t&&t.useExisting)}function n1(t){return!!(t&&t.useFactory)}function ns(t){return typeof t=="function"}function i1(t){return!!t.useClass}function ng(){return Lm===void 0&&(Lm=new Dd),Lm}function ep(t){let e=Wd(t),i=e!==null?e.factory:Qr(t);if(i!==null)return i;if(t instanceof C)throw new T(204,!1);if(t instanceof Function)return o1(t);throw new T(204,!1)}function o1(t){if(t.length>0)throw new T(204,!1);let i=gT(t);return i!==null?()=>i.factory(t):()=>new t}function s1(t){if(X_(t))return qo(void 0,t.useValue);{let e=J_(t);return qo(e,gd)}}function J_(t,e,i){let n;if(ns(t)){let r=Ut(t);return Qr(r)||ep(r)}else if(X_(t))n=()=>Ut(t.useValue);else if(n1(t))n=()=>t.useFactory(...$m(t.deps||[]));else if(t1(t))n=()=>p(Ut(t.useExisting));else{let r=Ut(t&&(t.useClass||t.provide));if(a1(t))n=()=>new r(...$m(t.deps));else return Qr(r)||ep(r)}return n}function qo(t,e,i=!1){return{factory:t,value:e,multi:i?[]:void 0}}function a1(t){return!!t.deps}function l1(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function c1(t){return typeof t=="function"||typeof t=="object"&&t instanceof C}function tp(t,e){for(let i of t)Array.isArray(i)?tp(i,e):i&&F_(i)?tp(i.\u0275providers,e):e(i)}function On(t,e){t instanceof wa&&t.assertNotDestroyed();let i,n=Gi(t),r=Kt(void 0);try{return e()}finally{Gi(n),Kt(r)}}function ex(){return k_()!==void 0||MT()!=null}function tx(t){if(!ex())throw new T(-203,!1)}function d1(t){return typeof t=="function"}function Wr(t){return Array.isArray(t)&&typeof t[ix]=="object"}function hi(t){return Array.isArray(t)&&t[ix]===!0}function rg(t){return(t.flags&4)!==0}function Zd(t){return t.componentOffset>-1}function $d(t){return(t.flags&1)===1}function qi(t){return!!t.template}function u1(t){return(t[$]&512)!==0}function rx(t,e,i,n){e!==null?e.applyValueToInputSignal(e,n):t[i]=n}function He(){return ox}function ox(t){return t.type.prototype.ngOnChanges&&(t.setInput=h1),f1}function f1(){let t=ax(this),e=t?.current;if(e){let i=t.previous;if(i===es)t.previous=e;else for(let n in e)i[n]=e[n];t.current=null,this.ngOnChanges(e)}}function h1(t,e,i,n,r){let o=this.declaredInputs[n],s=ax(t)||m1(t,{previous:es,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new Ma(c&&c.currentValue,i,l===es),rx(t,e,r,i)}function ax(t){return t[sx]||null}function m1(t,e){return t[sx]=e}function v1(){return g1}function Wn(t){for(;Array.isArray(t);)t=t[fi];return t}function cx(t,e){return Wn(e[t])}function dn(t,e){return Wn(e[t.index])}function og(t,e){return t.data[e]}function sg(t,e){return t[e]}function Ji(t,e){let i=e[t];return Wr(i)?i:i[fi]}function y1(t){return(t[$]&4)===4}function ag(t){return(t[$]&128)===128}function b1(t){return hi(t[wt])}function os(t,e){return e==null?null:t[e]}function dx(t){t[Yo]=0}function A1(t){t[$]&1024||(t[$]|=1024,ag(t)&&Sa(t))}function _1(t,e){for(;t>0;)e=e[ds],t--;return e}function lg(t){return!!(t[$]&9216||t[qr]?.dirty)}function np(t){t[Mn].changeDetectionScheduler?.notify(1),lg(t)?Sa(t):t[$]&64&&(v1()?(t[$]|=1024,Sa(t)):t[Mn].changeDetectionScheduler?.notify())}function Sa(t){t[Mn].changeDetectionScheduler?.notify();let e=Ta(t);for(;e!==null&&!(e[$]&8192||(e[$]|=8192,!ag(e)));)e=Ta(e)}function ux(t,e){if((t[$]&256)===256)throw new T(911,!1);t[Ki]===null&&(t[Ki]=[]),t[Ki].push(e)}function x1(t,e){if(t[Ki]===null)return;let i=t[Ki].indexOf(e);i!==-1&&t[Ki].splice(i,1)}function Ta(t){let e=t[wt];return hi(e)?e[wt]:e}function C1(){return le.lFrame.elementDepthCount}function w1(){le.lFrame.elementDepthCount++}function E1(){le.lFrame.elementDepthCount--}function fx(){return le.bindingsEnabled}function hx(){return le.skipHydrationRootTNode!==null}function D1(t){return le.skipHydrationRootTNode===t}function I1(){le.skipHydrationRootTNode=null}function se(){return le.lFrame.lView}function st(){return le.lFrame.tView}function ie(t){return le.lFrame.contextLView=t,t[cn]}function re(t){return le.lFrame.contextLView=null,t}function kt(){let t=mx();for(;t!==null&&t.type===64;)t=t.parent;return t}function mx(){return le.lFrame.currentTNode}function M1(){let t=le.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function no(t,e){let i=le.lFrame;i.currentTNode=t,i.isParent=e}function cg(){return le.lFrame.isParent}function dg(){le.lFrame.isParent=!1}function S1(){return le.lFrame.contextLView}function ja(){let t=le.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function T1(){return le.lFrame.bindingIndex}function O1(t){return le.lFrame.bindingIndex=t}function us(){return le.lFrame.bindingIndex++}function ug(t){let e=le.lFrame,i=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,i}function R1(){return le.lFrame.inI18n}function F1(t,e){let i=le.lFrame;i.bindingIndex=i.bindingRootIndex=t,ip(e)}function k1(){return le.lFrame.currentDirectiveIndex}function ip(t){le.lFrame.currentDirectiveIndex=t}function L1(t){let e=le.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function px(){return le.lFrame.currentQueryIndex}function fg(t){le.lFrame.currentQueryIndex=t}function P1(t){let e=t[ae];return e.type===2?e.declTNode:e.type===1?t[tn]:null}function gx(t,e,i){if(i&xe.SkipSelf){let r=e,o=t;for(;r=r.parent,r===null&&!(i&xe.Host);)if(r=P1(o),r===null||(o=o[ds],r.type&10))break;if(r===null)return!1;e=r,t=o}let n=le.lFrame=vx();return n.currentTNode=e,n.lView=t,!0}function hg(t){let e=vx(),i=t[ae];le.lFrame=e,e.currentTNode=i.firstChild,e.lView=t,e.tView=i,e.contextLView=t,e.bindingIndex=i.bindingStartIndex,e.inI18n=!1}function vx(){let t=le.lFrame,e=t===null?null:t.child;return e===null?yx(t):e}function yx(t){let e={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=e),e}function bx(){let t=le.lFrame;return le.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}function mg(){let t=bx();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 N1(t){return(le.lFrame.contextLView=_1(t,le.lFrame.contextLView))[cn]}function er(){return le.lFrame.selectedIndex}function Zr(t){le.lFrame.selectedIndex=t}function Xd(){let t=le.lFrame;return og(t.tView,t.selectedIndex)}function io(){le.lFrame.currentNamespace=lx}function _x(){j1()}function j1(){le.lFrame.currentNamespace=null}function V1(){return le.lFrame.currentNamespace}function Jd(){return xx}function eu(t){xx=t}function B1(t,e,i){let{ngOnChanges:n,ngOnInit:r,ngDoCheck:o}=e.type.prototype;if(n){let s=ox(e);(i.preOrderHooks??=[]).push(t,s),(i.preOrderCheckHooks??=[]).push(t,s)}r&&(i.preOrderHooks??=[]).push(0-t,r),o&&((i.preOrderHooks??=[]).push(t,o),(i.preOrderCheckHooks??=[]).push(t,o))}function tu(t,e){for(let i=e.directiveStart,n=e.directiveEnd;i<n;i++){let o=t.data[i].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=o;s&&(t.contentHooks??=[]).push(-i,s),a&&((t.contentHooks??=[]).push(i,a),(t.contentCheckHooks??=[]).push(i,a)),l&&(t.viewHooks??=[]).push(-i,l),c&&((t.viewHooks??=[]).push(i,c),(t.viewCheckHooks??=[]).push(i,c)),d!=null&&(t.destroyHooks??=[]).push(i,d)}}function yd(t,e,i){Cx(t,e,3,i)}function bd(t,e,i,n){(t[$]&3)===i&&Cx(t,e,i,n)}function Pm(t,e){let i=t[$];(i&3)===e&&(i&=16383,i+=1,t[$]=i)}function Cx(t,e,i,n){let r=n!==void 0?t[Yo]&65535:0,o=n??-1,s=e.length-1,a=0;for(let l=r;l<s;l++)if(typeof e[l+1]=="number"){if(a=e[l],n!=null&&a>=n)break}else e[l]<0&&(t[Yo]+=65536),(a<o||o==-1)&&(U1(t,i,e,l),t[Yo]=(t[Yo]&4294901760)+l+2),l++}function e_(t,e){Un(4,t,e);let i=Te(null);try{e.call(t)}finally{Te(i),Un(5,t,e)}}function U1(t,e,i,n){let r=i[n]<0,o=i[n+1],s=r?-i[n]:i[n],a=t[s];r?t[$]>>14<t[Yo]>>16&&(t[$]&3)===e&&(t[$]+=16384,e_(a,o)):e_(a,o)}function H1(t){return t instanceof $r}function z1(t){return(t.flags&8)!==0}function W1(t){return(t.flags&16)!==0}function wx(t){return t!==Jo}function Md(t){return t&32767}function G1(t){return t>>16}function Sd(t,e){let i=G1(t),n=e;for(;i>0;)n=n[ds],i--;return n}function Td(t){let e=rp;return rp=t,e}function q1(t,e,i){let n;typeof i=="string"?n=i.charCodeAt(0)||0:i.hasOwnProperty(_a)&&(n=i[_a]),n==null&&(n=i[_a]=Q1++);let r=n&Ex,o=1<<r;e.data[t+(r>>Dx)]|=o}function Od(t,e){let i=Ix(t,e);if(i!==-1)return i;let n=e[ae];n.firstCreatePass&&(t.injectorIndex=e.length,Nm(n.data,t),Nm(e,null),Nm(n.blueprint,null));let r=pg(t,e),o=t.injectorIndex;if(wx(r)){let s=Md(r),a=Sd(r,e),l=a[ae].data;for(let c=0;c<8;c++)e[o+c]=a[s+c]|l[s+c]}return e[o+8]=r,o}function Nm(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ix(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function pg(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let i=0,n=null,r=e;for(;r!==null;){if(n=Rx(r),n===null)return Jo;if(i++,r=r[ds],n.injectorIndex!==-1)return n.injectorIndex|i<<16}return Jo}function op(t,e,i){q1(t,e,i)}function Y1(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let i=t.attrs;if(i){let n=i.length,r=0;for(;r<n;){let o=i[r];if(U_(o))break;if(o===0)r=r+2;else if(typeof o=="number")for(r++;r<n&&typeof i[r]=="string";)r++;else{if(o===e)return i[r+1];r=r+2}}}return null}function Mx(t,e,i){if(i&xe.Optional||t!==void 0)return t;$p(e,"NodeInjector")}function Sx(t,e,i,n){if(i&xe.Optional&&n===void 0&&(n=null),!(i&(xe.Self|xe.Host))){let r=t[is],o=Kt(void 0);try{return r?r.get(e,n,i&xe.Optional):L_(e,n,i&xe.Optional)}finally{Kt(o)}}return Mx(n,e,i)}function Tx(t,e,i,n=xe.Default,r){if(t!==null){if(e[$]&2048&&!(n&xe.Self)){let s=J1(t,e,i,n,Hn);if(s!==Hn)return s}let o=Ox(t,e,i,n,Hn);if(o!==Hn)return o}return Sx(e,i,n,r)}function Ox(t,e,i,n,r){let o=$1(i);if(typeof o=="function"){if(!gx(e,t,n))return n&xe.Host?Mx(r,i,n):Sx(e,i,n,r);try{let s;if(s=o(n),s==null&&!(n&xe.Optional))$p(i);else return s}finally{Ax()}}else if(typeof o=="number"){let s=null,a=Ix(t,e),l=Jo,c=n&xe.Host?e[Sn][tn]:null;for((a===-1||n&xe.SkipSelf)&&(l=a===-1?pg(t,e):e[a+8],l===Jo||!n_(n,!1)?a=-1:(s=e[ae],a=Md(l),e=Sd(l,e)));a!==-1;){let d=e[ae];if(t_(o,a,d.data)){let u=Z1(a,e,i,s,n,c);if(u!==Hn)return u}l=e[a+8],l!==Jo&&n_(n,e[ae].data[a+8]===c)&&t_(o,a,e)?(s=d,a=Md(l),e=Sd(l,e)):a=-1}}return r}function Z1(t,e,i,n,r,o){let s=e[ae],a=s.data[t+8],l=n==null?Zd(a)&&rp:n!=s&&(a.type&3)!==0,c=r&xe.Host&&o===a,d=Ad(a,s,i,l,c);return d!==null?Xr(e,s,d,a):Hn}function Ad(t,e,i,n,r){let o=t.providerIndexes,s=e.data,a=o&1048575,l=t.directiveStart,c=t.directiveEnd,d=o>>20,u=n?a:a+d,h=r?a+d:c;for(let m=u;m<h;m++){let v=s[m];if(m<l&&i===v||m>=l&&v.type===i)return m}if(r){let m=s[l];if(m&&qi(m)&&m.type===i)return l}return null}function Xr(t,e,i,n){let r=t[i],o=e.data;if(H1(r)){let s=r;s.resolving&&CT(xT(o[i]));let a=Td(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?Kt(s.injectImpl):null,d=gx(t,n,xe.Default);try{r=t[i]=s.factory(void 0,o,t,n),e.firstCreatePass&&i>=n.directiveStart&&B1(i,o[i],e)}finally{c!==null&&Kt(c),Td(a),s.resolving=!1,Ax()}}return r}function $1(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(_a)?t[_a]:void 0;return typeof e=="number"?e>=0?e&Ex:X1:e}function t_(t,e,i){let n=1<<t;return!!(i[e+(t>>Dx)]&n)}function n_(t,e){return!(t&xe.Self)&&!(t&xe.Host&&e)}function X1(){return new Gr(kt(),se())}function it(t){return Fa(()=>{let e=t.prototype.constructor,i=e[Cd]||sp(e),n=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==n;){let o=r[Cd]||sp(r);if(o&&o!==i)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function sp(t){return S_(t)?()=>{let e=sp(Ut(t));return e&&e()}:Qr(t)}function J1(t,e,i,n,r){let o=t,s=e;for(;o!==null&&s!==null&&s[$]&2048&&!(s[$]&512);){let a=Ox(o,s,i,n|xe.Self,Hn);if(a!==Hn)return a;let l=o.parent;if(!l){let c=s[nx];if(c){let d=c.get(i,Hn,n);if(d!==Hn)return d}l=Rx(s),s=s[ds]}o=l}return r}function Rx(t){let e=t[ae],i=e.type;return i===2?e.declTNode:i===1?t[tn]:null}function tr(t){return Y1(kt(),t)}function i_(t,e=null,i=null,n){let r=Fx(t,e,i,n);return r.resolveInjectorInitializers(),r}function Fx(t,e=null,i=null,n,r=new Set){let o=[i||Qt,eg(t)];return n=n||(typeof t=="object"?void 0:Ht(t)),new wa(o,e||ng(),n||null,r)}function jm(t){return t[eO]}function tO(){return new ap(se())}function nO(){return fs(kt(),se())}function fs(t,e){return new P(dn(t,e))}function iO(t){return t instanceof P?t.nativeElement:t}function Vm(t){return e=>{setTimeout(t,void 0,e)}}function rO(){return this._results[Symbol.iterator]()}function Lx(t){return(t.flags&128)===128}function sO(){return oO++}function aO(t){Px.set(t[Yd],t)}function lO(t){Px.delete(t[Yd])}function Zi(t,e){Wr(e)?(t[r_]=e[Yd],aO(e)):t[r_]=e}function Nx(t){return Vx(t[Ia])}function jx(t){return Vx(t[In])}function Vx(t){for(;t!==null&&!hi(t);)t=t[In];return t}function Bx(t){cp=t}function Ux(){if(cp!==void 0)return cp;if(typeof document<"u")return document;throw new T(210,!1)}function vg(t,e,i=!1){return fO(t,e,i)}function mO(){if(ud===void 0&&(ud=null,li.trustedTypes))try{ud=li.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return ud}function iu(t){return mO()?.createHTML(t)||t}function zx(){if(fd===void 0&&(fd=null,li.trustedTypes))try{fd=li.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return fd}function o_(t){return zx()?.createHTML(t)||t}function s_(t){return zx()?.createScriptURL(t)||t}function un(t){return t instanceof di?t.changingThisBreaksApplicationSecurity:t}function mi(t,e){let i=pO(t);if(i!=null&&i!==e){if(i==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${i} (see ${I_})`)}return i===e}function pO(t){return t instanceof di&&t.getTypeName()||null}function Wx(t){return new dp(t)}function Gx(t){return new up(t)}function Kx(t){return new fp(t)}function Qx(t){return new hp(t)}function qx(t){return new mp(t)}function gO(t){let e=new gp(t);return vO()?new pp(e):e}function vO(){try{return!!new window.DOMParser().parseFromString(iu(""),"text/html")}catch{return!1}}function ru(t){return t=String(t),t.match(yO)?t:"unsafe:"+t}function pi(t){let e={};for(let i of t.split(","))e[i]=!0;return e}function Ba(...t){let e={};for(let i of t)for(let n in i)i.hasOwnProperty(n)&&(e[n]=!0);return e}function DO(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function IO(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw Jx(e);return e}function MO(t){let e=t.firstChild;if(e&&DO(t,e))throw Jx(e);return e}function l_(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function Jx(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}function c_(t){return t.replace(/&/g,"&amp;").replace(SO,function(e){let i=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((i-55296)*1024+(n-56320)+65536)+";"}).replace(TO,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function yg(t,e){let i=null;try{hd=hd||gO(t);let n=e?String(e):"";i=hd.getInertBodyElement(n);let r=5,o=n;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,n=o,o=i.innerHTML,i=hd.getInertBodyElement(n)}while(n!==o);let a=new vp().sanitizeChildren(d_(i)||i);return iu(a)}finally{if(i){let n=d_(i)||i;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function d_(t){return"content"in t&&OO(t)?t.content:null}function OO(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}function hs(t){let e=Ag();return e?o_(e.sanitize(Et.HTML,t)||""):mi(t,"HTML")?o_(un(t)):yg(Ux(),Kr(t))}function bg(t){let e=Ag();return e?e.sanitize(Et.URL,t)||"":mi(t,"URL")?un(t):ru(Kr(t))}function RO(t){let e=Ag();if(e)return s_(e.sanitize(Et.RESOURCE_URL,t)||"");if(mi(t,"ResourceURL"))return s_(un(t));throw new T(904,!1)}function FO(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?RO:bg}function eC(t,e,i){return FO(e,i)(t)}function Ag(){let t=se();return t&&t[Mn].sanitizer}function NO(t){return t.replace(kO,e=>e.replace(LO,PO))}function tC(t){return t instanceof Function?t():t}function jO(t){return(t??y(Xe)).get(bt)==="browser"}function _g(t,e){return VO(t,e)}function Zo(t,e,i,n,r){if(n!=null){let o,s=!1;hi(n)?o=n:Wr(n)&&(s=!0,n=n[fi]);let a=Wn(n);t===0&&i!==null?r==null?sC(e,i,a):Fd(e,i,a,r||null,!0):t===1&&i!==null?Fd(e,i,a,r||null,!0):t===2?tR(e,a,s):t===3&&e.destroyNode(a),o!=null&&iR(e,t,o,i,r)}}function BO(t,e){return t.createText(e)}function UO(t,e,i){t.setValue(e,i)}function HO(t,e){return t.createComment(NO(e))}function nC(t,e,i){return t.createElement(e,i)}function zO(t,e){iC(t,e),e[fi]=null,e[tn]=null}function WO(t,e,i,n,r,o){n[fi]=r,n[tn]=e,su(t,n,i,1,r,o)}function iC(t,e){e[Mn].changeDetectionScheduler?.notify(1),su(t,e,e[nt],2,null,null)}function GO(t){let e=t[Ia];if(!e)return Bm(t[ae],t);for(;e;){let i=null;if(Wr(e))i=e[Ia];else{let n=e[qt];n&&(i=n)}if(!i){for(;e&&!e[In]&&e!==t;)Wr(e)&&Bm(e[ae],e),e=e[wt];e===null&&(e=t),Wr(e)&&Bm(e[ae],e),i=e&&e[In]}e=i}}function KO(t,e,i,n){let r=qt+n,o=i.length;n>0&&(i[r-1][In]=e),n<o-qt?(e[In]=i[r],N_(i,qt+n,e)):(i.push(e),e[In]=null),e[wt]=i;let s=e[Na];s!==null&&i!==s&&QO(s,e);let a=e[ci];a!==null&&a.insertView(t),np(e),e[$]|=128}function QO(t,e){let i=t[rs],r=e[wt][wt][Sn];e[Sn]!==r&&(t[$]|=ig.HasTransplantedViews),i===null?t[rs]=[e]:i.push(e)}function rC(t,e){let i=t[rs],n=i.indexOf(e);i.splice(n,1)}function Rd(t,e){if(t.length<=qt)return;let i=qt+e,n=t[i];if(n){let r=n[Na];r!==null&&r!==t&&rC(r,n),e>0&&(t[i-1][In]=n[In]);let o=Ed(t,qt+e);zO(n[ae],n);let s=o[ci];s!==null&&s.detachView(o[ae]),n[wt]=null,n[In]=null,n[$]&=-129}return n}function xg(t,e){if(!(e[$]&256)){let i=e[nt];i.destroyNode&&su(t,e,i,3,null,null),GO(e)}}function Bm(t,e){if(e[$]&256)return;let i=Te(null);try{e[$]&=-129,e[$]|=256,e[qr]&&Nh(e[qr]),YO(t,e),qO(t,e),e[ae].type===1&&e[nt].destroy();let n=e[Na];if(n!==null&&hi(e[wt])){n!==e[wt]&&rC(n,e);let r=e[ci];r!==null&&r.detachView(t)}lO(e)}finally{Te(i)}}function qO(t,e){let i=t.cleanup,n=e[Da];if(i!==null)for(let o=0;o<i.length-1;o+=2)if(typeof i[o]=="string"){let s=i[o+3];s>=0?n[s]():n[-s].unsubscribe(),o+=2}else{let s=n[i[o+1]];i[o].call(s)}n!==null&&(e[Da]=null);let r=e[Ki];if(r!==null){e[Ki]=null;for(let o=0;o<r.length;o++){let s=r[o];s()}}}function YO(t,e){let i;if(t!=null&&(i=t.destroyHooks)!=null)for(let n=0;n<i.length;n+=2){let r=e[i[n]];if(!(r instanceof $r)){let o=i[n+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=r[o[s]],l=o[s+1];Un(4,a,l);try{l.call(a)}finally{Un(5,a,l)}}else{Un(4,r,o);try{o.call(r)}finally{Un(5,r,o)}}}}}function oC(t,e,i){return ZO(t,e.parent,i)}function ZO(t,e,i){let n=e;for(;n!==null&&n.type&40;)e=n,n=e.parent;if(n===null)return i[fi];{let{componentOffset:r}=n;if(r>-1){let{encapsulation:o}=t.data[n.directiveStart+r];if(o===zn.None||o===zn.Emulated)return null}return dn(n,i)}}function Fd(t,e,i,n,r){t.insertBefore(e,i,n,r)}function sC(t,e,i){t.appendChild(e,i)}function u_(t,e,i,n,r){n!==null?Fd(t,e,i,n,r):sC(t,e,i)}function $O(t,e,i,n){t.removeChild(e,i,n)}function Cg(t,e){return t.parentNode(e)}function XO(t,e){return t.nextSibling(e)}function aC(t,e,i){return eR(t,e,i)}function JO(t,e,i){return t.type&40?dn(t,i):null}function ou(t,e,i,n){let r=oC(t,n,e),o=e[nt],s=n.parent||e[tn],a=aC(s,n,e);if(r!=null)if(Array.isArray(i))for(let l=0;l<i.length;l++)u_(o,r,i[l],a,!1);else u_(o,r,i,a,!1);f_!==void 0&&f_(o,n,e,i,r)}function _d(t,e){if(e!==null){let i=e.type;if(i&3)return dn(e,t);if(i&4)return yp(-1,t[e.index]);if(i&8){let n=e.child;if(n!==null)return _d(t,n);{let r=t[e.index];return hi(r)?yp(-1,r):Wn(r)}}else{if(i&32)return _g(e,t)()||Wn(t[e.index]);{let n=lC(t,e);if(n!==null){if(Array.isArray(n))return n[0];let r=Ta(t[Sn]);return _d(r,n)}else return _d(t,e.next)}}}return null}function lC(t,e){if(e!==null){let n=t[Sn][tn],r=e.projection;return n.projection[r]}return null}function yp(t,e){let i=qt+t+1;if(i<e.length){let n=e[i],r=n[ae].firstChild;if(r!==null)return _d(n,r)}return e[Yr]}function tR(t,e,i){let n=Cg(t,e);n&&$O(t,n,e,i)}function wg(t,e,i,n,r,o,s){for(;i!=null;){let a=n[i.index],l=i.type;if(s&&e===0&&(a&&Zi(Wn(a),n),i.flags|=2),(i.flags&32)!==32)if(l&8)wg(t,e,i.child,n,r,o,!1),Zo(e,t,r,a,o);else if(l&32){let c=_g(i,n),d;for(;d=c();)Zo(e,t,r,d,o);Zo(e,t,r,a,o)}else l&16?cC(t,e,n,i,r,o):Zo(e,t,r,a,o);i=s?i.projectionNext:i.next}}function su(t,e,i,n,r,o){wg(i,n,t.firstChild,e,r,o,!1)}function nR(t,e,i){let n=e[nt],r=oC(t,i,e),o=i.parent||e[tn],s=aC(o,i,e);cC(n,0,e,i,r,s)}function cC(t,e,i,n,r,o){let s=i[Sn],l=s[tn].projection[n.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let d=l[c];Zo(e,t,r,d,o)}else{let c=l,d=s[wt];Lx(n)&&(c.flags|=128),wg(t,e,c,d,r,o,!0)}}function iR(t,e,i,n,r){let o=i[Yr],s=Wn(i);o!==s&&Zo(e,t,n,o,r);for(let a=qt;a<i.length;a++){let l=i[a];su(l[ae],l,t,e,n,o)}}function rR(t,e,i,n,r){if(e)r?t.addClass(i,n):t.removeClass(i,n);else{let o=n.indexOf("-")===-1?void 0:ui.DashCase;r==null?t.removeStyle(i,n,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=ui.Important),t.setStyle(i,n,r,o))}}function oR(t,e,i){t.setAttribute(e,"style",i)}function dC(t,e,i){i===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",i)}function uC(t,e,i){let{mergedAttrs:n,classes:r,styles:o}=i;n!==null&&Xm(t,e,n),r!==null&&dC(t,e,r),o!==null&&oR(t,e,o)}function x(t=1){fC(st(),se(),er()+t,!1)}function fC(t,e,i,n){if(!n)if((e[$]&3)===3){let o=t.preOrderCheckHooks;o!==null&&yd(e,o,i)}else{let o=t.preOrderHooks;o!==null&&bd(e,o,0,i)}Zr(i)}function f(t,e=xe.Default){let i=se();if(i===null)return p(t,e);let n=kt();return Tx(n,i,Ut(t),e)}function ms(){let t="invalid";throw new Error(t)}function hC(t,e,i,n,r,o){let s=Te(null);try{let a=null;r&w.SignalBased&&(a=e[n][xc]),a!==null&&a.transformFn!==void 0&&(o=a.transformFn(o)),r&w.HasDecoratorInputTransform&&(o=t.inputTransforms[n].call(e,o)),t.setInput!==null?t.setInput(e,a,o,i,n):rx(e,a,n,o)}finally{Te(s)}}function sR(t,e){let i=t.hostBindingOpCodes;if(i!==null)try{for(let n=0;n<i.length;n++){let r=i[n];if(r<0)Zr(~r);else{let o=r,s=i[++n],a=i[++n];F1(s,o);let l=e[o];a(2,l)}}}finally{Zr(-1)}}function au(t,e,i,n,r,o,s,a,l,c,d){let u=e.blueprint.slice();return u[fi]=r,u[$]=n|4|128|8|64,(c!==null||t&&t[$]&2048)&&(u[$]|=2048),dx(u),u[wt]=u[ds]=t,u[cn]=i,u[Mn]=s||t&&t[Mn],u[nt]=a||t&&t[nt],u[is]=l||t&&t[is]||null,u[tn]=o,u[Yd]=sO(),u[Ea]=d,u[nx]=c,u[Sn]=e.type==2?t[Sn]:u,u}function ps(t,e,i,n,r){let o=t.data[e];if(o===null)o=aR(t,e,i,n,r),R1()&&(o.flags|=32);else if(o.type&64){o.type=i,o.value=n,o.attrs=r;let s=M1();o.injectorIndex=s===null?-1:s.injectorIndex}return no(o,!0),o}function aR(t,e,i,n,r){let o=mx(),s=cg(),a=s?o:o&&o.parent,l=t.data[e]=hR(t,a,i,e,n,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 mC(t,e,i,n){if(i===0)return-1;let r=e.length;for(let o=0;o<i;o++)e.push(n),t.blueprint.push(n),t.data.push(null);return r}function pC(t,e,i,n,r){let o=er(),s=n&2;try{Zr(-1),s&&e.length>Rt&&fC(t,e,Rt,!1),Un(s?2:0,r),i(n,r)}finally{Zr(o),Un(s?3:1,r)}}function Eg(t,e,i){if(rg(e)){let n=Te(null);try{let r=e.directiveStart,o=e.directiveEnd;for(let s=r;s<o;s++){let a=t.data[s];if(a.contentQueries){let l=i[s];a.contentQueries(1,l,s)}}}finally{Te(n)}}}function Dg(t,e,i){fx()&&(bR(t,e,i,dn(i,e)),(i.flags&64)===64&&yC(t,e,i))}function Ig(t,e,i=dn){let n=e.localNames;if(n!==null){let r=e.index+1;for(let o=0;o<n.length;o+=2){let s=n[o+1],a=s===-1?i(e,t):t[s];t[r++]=a}}}function gC(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=Mg(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function Mg(t,e,i,n,r,o,s,a,l,c,d){let u=Rt+n,h=u+r,m=lR(u,h),v=typeof c=="function"?c():c;return m[ae]={type:t,blueprint:m,template:i,queries:null,viewQuery:a,declTNode:e,data:m.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:l,consts:v,incompleteFirstPass:!1,ssrId:d}}function lR(t,e){let i=[];for(let n=0;n<e;n++)i.push(n<t?null:fn);return i}function cR(t,e,i,n){let o=n.get(hO,Hx)||i===zn.ShadowDom,s=t.selectRootElement(e,o);return dR(s),s}function dR(t){uR(t)}function fR(t,e,i,n){let r=_C(e);r.push(i),t.firstCreatePass&&xC(t).push(n,r.length-1)}function hR(t,e,i,n,r,o){let s=e?e.injectorIndex:-1,a=0;return hx()&&(a|=128),{type:i,index:n,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:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function h_(t,e,i,n,r){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;n??={};let a,l=w.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?m_(n,i,c,a,l):m_(n,i,c,a)}return n}function m_(t,e,i,n,r){let o;t.hasOwnProperty(i)?(o=t[i]).push(e,n):o=t[i]=[e,n],r!==void 0&&o.push(r)}function mR(t,e,i){let n=e.directiveStart,r=e.directiveEnd,o=t.data,s=e.attrs,a=[],l=null,c=null;for(let d=n;d<r;d++){let u=o[d],h=i?i.get(u):null,m=h?h.inputs:null,v=h?h.outputs:null;l=h_(0,u.inputs,d,l,m),c=h_(1,u.outputs,d,c,v);let _=l!==null&&s!==null&&!Jp(e)?TR(l,d,s):null;a.push(_)}l!==null&&(l.hasOwnProperty("class")&&(e.flags|=8),l.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=a,e.inputs=l,e.outputs=c}function pR(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Sg(t,e,i,n,r,o,s,a){let l=dn(e,i),c=e.inputs,d;!a&&c!=null&&(d=c[n])?(Og(t,i,d,n,r),Zd(e)&&gR(i,e.index)):e.type&3?(n=pR(n),r=s!=null?s(r,e.value||"",n):r,o.setProperty(l,n,r)):e.type&12}function gR(t,e){let i=Ji(e,t);i[$]&16||(i[$]|=64)}function Tg(t,e,i,n){if(fx()){let r=n===null?null:{"":-1},o=_R(t,i),s,a;o===null?s=a=null:[s,a]=o,s!==null&&vC(t,e,i,s,r,a),r&&xR(i,n,r)}i.mergedAttrs=Ca(i.mergedAttrs,i.attrs)}function vC(t,e,i,n,r,o){for(let c=0;c<n.length;c++)op(Od(i,e),t,n[c].type);wR(i,t.data.length,n.length);for(let c=0;c<n.length;c++){let d=n[c];d.providersResolver&&d.providersResolver(d)}let s=!1,a=!1,l=mC(t,e,n.length,null);for(let c=0;c<n.length;c++){let d=n[c];i.mergedAttrs=Ca(i.mergedAttrs,d.hostAttrs),ER(t,i,e,l,d),CR(l,d,r),d.contentQueries!==null&&(i.flags|=4),(d.hostBindings!==null||d.hostAttrs!==null||d.hostVars!==0)&&(i.flags|=64);let u=d.type.prototype;!s&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((t.preOrderHooks??=[]).push(i.index),s=!0),!a&&(u.ngOnChanges||u.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(i.index),a=!0),l++}mR(t,i,o)}function vR(t,e,i,n,r){let o=r.hostBindings;if(o){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;yR(s)!=a&&s.push(a),s.push(i,n,o)}}function yR(t){let e=t.length;for(;e>0;){let i=t[--e];if(typeof i=="number"&&i<0)return i}return 0}function bR(t,e,i,n){let r=i.directiveStart,o=i.directiveEnd;Zd(i)&&DR(e,i,t.data[r+i.componentOffset]),t.firstCreatePass||Od(i,e),Zi(n,e);let s=i.initialInputs;for(let a=r;a<o;a++){let l=t.data[a],c=Xr(e,t,a,i);if(Zi(c,e),s!==null&&SR(e,a-r,c,l,i,s),qi(l)){let d=Ji(i.index,e);d[cn]=Xr(e,t,a,i)}}}function yC(t,e,i){let n=i.directiveStart,r=i.directiveEnd,o=i.index,s=k1();try{Zr(o);for(let a=n;a<r;a++){let l=t.data[a],c=e[a];ip(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&AR(l,c)}}finally{Zr(-1),ip(s)}}function AR(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function _R(t,e){let i=t.directiveRegistry,n=null,r=null;if(i)for(let o=0;o<i.length;o++){let s=i[o];if(z_(e,s.selectors,!1))if(n||(n=[]),qi(s))if(s.findHostDirectiveDefs!==null){let a=[];r=r||new Map,s.findHostDirectiveDefs(s,a,r),n.unshift(...a,s);let l=a.length;bp(t,e,l)}else n.unshift(s),bp(t,e,0);else r=r||new Map,s.findHostDirectiveDefs?.(s,n,r),n.push(s)}return n===null?null:[n,r]}function bp(t,e,i){e.componentOffset=i,(t.components??=[]).push(e.index)}function xR(t,e,i){if(e){let n=t.localNames=[];for(let r=0;r<e.length;r+=2){let o=i[e[r+1]];if(o==null)throw new T(-301,!1);n.push(e[r],o)}}}function CR(t,e,i){if(i){if(e.exportAs)for(let n=0;n<e.exportAs.length;n++)i[e.exportAs[n]]=t;qi(e)&&(i[""]=t)}}function wR(t,e,i){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+i,t.providerIndexes=e}function ER(t,e,i,n,r){t.data[n]=r;let o=r.factory||(r.factory=Qr(r.type,!0)),s=new $r(o,qi(r),f);t.blueprint[n]=s,i[n]=s,vR(t,e,n,mC(t,i,r.hostVars,fn),r)}function DR(t,e,i){let n=dn(e,t),r=gC(i),o=t[Mn].rendererFactory,s=16;i.signals?s=4096:i.onPush&&(s=64);let a=lu(t,au(t,r,null,s,n,e,null,o.createRenderer(n,i),null,null,null));t[e.index]=a}function IR(t,e,i,n,r,o){let s=dn(t,e);MR(e[nt],s,o,t.value,i,n,r)}function MR(t,e,i,n,r,o,s){if(o==null)t.removeAttribute(e,r,i);else{let a=s==null?Kr(o):s(o,n||"",r);t.setAttribute(e,r,a,i)}}function SR(t,e,i,n,r,o){let s=o[e];if(s!==null)for(let a=0;a<s.length;){let l=s[a++],c=s[a++],d=s[a++],u=s[a++];hC(n,i,l,c,d,u)}}function TR(t,e,i){let n=null,r=0;for(;r<i.length;){let o=i[r];if(o===0){r+=4;continue}else if(o===5){r+=2;continue}if(typeof o=="number")break;if(t.hasOwnProperty(o)){n===null&&(n=[]);let s=t[o];for(let a=0;a<s.length;a+=3)if(s[a]===e){n.push(o,s[a+1],s[a+2],i[r+1]);break}}r+=2}return n}function bC(t,e,i,n){return[t,!0,0,e,null,n,null,i,null,null]}function AC(t,e){let i=t.contentQueries;if(i!==null){let n=Te(null);try{for(let r=0;r<i.length;r+=2){let o=i[r],s=i[r+1];if(s!==-1){let a=t.data[s];fg(o),a.contentQueries(2,e[s],s)}}}finally{Te(n)}}}function lu(t,e){return t[Ia]?t[X0][In]=e:t[Ia]=e,t[X0]=e,e}function Ap(t,e,i){fg(0);let n=Te(null);try{e(t,i)}finally{Te(n)}}function _C(t){return t[Da]||(t[Da]=[])}function xC(t){return t.cleanup||(t.cleanup=[])}function CC(t,e){let i=t[is],n=i?i.get(zt,null):null;n&&n.handleError(e)}function Og(t,e,i,n,r){for(let o=0;o<i.length;){let s=i[o++],a=i[o++],l=i[o++],c=e[s],d=t.data[s];hC(d,c,n,a,l,r)}}function wC(t,e,i){let n=cx(e,t);UO(t[nt],n,i)}function OR(t,e){let i=Ji(e,t),n=i[ae];RR(n,i);let r=i[fi];r!==null&&i[Ea]===null&&(i[Ea]=vg(r,i[is])),Rg(n,i,i[cn])}function RR(t,e){for(let i=e.length;i<t.blueprint.length;i++)e.push(t.blueprint[i])}function Rg(t,e,i){hg(e);try{let n=t.viewQuery;n!==null&&Ap(1,n,i);let r=t.template;r!==null&&pC(t,e,r,1,i),t.firstCreatePass&&(t.firstCreatePass=!1),e[ci]?.finishViewCreation(t),t.staticContentQueries&&AC(t,e),t.staticViewQueries&&Ap(2,t.viewQuery,i);let o=t.components;o!==null&&FR(e,o)}catch(n){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),n}finally{e[$]&=-5,mg()}}function FR(t,e){for(let i=0;i<e.length;i++)OR(t,e[i])}function EC(t,e,i,n){let r=Te(null);try{let o=e.tView,a=t[$]&4096?4096:16,l=au(t,o,i,a,null,e,null,null,n?.injector??null,n?.embeddedViewInjector??null,n?.dehydratedView??null),c=t[e.index];l[Na]=c;let d=t[ci];return d!==null&&(l[ci]=d.createEmbeddedView(o)),Rg(o,l,i),l}finally{Te(r)}}function kR(t,e){let i=qt+e;if(i<t.length)return t[i]}function _p(t,e){return!e||e.firstChild===null||Lx(t)}function DC(t,e,i,n=!0){let r=e[ae];if(KO(r,e,t,i),n){let s=yp(i,t),a=e[nt],l=Cg(a,t[Yr]);l!==null&&WO(r,t[tn],a,e,l,s)}let o=e[Ea];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function LR(t,e){let i=Rd(t,e);return i!==void 0&&xg(i[ae],i),i}function kd(t,e,i,n,r=!1){for(;i!==null;){let o=e[i.index];o!==null&&n.push(Wn(o)),hi(o)&&PR(o,n);let s=i.type;if(s&8)kd(t,e,i.child,n);else if(s&32){let a=_g(i,e),l;for(;l=a();)n.push(l)}else if(s&16){let a=lC(e,i);if(Array.isArray(a))n.push(...a);else{let l=Ta(e[Sn]);kd(l[ae],l,a,n,!0)}}i=r?i.projectionNext:i.next}return n}function PR(t,e){for(let i=qt;i<t.length;i++){let n=t[i],r=n[ae].firstChild;r!==null&&kd(n[ae],n,r,e)}t[Yr]!==t[fi]&&e.push(t[Yr])}function NR(t){return t[qr]??jR(t)}function jR(t){let e=IC.pop()??Object.create(BR);return e.lView=t,e}function VR(t){t.lView[qr]!==t&&(t.lView=null,IC.push(t))}function SC(t,e=!0,i=0){let n=t[Mn],r=n.rendererFactory,o=!1;o||r.begin?.();try{UR(t,i)}catch(s){throw e&&CC(t,s),s}finally{o||(r.end?.(),n.inlineEffectRunner?.flush())}}function UR(t,e){xp(t,e);let i=0;for(;lg(t);){if(i===MC)throw new T(103,!1);i++,xp(t,1)}}function HR(t,e,i,n){let r=e[$];if((r&256)===256)return;let o=!1;!o&&e[Mn].inlineEffectRunner?.flush(),hg(e);let s=null,a=null;!o&&zR(t)&&(a=NR(e),s=Lh(a));try{dx(e),O1(t.bindingStartIndex),i!==null&&pC(t,e,i,2,n);let l=(r&3)===3;if(!o)if(l){let u=t.preOrderCheckHooks;u!==null&&yd(e,u,null)}else{let u=t.preOrderHooks;u!==null&&bd(e,u,0,null),Pm(e,0)}if(WR(e),TC(e,0),t.contentQueries!==null&&AC(t,e),!o)if(l){let u=t.contentCheckHooks;u!==null&&yd(e,u)}else{let u=t.contentHooks;u!==null&&bd(e,u,1),Pm(e,1)}sR(t,e);let c=t.components;c!==null&&RC(e,c,0);let d=t.viewQuery;if(d!==null&&Ap(2,d,n),!o)if(l){let u=t.viewCheckHooks;u!==null&&yd(e,u)}else{let u=t.viewHooks;u!==null&&bd(e,u,2),Pm(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[vd]){for(let u of e[vd])u();e[vd]=null}o||(e[$]&=-73)}catch(l){throw Sa(e),l}finally{a!==null&&(Ph(a,s),VR(a)),mg()}}function zR(t){return t.type!==2}function TC(t,e){for(let i=Nx(t);i!==null;i=jx(i))for(let n=qt;n<i.length;n++){let r=i[n];OC(r,e)}}function WR(t){for(let e=Nx(t);e!==null;e=jx(e)){if(!(e[$]&ig.HasTransplantedViews))continue;let i=e[rs];for(let n=0;n<i.length;n++){let r=i[n],o=r[wt];A1(r)}}}function GR(t,e,i){let n=Ji(e,t);OC(n,i)}function OC(t,e){ag(t)&&xp(t,e)}function xp(t,e){let n=t[ae],r=t[$],o=t[qr],s=!!(e===0&&r&16);if(s||=!!(r&64&&e===0),s||=!!(r&1024),s||=!!(o?.dirty&&Cc(o)),o&&(o.dirty=!1),t[$]&=-9217,s)HR(n,t,n.template,t[cn]);else if(r&8192){TC(t,1);let a=n.components;a!==null&&RC(t,a,1)}}function RC(t,e,i){for(let n=0;n<e.length;n++)GR(t,e[n],i)}function Fg(t){for(t[Mn].changeDetectionScheduler?.notify();t;){t[$]|=64;let e=Ta(t);if(u1(t)&&!e)return t;t=e}return null}function qR(){return cu(kt(),se())}function cu(t,e){return t.type&4?new QR(e,t,fs(t,e)):null}function Cp(t,e){return YR(t,e)}function ZR(t){let e=Error(`No component factory found for ${Ht(t)}.`);return e[$R]=t,e}function XR(){let t=se(),e=kt(),i=Ji(e.index,t);return(Wr(i)?i:t)[nt]}function nr(t){p_.has(t)||(p_.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function g_(...t){}function eF(){let t=typeof li.requestAnimationFrame=="function",e=li[t?"requestAnimationFrame":"setTimeout"],i=li[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&i){let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);let r=i[Zone.__symbol__("OriginalDelegate")];r&&(i=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:i}}function kg(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 nF(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(li,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Dp(t),t.isCheckStableRunning=!0,kg(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Dp(t))}function iF(t){let e=()=>{nF(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,n,r,o,s,a)=>{if(rF(a))return i.invokeTask(r,o,s,a);try{return v_(t),i.invokeTask(r,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),y_(t)}},onInvoke:(i,n,r,o,s,a,l)=>{try{return v_(t),i.invoke(r,o,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),y_(t)}},onHasTask:(i,n,r,o)=>{i.hasTask(r,o),n===r&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,Dp(t),kg(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(i,n,r,o)=>(i.handleError(r,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function Dp(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function v_(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function y_(t){t._nesting--,kg(t)}function rF(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}function du(t,e){!e&&tx(du);let i=e?.injector??y(Xe);if(!jO(i))return oF;nr("NgAfterNextRender");let n=i.get(Lg),r=n.handler??=new Mp,o=e?.phase??$o.MixedReadWrite,s=()=>{r.unregister(l),a()},a=i.get(nu).onDestroy(s),l=On(i,()=>new Ip(o,()=>{s(),t()}));return r.register(l),{destroy:s}}function Pd(t,e,i){let n=i?t.styles:null,r=i?t.classes:null,o=0;if(e!==null)for(let s=0;s<e.length;s++){let a=e[s];if(typeof a=="number")o=a;else if(o==1)r=qm(r,a);else if(o==2){let l=a,c=e[++s];n=qm(n,l+": "+c+";")}}i?t.styles=n:t.stylesWithoutHost=n,i?t.classes=r:t.classesWithoutHost=r}function b_(t){let e=[];for(let i in t){if(!t.hasOwnProperty(i))continue;let n=t[i];n!==void 0&&e.push({propName:Array.isArray(n)?n[0]:n,templateName:i})}return e}function sF(t){let e=t.toLowerCase();return e==="svg"?lx:e==="math"?p1:null}function aF(t,e){let i=t[ae],n=Rt;return t[n]=e,ps(i,n,2,"#host",null)}function lF(t,e,i,n,r,o,s){let a=r[ae];cF(n,t,e,s);let l=null;e!==null&&(l=vg(e,r[is]));let c=o.rendererFactory.createRenderer(e,i),d=16;i.signals?d=4096:i.onPush&&(d=64);let u=au(r,gC(i),null,d,r[t.index],t,o,c,null,null,l);return a.firstCreatePass&&bp(a,t,n.length-1),lu(r,u),r[t.index]=u}function cF(t,e,i,n){for(let r of t)e.mergedAttrs=Ca(e.mergedAttrs,r.hostAttrs);e.mergedAttrs!==null&&(Pd(e,e.mergedAttrs,!0),i!==null&&uC(n,i,e))}function dF(t,e,i,n,r,o){let s=kt(),a=r[ae],l=dn(s,r);vC(a,r,s,i,null,n);for(let d=0;d<i.length;d++){let u=s.directiveStart+d,h=Xr(r,a,u,s);Zi(h,r)}yC(a,r,s),l&&Zi(l,r);let c=Xr(r,a,s.directiveStart+s.componentOffset,s);if(t[cn]=r[cn]=c,o!==null)for(let d of o)d(c,e);return Eg(a,s,r),c}function uF(t,e,i,n){if(n)Xm(t,i,["ng-version","17.3.12"]);else{let{attrs:r,classes:o}=ZT(e.selectors[0]);r&&Xm(t,i,r),o&&o.length>0&&dC(t,i,o.join(" "))}}function fF(t,e,i){let n=t.projection=[];for(let r=0;r<e.length;r++){let o=i[r];n.push(o!=null?Array.from(o):null)}}function hF(){let t=kt();tu(se()[ae],t)}function mF(){let t=kt();return kC(t,se())}function A_(t){return t[Id]}function Hm(t){return t[Id]||(t[Id]=[])}function kC(t,e){let i,n=e[t.index];return hi(n)?i=n:(i=bC(n,e,null,t),e[t.index]=i,lu(e,i)),vF(i,e,t,n),new FC(i,t,e)}function gF(t,e){let i=t[nt],n=i.createComment(""),r=dn(e,t),o=Cg(i,r);return Fd(i,o,n,XO(i,r),!1),n}function bF(t,e,i){return yF(t,e,i)}function AF(t,e,i,n){if(t[Yr])return;let r;i.type&8?r=Wn(n):r=gF(e,i),t[Yr]=r}function _F(t,e){let i=t.localNames;if(i!==null){for(let n=0;n<i.length;n+=2)if(i[n]===e)return i[n+1]}return null}function xF(t,e){return t.type&11?fs(t,e):t.type&4?cu(t,e):null}function CF(t,e,i,n){return i===-1?xF(e,t):i===-2?wF(t,e,n):Xr(t,t[ae],i,e)}function wF(t,e,i){if(i===P)return fs(e,t);if(i===Ft)return cu(e,t);if(i===pt)return kC(e,t)}function LC(t,e,i,n){let r=e[ci].queries[n];if(r.matches===null){let o=t.data,s=i.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(CF(e,d,s[l+1],i.metadata.read))}}r.matches=a}return r.matches}function Lp(t,e,i,n){let r=t.queries.getByIndex(i),o=r.matches;if(o!==null){let s=LC(t,e,r,i);for(let a=0;a<o.length;a+=2){let l=o[a];if(l>0)n.push(s[a/2]);else{let c=o[a+1],d=e[-l];for(let u=qt;u<d.length;u++){let h=d[u];h[Na]===h[wt]&&Lp(h[ae],h,c,n)}if(d[rs]!==null){let u=d[rs];for(let h=0;h<u.length;h++){let m=u[h];Lp(m[ae],m,c,n)}}}}}return n}function EF(t,e){return t[ci].queries[e].queryList}function PC(t,e,i){let n=new Yi((i&4)===4);return fR(t,e,n,n.destroy),(e[ci]??=new Rp).queries.push(new Op(n))-1}function DF(t,e,i){let n=st();return n.firstCreatePass&&(NC(n,new jd(t,e,i),-1),(e&2)===2&&(n.staticViewQueries=!0)),PC(n,se(),e)}function IF(t,e,i,n){let r=st();if(r.firstCreatePass){let o=kt();NC(r,new jd(e,i,n),o.index),SF(r,t),(i&2)===2&&(r.staticContentQueries=!0)}return PC(r,se(),i)}function MF(t){return t.split(",").map(e=>e.trim())}function NC(t,e,i){t.queries===null&&(t.queries=new Fp),t.queries.track(new kp(e,i))}function SF(t,e){let i=t.contentQueries||(t.contentQueries=[]),n=i.length?i[i.length-1]:-1;e!==n&&i.push(t.queries.length-1,e)}function Pg(t,e){return t.queries.getByIndex(e)}function TF(t,e){let i=t[ae],n=Pg(i,e);return n.crossesNgTemplate?Lp(i,t,e,[]):LC(i,t,n,e)}function uu(t){return typeof t=="function"&&t[xc]!==void 0}function jC(t){return uu(t)&&typeof t.set=="function"}function OF(t){return Object.getPrototypeOf(t.prototype).constructor}function Ce(t){let e=OF(t.type),i=!0,n=[t];for(;e;){let r;if(qi(t))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new T(903,!1);r=e.\u0275dir}if(r){if(i){n.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&&PF(t,a);let l=r.viewQuery,c=r.contentQueries;if(l&&kF(t,l),c&&LF(t,c),RF(t,r),mT(t.outputs,r.outputs),qi(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===Ce&&(i=!1)}}e=Object.getPrototypeOf(e)}FF(n)}function RF(t,e){for(let i in e.inputs){if(!e.inputs.hasOwnProperty(i)||t.inputs.hasOwnProperty(i))continue;let n=e.inputs[i];if(n!==void 0&&(t.inputs[i]=n,t.declaredInputs[i]=e.declaredInputs[i],e.inputTransforms!==null)){let r=Array.isArray(n)?n[0]:n;if(!e.inputTransforms.hasOwnProperty(r))continue;t.inputTransforms??={},t.inputTransforms[r]=e.inputTransforms[r]}}}function FF(t){let e=0,i=null;for(let n=t.length-1;n>=0;n--){let r=t[n];r.hostVars=e+=r.hostVars,r.hostAttrs=Ca(r.hostAttrs,i=Ca(i,r.hostAttrs))}}function md(t){return t===es?{}:t===Qt?[]:t}function kF(t,e){let i=t.viewQuery;i?t.viewQuery=(n,r)=>{e(n,r),i(n,r)}:t.viewQuery=e}function LF(t,e){let i=t.contentQueries;i?t.contentQueries=(n,r,o)=>{e(n,r,o),i(n,r,o)}:t.contentQueries=e}function PF(t,e){let i=t.hostBindings;i?t.hostBindings=(n,r)=>{e(n,r),i(n,r)}:t.hostBindings=e}function ct(t){let e=t.inputConfig,i={};for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];Array.isArray(r)&&r[3]&&(i[n]=r[3])}t.inputTransforms=i}function fu(t,e,i=null){return new Vd({providers:t,parent:e,debugName:i,runEnvironmentInitializers:!0}).injector}function VC(t){return jF(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function NF(t,e){if(Array.isArray(t))for(let i=0;i<t.length;i++)e(t[i]);else{let i=t[Symbol.iterator](),n;for(;!(n=i.next()).done;)e(n.value)}}function jF(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Ng(t,e,i){return t[e]=i}function VF(t,e){return t[e]}function Tn(t,e,i){let n=t[e];return Object.is(n,i)?!1:(t[e]=i,!0)}function BC(t,e,i,n){let r=Tn(t,e,i);return Tn(t,e+1,n)||r}function BF(t){return(t.flags&32)===32}function UF(t,e,i,n,r,o,s,a,l){let c=e.consts,d=ps(e,t,4,s||null,os(c,a));Tg(e,i,d,os(c,l)),tu(e,d);let u=d.tView=Mg(2,d,n,r,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,d),u.queries=e.queries.embeddedTView(d)),d}function Y(t,e,i,n,r,o,s,a){let l=se(),c=st(),d=t+Rt,u=c.firstCreatePass?UF(d,c,l,e,i,n,r,o,s):c.data[d];no(u,!1);let h=HF(c,l,u,t);Jd()&&ou(c,l,h,u),Zi(h,l);let m=bC(h,l,h,u);return l[d]=m,lu(l,m),bF(m,u,l),$d(u)&&Dg(c,l,u),s!=null&&Ig(l,u,a),Y}function zF(t,e,i,n){return eu(!0),e[nt].createComment("")}function _e(t,e,i,n){let r=se(),o=us();if(Tn(r,o,e)){let s=st(),a=Xd();IR(a,r,t,e,i,n)}return _e}function UC(t,e,i,n){return Tn(t,us(),i)?e+Kr(i)+n:fn}function WF(t,e,i,n,r,o){let s=T1(),a=BC(t,s,i,r);return ug(2),a?e+Kr(i)+n+Kr(r)+o:fn}function pd(t,e){return t<<17|e<<2}function to(t){return t>>17&32767}function GF(t){return(t&2)==2}function KF(t,e){return t&131071|e<<17}function jp(t){return t|2}function ls(t){return(t&131068)>>2}function zm(t,e){return t&-131069|e<<2}function QF(t){return(t&1)===1}function Vp(t){return t|1}function qF(t,e,i,n,r,o){let s=o?e.classBindings:e.styleBindings,a=to(s),l=ls(s);t[n]=i;let c=!1,d;if(Array.isArray(i)){let u=i;d=u[1],(d===null||La(u,d)>0)&&(c=!0)}else d=i;if(r)if(l!==0){let h=to(t[a+1]);t[n+1]=pd(h,a),h!==0&&(t[h+1]=zm(t[h+1],n)),t[a+1]=KF(t[a+1],n)}else t[n+1]=pd(a,0),a!==0&&(t[a+1]=zm(t[a+1],n)),a=n;else t[n+1]=pd(l,0),a===0?a=n:t[l+1]=zm(t[l+1],n),l=n;c&&(t[n+1]=jp(t[n+1])),__(t,d,n,!0),__(t,d,n,!1),YF(e,d,t,n,o),s=pd(a,l),o?e.classBindings=s:e.styleBindings=s}function YF(t,e,i,n,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&La(o,e)>=0&&(i[n+1]=Vp(i[n+1]))}function __(t,e,i,n){let r=t[i+1],o=e===null,s=n?to(r):ls(r),a=!1;for(;s!==0&&(a===!1||o);){let l=t[s],c=t[s+1];ZF(l,e)&&(a=!0,t[s+1]=n?Vp(c):jp(c)),s=n?to(c):ls(c)}a&&(t[i+1]=n?jp(r):Vp(r))}function ZF(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?La(t,e)>=0:!1}function $F(t){return t.substring(Dn.key,Dn.keyEnd)}function XF(t){return JF(t),HC(t,zC(t,0,Dn.textEnd))}function HC(t,e){let i=Dn.textEnd;return i===e?-1:(e=Dn.keyEnd=ek(t,Dn.key=e,i),zC(t,e,i))}function JF(t){Dn.key=0,Dn.keyEnd=0,Dn.value=0,Dn.valueEnd=0,Dn.textEnd=t.length}function zC(t,e,i){for(;e<i&&t.charCodeAt(e)<=32;)e++;return e}function ek(t,e,i){for(;e<i&&t.charCodeAt(e)>32;)e++;return e}function D(t,e,i){let n=se(),r=us();if(Tn(n,r,e)){let o=st(),s=Xd();Sg(o,s,n,t,e,n[nt],i,!1)}return D}function Bp(t,e,i,n,r){let o=e.inputs,s=r?"class":"style";Og(t,i,o[s],s,n)}function gi(t,e,i){return GC(t,e,i,!1),gi}function pe(t,e){return GC(t,e,null,!0),pe}function vi(t){KC(sk,WC,t,!0)}function WC(t,e){for(let i=XF(e);i>=0;i=HC(e,i))Qd(t,$F(e),!0)}function GC(t,e,i,n){let r=se(),o=st(),s=ug(2);if(o.firstUpdatePass&&qC(o,t,s,n),e!==fn&&Tn(r,s,e)){let a=o.data[er()];YC(o,a,r,r[nt],t,r[s+1]=lk(e,i),n,s)}}function KC(t,e,i,n){let r=st(),o=ug(2);r.firstUpdatePass&&qC(r,null,o,n);let s=se();if(i!==fn&&Tn(s,o,i)){let a=r.data[er()];if(ZC(a,n)&&!QC(r,o)){let l=n?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(i=qm(l,i||"")),Bp(r,a,s,i,n)}else ak(r,a,s,s[nt],s[o+1],s[o+1]=ok(t,e,i),n,o)}}function QC(t,e){return e>=t.expandoStartIndex}function qC(t,e,i,n){let r=t.data;if(r[i+1]===null){let o=r[er()],s=QC(t,i);ZC(o,n)&&e===null&&!s&&(e=!1),e=tk(r,o,e,n),qF(r,o,e,i,s,n)}}function tk(t,e,i,n){let r=L1(t),o=n?e.residualClasses:e.residualStyles;if(r===null)(n?e.classBindings:e.styleBindings)===0&&(i=Wm(null,t,e,i,n),i=Ra(i,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==r)if(i=Wm(r,t,e,i,n),o===null){let l=nk(t,e,n);l!==void 0&&Array.isArray(l)&&(l=Wm(null,t,e,l[1],n),l=Ra(l,e.attrs,n),ik(t,e,n,l))}else o=rk(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),i}function nk(t,e,i){let n=i?e.classBindings:e.styleBindings;if(ls(n)!==0)return t[to(n)]}function ik(t,e,i,n){let r=i?e.classBindings:e.styleBindings;t[to(r)]=n}function rk(t,e,i){let n,r=e.directiveEnd;for(let o=1+e.directiveStylingLast;o<r;o++){let s=t[o].hostAttrs;n=Ra(n,s,i)}return Ra(n,e.attrs,i)}function Wm(t,e,i,n,r){let o=null,s=i.directiveEnd,a=i.directiveStylingLast;for(a===-1?a=i.directiveStart:a++;a<s&&(o=e[a],n=Ra(n,o.hostAttrs,r),o!==t);)a++;return t!==null&&(i.directiveStylingLast=a),n}function Ra(t,e,i){let n=i?1:2,r=-1;if(e!==null)for(let o=0;o<e.length;o++){let s=e[o];typeof s=="number"?r=s:r===n&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),Qd(t,s,i?!0:e[++o]))}return t===void 0?null:t}function ok(t,e,i){if(i==null||i==="")return Qt;let n=[],r=un(i);if(Array.isArray(r))for(let o=0;o<r.length;o++)t(n,r[o],!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&t(n,o,r[o]);else typeof r=="string"&&e(n,r);return n}function sk(t,e,i){let n=String(e);n!==""&&!n.includes(" ")&&Qd(t,n,i)}function ak(t,e,i,n,r,o,s,a){r===fn&&(r=Qt);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 h=l<r.length?r[l+1]:void 0,m=c<o.length?o[c+1]:void 0,v=null,_;d===u?(l+=2,c+=2,h!==m&&(v=u,_=m)):u===null||d!==null&&d<u?(l+=2,v=d):(c+=2,v=u,_=m),v!==null&&YC(t,e,i,n,v,_,s,a),d=l<r.length?r[l]:null,u=c<o.length?o[c]:null}}function YC(t,e,i,n,r,o,s,a){if(!(e.type&3))return;let l=t.data,c=l[a+1],d=QF(c)?x_(l,e,i,r,ls(c),s):void 0;if(!Bd(d)){Bd(o)||GF(c)&&(o=x_(l,null,i,r,a,s));let u=cx(er(),i);rR(n,s,u,r,o)}}function x_(t,e,i,n,r,o){let s=e===null,a;for(;r>0;){let l=t[r],c=Array.isArray(l),d=c?l[1]:l,u=d===null,h=i[r+1];h===fn&&(h=u?Qt:void 0);let m=u?km(h,n):d===n?h:void 0;if(c&&!Bd(m)&&(m=km(l,n)),Bd(m)&&(a=m,s))return a;let v=t[r+1];r=s?to(v):ls(v)}if(e!==null){let l=o?e.residualClasses:e.residualStyles;l!=null&&(a=km(l,n))}return a}function Bd(t){return t!==void 0}function lk(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=Ht(un(t)))),t}function ZC(t,e){return(t.flags&(e?8:16))!==0}function hu(t,e,i){let n=se(),r=UC(n,t,e,i);KC(Qd,WC,r,!0)}function rt(t,e,i){nr("NgControlFlow");let n=se(),r=us(),o=ck(n,Rt+t),s=0;if(Tn(n,r,e)){let a=Te(null);try{if(LR(o,s),e!==-1){let l=dk(n[ae],Rt+e),c=Cp(o,l.tView.ssrId),d=EC(n,l,i,{dehydratedView:c});DC(o,d,s,_p(l,c))}}finally{Te(a)}}else{let a=kR(o,s);a!==void 0&&(a[cn]=i)}}function ck(t,e){return t[e]}function dk(t,e){return og(t,e)}function uk(t,e,i,n,r,o){let s=e.consts,a=os(s,r),l=ps(e,t,2,n,a);return Tg(e,i,l,os(s,o)),l.attrs!==null&&Pd(l,l.attrs,!1),l.mergedAttrs!==null&&Pd(l,l.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,l),l}function E(t,e,i,n){let r=se(),o=st(),s=Rt+t,a=r[nt],l=o.firstCreatePass?uk(s,o,r,e,i,n):o.data[s],c=fk(o,r,l,a,e,t);r[s]=c;let d=$d(l);return no(l,!0),uC(a,c,l),!BF(l)&&Jd()&&ou(o,r,c,l),C1()===0&&Zi(c,r),w1(),d&&(Dg(o,r,l),Eg(o,l,r)),n!==null&&Ig(r,l),E}function S(){let t=kt();cg()?dg():(t=t.parent,no(t,!1));let e=t;D1(e)&&I1(),E1();let i=st();return i.firstCreatePass&&(tu(i,t),rg(t)&&i.queries.elementEnd(t)),e.classesWithoutHost!=null&&z1(e)&&Bp(i,e,se(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&W1(e)&&Bp(i,e,se(),e.stylesWithoutHost,!1),S}function ne(t,e,i,n){return E(t,e,i,n),S(),ne}function hk(t,e,i,n,r){let o=e.consts,s=os(o,n),a=ps(e,t,8,"ng-container",s);s!==null&&Pd(a,s,!0);let l=os(o,r);return Tg(e,i,a,l),e.queries!==null&&e.queries.elementStart(e,a),a}function jg(t,e,i){let n=se(),r=st(),o=t+Rt,s=r.firstCreatePass?hk(o,r,n,e,i):r.data[o];no(s,!0);let a=mk(r,n,s,t);return n[o]=a,Jd()&&ou(r,n,a,s),Zi(a,n),$d(s)&&(Dg(r,n,s),Eg(r,s,n)),i!=null&&Ig(n,s),jg}function Vg(){let t=kt(),e=st();return cg()?dg():(t=t.parent,no(t,!1)),e.firstCreatePass&&(tu(e,t),rg(t)&&e.queries.elementEnd(t)),Vg}function Ua(t,e,i){return jg(t,e,i),Vg(),Ua}function je(){return se()}function ir(t,e,i){let n=se(),r=us();if(Tn(n,r,e)){let o=st(),s=Xd();Sg(o,s,n,t,e,n[nt],i,!0)}return ir}function gk(t){typeof t=="string"&&(pk=t.toLowerCase().replace(/_/g,"-"))}function Q(t,e,i,n){let r=se(),o=st(),s=kt();return $C(o,r,r[nt],s,t,e,n),Q}function vk(t,e,i,n){let r=t.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let s=r[o];if(s===i&&r[o+1]===n){let a=e[Da],l=r[o+2];return a.length>l?a[l]:null}typeof s=="string"&&(o+=2)}return null}function $C(t,e,i,n,r,o,s){let a=$d(n),c=t.firstCreatePass&&xC(t),d=e[cn],u=_C(e),h=!0;if(n.type&3||s){let _=dn(n,e),I=s?s(_):_,M=u.length,L=s?W=>s(Wn(W[n.index])):n.index,me=null;if(!s&&a&&(me=vk(t,e,r,n.index)),me!==null){let W=me.__ngLastListenerFn__||me;W.__ngNextListenerFn__=o,me.__ngLastListenerFn__=o,h=!1}else{o=w_(n,e,d,o,!1);let W=i.listen(I,r,o);u.push(o,W),c&&c.push(r,L,M,M+1)}}else o=w_(n,e,d,o,!1);let m=n.outputs,v;if(h&&m!==null&&(v=m[r])){let _=v.length;if(_)for(let I=0;I<_;I+=2){let M=v[I],L=v[I+1],$e=e[M][L].subscribe(o),We=u.length;u.push(o,$e),c&&c.push(r,n.index,We,-(We+1))}}}function C_(t,e,i,n){let r=Te(null);try{return Un(6,e,i),i(n)!==!1}catch(o){return CC(t,o),!1}finally{Un(7,e,i),Te(r)}}function w_(t,e,i,n,r){return function o(s){if(s===Function)return n;let a=t.componentOffset>-1?Ji(t.index,e):e;Fg(a);let l=C_(e,i,n,s),c=o.__ngNextListenerFn__;for(;c;)l=C_(e,i,c,s)&&l,c=c.__ngNextListenerFn__;return r&&l===!1&&s.preventDefault(),l}}function z(t=1){return N1(t)}function yk(t,e){let i=null,n=WT(t);for(let r=0;r<e.length;r++){let o=e[r];if(o==="*"){i=r;continue}if(n===null?z_(t,o,!0):QT(n,o))return r}return i}function Dt(t){let e=se()[Sn][tn];if(!e.projection){let i=t?t.length:1,n=e.projection=LT(i,null),r=n.slice(),o=e.child;for(;o!==null;){let s=t?yk(o,t):0;s!==null&&(r[s]?r[s].projectionNext=o:n[s]=o,r[s]=o),o=o.next}}}function Re(t,e=0,i){let n=se(),r=st(),o=ps(r,Rt+t,16,null,i||null);o.projection===null&&(o.projection=e),dg(),(!n[Ea]||hx())&&(o.flags&32)!==32&&nR(r,n,o)}function At(t,e,i,n){IF(t,e,i,n)}function qe(t,e,i){DF(t,e,i)}function ge(t){let e=se(),i=st(),n=px();fg(n+1);let r=Pg(i,n);if(t.dirty&&y1(e)===((r.metadata.flags&2)===2)){if(r.matches===null)t.reset([]);else{let o=TF(e,n);t.reset(o,iO),t.notifyOnChanges()}return!0}return!1}function ve(){return EF(se(),px())}function bk(t,e,i,n){i>=t.data.length&&(t.data[i]=null,t.blueprint[i]=null),e[i]=n}function Fn(t){let e=S1();return sg(e,Rt+t)}function ue(t,e=""){let i=se(),n=st(),r=t+Rt,o=n.firstCreatePass?ps(n,r,1,e,null):n.data[r],s=Ak(n,i,o,e,t);i[r]=s,Jd()&&ou(n,i,s,o),no(o,!1)}function gt(t){return dt("",t,""),gt}function dt(t,e,i){let n=se(),r=UC(n,t,e,i);return r!==fn&&wC(n,er(),r),dt}function mu(t,e,i,n,r){let o=se(),s=WF(o,t,e,i,n,r);return s!==fn&&wC(o,er(),s),mu}function Ha(t,e,i){jC(e)&&(e=e());let n=se(),r=us();if(Tn(n,r,e)){let o=st(),s=Xd();Sg(o,s,n,t,e,n[nt],i,!1)}return Ha}function pu(t,e){let i=jC(t);return i&&t.set(e),i}function za(t,e){let i=se(),n=st(),r=kt();return $C(n,i,i[nt],r,t,e),za}function _k(t,e,i){let n=st();if(n.firstCreatePass){let r=qi(t);Up(i,n.data,n.blueprint,r,!0),Up(e,n.data,n.blueprint,r,!1)}}function Up(t,e,i,n,r){if(t=Ut(t),Array.isArray(t))for(let o=0;o<t.length;o++)Up(t[o],e,i,n,r);else{let o=st(),s=se(),a=kt(),l=ns(t)?t:Ut(t.provide),c=J_(t),d=a.providerIndexes&1048575,u=a.directiveStart,h=a.providerIndexes>>20;if(ns(t)||!t.multi){let m=new $r(c,r,f),v=Km(l,e,r?d:d+h,u);v===-1?(op(Od(a,s),o,l),Gm(o,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),i.push(m),s.push(m)):(i[v]=m,s[v]=m)}else{let m=Km(l,e,d+h,u),v=Km(l,e,d,d+h),_=m>=0&&i[m],I=v>=0&&i[v];if(r&&!I||!r&&!_){op(Od(a,s),o,l);let M=wk(r?Ck:xk,i.length,r,n,c);!r&&I&&(i[v].providerFactory=M),Gm(o,t,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),i.push(M),s.push(M)}else{let M=XC(i[r?v:m],c,!r&&n);Gm(o,t,m>-1?m:v,M)}!r&&n&&I&&i[v].componentProviders++}}}function Gm(t,e,i,n){let r=ns(e),o=i1(e);if(r||o){let l=(o?Ut(e.useClass):e).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){let d=c.indexOf(i);d===-1?c.push(i,[n,l]):c[d+1].push(n,l)}else c.push(i,l)}}}function XC(t,e,i){return i&&t.componentProviders++,t.multi.push(e)-1}function Km(t,e,i,n){for(let r=i;r<n;r++)if(e[r]===t)return r;return-1}function xk(t,e,i,n){return Hp(this.multi,[])}function Ck(t,e,i,n){let r=this.multi,o;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Xr(i,i[ae],this.providerFactory.index,n);o=a.slice(0,s),Hp(r,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],Hp(r,o);return o}function Hp(t,e){for(let i=0;i<t.length;i++){let n=t[i];e.push(n())}return e}function wk(t,e,i,n,r){let o=new $r(t,i,f);return o.multi=[],o.index=e,o.componentProviders=0,XC(o,r,n&&!i),o}function _t(t,e=[]){return i=>{i.providersResolver=(n,r)=>_k(n,r?r(t):t,e)}}function Ee(t){nr("NgStandalone"),t.getStandaloneInjector=e=>e.get(Ek).getOrCreateStandaloneInjector(t)}function gu(t,e,i){let n=ja()+t,r=se();return r[n]===fn?Ng(r,n,i?e.call(i):e()):VF(r,n)}function Wa(t,e,i,n){return ew(se(),ja(),t,e,i,n)}function Ga(t,e,i,n,r){return tw(se(),ja(),t,e,i,n,r)}function JC(t,e){let i=t[e];return i===fn?void 0:i}function ew(t,e,i,n,r,o){let s=e+i;return Tn(t,s,r)?Ng(t,s+1,o?n.call(o,r):n(r)):JC(t,s+1)}function tw(t,e,i,n,r,o,s){let a=e+i;return BC(t,a,r,o)?Ng(t,a+2,s?n.call(s,r,o):n(r,o)):JC(t,a+2)}function fe(t,e){let i=st(),n,r=t+Rt;i.firstCreatePass?(n=Dk(e,i.pipeRegistry),i.data[r]=n,n.onDestroy&&(i.destroyHooks??=[]).push(r,n.onDestroy)):n=i.data[r];let o=n.factory||(n.factory=Qr(n.type,!0)),s,a=Kt(f);try{let l=Td(!1),c=o();return Td(l),bk(i,se(),r,c),c}finally{Kt(a)}}function Dk(t,e){if(e)for(let i=e.length-1;i>=0;i--){let n=e[i];if(t===n.name)return n}}function Me(t,e,i){let n=t+Rt,r=se(),o=sg(r,n);return nw(r,n)?ew(r,ja(),e,o.transform,i,o):o.transform(i)}function yi(t,e,i,n){let r=t+Rt,o=se(),s=sg(o,r);return nw(o,r)?tw(o,ja(),e,s.transform,i,n,s):s.transform(i,n)}function nw(t,e){return t[ae].data[e].pure}function so(t,e){return cu(t,e)}function ao(t){return!!t&&typeof t.then=="function"}function rw(t){return!!t&&typeof t.subscribe=="function"}function Ik(){vA(()=>{throw new T(600,!1)})}function Mk(t){return t.isBoundToModule}function Sk(t,e,i){try{let n=i();return ao(n)?n.catch(r=>{throw e.runOutsideAngular(()=>t.handleError(r)),r}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}function Qm(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function Tk(t,e,i){!e&&!zp(t)||Ok(t,i,e)}function zp(t){return lg(t)}function Ok(t,e,i){let n;i?(n=0,t[$]|=1024):t[$]&64?n=0:n=1,SC(t,e,n)}function Fk(t){return[{provide:F,useFactory:t},{provide:ts,multi:!0,useFactory:()=>{let e=y(Rk,{optional:!0});return()=>e.initialize()}},{provide:ts,multi:!0,useFactory:()=>{let e=y(Nk);return()=>{e.initialize()}}},{provide:kx,useFactory:kk}]}function kk(){let t=y(F),e=y(zt);return i=>t.runOutsideAngular(()=>e.handleError(i))}function Lk(t){let e=Fk(()=>new F(Pk(t)));return Pa([[],e])}function Pk(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}function jk(){return typeof $localize<"u"&&$localize.locale||Ud}function Vk(t=[],e){return Xe.create({name:e,providers:[{provide:qd,useValue:"platform"},{provide:sw,useValue:new Set([()=>xd=null])},...t]})}function Bk(t=[]){if(xd)return xd;let e=Vk(t);return xd=e,Ik(),Uk(e),e}function Uk(t){t.get(gg,null)?.forEach(i=>i())}function Hk(t){return zk(kt(),se(),(t&16)===16)}function zk(t,e,i){if(Zd(t)&&!i){let n=Ji(t.index,e);return new Jr(n,n)}else if(t.type&47){let n=e[Sn];return new Jr(n,e)}return null}function E_(t,e,i){let n=t.previousIndex;if(n===null)return n;let r=0;return i&&n<i.length&&(r=i[n]),n+e+r}function D_(){return new _u([new Gp])}function Bg(t){try{let{rootComponent:e,appProviders:i,platformProviders:n}=t,r=Bk(n),o=[Lk(),...i||[]],a=new Vd({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1}).injector,l=a.get(F);return l.run(()=>{a.resolveInjectorInitializers();let c=a.get(zt,null),d;l.runOutsideAngular(()=>{d=l.onError.subscribe({next:m=>{c.handleError(m)}})});let u=()=>a.destroy(),h=r.get(sw);return h.add(u),a.onDestroy(()=>{d.unsubscribe(),h.delete(u)}),Sk(c,l,()=>{let m=a.get(ow);return m.runInitializers(),m.donePromise.then(()=>{let v=a.get(Au,Ud);gk(v||Ud);let _=a.get(kn);return e!==void 0&&_.bootstrap(e),_})})})}catch(e){return Promise.reject(e)}}function De(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function bi(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function Ug(t,e){nr("NgSignals"),!e?.injector&&tx(Ug);let i=e?.injector??y(Xe),n=e?.manualCleanup!==!0?i.get(nu):null,r=new Zp(i.get(Gk),t,typeof Zone>"u"?null:Zone.current,n,i,e?.allowSignalWrites??!1),o=i.get(Pe,null,{optional:!0});return!o||!(o._lView[$]&8)?r.watcher.notify():(o._lView[vd]??=[]).push(r.watcher.notify),r}function aw(t){let e=Qi(t);if(!e)return null;let i=new as(e);return{get selector(){return i.selector},get type(){return i.componentType},get inputs(){return i.inputs},get outputs(){return i.outputs},get ngContentSelectors(){return i.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var I_,T,dd,li,pT,O_,G0,R_,vT,C,yT,bT,AT,_T,Cd,_a,K0,xe,Ym,wT,xa,Zm,wd,ET,DT,IT,Q0,Xo,ka,Kd,es,Qt,ts,j_,V_,Dd,B_,zn,w,H_,e1,qd,gd,r1,Lm,Ot,wa,fi,ae,$,wt,In,tn,Ea,Da,cn,is,Mn,nt,Ia,X0,ds,Sn,Na,Yo,ci,Yd,nx,Ki,vd,qr,Rt,ix,Yr,Id,rs,qt,ig,Ma,sx,J0,Un,lx,p1,g1,le,Ax,xx,Jo,$r,rp,K1,Ex,Dx,Q1,Hn,Gr,Xe,eO,zt,kx,nu,ap,P,lp,G,Yi,Px,oO,r_,cp,Va,cO,gg,bt,lt,ro,dO,uO,fO,Hx,hO,ud,fd,di,dp,up,fp,hp,mp,pp,gp,yO,Yx,Zx,$x,bO,AO,_O,a_,Xx,xO,CO,wO,EO,vp,SO,TO,hd,Et,kO,LO,PO,ui,VO,eR,f_,fn,uR,IC,BR,MC,Jr,Ft,KR,QR,IG,YR,ss,wp,Ld,$R,Ep,hn,eo,Rn,JR,Um,p_,F,tF,$o,oF,Ip,Mp,Lg,Nd,Sp,as,Tp,pt,pF,FC,vF,yF,Op,Rp,jd,Fp,kp,$i,Oa,Pp,Np,Vd,oo,HF,Dn,fk,mk,Ud,pk,Ak,Ek,Gn,vu,iw,yu,ow,gs,kn,Wp,bu,Rk,Nk,Au,sw,xd,Pe,Gp,Wk,Kp,Qp,qp,Hd,_u,Gk,Kk,Yp,Zp,O=g(()=>{"use strict";bA();Qe();at();I_="https://g.co/ng/security#xss",T=class extends Error{constructor(e,i){super(zd(e,i)),this.code=e}};dd="__parameters__";li=globalThis;pT=Ue({__forward_ref__:Ue});O_=Ue({\u0275prov:Ue}),G0=Ue({\u0275inj:Ue}),R_=Ue({ngInjectableDef:Ue}),vT=Ue({ngInjectorDef:Ue}),C=class{constructor(e,i){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof i=="number"?this.__NG_ELEMENT_ID__=i:i!==void 0&&(this.\u0275prov=b({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};yT=Ue({\u0275cmp:Ue}),bT=Ue({\u0275dir:Ue}),AT=Ue({\u0275pipe:Ue}),_T=Ue({\u0275mod:Ue}),Cd=Ue({\u0275fac:Ue}),_a=Ue({__NG_ELEMENT_ID__:Ue}),K0=Ue({__NG_ENV_ID__:Ue});xe=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}(xe||{});wT={},xa=wT,Zm="__NG_DI_FLAG__",wd="ngTempTokenPath",ET="ngTokenPath",DT=/\n/gm,IT="\u0275",Q0="__source";ka=P_(M_("Optional"),8),Kd=P_(M_("SkipSelf"),4);es={},Qt=[],ts=new C(""),j_=new C("",-1),V_=new C(""),Dd=class{get(e,i=xa){if(i===xa){let n=new Error(`NullInjectorError: No provider for ${Ht(e)}!`);throw n.name="NullInjectorError",n}return i}},B_=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(B_||{}),zn=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(zn||{}),w=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(w||{});H_="ng-template";e1=Ue({provide:String,useValue:Ue});qd=new C(""),gd={},r1={};Ot=class{},wa=class extends Ot{get destroyed(){return this._destroyed}constructor(e,i,n,r){super(),this.parent=i,this.source=n,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,tp(e,s=>this.processProvider(s)),this.records.set(j_,qo(void 0,this)),r.has("environment")&&this.records.set(Ot,qo(void 0,this));let o=this.records.get(qd);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(V_,Qt,xe.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=Te(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let i=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of i)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Te(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let i=Gi(this),n=Kt(void 0),r;try{return e()}finally{Gi(i),Kt(n)}}get(e,i=xa,n=xe.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(K0))return e[K0](this);n=Gd(n);let r,o=Gi(this),s=Kt(void 0);try{if(!(n&xe.SkipSelf)){let l=this.records.get(e);if(l===void 0){let c=c1(e)&&Wd(e);c&&this.injectableDefInScope(c)?l=qo(ep(e),gd):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l)}let a=n&xe.Self?ng():this.parent;return i=n&xe.Optional&&i===xa?null:i,a.get(e,i)}catch(a){if(a.name==="NullInjectorError"){if((a[wd]=a[wd]||[]).unshift(Ht(e)),o)throw a;return OT(a,e,"R3InjectorError",this.source)}else throw a}finally{Kt(s),Gi(o)}}resolveInjectorInitializers(){let e=Te(null),i=Gi(this),n=Kt(void 0),r;try{let o=this.get(ts,Qt,xe.Self);for(let s of o)s()}finally{Gi(i),Kt(n),Te(e)}}toString(){let e=[],i=this.records;for(let n of i.keys())e.push(Ht(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new T(205,!1)}processProvider(e){e=Ut(e);let i=ns(e)?e:Ut(e&&e.provide),n=s1(e);if(!ns(e)&&e.multi===!0){let r=this.records.get(i);r||(r=qo(void 0,gd,!0),r.factory=()=>$m(r.multi),this.records.set(i,r)),i=e,r.multi.push(e)}this.records.set(i,n)}hydrate(e,i){let n=Te(null);try{return i.value===gd&&(i.value=r1,i.value=i.factory()),typeof i.value=="object"&&i.value&&l1(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}finally{Te(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let i=Ut(e.providedIn);return typeof i=="string"?i==="any"||this.scopes.has(i):this.injectorDefTypes.has(i)}removeOnDestroy(e){let i=this._onDestroyHooks.indexOf(e);i!==-1&&this._onDestroyHooks.splice(i,1)}};fi=0,ae=1,$=2,wt=3,In=4,tn=5,Ea=6,Da=7,cn=8,is=9,Mn=10,nt=11,Ia=12,X0=13,ds=14,Sn=15,Na=16,Yo=17,ci=18,Yd=19,nx=20,Ki=21,vd=22,qr=23,Rt=25,ix=1,Yr=7,Id=8,rs=9,qt=10,ig=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(ig||{});Ma=class{constructor(e,i,n){this.previousValue=e,this.currentValue=i,this.firstChange=n}isFirstChange(){return this.firstChange}};He.ngInherit=!0;sx="__ngSimpleChanges__";J0=null,Un=function(t,e,i){J0?.(t,e,i)},lx="svg",p1="math",g1=!1;le={lFrame:yx(null),bindingsEnabled:!0,skipHydrationRootTNode:null};Ax=bx;xx=!0;Jo=-1,$r=class{constructor(e,i,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=n}};rp=!0;K1=256,Ex=K1-1,Dx=5,Q1=0,Hn={};Gr=class{constructor(e,i){this._tNode=e,this._lView=i}get(e,i,n){return Tx(this._tNode,this._lView,e,Gd(n),i)}};Xe=(()=>{let e=class e{static create(n,r){if(Array.isArray(n))return i_({name:""},r,n,"");{let o=n.name??"";return i_({name:o},n.parent,n.providers,o)}}};e.THROW_IF_NOT_FOUND=xa,e.NULL=new Dd,e.\u0275prov=b({token:e,providedIn:"any",factory:()=>p(j_)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();eO="ngOriginalError";zt=class{constructor(){this._console=console}handleError(e){let i=this._findOriginalError(e);this._console.error("ERROR",e),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(e){let i=e&&jm(e);for(;i&&jm(i);)i=jm(i);return i||null}},kx=new C("",{providedIn:"root",factory:()=>y(zt).handleError.bind(void 0)}),nu=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=tO,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),ap=class extends nu{constructor(e){super(),this._lView=e}onDestroy(e){return ux(this._lView,e),()=>x1(this._lView,e)}};P=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=nO;let t=e;return t})();lp=class extends k{constructor(e=!1){super(),this.destroyRef=void 0,this.__isAsync=e,ex()&&(this.destroyRef=y(nu,{optional:!0})??void 0)}emit(e){let i=Te(null);try{super.next(e)}finally{Te(i)}}subscribe(e,i,n){let r=e,o=i||(()=>null),s=n;if(e&&typeof e=="object"){let l=e;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=Vm(o),r&&(r=Vm(r)),s&&(s=Vm(s)));let a=super.subscribe({next:r,error:o,complete:s});return e instanceof be&&e.add(a),a}};G=lp;Yi=class t{get changes(){return this._changes??=new G}constructor(e=!1){this._emitDistinctChangesOnly=e,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 i=t.prototype;i[Symbol.iterator]||(i[Symbol.iterator]=rO)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,i){return this._results.reduce(e,i)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,i){this.dirty=!1;let n=kT(e);(this._changesDetected=!FT(this._results,n,i))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};Px=new Map,oO=0;r_="__ngContext__";Va=new C("",{providedIn:"root",factory:()=>cO}),cO="ng",gg=new C(""),bt=new C("",{providedIn:"platform",factory:()=>"unknown"}),lt=new C(""),ro=new C("",{providedIn:"root",factory:()=>Ux().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),dO="h",uO="b",fO=()=>null;Hx=!1,hO=new C("",{providedIn:"root",factory:()=>Hx});di=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${I_})`}},dp=class extends di{getTypeName(){return"HTML"}},up=class extends di{getTypeName(){return"Style"}},fp=class extends di{getTypeName(){return"Script"}},hp=class extends di{getTypeName(){return"URL"}},mp=class extends di{getTypeName(){return"ResourceURL"}};pp=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{let i=new window.DOMParser().parseFromString(iu(e),"text/html").body;return i===null?this.inertDocumentHelper.getInertBodyElement(e):(i.removeChild(i.firstChild),i)}catch{return null}}},gp=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let i=this.inertDocument.createElement("template");return i.innerHTML=iu(e),i}};yO=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;Yx=pi("area,br,col,hr,img,wbr"),Zx=pi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),$x=pi("rp,rt"),bO=Ba($x,Zx),AO=Ba(Zx,pi("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")),_O=Ba($x,pi("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")),a_=Ba(Yx,AO,_O,bO),Xx=pi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),xO=pi("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"),CO=pi("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"),wO=Ba(Xx,xO,CO),EO=pi("script,style,template"),vp=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let i=e.firstChild,n=!0,r=[];for(;i;){if(i.nodeType===Node.ELEMENT_NODE?n=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,n&&i.firstChild){r.push(i),i=MO(i);continue}for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let o=IO(i);if(o){i=o;break}i=r.pop()}}return this.buf.join("")}startElement(e){let i=l_(e).toLowerCase();if(!a_.hasOwnProperty(i))return this.sanitizedSomething=!0,!EO.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);let n=e.attributes;for(let r=0;r<n.length;r++){let o=n.item(r),s=o.name,a=s.toLowerCase();if(!wO.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;Xx[a]&&(l=ru(l)),this.buf.push(" ",s,'="',c_(l),'"')}return this.buf.push(">"),!0}endElement(e){let i=l_(e).toLowerCase();a_.hasOwnProperty(i)&&!Yx.hasOwnProperty(i)&&(this.buf.push("</"),this.buf.push(i),this.buf.push(">"))}chars(e){this.buf.push(c_(e))}};SO=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,TO=/([^\#-~ |!])/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||{});kO=/^>|^->|<!--|-->|--!>|<!-$/g,LO=/(<|>)/g,PO="\u200B$1\u200B";ui=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(ui||{});eR=JO;fn={};uR=()=>null;IC=[];BR=we(A({},kh),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{Sa(t.lView)},consumerOnSignalRead(){this.lView[qr]=this}}),MC=100;Jr=class{get rootNodes(){let e=this._lView,i=e[ae];return kd(i,e,i.firstChild,[])}constructor(e,i,n=!0){this._lView=e,this._cdRefInjectingView=i,this.notifyErrorHandler=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[cn]}set context(e){this._lView[cn]=e}get destroyed(){return(this._lView[$]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[wt];if(hi(e)){let i=e[Id],n=i?i.indexOf(this):-1;n>-1&&(Rd(e,n),Ed(i,n))}this._attachedToViewContainer=!1}xg(this._lView[ae],this._lView)}onDestroy(e){ux(this._lView,e)}markForCheck(){Fg(this._cdRefInjectingView||this._lView)}detach(){this._lView[$]&=-129}reattach(){np(this._lView),this._lView[$]|=128}detectChanges(){this._lView[$]|=1024,SC(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,iC(this._lView[ae],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=e,np(this._lView)}},Ft=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=qR;let t=e;return t})(),KR=Ft,QR=class extends KR{constructor(e,i,n){super(),this._declarationLView=e,this._declarationTContainer=i,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,i){return this.createEmbeddedViewImpl(e,i)}createEmbeddedViewImpl(e,i,n){let r=EC(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:i,dehydratedView:n});return new Jr(r)}};IG=new RegExp(`^(\\d+)*(${uO}|${dO})*(.*)`),YR=()=>null;ss=class{},wp=class{},Ld=class{};$R="ngComponent",Ep=class{resolveComponentFactory(e){throw ZR(e)}},hn=(()=>{let e=class e{};e.NULL=new Ep;let t=e;return t})(),eo=class{},Rn=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>XR();let t=e;return t})();JR=(()=>{let e=class e{};e.\u0275prov=b({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),Um={},p_=new Set;F=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new G(!1),this.onMicrotaskEmpty=new G(!1),this.onStable=new G(!1),this.onError=new G(!1),typeof Zone>"u")throw new T(908,!1);Zone.assertZonePatched();let r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!n&&i,r.shouldCoalesceRunChangeDetection=n,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=eF().nativeRequestAnimationFrame,iF(r)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new T(909,!1)}run(e,i,n){return this._inner.run(e,i,n)}runTask(e,i,n,r){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,e,tF,g_,g_);try{return o.runTask(s,i,n)}finally{o.cancelTask(s)}}runGuarded(e,i,n){return this._inner.runGuarded(e,i,n)}runOutsideAngular(e){return this._outer.run(e)}},tF={};$o=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}($o||{}),oF={destroy(){}};Ip=class{constructor(e,i){this.phase=e,this.callbackFn=i,this.zone=y(F),this.errorHandler=y(zt,{optional:!0}),y(ss,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},Mp=class{constructor(){this.executingCallbacks=!1,this.buckets={[$o.EarlyRead]:new Set,[$o.Write]:new Set,[$o.MixedReadWrite]:new Set,[$o.Read]:new Set},this.deferredCallbacks=new Set}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let i of e)i.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},Lg=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let r of n)r()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=b({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();Nd=class extends hn{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let i=Qi(e);return new as(i,this.ngModule)}};Sp=class{constructor(e,i){this.injector=e,this.parentInjector=i}get(e,i,n){n=Gd(n);let r=this.injector.get(e,Um,n);return r!==Um||i===Um?r:this.parentInjector.get(e,i,n)}},as=class extends Ld{get inputs(){let e=this.componentDef,i=e.inputTransforms,n=b_(e.inputs);if(i!==null)for(let r of n)i.hasOwnProperty(r.propName)&&(r.transform=i[r.propName]);return n}get outputs(){return b_(this.componentDef.outputs)}constructor(e,i){super(),this.componentDef=e,this.ngModule=i,this.componentType=e.type,this.selector=YT(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!i}create(e,i,n,r){let o=Te(null);try{r=r||this.ngModule;let s=r instanceof Ot?r:r?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Sp(e,s):e,l=a.get(eo,null);if(l===null)throw new T(407,!1);let c=a.get(JR,null),d=a.get(Lg,null),u=a.get(ss,null),h={rendererFactory:l,sanitizer:c,inlineEffectRunner:null,afterRenderEventManager:d,changeDetectionScheduler:u},m=l.createRenderer(null,this.componentDef),v=this.componentDef.selectors[0][0]||"div",_=n?cR(m,n,this.componentDef.encapsulation,a):nC(m,v,sF(v)),I=512;this.componentDef.signals?I|=4096:this.componentDef.onPush||(I|=16);let M=null;_!==null&&(M=vg(_,a,!0));let L=Mg(0,null,null,1,0,null,null,null,null,null,null),me=au(null,L,null,I,null,null,h,m,a,null,M);hg(me);let W,$e;try{let We=this.componentDef,Ge,ft=null;We.findHostDirectiveDefs?(Ge=[],ft=new Map,We.findHostDirectiveDefs(We,Ge,ft),Ge.push(We)):Ge=[We];let _n=aF(me,_),xn=lF(_n,_,We,Ge,me,h,m);$e=og(L,Rt),_&&uF(m,We,_,n),i!==void 0&&fF($e,this.ngContentSelectors,i),W=dF(xn,We,Ge,ft,me,[hF]),Rg(L,me,null)}finally{mg()}return new Tp(this.componentType,W,fs($e,me),me,$e)}finally{Te(o)}}},Tp=class extends wp{constructor(e,i,n,r,o){super(),this.location=n,this._rootLView=r,this._tNode=o,this.previousInputValues=null,this.instance=i,this.hostView=this.changeDetectorRef=new Jr(r,void 0,!1),this.componentType=e}setInput(e,i){let n=this._tNode.inputs,r;if(n!==null&&(r=n[e])){if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),i))return;let o=this._rootLView;Og(o[ae],o,r,e,i),this.previousInputValues.set(e,i);let s=Ji(this._tNode.index,o);Fg(s)}}get injector(){return new Gr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};pt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=mF;let t=e;return t})();pF=pt,FC=class extends pF{constructor(e,i,n){super(),this._lContainer=e,this._hostTNode=i,this._hostLView=n}get element(){return fs(this._hostTNode,this._hostLView)}get injector(){return new Gr(this._hostTNode,this._hostLView)}get parentInjector(){let e=pg(this._hostTNode,this._hostLView);if(wx(e)){let i=Sd(e,this._hostLView),n=Md(e),r=i[ae].data[n+8];return new Gr(r,i)}else return new Gr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let i=A_(this._lContainer);return i!==null&&i[e]||null}get length(){return this._lContainer.length-qt}createEmbeddedView(e,i,n){let r,o;typeof n=="number"?r=n:n!=null&&(r=n.index,o=n.injector);let s=Cp(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(i||{},o,s);return this.insertImpl(a,r,_p(this._hostTNode,s)),a}createComponent(e,i,n,r,o){let s=e&&!d1(e),a;if(s)a=i;else{let v=i||{};a=v.index,n=v.injector,r=v.projectableNodes,o=v.environmentInjector||v.ngModuleRef}let l=s?e:new as(Qi(e)),c=n||this.parentInjector;if(!o&&l.ngModule==null){let _=(s?c:this.parentInjector).get(Ot,null);_&&(o=_)}let d=Qi(l.componentType??{}),u=Cp(this._lContainer,d?.id??null),h=u?.firstChild??null,m=l.create(c,r,h,o);return this.insertImpl(m.hostView,a,_p(this._hostTNode,u)),m}insert(e,i){return this.insertImpl(e,i,!0)}insertImpl(e,i,n){let r=e._lView;if(b1(r)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let l=r[wt],c=new FC(l,l[tn],l[wt]);c.detach(c.indexOf(e))}}let o=this._adjustIndex(i),s=this._lContainer;return DC(s,r,o,n),e.attachToViewContainerRef(),N_(Hm(s),o,e),e}move(e,i){return this.insert(e,i)}indexOf(e){let i=A_(this._lContainer);return i!==null?i.indexOf(e):-1}remove(e){let i=this._adjustIndex(e,-1),n=Rd(this._lContainer,i);n&&(Ed(Hm(this._lContainer),i),xg(n[ae],n))}detach(e){let i=this._adjustIndex(e,-1),n=Rd(this._lContainer,i);return n&&Ed(Hm(this._lContainer),i)!=null?new Jr(n):null}_adjustIndex(e,i=0){return e??this.length+i}};vF=AF,yF=()=>!1;Op=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Rp=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let i=e.queries;if(i!==null){let n=e.contentQueries!==null?e.contentQueries[0]:i.length,r=[];for(let o=0;o<n;o++){let s=i.getByIndex(o),a=this.queries[s.indexInDeclarationView];r.push(a.clone())}return new t(r)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let i=0;i<this.queries.length;i++)Pg(e,i).matches!==null&&this.queries[i].setDirty()}},jd=class{constructor(e,i,n=null){this.flags=i,this.read=n,typeof e=="string"?this.predicate=MF(e):this.predicate=e}},Fp=class t{constructor(e=[]){this.queries=e}elementStart(e,i){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,i)}elementEnd(e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementEnd(e)}embeddedTView(e){let i=null;for(let n=0;n<this.length;n++){let r=i!==null?i.length:0,o=this.getByIndex(n).embeddedTView(e,r);o&&(o.indexInDeclarationView=n,i!==null?i.push(o):i=[o])}return i!==null?new t(i):null}template(e,i){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,i)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},kp=class t{constructor(e,i=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=i}elementStart(e,i){this.isApplyingToNode(i)&&this.matchTNode(e,i)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,i){this.elementStart(e,i)}embeddedTView(e,i){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,i),new t(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let i=this._declarationNodeIndex,n=e.parent;for(;n!==null&&n.type&8&&n.index!==i;)n=n.parent;return i===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(e,i){let n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){let o=n[r];this.matchTNodeWithReadOption(e,i,_F(i,o)),this.matchTNodeWithReadOption(e,i,Ad(i,e,o,!1,!1))}else n===Ft?i.type&4&&this.matchTNodeWithReadOption(e,i,-1):this.matchTNodeWithReadOption(e,i,Ad(i,e,n,!1,!1))}matchTNodeWithReadOption(e,i,n){if(n!==null){let r=this.metadata.read;if(r!==null)if(r===P||r===pt||r===Ft&&i.type&4)this.addMatch(i.index,-2);else{let o=Ad(i,e,r,!1,!1);o!==null&&this.addMatch(i.index,o)}else this.addMatch(i.index,n)}}addMatch(e,i){this.matches===null?this.matches=[e,i]:this.matches.push(e,i)}};$i=class{},Oa=class{},Pp=class extends $i{constructor(e,i,n){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Nd(this);let r=Q_(e);this._bootstrapComponents=tC(r.bootstrap),this._r3Injector=Fx(e,i,[{provide:$i,useValue:this},{provide:hn,useValue:this.componentFactoryResolver},...n],Ht(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},Np=class extends Oa{constructor(e){super(),this.moduleType=e}create(e){return new Pp(this.moduleType,e,[])}},Vd=class extends $i{constructor(e){super(),this.componentFactoryResolver=new Nd(this),this.instance=null;let i=new wa([...e.providers,{provide:$i,useValue:this},{provide:hn,useValue:this.componentFactoryResolver}],e.parent||ng(),e.debugName,new Set(["environment"]));this.injector=i,e.runEnvironmentInitializers&&i.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};oo=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ot(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();HF=zF;Dn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};fk=(t,e,i,n,r,o)=>(eu(!0),nC(n,r,V1()));mk=(t,e,i,n)=>(eu(!0),HO(e[nt],""));Ud="en-US",pk=Ud;Ak=(t,e,i,n,r)=>(eu(!0),BO(e[nt],n));Ek=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Z_(!1,n.type),o=r.length>0?fu([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=b({token:e,providedIn:"environment",factory:()=>new e(p(Ot))});let t=e;return t})();Gn=class{constructor(e){this.full=e;let i=e.split(".");this.major=i[0],this.minor=i[1],this.patch=i.slice(2).join(".")}},vu=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),iw=new C("");yu=new C(""),ow=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=y(yu,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if(ao(s))n.push(s);else if(rw(s)){let a=new Promise((l,c)=>{s.subscribe({complete:l,error:c})});n.push(a)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),gs=new C("");kn=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=y(kx),this.afterRenderEffectManager=y(Lg),this.externalTestViews=new Set,this.beforeRender=new k,this.afterTick=new k,this.componentTypes=[],this.components=[],this.isStable=y(oo).hasPendingTasks.pipe(B(n=>!n)),this._injector=y(Ot)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){let o=n instanceof Ld;if(!this._injector.get(ow).done){let m=!o&&K_(n),v=!1;throw new T(405,v)}let a;o?a=n:a=this._injector.get(hn).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let l=Mk(a)?void 0:this._injector.get($i),c=r||a.selector,d=a.create(Xe.NULL,[],c,l),u=d.location.nativeElement,h=d.injector.get(iw,null);return h?.registerApplication(u),d.onDestroy(()=>{this.detachView(d.hostView),Qm(this.components,d),h?.unregisterApplication(u)}),this._loadComponent(d),d}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new T(101,!1);let r=Te(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(o){this.internalErrorHandler(o)}finally{this.afterTick.next(),this._runningTick=!1,Te(r)}}detectChangesInAttachedViews(n){let r=0,o=this.afterRenderEffectManager;for(;;){if(r===MC)throw new T(103,!1);if(n){let s=r===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:l}of this._views)Tk(a,s,l)}if(r++,o.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>zp(s))&&(o.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>zp(s))))break}}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Qm(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(gs,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Qm(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new T(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();Wp=class{constructor(e,i){this.ngModuleFactory=e,this.componentFactories=i}},bu=(()=>{let e=class e{compileModuleSync(n){return new Np(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Q_(n),s=tC(o.declarations).reduce((a,l)=>{let c=Qi(l);return c&&a.push(new as(c)),a},[]);return new Wp(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Rk=(()=>{let e=class e{constructor(){this.zone=y(F),this.applicationRef=y(kn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();Nk=(()=>{let e=class e{constructor(){this.subscription=new be,this.initialized=!1,this.zone=y(F),this.pendingTasks=y(oo)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{F.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{F.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();Au=new C("",{providedIn:"root",factory:()=>y(Au,xe.Optional|xe.SkipSelf)||jk()}),sw=new C(""),xd=null;Pe=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Hk;let t=e;return t})();Gp=class{constructor(){}supports(e){return VC(e)}create(e){return new Kp(e)}},Wk=(t,e)=>e,Kp=class{constructor(e){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=e||Wk}forEachItem(e){let i;for(i=this._itHead;i!==null;i=i._next)e(i)}forEachOperation(e){let i=this._itHead,n=this._removalsHead,r=0,o=null;for(;i||n;){let s=!n||i&&i.currentIndex<E_(n,r,o)?i:n,a=E_(s,r,o),l=s.currentIndex;if(s===n)r--,n=n._nextRemoved;else if(i=i._next,s.previousIndex==null)r++;else{o||(o=[]);let c=a-r,d=l-r;if(c!=d){for(let h=0;h<c;h++){let m=h<o.length?o[h]:o[h]=0,v=m+h;d<=v&&v<c&&(o[h]=m+1)}let u=s.previousIndex;o[u]=d-c}}a!==l&&e(s,a,l)}}forEachPreviousItem(e){let i;for(i=this._previousItHead;i!==null;i=i._nextPrevious)e(i)}forEachAddedItem(e){let i;for(i=this._additionsHead;i!==null;i=i._nextAdded)e(i)}forEachMovedItem(e){let i;for(i=this._movesHead;i!==null;i=i._nextMoved)e(i)}forEachRemovedItem(e){let i;for(i=this._removalsHead;i!==null;i=i._nextRemoved)e(i)}forEachIdentityChange(e){let i;for(i=this._identityChangesHead;i!==null;i=i._nextIdentityChange)e(i)}diff(e){if(e==null&&(e=[]),!VC(e))throw new T(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let i=this._itHead,n=!1,r,o,s;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)o=e[a],s=this._trackByFn(a,o),i===null||!Object.is(i.trackById,s)?(i=this._mismatch(i,o,s,a),n=!0):(n&&(i=this._verifyReinsertion(i,o,s,a)),Object.is(i.item,o)||this._addIdentityChange(i,o)),i=i._next}else r=0,NF(e,a=>{s=this._trackByFn(r,a),i===null||!Object.is(i.trackById,s)?(i=this._mismatch(i,a,s,r),n=!0):(n&&(i=this._verifyReinsertion(i,a,s,r)),Object.is(i.item,a)||this._addIdentityChange(i,a)),i=i._next,r++}),this.length=r;return this._truncate(i),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,i,n,r){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,i)||this._addIdentityChange(e,i),this._reinsertAfter(e,o,r)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,r),e!==null?(Object.is(e.item,i)||this._addIdentityChange(e,i),this._moveAfter(e,o,r)):e=this._addAfter(new Qp(i,n),o,r)),e}_verifyReinsertion(e,i,n,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return o!==null?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;e!==null;){let i=e._next;this._addToRemovals(this._unlink(e)),e=i}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(e,i,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let r=e._prevRemoved,o=e._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,i,n),this._addToMoves(e,n),e}_moveAfter(e,i,n){return this._unlink(e),this._insertAfter(e,i,n),this._addToMoves(e,n),e}_addAfter(e,i,n){return this._insertAfter(e,i,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,i,n){let r=i===null?this._itHead:i._next;return e._next=r,e._prev=i,r===null?this._itTail=e:r._prev=e,i===null?this._itHead=e:i._next=e,this._linkedRecords===null&&(this._linkedRecords=new Hd),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let i=e._prev,n=e._next;return i===null?this._itHead=n:i._next=n,n===null?this._itTail=i:n._prev=i,e}_addToMoves(e,i){return e.previousIndex===i||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Hd),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,i){return e.item=i,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},Qp=class{constructor(e,i){this.item=e,this.trackById=i,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}},qp=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,i){let n;for(n=this._head;n!==null;n=n._nextDup)if((i===null||i<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let i=e._prevDup,n=e._nextDup;return i===null?this._head=n:i._nextDup=n,n===null?this._tail=i:n._prevDup=i,this._head===null}},Hd=class{constructor(){this.map=new Map}put(e){let i=e.trackById,n=this.map.get(i);n||(n=new qp,this.map.set(i,n)),n.add(e)}get(e,i){let n=e,r=this.map.get(n);return r?r.get(e,i):null}remove(e){let i=e.trackById;return this.map.get(i).remove(e)&&this.map.delete(i),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};_u=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||D_()),deps:[[e,new Kd,new ka]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new T(901,!1)}};e.\u0275prov=b({token:e,providedIn:"root",factory:D_});let t=e;return t})();Gk=new C("",{providedIn:"root",factory:()=>y(Kk)}),Kk=(()=>{let e=class e{};e.\u0275prov=b({token:e,providedIn:"root",factory:()=>new Yp});let t=e;return t})(),Yp=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=y(oo),this.taskId=null}scheduleEffect(e){if(this.enqueue(e),this.taskId===null){let i=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(i),this.taskId=null})}}enqueue(e){let i=e.creationZone;this.queues.has(i)||this.queues.set(i,new Set);let n=this.queues.get(i);n.has(e)||(this.queuedEffectCount++,n.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,i]of this.queues)e===null?this.flushQueue(i):e.run(()=>this.flushQueue(i))}flushQueue(e){for(let i of e)e.delete(i),this.queuedEffectCount--,i.run()}},Zp=class{constructor(e,i,n,r,o,s){this.scheduler=e,this.effectFn=i,this.creationZone=n,this.injector=o,this.watcher=yA(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(i){this.injector.get(zt,null,{optional:!0})?.handleError(i)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}});function Qk(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}function qk(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}function Yk(t){return typeof t=="function"}function Zk(t,e){if(!Hg){let i=Element.prototype;Hg=i.matches||i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?Hg.call(t,e):!1}function $k(t,e){return t===e||t!==t&&e!==e}function Xk(t){let e={};return t.forEach(({propName:i,templateName:n,transform:r})=>{e[Qk(n)]=[i,r]}),e}function Jk(t,e){return e.get(hn).resolveComponentFactory(t).inputs}function eL(t,e){let i=t.childNodes,n=e.map(()=>[]),r=-1;e.some((o,s)=>o==="*"?(r=s,!0):!1);for(let o=0,s=i.length;o<s;++o){let a=i[o],l=tL(a,e,r);l!==-1&&n[l].push(a)}return n}function tL(t,e,i){let n=i;return qk(t)&&e.some((r,o)=>r!=="*"&&Zk(t,r)?(n=o,!0):!1),n}function Kg(t,e){let i=Jk(t,e.injector),n=e.strategyFactory||new zg(t,e.injector),r=Xk(i),s=class s extends Gg{get ngElementStrategy(){if(!this._ngElementStrategy){let l=this._ngElementStrategy=n.create(this.injector||e.injector);i.forEach(({propName:c,transform:d})=>{if(!this.hasOwnProperty(c))return;let u=this[c];delete this[c],l.setInputValue(c,u,d)})}return this._ngElementStrategy}constructor(l){super(),this.injector=l}attributeChangedCallback(l,c,d,u){let[h,m]=r[l];this.ngElementStrategy.setInputValue(h,d,m)}connectedCallback(){let l=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),l=!0),this.ngElementStrategy.connect(this),l||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(l=>{let c=new CustomEvent(l.name,{detail:l.value});this.dispatchEvent(c)})}};s.observedAttributes=Object.keys(r);let o=s;return i.forEach(({propName:a,transform:l})=>{Object.defineProperty(o.prototype,a,{get(){return this.ngElementStrategy.getInputValue(a)},set(c){this.ngElementStrategy.setInputValue(a,c,l)},configurable:!0,enumerable:!0})}),o}var xu,Hg,nL,zg,Wg,Gg,lw=g(()=>{"use strict";O();Qe();at();xu={schedule(t,e){let i=setTimeout(t,e);return()=>clearTimeout(i)},scheduleBeforeRender(t){if(typeof window>"u")return xu.schedule(t,0);if(typeof window.requestAnimationFrame>"u")return xu.schedule(t,16);let e=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(e)}};nL=10,zg=class{constructor(e,i){this.componentFactory=i.get(hn).resolveComponentFactory(e)}create(e){return new Wg(this.componentFactory,e)}},Wg=class{constructor(e,i){this.componentFactory=e,this.injector=i,this.eventEmitters=new Pr(1),this.events=this.eventEmitters.pipe(Be(n=>mt(...n))),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:n})=>n)),this.ngZone=this.injector.get(F),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(this.scheduledDestroyFn!==null){this.scheduledDestroyFn(),this.scheduledDestroyFn=null;return}this.componentRef===null&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{this.componentRef===null||this.scheduledDestroyFn!==null||(this.scheduledDestroyFn=xu.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},nL))})}getInputValue(e){return this.runInZone(()=>this.componentRef===null?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,i,n){this.runInZone(()=>{if(n&&(i=n.call(this.componentRef?.instance,i)),this.componentRef===null){this.initialInputValues.set(e,i);return}$k(i,this.getInputValue(e))&&!(i===void 0&&this.unchangedInputs.has(e))||(this.recordInputChange(e,i),this.unchangedInputs.delete(e),this.hasInputChanges=!0,this.componentRef.instance[e]=i,this.scheduleDetectChanges())})}initializeComponent(e){let i=Xe.create({providers:[],parent:this.injector}),n=eL(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(i,n,e),this.viewChangeDetectorRef=this.componentRef.injector.get(Pe),this.implementsOnChanges=Yk(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(kn).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:e,transform:i})=>{this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e),i)}),this.initialInputValues.clear()}initializeOutputs(e){let i=this.componentFactory.outputs.map(({propName:n,templateName:r})=>e.instance[n].pipe(B(s=>({name:r,value:s}))));this.eventEmitters.next(i)}callNgOnChanges(e){if(!this.implementsOnChanges||this.inputChanges===null)return;let i=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(i)}markViewForCheck(e){this.hasInputChanges&&(this.hasInputChanges=!1,e.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=xu.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(e,i){if(!this.implementsOnChanges)return;this.inputChanges===null&&(this.inputChanges={});let n=this.inputChanges[e];if(n){n.currentValue=i;return}let r=this.unchangedInputs.has(e),o=r?void 0:this.getInputValue(e);this.inputChanges[e]=new Ma(o,i,r)}detectChanges(){this.componentRef!==null&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},Gg=class extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}});function _i(){return mw}function pw(t){mw??=t}function Jg(t,e){if(t.length==0)return e;if(e.length==0)return t;let i=0;return t.endsWith("/")&&i++,e.startsWith("/")&&i++,i==2?t+e.substring(1):i==1?t+e:t+"/"+e}function cw(t){let e=t.match(/#|\?|$/),i=e&&e.index||t.length,n=i-(t[i-1]==="/"?1:0);return t.slice(0,n)+t.slice(i)}function Ai(t){return t&&t[0]!=="?"?"?"+t:t}function oL(){return new Kn(p(xi))}function sL(t,e){if(!t||!e.startsWith(t))return e;let i=e.substring(t.length);return i===""||["/",";","?","#"].includes(i[0])?i:e}function dw(t){return t.replace(/\/index.html$/,"")}function aL(t){if(new RegExp("^(https?:)?//").test(t)){let[,i]=t.split(/\/\/[^\/]+/);return i}return t}function wu(t,e){e=encodeURIComponent(e);for(let i of t.split(";")){let n=i.indexOf("="),[r,o]=n==-1?[i,""]:[i.slice(0,n),i.slice(n+1)];if(r.trim()===e)return decodeURIComponent(o)}return null}function fw(t,e){t.context.$implicit=e.item}function hw(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${Ht(e)}'.`)}function lL(t,e){return new T(2100,!1)}function Qn(t){return t===tv}function wi(t){return t===cL}function dL(t,e){let i=t.getElementById(e)||t.getElementsByName(e)[0];if(i)return i;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=n.currentNode;for(;r;){let o=r.shadowRoot;if(o){let s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}r=n.nextNode()}}return null}var mw,Cu,U,Xg,gw,rL,xi,vw,ev,yw,Kn,Qg,uw,Ci,qg,Eu,ys,Yg,Du,bw,vt,tv,cL,Aw,Zg,$g,vs,Ie=g(()=>{"use strict";O();O();mw=null;Cu=class{},U=new C(""),Xg=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:()=>y(rL),providedIn:"platform"});let t=e;return t})(),gw=new C(""),rL=(()=>{let e=class e extends Xg{constructor(){super(),this._doc=y(U),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return _i().getBaseHref(this._doc)}onPopState(n){let r=_i().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=_i().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();xi=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:()=>y(ev),providedIn:"root"});let t=e;return t})(),vw=new C(""),ev=(()=>{let e=class e extends xi{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??y(U).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Jg(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Ai(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,s){let a=this.prepareExternalUrl(o+Ai(s));this._platformLocation.pushState(n,r,a)}replaceState(n,r,o,s){let a=this.prepareExternalUrl(o+Ai(s));this._platformLocation.replaceState(n,r,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(r){return new(r||e)(p(Xg),p(vw,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),yw=(()=>{let e=class e extends xi{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=Jg(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,s){let a=this.prepareExternalUrl(o+Ai(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,r,a)}replaceState(n,r,o,s){let a=this.prepareExternalUrl(o+Ai(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(r){return new(r||e)(p(Xg),p(vw,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),Kn=(()=>{let e=class e{constructor(n){this._subject=new G,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=aL(cw(dw(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Ai(r))}normalize(n){return e.stripTrailingSlash(sL(this._basePath,dw(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ai(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ai(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}};e.normalizeQueryParams=Ai,e.joinWithSlash=Jg,e.stripTrailingSlash=cw,e.\u0275fac=function(r){return new(r||e)(p(xi))},e.\u0275prov=b({token:e,factory:()=>oL(),providedIn:"root"});let t=e;return t})();Qg=/\s+/,uw=[],Ci=(()=>{let e=class e{constructor(n,r){this._ngEl=n,this._renderer=r,this.initialClasses=uw,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(Qg):uw}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Qg):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(Qg).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};e.\u0275fac=function(r){return new(r||e)(f(P),f(Rn))},e.\u0275dir=V({type:e,selectors:[["","ngClass",""]],inputs:{klass:[w.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})(),qg=class{constructor(e,i,n,r){this.$implicit=e,this.ngForOf=i,this.index=n,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}},Eu=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((o,s,a)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new qg(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)r.remove(s===null?void 0:s);else if(s!==null){let l=r.get(s);r.move(l,a),fw(l,o)}});for(let o=0,s=r.length;o<s;o++){let l=r.get(o).context;l.index=o,l.count=s,l.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let s=r.get(o.currentIndex);fw(s,o)})}static ngTemplateContextGuard(n,r){return!0}};e.\u0275fac=function(r){return new(r||e)(f(pt),f(Ft),f(_u))},e.\u0275dir=V({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();ys=(()=>{let e=class e{constructor(n,r){this._viewContainer=n,this._context=new Yg,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){hw("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){hw("ngIfElse",n),this._elseTemplateRef=n,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(n,r){return!0}};e.\u0275fac=function(r){return new(r||e)(f(pt),f(Ft))},e.\u0275dir=V({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),Yg=class{constructor(){this.$implicit=null,this.ngIf=null}};Du=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}};e.\u0275fac=function(r){return new(r||e)(f(pt))},e.\u0275dir=V({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[He]});let t=e;return t})();bw=(()=>{let e=class e{transform(n){if(n==null)return null;if(typeof n!="string")throw lL(e,n);return n.toUpperCase()}};e.\u0275fac=function(r){return new(r||e)},e.\u0275pipe=cs({name:"uppercase",type:e,pure:!0,standalone:!0});let t=e;return t})(),vt=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({});let t=e;return t})(),tv="browser",cL="server";Aw=(()=>{let e=class e{};e.\u0275prov=b({token:e,providedIn:"root",factory:()=>Qn(y(bt))?new Zg(y(U),window):new $g});let t=e;return t})(),Zg=class{constructor(e,i){this.document=e,this.window=i,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let i=dL(this.document,e);i&&(this.scrollToElement(i),i.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let i=e.getBoundingClientRect(),n=i.left+this.window.pageXOffset,r=i.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],r-o[1])}};$g=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},vs=class{}});function hL(t,e){let i=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[s,a]=o==-1?[e.decodeKey(r),""]:[e.decodeKey(r.slice(0,o)),e.decodeValue(r.slice(o+1))],l=i.get(s)||[];l.push(a),i.set(s,l)}),i}function _w(t){return encodeURIComponent(t).replace(mL,(e,i)=>pL[i]??e)}function Iu(t){return`${t}`}function gL(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function xw(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Cw(t){return typeof Blob<"u"&&t instanceof Blob}function ww(t){return typeof FormData<"u"&&t instanceof FormData}function vL(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}function nv(t,e){return{body:e,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 yL(t,e){return e(t)}function bL(t,e,i){return(n,r)=>On(i,()=>e(n,o=>t(o,r)))}function CL(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}function SL(t,e){let i=t.url.toLowerCase();if(!y(Iw)||t.method==="GET"||t.method==="HEAD"||i.startsWith("http://")||i.startsWith("https://"))return e(t);let n=y(Ru).getToken(),r=y(IL);return n!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,n)})),e(t)}function TL(t,e){return{\u0275kind:t,\u0275providers:e}}function Sw(...t){let e=[or,Dw,Ew,{provide:Qa,useExisting:Ew},{provide:Mu,useExisting:Dw},{provide:sv,useValue:SL,multi:!0},{provide:Iw,useValue:!0},{provide:Ru,useClass:ML}];for(let i of t)e.push(...i.\u0275providers);return Pa(e)}function Tw(t){return TL(Mw.Interceptors,t.map(e=>({provide:sv,useValue:e,multi:!0})))}var Qa,Mu,co,iv,mL,pL,rr,rv,Ka,bs,qa,ov,Su,Tu,Ou,or,sv,AL,_L,Ew,xL,Dw,Iw,wL,EL,DL,IL,Ru,ML,Mw,Ya=g(()=>{"use strict";O();O();Qe();at();Ie();Ie();Qa=class{},Mu=class{},co=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(`
8
+ `).forEach(i=>{let n=i.indexOf(":");if(n>0){let r=i.slice(0,n),o=r.toLowerCase(),s=i.slice(n+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((i,n)=>{this.setHeaderEntries(n,i)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([i,n])=>{this.setHeaderEntries(i,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let i=this.headers.get(e.toLowerCase());return i&&i.length>0?i[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,i){return this.clone({name:e,value:i,op:"a"})}set(e,i){return this.clone({name:e,value:i,op:"s"})}delete(e,i){return this.clone({name:e,value:i,op:"d"})}maybeSetNormalizedName(e,i){this.normalizedNames.has(i)||this.normalizedNames.set(i,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(i=>{this.headers.set(i,e.headers.get(i)),this.normalizedNames.set(i,e.normalizedNames.get(i))})}clone(e){let i=new t;return i.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,i.lazyUpdate=(this.lazyUpdate||[]).concat([e]),i}applyUpdate(e){let i=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,i);let r=(e.op==="a"?this.headers.get(i):void 0)||[];r.push(...n),this.headers.set(i,r);break;case"d":let o=e.value;if(!o)this.headers.delete(i),this.normalizedNames.delete(i);else{let s=this.headers.get(i);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(i),this.normalizedNames.delete(i)):this.headers.set(i,s)}break}}setHeaderEntries(e,i){let n=(Array.isArray(i)?i:[i]).map(o=>o.toString()),r=e.toLowerCase();this.headers.set(r,n),this.maybeSetNormalizedName(e,r)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(i=>e(this.normalizedNames.get(i),this.headers.get(i)))}},iv=class{encodeKey(e){return _w(e)}encodeValue(e){return _w(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};mL=/%(\d[a-f0-9])/gi,pL={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};rr=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new iv,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=hL(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(i=>{let n=e.fromObject[i],r=Array.isArray(n)?n.map(Iu):[Iu(n)];this.map.set(i,r)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let i=this.map.get(e);return i?i[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,i){return this.clone({param:e,value:i,op:"a"})}appendAll(e){let i=[];return Object.keys(e).forEach(n=>{let r=e[n];Array.isArray(r)?r.forEach(o=>{i.push({param:n,value:o,op:"a"})}):i.push({param:n,value:r,op:"a"})}),this.clone(i)}set(e,i){return this.clone({param:e,value:i,op:"s"})}delete(e,i){return this.clone({param:e,value:i,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let i=this.encoder.encodeKey(e);return this.map.get(e).map(n=>i+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let i=new t({encoder:this.encoder});return i.cloneFrom=this.cloneFrom||this,i.updates=(this.updates||[]).concat(e),i}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let i=(e.op==="a"?this.map.get(e.param):void 0)||[];i.push(Iu(e.value)),this.map.set(e.param,i);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],r=n.indexOf(Iu(e.value));r!==-1&&n.splice(r,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}},rv=class{constructor(){this.map=new Map}set(e,i){return this.map.set(e,i),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};Ka=class t{constructor(e,i,n,r){this.url=i,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(gL(this.method)||r?(this.body=n!==void 0?n:null,o=r):o=n,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 co,this.context??=new rv,!this.params)this.params=new rr,this.urlWithParams=i;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=i;else{let a=i.indexOf("?"),l=a===-1?"?":a<i.length-1?"&":"";this.urlWithParams=i+l+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||xw(this.body)||Cw(this.body)||ww(this.body)||vL(this.body)?this.body:this.body instanceof rr?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||ww(this.body)?null:Cw(this.body)?this.body.type||null:xw(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof rr?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(e={}){let i=e.method||this.method,n=e.url||this.url,r=e.responseType||this.responseType,o=e.transferCache??this.transferCache,s=e.body!==void 0?e.body:this.body,a=e.withCredentials??this.withCredentials,l=e.reportProgress??this.reportProgress,c=e.headers||this.headers,d=e.params||this.params,u=e.context??this.context;return e.setHeaders!==void 0&&(c=Object.keys(e.setHeaders).reduce((h,m)=>h.set(m,e.setHeaders[m]),c)),e.setParams&&(d=Object.keys(e.setParams).reduce((h,m)=>h.set(m,e.setParams[m]),d)),new t(i,n,s,{params:d,headers:c,context:u,reportProgress:l,responseType:r,withCredentials:a,transferCache:o})}},bs=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}(bs||{}),qa=class{constructor(e,i=Ou.Ok,n="OK"){this.headers=e.headers||new co,this.status=e.status!==void 0?e.status:i,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},ov=class t extends qa{constructor(e={}){super(e),this.type=bs.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Su=class t extends qa{constructor(e={}){super(e),this.type=bs.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Tu=class extends qa{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},Ou=function(t){return t[t.Continue=100]="Continue",t[t.SwitchingProtocols=101]="SwitchingProtocols",t[t.Processing=102]="Processing",t[t.EarlyHints=103]="EarlyHints",t[t.Ok=200]="Ok",t[t.Created=201]="Created",t[t.Accepted=202]="Accepted",t[t.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",t[t.NoContent=204]="NoContent",t[t.ResetContent=205]="ResetContent",t[t.PartialContent=206]="PartialContent",t[t.MultiStatus=207]="MultiStatus",t[t.AlreadyReported=208]="AlreadyReported",t[t.ImUsed=226]="ImUsed",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.Found=302]="Found",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.Unused=306]="Unused",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.LengthRequired=411]="LengthRequired",t[t.PreconditionFailed=412]="PreconditionFailed",t[t.PayloadTooLarge=413]="PayloadTooLarge",t[t.UriTooLong=414]="UriTooLong",t[t.UnsupportedMediaType=415]="UnsupportedMediaType",t[t.RangeNotSatisfiable=416]="RangeNotSatisfiable",t[t.ExpectationFailed=417]="ExpectationFailed",t[t.ImATeapot=418]="ImATeapot",t[t.MisdirectedRequest=421]="MisdirectedRequest",t[t.UnprocessableEntity=422]="UnprocessableEntity",t[t.Locked=423]="Locked",t[t.FailedDependency=424]="FailedDependency",t[t.TooEarly=425]="TooEarly",t[t.UpgradeRequired=426]="UpgradeRequired",t[t.PreconditionRequired=428]="PreconditionRequired",t[t.TooManyRequests=429]="TooManyRequests",t[t.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",t[t.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout",t[t.HttpVersionNotSupported=505]="HttpVersionNotSupported",t[t.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",t[t.InsufficientStorage=507]="InsufficientStorage",t[t.LoopDetected=508]="LoopDetected",t[t.NotExtended=510]="NotExtended",t[t.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",t}(Ou||{});or=(()=>{let e=class e{constructor(n){this.handler=n}request(n,r,o={}){let s;if(n instanceof Ka)s=n;else{let c;o.headers instanceof co?c=o.headers:c=new co(o.headers);let d;o.params&&(o.params instanceof rr?d=o.params:d=new rr({fromObject:o.params})),s=new Ka(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:d,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=R(s).pipe(wn(c=>this.handler.handle(c)));if(n instanceof Ka||o.observe==="events")return a;let l=a.pipe(de(c=>c instanceof Su));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(B(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe(B(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe(B(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return l.pipe(B(c=>c.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new rr().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,nv(o,r))}post(n,r,o={}){return this.request("POST",n,nv(o,r))}put(n,r,o={}){return this.request("PUT",n,nv(o,r))}};e.\u0275fac=function(r){return new(r||e)(p(Qa))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})();sv=new C(""),AL=new C(""),_L=new C(""),Ew=(()=>{let e=class e extends Qa{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=y(oo);let o=y(_L,{optional:!0});this.backend=o??n}handle(n){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(sv),...this.injector.get(AL,[])]));this.chain=o.reduceRight((s,a)=>bL(s,a,this.injector),yL)}let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Bt(()=>this.pendingTasks.remove(r)))}};e.\u0275fac=function(r){return new(r||e)(p(Mu),p(Ot))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),xL=/^\)\]\}',?\n/;Dw=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new T(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?ke(r.\u0275loadImpl()):R(null)).pipe(Be(()=>new X(s=>{let a=r.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((I,M)=>a.setRequestHeader(I,M.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let I=n.detectContentTypeHeader();I!==null&&a.setRequestHeader("Content-Type",I)}if(n.responseType){let I=n.responseType.toLowerCase();a.responseType=I!=="json"?I:"text"}let l=n.serializeBody(),c=null,d=()=>{if(c!==null)return c;let I=a.statusText||"OK",M=new co(a.getAllResponseHeaders()),L=CL(a)||n.url;return c=new ov({headers:M,status:a.status,statusText:I,url:L}),c},u=()=>{let{headers:I,status:M,statusText:L,url:me}=d(),W=null;M!==Ou.NoContent&&(W=typeof a.response>"u"?a.responseText:a.response),M===0&&(M=W?Ou.Ok:0);let $e=M>=200&&M<300;if(n.responseType==="json"&&typeof W=="string"){let We=W;W=W.replace(xL,"");try{W=W!==""?JSON.parse(W):null}catch(Ge){W=We,$e&&($e=!1,W={error:Ge,text:W})}}$e?(s.next(new Su({body:W,headers:I,status:M,statusText:L,url:me||void 0})),s.complete()):s.error(new Tu({error:W,headers:I,status:M,statusText:L,url:me||void 0}))},h=I=>{let{url:M}=d(),L=new Tu({error:I,status:a.status||0,statusText:a.statusText||"Unknown Error",url:M||void 0});s.error(L)},m=!1,v=I=>{m||(s.next(d()),m=!0);let M={type:bs.DownloadProgress,loaded:I.loaded};I.lengthComputable&&(M.total=I.total),n.responseType==="text"&&a.responseText&&(M.partialText=a.responseText),s.next(M)},_=I=>{let M={type:bs.UploadProgress,loaded:I.loaded};I.lengthComputable&&(M.total=I.total),s.next(M)};return a.addEventListener("load",u),a.addEventListener("error",h),a.addEventListener("timeout",h),a.addEventListener("abort",h),n.reportProgress&&(a.addEventListener("progress",v),l!==null&&a.upload&&a.upload.addEventListener("progress",_)),a.send(l),s.next({type:bs.Sent}),()=>{a.removeEventListener("error",h),a.removeEventListener("abort",h),a.removeEventListener("load",u),a.removeEventListener("timeout",h),n.reportProgress&&(a.removeEventListener("progress",v),l!==null&&a.upload&&a.upload.removeEventListener("progress",_)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(r){return new(r||e)(p(vs))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),Iw=new C(""),wL="XSRF-TOKEN",EL=new C("",{providedIn:"root",factory:()=>wL}),DL="X-XSRF-TOKEN",IL=new C("",{providedIn:"root",factory:()=>DL}),Ru=class{},ML=(()=>{let e=class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=wu(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(r){return new(r||e)(p(U),p(bt),p(EL))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})();Mw=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}(Mw||{})});function OL(){return Za=Za||document.querySelector("base"),Za?Za.getAttribute("href"):null}function RL(t){return new URL(t,document.baseURI).pathname}function jL(t){return LL.replace(hv,t)}function VL(t){return kL.replace(hv,t)}function Nw(t,e){return e.map(i=>i.replace(hv,t))}function Rw(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}function jw(t,e){return Bg(A({rootComponent:t},Bw(e)))}function Vw(t){return Bg(Bw(t))}function Bw(t){return{appProviders:[...qL,...t?.providers??[]],platformProviders:QL}}function WL(){dv.makeCurrent()}function GL(){return new zt}function KL(){return Bx(document),document}var cv,dv,Za,FL,uv,kw,Fu,av,Lw,lv,hv,Pw,kL,LL,PL,NL,ku,$a,fv,Xa,Lu,BL,Fw,UL,HL,zL,QL,qL,Uw,Ja,YL,As=g(()=>{"use strict";O();O();Ie();cv=class extends Cu{constructor(){super(...arguments),this.supportsDOMEvents=!0}},dv=class t extends cv{static makeCurrent(){pw(new t)}onAndCancel(e,i,n){return e.addEventListener(i,n),()=>{e.removeEventListener(i,n)}}dispatchEvent(e,i){e.dispatchEvent(i)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,i){return i=i||this.getDefaultDocument(),i.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,i){return i==="window"?window:i==="document"?e:i==="body"?e.body:null}getBaseHref(e){let i=OL();return i==null?null:RL(i)}resetBaseElement(){Za=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return wu(document.cookie,e)}},Za=null;FL=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),uv=new C(""),kw=(()=>{let e=class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(s=>s.supports(n)),!r)throw new T(5101,!1);return this._eventNameToPlugin.set(n,r),r}};e.\u0275fac=function(r){return new(r||e)(p(uv),p(F))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),Fu=class{constructor(e){this._doc=e}},av="ng-app-id",Lw=(()=>{let e=class e{constructor(n,r,o,s={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=wi(s),this.resetHostNodes()}addStyles(n){for(let r of n)this.changeUsageCount(r,1)===1&&this.onStyleAdded(r)}removeStyles(n){for(let r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(let r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){let r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${av}="${this.appId}"]`);if(n?.length){let r=new Map;return n.forEach(o=>{o.textContent!=null&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){let o=this.styleRef;if(o.has(n)){let s=o.get(n);return s.usage+=r,s.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){let o=this.styleNodesInDOM,s=o?.get(r);if(s?.parentNode===n)return o.delete(r),s.removeAttribute(av),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=r,this.platformIsServer&&a.setAttribute(av,this.appId),n.appendChild(a),a}}addStyleToHost(n,r){let o=this.getStyleElement(n,r),s=this.styleRef,a=s.get(r)?.elements;a?a.push(o):s.set(r,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(r){return new(r||e)(p(U),p(Va),p(ro,8),p(bt))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),lv={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},hv=/%COMP%/g,Pw="%COMP%",kL=`_nghost-${Pw}`,LL=`_ngcontent-${Pw}`,PL=!0,NL=new C("",{providedIn:"root",factory:()=>PL});ku=(()=>{let e=class e{constructor(n,r,o,s,a,l,c,d=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=c,this.nonce=d,this.rendererByCompId=new Map,this.platformIsServer=wi(l),this.defaultRenderer=new $a(n,a,c,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===zn.ShadowDom&&(r=we(A({},r),{encapsulation:zn.Emulated}));let o=this.getOrCreateRenderer(n,r);return o instanceof Lu?o.applyToHost(n):o instanceof Xa&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,s=o.get(r.id);if(!s){let a=this.doc,l=this.ngZone,c=this.eventManager,d=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(r.encapsulation){case zn.Emulated:s=new Lu(c,d,r,this.appId,u,a,l,h);break;case zn.ShadowDom:return new fv(c,d,n,r,a,l,this.nonce,h);default:s=new Xa(c,d,r,u,a,l,h);break}o.set(r.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(r){return new(r||e)(p(kw),p(Lw),p(Va),p(NL),p(U),p(bt),p(F),p(ro))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),$a=class{constructor(e,i,n,r){this.eventManager=e,this.doc=i,this.ngZone=n,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,i){return i?this.doc.createElementNS(lv[i]||i,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,i){(Rw(e)?e.content:e).appendChild(i)}insertBefore(e,i,n){e&&(Rw(e)?e.content:e).insertBefore(i,n)}removeChild(e,i){e&&e.removeChild(i)}selectRootElement(e,i){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new T(-5104,!1);return i||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,i,n,r){if(r){i=r+":"+i;let o=lv[r];o?e.setAttributeNS(o,i,n):e.setAttribute(i,n)}else e.setAttribute(i,n)}removeAttribute(e,i,n){if(n){let r=lv[n];r?e.removeAttributeNS(r,i):e.removeAttribute(`${n}:${i}`)}else e.removeAttribute(i)}addClass(e,i){e.classList.add(i)}removeClass(e,i){e.classList.remove(i)}setStyle(e,i,n,r){r&(ui.DashCase|ui.Important)?e.style.setProperty(i,n,r&ui.Important?"important":""):e.style[i]=n}removeStyle(e,i,n){n&ui.DashCase?e.style.removeProperty(i):e.style[i]=""}setProperty(e,i,n){e!=null&&(e[i]=n)}setValue(e,i){e.nodeValue=i}listen(e,i,n){if(typeof e=="string"&&(e=_i().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${i}`);return this.eventManager.addEventListener(e,i,this.decoratePreventDefault(n))}decoratePreventDefault(e){return i=>{if(i==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(i)):e(i))===!1&&i.preventDefault()}}};fv=class extends $a{constructor(e,i,n,r,o,s,a,l){super(e,o,s,l),this.sharedStylesHost=i,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=Nw(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(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,i){return super.appendChild(this.nodeOrShadowRoot(e),i)}insertBefore(e,i,n){return super.insertBefore(this.nodeOrShadowRoot(e),i,n)}removeChild(e,i){return super.removeChild(this.nodeOrShadowRoot(e),i)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Xa=class extends $a{constructor(e,i,n,r,o,s,a,l){super(e,o,s,a),this.sharedStylesHost=i,this.removeStylesOnCompDestroy=r,this.styles=l?Nw(l,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Lu=class extends Xa{constructor(e,i,n,r,o,s,a,l){let c=r+"-"+n.id;super(e,i,n,o,s,a,l,c),this.contentAttr=jL(c),this.hostAttr=VL(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,i){let n=super.createElement(e,i);return super.setAttribute(n,this.contentAttr,""),n}},BL=(()=>{let e=class e extends Fu{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}};e.\u0275fac=function(r){return new(r||e)(p(U))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),Fw=["alt","control","meta","shift"],UL={"\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"},HL={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},zL=(()=>{let e=class e extends Fu{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>_i().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(r.pop()),a="",l=r.indexOf("code");if(l>-1&&(r.splice(l,1),a="code."),Fw.forEach(d=>{let u=r.indexOf(d);u>-1&&(r.splice(u,1),a+=d+".")}),a+=s,r.length!=0||s.length===0)return null;let c={};return c.domEventName=o,c.fullKey=a,c}static matchEventFullKeyCode(n,r){let o=UL[n.key]||n.key,s="";return r.indexOf("code.")>-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Fw.forEach(a=>{if(a!==o){let l=HL[a];l(n)&&(s+=a+".")}}),s+=o,s===r)}static eventCallback(n,r,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>r(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(r){return new(r||e)(p(U))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})();QL=[{provide:bt,useValue:tv},{provide:gg,useValue:WL,multi:!0},{provide:U,useFactory:KL,deps:[]}],qL=[{provide:qd,useValue:"root"},{provide:zt,useFactory:GL,deps:[]},{provide:uv,useClass:BL,multi:!0,deps:[U,F,bt]},{provide:uv,useClass:zL,multi:!0,deps:[U]},ku,Lw,kw,{provide:eo,useExisting:ku},{provide:vs,useClass:FL,deps:[]},[]],Uw=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(r){return new(r||e)(p(U))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ja=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=p(YL),o},providedIn:"root"});let t=e;return t})(),YL=(()=>{let e=class e extends Ja{constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case Et.NONE:return r;case Et.HTML:return mi(r,"HTML")?un(r):yg(this._doc,String(r)).toString();case Et.STYLE:return mi(r,"Style")?un(r):r;case Et.SCRIPT:if(mi(r,"Script"))return un(r);throw new T(5200,!1);case Et.URL:return mi(r,"URL")?un(r):ru(String(r));case Et.RESOURCE_URL:if(mi(r,"ResourceURL"))return un(r);throw new T(5201,!1);default:throw new T(5202,!1)}}bypassSecurityTrustHtml(n){return Wx(n)}bypassSecurityTrustStyle(n){return Gx(n)}bypassSecurityTrustScript(n){return Kx(n)}bypassSecurityTrustUrl(n){return Qx(n)}bypassSecurityTrustResourceUrl(n){return qx(n)}};e.\u0275fac=function(r){return new(r||e)(p(U))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})()});function Pu(t,e){if(t===e)return!0;if(t===null||e===null)return!1;if(t!==t&&e!==e)return!0;let i=typeof t,n=typeof e,r,o,s;if(i==n&&i=="object")if(Array.isArray(t)){if(!Array.isArray(e))return!1;if((r=t.length)==e.length){for(o=0;o<r;o++)if(!Pu(t[o],e[o]))return!1;return!0}}else{if(Array.isArray(e))return!1;s=Object.create(null);for(o in t){if(!Pu(t[o],e[o]))return!1;s[o]=!0}for(o in e)if(!(o in s)&&typeof e[o]<"u")return!1;return!0}return!1}function sr(t){return typeof t<"u"&&t!==null}function pv(t){return t&&typeof t=="object"&&!Array.isArray(t)}function Kw(t,e){let i=Object.assign({},t);return pv(t)&&pv(e)&&Object.keys(e).forEach(n=>{pv(e[n])?n in t?i[n]=Kw(t[n],e[n]):Object.assign(i,{[n]:e[n]}):Object.assign(i,{[n]:e[n]})}),i}var _s,Hw,el,zw,xs,Ww,Cs,Gw,Nu,gv,vv,yv,bv,ar,Ei,lr,uo=g(()=>{"use strict";O();O();Qe();at();_s=class{},Hw=(()=>{class t extends _s{getTranslation(i){return R({})}static \u0275fac=(()=>{let i;return function(r){return(i||(i=it(t)))(r||t)}})();static \u0275prov=b({token:t,factory:t.\u0275fac})}return t})(),el=class{},zw=(()=>{class t{handle(i){return i.key}static \u0275fac=function(n){return new(n||t)};static \u0275prov=b({token:t,factory:t.\u0275fac})}return t})();xs=class{},Ww=(()=>{class t extends xs{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(i,n){let r;return typeof i=="string"?r=this.interpolateString(i,n):typeof i=="function"?r=this.interpolateFunction(i,n):r=i,r}getValue(i,n){let r=typeof n=="string"?n.split("."):[n];n="";do n+=r.shift(),sr(i)&&sr(i[n])&&(typeof i[n]=="object"||!r.length)?(i=i[n],n=""):r.length?n+=".":i=void 0;while(r.length);return i}interpolateFunction(i,n){return i(n)}interpolateString(i,n){return n?i.replace(this.templateMatcher,(r,o)=>{let s=this.getValue(n,o);return sr(s)?s:r}):i}static \u0275fac=(()=>{let i;return function(r){return(i||(i=it(t)))(r||t)}})();static \u0275prov=b({token:t,factory:t.\u0275fac})}return t})(),Cs=class{},Gw=(()=>{class t extends Cs{compile(i,n){return i}compileTranslations(i,n){return i}static \u0275fac=(()=>{let i;return function(r){return(i||(i=it(t)))(r||t)}})();static \u0275prov=b({token:t,factory:t.\u0275fac})}return t})(),Nu=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new G;onLangChange=new G;onDefaultLangChange=new G},gv=new C("USE_STORE"),vv=new C("USE_DEFAULT_LANG"),yv=new C("DEFAULT_LANGUAGE"),bv=new C("USE_EXTEND"),ar=(()=>{class t{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;isolate;extend;loadingTranslations;pending=!1;_onTranslationChange=new G;_onLangChange=new G;_onDefaultLangChange=new G;_defaultLang;_currentLang;_langs=[];_translations={};_translationRequests={};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(i){this.isolate?this._defaultLang=i:this.store.defaultLang=i}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(i){this.isolate?this._currentLang=i:this.store.currentLang=i}get langs(){return this.isolate?this._langs:this.store.langs}set langs(i){this.isolate?this._langs=i:this.store.langs=i}get translations(){return this.isolate?this._translations:this.store.translations}set translations(i){this.isolate?this._translations=i:this.store.translations=i}constructor(i,n,r,o,s,a=!0,l=!1,c=!1,d){this.store=i,this.currentLoader=n,this.compiler=r,this.parser=o,this.missingTranslationHandler=s,this.useDefaultLang=a,this.isolate=l,this.extend=c,d&&this.setDefaultLang(d)}setDefaultLang(i){if(i===this.defaultLang)return;let n=this.retrieveTranslations(i);typeof n<"u"?(this.defaultLang==null&&(this.defaultLang=i),n.pipe(Ae(1)).subscribe(r=>{this.changeDefaultLang(i)})):this.changeDefaultLang(i)}getDefaultLang(){return this.defaultLang}use(i){if(i===this.currentLang)return R(this.translations[i]);let n=this.retrieveTranslations(i);return typeof n<"u"?(this.currentLang||(this.currentLang=i),n.pipe(Ae(1)).subscribe(r=>{this.changeLang(i)}),n):(this.changeLang(i),R(this.translations[i]))}retrieveTranslations(i){let n;return(typeof this.translations[i]>"u"||this.extend)&&(this._translationRequests[i]=this._translationRequests[i]||this.getTranslation(i),n=this._translationRequests[i]),n}getTranslation(i){this.pending=!0;let n=this.currentLoader.getTranslation(i).pipe(zr(1),Ae(1));return this.loadingTranslations=n.pipe(B(r=>this.compiler.compileTranslations(r,i)),zr(1),Ae(1)),this.loadingTranslations.subscribe({next:r=>{this.translations[i]=this.extend&&this.translations[i]?A(A({},r),this.translations[i]):r,this.updateLangs(),this.pending=!1},error:r=>{this.pending=!1}}),n}setTranslation(i,n,r=!1){n=this.compiler.compileTranslations(n,i),(r||this.extend)&&this.translations[i]?this.translations[i]=Kw(this.translations[i],n):this.translations[i]=n,this.updateLangs(),this.onTranslationChange.emit({lang:i,translations:this.translations[i]})}getLangs(){return this.langs}addLangs(i){i.forEach(n=>{this.langs.indexOf(n)===-1&&this.langs.push(n)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(i,n,r){let o;if(n instanceof Array){let s={},a=!1;for(let l of n)s[l]=this.getParsedResult(i,l,r),$t(s[l])&&(a=!0);if(a){let l=n.map(c=>$t(s[c])?s[c]:R(s[c]));return Hi(l).pipe(B(c=>{let d={};return c.forEach((u,h)=>{d[n[h]]=u}),d}))}return s}if(i&&(o=this.parser.interpolate(this.parser.getValue(i,n),r)),typeof o>"u"&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(o=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],n),r)),typeof o>"u"){let s={key:n,translateService:this};typeof r<"u"&&(s.interpolateParams=r),o=this.missingTranslationHandler.handle(s)}return typeof o<"u"?o:n}get(i,n){if(!sr(i)||!i.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(wn(r=>(r=this.getParsedResult(r,i,n),$t(r)?r:R(r))));{let r=this.getParsedResult(this.translations[this.currentLang],i,n);return $t(r)?r:R(r)}}getStreamOnTranslationChange(i,n){if(!sr(i)||!i.length)throw new Error('Parameter "key" required');return Xt(Jt(()=>this.get(i,n)),this.onTranslationChange.pipe(Be(r=>{let o=this.getParsedResult(r.translations,i,n);return typeof o.subscribe=="function"?o:R(o)})))}stream(i,n){if(!sr(i)||!i.length)throw new Error('Parameter "key" required');return Xt(Jt(()=>this.get(i,n)),this.onLangChange.pipe(Be(r=>{let o=this.getParsedResult(r.translations,i,n);return $t(o)?o:R(o)})))}instant(i,n){if(!sr(i)||!i.length)throw new Error('Parameter "key" required');let r=this.getParsedResult(this.translations[this.currentLang],i,n);if($t(r)){if(i instanceof Array){let o={};return i.forEach((s,a)=>{o[i[a]]=i[a]}),o}return i}else return r}set(i,n,r=this.currentLang){this.translations[r][i]=this.compiler.compile(n,r),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeLang(i){this.currentLang=i,this.onLangChange.emit({lang:i,translations:this.translations[i]}),this.defaultLang==null&&this.changeDefaultLang(i)}changeDefaultLang(i){this.defaultLang=i,this.onDefaultLangChange.emit({lang:i,translations:this.translations[i]})}reloadLang(i){return this.resetLang(i),this.getTranslation(i)}resetLang(i){this._translationRequests[i]=void 0,this.translations[i]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let i=window.navigator.languages?window.navigator.languages[0]:null;if(i=i||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,!(typeof i>"u"))return i.indexOf("-")!==-1&&(i=i.split("-")[0]),i.indexOf("_")!==-1&&(i=i.split("_")[0]),i}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let i=window.navigator.languages?window.navigator.languages[0]:null;return i=i||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,i}static \u0275fac=function(n){return new(n||t)(p(Nu),p(_s),p(Cs),p(xs),p(el),p(vv),p(gv),p(bv),p(yv))};static \u0275prov=b({token:t,factory:t.\u0275fac})}return t})(),Ei=(()=>{class t{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(i,n){this.translate=i,this._ref=n}updateValue(i,n,r){let o=s=>{this.value=s!==void 0?s:i,this.lastKey=i,this._ref.markForCheck()};if(r){let s=this.translate.getParsedResult(r,i,n);$t(s.subscribe)?s.subscribe(o):o(s)}this.translate.get(i,n).subscribe(o)}transform(i,...n){if(!i||!i.length)return i;if(Pu(i,this.lastKey)&&Pu(n,this.lastParams))return this.value;let r;if(sr(n[0])&&n.length)if(typeof n[0]=="string"&&n[0].length){let o=n[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{r=JSON.parse(o)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${n[0]}`)}}else typeof n[0]=="object"&&!Array.isArray(n[0])&&(r=n[0]);return this.lastKey=i,this.lastParams=n,this.updateValue(i,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(o=>{this.lastKey&&o.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(i,r,o.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(o=>{this.lastKey&&(this.lastKey=null,this.updateValue(i,r,o.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(i,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(n){return new(n||t)(f(ar,16),f(Pe,16))};static \u0275pipe=cs({name:"translate",type:t,pure:!1});static \u0275prov=b({token:t,factory:t.\u0275fac})}return t})(),lr=(()=>{class t{static forRoot(i={}){return{ngModule:t,providers:[i.loader||{provide:_s,useClass:Hw},i.compiler||{provide:Cs,useClass:Gw},i.parser||{provide:xs,useClass:Ww},i.missingTranslationHandler||{provide:el,useClass:zw},Nu,{provide:gv,useValue:i.isolate},{provide:vv,useValue:i.useDefaultLang},{provide:bv,useValue:i.extend},{provide:yv,useValue:i.defaultLanguage},ar]}}static forChild(i={}){return{ngModule:t,providers:[i.loader||{provide:_s,useClass:Hw},i.compiler||{provide:Cs,useClass:Gw},i.parser||{provide:xs,useClass:Ww},i.missingTranslationHandler||{provide:el,useClass:zw},{provide:gv,useValue:i.isolate},{provide:vv,useValue:i.useDefaultLang},{provide:bv,useValue:i.extend},{provide:yv,useValue:i.defaultLanguage},ar]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=j({type:t});static \u0275inj=N({})}return t})()});var ws,ju=g(()=>{"use strict";O();ws=new C("web-component-auth")});var Vu,Cv=g(()=>{"use strict";O();uo();ju();O();Vu=(()=>{var e,i,n,r,o,s,qw,l,Av,d,_v,h,Yw,v,Zw,I,xv;let L=class L{constructor(W){et(this,s);et(this,l);et(this,d);et(this,h);et(this,v);et(this,I);et(this,e,void 0);et(this,i,void 0);et(this,n,void 0);et(this,r,void 0);et(this,o,void 0);Zt(this,e,"lang"),Zt(this,i,y(ar)),Zt(this,n,y(ws)),this.setLanguageFromBrowser=!1,this.defaultLanguage="en",Zt(this,r,W)}get uiLanguage(){return Ke(this,o)}set uiLanguage(W){W!==Ke(this,o)&&(Zt(this,o,W),Zt(this,o,W),Nt(this,h,Yw).call(this))}ngOnInit(){Nt(this,d,_v).call(this),Nt(this,s,qw).call(this,Ke(this,r)),Nt(this,l,Av).call(this)}ngOnChanges(){Nt(this,d,_v).call(this),Nt(this,l,Av).call(this)}};e=new WeakMap,i=new WeakMap,n=new WeakMap,r=new WeakMap,o=new WeakMap,s=new WeakSet,qw=function(W){for(let $e in W)W[$e]&&Ke(this,i).setTranslation($e,W[$e],!0)},l=new WeakSet,Av=function(){Ke(this,i).setDefaultLang(this.defaultLanguage),this.setLanguageFromBrowser&&Nt(this,v,Zw).call(this),this.uiLanguage||(this.uiLanguage=this.defaultLanguage),Ke(this,i).use(this.uiLanguage)},d=new WeakSet,_v=function(){this.xApiKey&&(Ke(this,n).xApiKey=this.xApiKey),this.skipAuthUrls&&(Ke(this,n).skipAuthUrls=typeof this.skipAuthUrls=="string"?JSON.parse(this.skipAuthUrls):this.skipAuthUrls)},h=new WeakSet,Yw=function(){Ke(this,i).use(this.uiLanguage)},v=new WeakSet,Zw=function(){let W=Nt(this,I,xv).call(this);!this.uiLanguage&&W!==this.defaultLanguage&&(this.uiLanguage=W);let $e=_n=>{for(let xn of _n)if(xn.type==="attributes"&&xn.attributeName===Ke(this,e)){let vc=Nt(this,I,xv).call(this);this.uiLanguage=vc}},We=new MutationObserver($e),Ge=document.querySelector("html"),ft={attributes:!0,attributeFilter:[Ke(this,e)]};We.observe(Ge,ft)},I=new WeakSet,xv=function(){return document.querySelector("html").getAttribute(Ke(this,e)).split("-")[0]},L.\u0275fac=function($e){ms()},L.\u0275dir=V({type:L,inputs:{setLanguageFromBrowser:"setLanguageFromBrowser",defaultLanguage:"defaultLanguage",skipAuthUrls:"skipAuthUrls",uiLanguage:"uiLanguage",xApiKey:"xApiKey"},features:[He]});let t=L;return t})()});function XL(){let t=_i()?_i().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}function cr(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function rE(t){return t!=null&&typeof t.length=="number"}function tP(t){return e=>{if(cr(e.value)||cr(t))return null;let i=parseFloat(e.value);return!isNaN(i)&&i<t?{min:{min:t,actual:e.value}}:null}}function nP(t){return e=>{if(cr(e.value)||cr(t))return null;let i=parseFloat(e.value);return!isNaN(i)&&i>t?{max:{max:t,actual:e.value}}:null}}function iP(t){return cr(t.value)?{required:!0}:null}function rP(t){return t.value===!0?null:{required:!0}}function oP(t){return cr(t.value)||eP.test(t.value)?null:{email:!0}}function sP(t){return e=>cr(e.value)||!rE(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}function aP(t){return e=>rE(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function lP(t){if(!t)return oE;let e,i;return typeof t=="string"?(i="",t.charAt(0)!=="^"&&(i+="^"),i+=t,t.charAt(t.length-1)!=="$"&&(i+="$"),e=new RegExp(i)):(i=t.toString(),e=t),n=>{if(cr(n.value))return null;let r=n.value;return e.test(r)?null:{pattern:{requiredPattern:i,actualValue:r}}}}function oE(t){return null}function sE(t){return t!=null}function aE(t){return ao(t)?ke(t):t}function lE(t){let e={};return t.forEach(i=>{e=i!=null?A(A({},e),i):e}),Object.keys(e).length===0?null:e}function cE(t,e){return e.map(i=>i(t))}function cP(t){return!t.validate}function dE(t){return t.map(e=>cP(e)?e:i=>e.validate(i))}function uE(t){if(!t)return null;let e=t.filter(sE);return e.length==0?null:function(i){return lE(cE(i,e))}}function Iv(t){return t!=null?uE(dE(t)):null}function fE(t){if(!t)return null;let e=t.filter(sE);return e.length==0?null:function(i){let n=cE(i,e).map(aE);return Hi(n).pipe(B(lE))}}function Mv(t){return t!=null?fE(dE(t)):null}function $w(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function hE(t){return t._rawValidators}function mE(t){return t._rawAsyncValidators}function wv(t){return t?Array.isArray(t)?t:[t]:[]}function Uu(t,e){return Array.isArray(t)?t.includes(e):t===e}function Xw(t,e){let i=wv(e);return wv(t).forEach(r=>{Uu(i,r)||i.push(r)}),i}function Jw(t,e){return wv(e).filter(i=>!Uu(t,i))}function pE(t){return(Zu(t)?t.validators:t)||null}function uP(t){return Array.isArray(t)?Iv(t):t||null}function gE(t,e){return(Zu(e)?e.asyncValidators:t)||null}function fP(t){return Array.isArray(t)?Mv(t):t||null}function Zu(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function hP(t,e,i){let n=t.controls;if(!(e?Object.keys(n):n).length)throw new T(1e3,"");if(!n[i])throw new T(1001,"")}function mP(t,e,i){t._forEachChild((n,r)=>{if(i[r]===void 0)throw new T(1002,"")})}function pP(t,e){return[...e.path,t]}function sl(t,e,i=$u){Sv(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||i==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),vP(t,e),bP(t,e),yP(t,e),gP(t,e)}function Wu(t,e,i=!0){let n=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n)),Ku(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Gu(t,e){t.forEach(i=>{i.registerOnValidatorChange&&i.registerOnValidatorChange(e)})}function gP(t,e){if(e.valueAccessor.setDisabledState){let i=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(i),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(i)})}}function Sv(t,e){let i=hE(t);e.validator!==null?t.setValidators($w(i,e.validator)):typeof i=="function"&&t.setValidators([i]);let n=mE(t);e.asyncValidator!==null?t.setAsyncValidators($w(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let r=()=>t.updateValueAndValidity();Gu(e._rawValidators,r),Gu(e._rawAsyncValidators,r)}function Ku(t,e){let i=!1;if(t!==null){if(e.validator!==null){let r=hE(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==e.validator);o.length!==r.length&&(i=!0,t.setValidators(o))}}if(e.asyncValidator!==null){let r=mE(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==e.asyncValidator);o.length!==r.length&&(i=!0,t.setAsyncValidators(o))}}}let n=()=>{};return Gu(e._rawValidators,n),Gu(e._rawAsyncValidators,n),i}function vP(t,e){e.valueAccessor.registerOnChange(i=>{t._pendingValue=i,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&vE(t,e)})}function yP(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&vE(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function vE(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function bP(t,e){let i=(n,r)=>{e.valueAccessor.writeValue(n),r&&e.viewToModelUpdate(n)};t.registerOnChange(i),e._registerOnDestroy(()=>{t._unregisterOnChange(i)})}function yE(t,e){t==null,Sv(t,e)}function AP(t,e){return Ku(t,e)}function bE(t,e){if(!t.hasOwnProperty("model"))return!1;let i=t.model;return i.isFirstChange()?!0:!Object.is(e,i.currentValue)}function _P(t){return Object.getPrototypeOf(t.constructor)===ZL}function AE(t,e){t._syncPendingControls(),e.forEach(i=>{let n=i.control;n.updateOn==="submit"&&n._pendingChange&&(i.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function _E(t,e){if(!e)return null;Array.isArray(e);let i,n,r;return e.forEach(o=>{o.constructor===Ds?i=o:_P(o)?n=o:r=o}),r||n||i||null}function xP(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function eE(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function tE(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var iE,ZL,Dv,$L,JL,Ds,Qu,qu,eP,rl,Hu,fo,Di,Ev,dP,lQ,Yu,tl,Bu,Es,nl,zu,ol,Is,$u,CP,il,Tv,al,wP,EP,nE,Xu,xE,DP,Ov,IP,Ju,CE,ef,wE,ho=g(()=>{"use strict";O();O();Ie();Qe();at();iE=(()=>{let e=class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};e.\u0275fac=function(r){return new(r||e)(f(Rn),f(P))},e.\u0275dir=V({type:e});let t=e;return t})(),ZL=(()=>{let e=class e extends iE{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=it(e)))(o||e)}})(),e.\u0275dir=V({type:e,features:[Ce]});let t=e;return t})(),Dv=new C(""),$L={provide:Dv,useExisting:Xi(()=>Ds),multi:!0};JL=new C(""),Ds=(()=>{let e=class e extends iE{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!XL())}writeValue(n){let r=n??"";this.setProperty("value",r)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}};e.\u0275fac=function(r){return new(r||e)(f(Rn),f(P),f(JL,8))},e.\u0275dir=V({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){r&1&&Q("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[_t([$L]),Ce]});let t=e;return t})();Qu=new C(""),qu=new C(""),eP=/^(?=.{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])?)*$/,rl=class{static min(e){return tP(e)}static max(e){return nP(e)}static required(e){return iP(e)}static requiredTrue(e){return rP(e)}static email(e){return oP(e)}static minLength(e){return sP(e)}static maxLength(e){return aP(e)}static pattern(e){return lP(e)}static nullValidator(e){return oE(e)}static compose(e){return uE(e)}static composeAsync(e){return fE(e)}};Hu=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=Iv(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Mv(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,i){return this.control?this.control.hasError(e,i):!1}getError(e,i){return this.control?this.control.getError(e,i):null}},fo=class extends Hu{get formDirective(){return null}get path(){return null}},Di=class extends Hu{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Ev=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},dP={"[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"},lQ=we(A({},dP),{"[class.ng-submitted]":"isSubmitted"}),Yu=(()=>{let e=class e extends Ev{constructor(n){super(n)}};e.\u0275fac=function(r){return new(r||e)(f(Di,2))},e.\u0275dir=V({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&pe("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[Ce]});let t=e;return t})(),tl="VALID",Bu="INVALID",Es="PENDING",nl="DISABLED";zu=class{constructor(e,i){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(i)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===tl}get invalid(){return this.status===Bu}get pending(){return this.status==Es}get disabled(){return this.status===nl}get enabled(){return this.status!==nl}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(Xw(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Xw(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Jw(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Jw(e,this._rawAsyncValidators))}hasValidator(e){return Uu(this._rawValidators,e)}hasAsyncValidator(e){return Uu(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(i=>{i.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=Es,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let i=this._parentMarkedDirty(e.onlySelf);this.status=nl,this.errors=null,this._forEachChild(n=>{n.disable(we(A({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(we(A({},e),{skipPristineCheck:i})),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){let i=this._parentMarkedDirty(e.onlySelf);this.status=tl,this._forEachChild(n=>{n.enable(we(A({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(we(A({},e),{skipPristineCheck:i})),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===tl||this.status===Es)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(i=>i._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?nl:tl}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=Es,this._hasOwnPendingAsyncValidator=!0;let i=aE(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,i={}){this.errors=e,this._updateControlsErrors(i.emitEvent!==!1)}get(e){let i=e;return i==null||(Array.isArray(i)||(i=i.split(".")),i.length===0)?null:i.reduce((n,r)=>n&&n._find(r),this)}getError(e,i){let n=i?this.get(i):this;return n&&n.errors?n.errors[e]:null}hasError(e,i){return!!this.getError(e,i)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new G,this.statusChanges=new G}_calculateStatus(){return this._allControlsDisabled()?nl:this.errors?Bu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Es)?Es:this._anyControlsHaveStatus(Bu)?Bu:tl}_anyControlsHaveStatus(e){return this._anyControls(i=>i.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Zu(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let i=this._parent&&this._parent.dirty;return!e&&!!i&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=uP(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=fP(this._rawAsyncValidators)}},ol=class extends zu{constructor(e,i,n){super(pE(i),gE(n,i)),this.controls=e,this._initObservables(),this._setUpdateStrategy(i),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,i){return this.controls[e]?this.controls[e]:(this.controls[e]=i,i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange),i)}addControl(e,i,n={}){this.registerControl(e,i),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,i={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}setControl(e,i,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],i&&this.registerControl(e,i),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,i={}){mP(this,!0,e),Object.keys(e).forEach(n=>{hP(this,!0,n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i)}patchValue(e,i={}){e!=null&&(Object.keys(e).forEach(n=>{let r=this.controls[n];r&&r.patchValue(e[n],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i))}reset(e={},i={}){this._forEachChild((n,r)=>{n.reset(e?e[r]:null,{onlySelf:!0,emitEvent:i.emitEvent})}),this._updatePristine(i),this._updateTouched(i),this.updateValueAndValidity(i)}getRawValue(){return this._reduceChildren({},(e,i,n)=>(e[n]=i.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(i,n)=>n._syncPendingControls()?!0:i);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(i=>{let n=this.controls[i];n&&e(n,i)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[i,n]of Object.entries(this.controls))if(this.contains(i)&&e(n))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(i,n,r)=>((n.enabled||this.disabled)&&(i[r]=n.value),i))}_reduceChildren(e,i){let n=e;return this._forEachChild((r,o)=>{n=i(n,r,o)}),n}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}},Is=new C("CallSetDisabledState",{providedIn:"root",factory:()=>$u}),$u="always";CP={provide:fo,useExisting:Xi(()=>Tv)},il=Promise.resolve(),Tv=(()=>{let e=class e extends fo{constructor(n,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new G,this.form=new ol({},Iv(n),Mv(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){il.then(()=>{let r=this._findContainer(n.path);n.control=r.registerControl(n.name,n.control),sl(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){il.then(()=>{let r=this._findContainer(n.path);r&&r.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){il.then(()=>{let r=this._findContainer(n.path),o=new ol({});yE(o,n),r.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){il.then(()=>{let r=this._findContainer(n.path);r&&r.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,r){il.then(()=>{this.form.get(n.path).setValue(r)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,AE(this.form,this._directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}};e.\u0275fac=function(r){return new(r||e)(f(Qu,10),f(qu,10),f(Is,8))},e.\u0275dir=V({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,o){r&1&&Q("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[w.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[_t([CP]),Ce]});let t=e;return t})();al=class extends zu{constructor(e=null,i,n){super(pE(i),gE(n,i)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(i),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Zu(i)&&(i.nonNullable||i.initialValueIsDefault)&&(tE(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,i={}){this.value=this._pendingValue=e,this._onChange.length&&i.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,i.emitViewToModelChange!==!1)),this.updateValueAndValidity(i)}patchValue(e,i={}){this.setValue(e,i)}reset(e=this.defaultValue,i={}){this._applyFormState(e),this.markAsPristine(i),this.markAsUntouched(i),this.setValue(this.value,i),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){eE(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){eE(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){tE(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}},wP=t=>t instanceof al,EP={provide:Di,useExisting:Xi(()=>Xu)},nE=Promise.resolve(),Xu=(()=>{let e=class e extends Di{constructor(n,r,o,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new al,this._registered=!1,this.name="",this.update=new G,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=_E(this,s)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),bE(n,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(n){this.viewModel=n,this.update.emit(n)}_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(){sl(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(n){nE.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let r=n.isDisabled.currentValue,o=r!==0&&De(r);nE.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?pP(n,this._parent):[n]}};e.\u0275fac=function(r){return new(r||e)(f(fo,9),f(Qu,10),f(qu,10),f(Dv,10),f(Pe,8),f(Is,8))},e.\u0275dir=V({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[w.None,"disabled","isDisabled"],model:[w.None,"ngModel","model"],options:[w.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[_t([EP]),Ce,He]});let t=e;return t})(),xE=new C(""),DP={provide:Di,useExisting:Xi(()=>Ov)},Ov=(()=>{let e=class e extends Di{set isDisabled(n){}constructor(n,r,o,s,a){super(),this._ngModelWarningConfig=s,this.callSetDisabledState=a,this.update=new G,this._ngModelWarningSent=!1,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=_E(this,o)}ngOnChanges(n){if(this._isControlChanged(n)){let r=n.form.previousValue;r&&Wu(r,this,!1),sl(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}bE(n,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Wu(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_isControlChanged(n){return n.hasOwnProperty("form")}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(r){return new(r||e)(f(Qu,10),f(qu,10),f(Dv,10),f(xE,8),f(Is,8))},e.\u0275dir=V({type:e,selectors:[["","formControl",""]],inputs:{form:[w.None,"formControl","form"],isDisabled:[w.None,"disabled","isDisabled"],model:[w.None,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[_t([DP]),Ce,He]});let t=e;return t})(),IP={provide:fo,useExisting:Xi(()=>Ju)},Ju=(()=>{let e=class e extends fo{constructor(n,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new G,this._setValidators(n),this._setAsyncValidators(r)}ngOnChanges(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ku(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){let r=this.form.get(n.path);return sl(r,n,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),r}getControl(n){return this.form.get(n.path)}removeControl(n){Wu(n.control||null,n,!1),xP(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,r){this.form.get(n.path).setValue(r)}onSubmit(n){return this.submitted=!0,AE(this.form,this.directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_updateDomValue(){this.directives.forEach(n=>{let r=n.control,o=this.form.get(n.path);r!==o&&(Wu(r||null,n),wP(o)&&(sl(o,n,this.callSetDisabledState),n.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){let r=this.form.get(n.path);yE(r,n),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){let r=this.form.get(n.path);r&&AP(r,n)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Sv(this.form,this),this._oldForm&&Ku(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(r){return new(r||e)(f(Qu,10),f(qu,10),f(Is,8))},e.\u0275dir=V({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,o){r&1&&Q("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[w.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[_t([IP]),Ce,He]});let t=e;return t})(),CE=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({});let t=e;return t})(),ef=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:Is,useValue:n.callSetDisabledState??$u}]}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[CE]});let t=e;return t})(),wE=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:xE,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:Is,useValue:n.callSetDisabledState??$u}]}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[CE]});let t=e;return t})()});function MP(){if(ll==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ll=!0}))}finally{ll=ll||!1}return ll}function qn(t){return MP()?t:!!t.capture}function EE(){if(mo==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return mo=!1,mo;if("scrollBehavior"in document.documentElement.style)mo=!0;else{let t=Element.prototype.scrollTo;t?mo=!/\{\s*\[native code\]\s*\}/.test(t.toString()):mo=!1}}return mo}function SP(){if(Fv==null){let t=typeof document<"u"?document.head:null;Fv=!!(t&&(t.createShadowRoot||t.attachShadow))}return Fv}function DE(t){if(SP()){let e=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function cl(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}function mn(t){return t.composedPath?t.composedPath()[0]:t.target}function dl(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var kv,Ne,ll,mo,Fv,Wt=g(()=>{"use strict";O();O();Ie();try{kv=typeof Intl<"u"&&Intl.v8BreakIterator}catch{kv=!1}Ne=(()=>{let e=class e{constructor(n){this._platformId=n,this.isBrowser=this._platformId?Qn(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||kv)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};e.\u0275fac=function(r){return new(r||e)(p(bt))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})()});function It(t,...e){return e.length?e.some(i=>t[i]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var Ii=g(()=>{"use strict"});function Ms(t){return t!=null&&`${t}`!="false"}function ur(t,e=0){return TP(t)?Number(t):e}function TP(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Ss(t){return Array.isArray(t)?t:[t]}function ut(t){return t==null?"":typeof t=="string"?t:`${t}px`}function Mi(t){return t instanceof P?t.nativeElement:t}var Si=g(()=>{"use strict";O()});var OP,tf,Lv=g(()=>{"use strict";O();OP=(()=>{let e=class e{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),tf=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({providers:[OP]});let t=e;return t})()});function FP(t,e){if(!IE.has(t))try{po||(po=document.createElement("style"),e&&po.setAttribute("nonce",e),po.setAttribute("type","text/css"),document.head.appendChild(po)),po.sheet&&(po.sheet.insertRule(`@media ${t} {body{ }}`,0),IE.add(t))}catch(i){console.error(i)}}function kP(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}function ME(t){return t.map(e=>e.split(",")).reduce((e,i)=>e.concat(i)).map(e=>e.trim())}var IE,po,RP,SE,TE=g(()=>{"use strict";O();O();Si();Qe();at();Wt();IE=new Set,RP=(()=>{let e=class e{constructor(n,r){this._platform=n,this._nonce=r,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):kP}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&FP(n,this._nonce),this._matchMedia(n)}};e.\u0275fac=function(r){return new(r||e)(p(Ne),p(ro,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();SE=(()=>{let e=class e{constructor(n,r){this._mediaMatcher=n,this._zone=r,this._queries=new Map,this._destroySubject=new k}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return ME(Ss(n)).some(o=>this._registerQuery(o).mql.matches)}observe(n){let o=ME(Ss(n)).map(a=>this._registerQuery(a).observable),s=Br(o);return s=Xt(s.pipe(Ae(1)),s.pipe(Aa(1),ai(0))),s.pipe(B(a=>{let l={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:d})=>{l.matches=l.matches||c,l.breakpoints[d]=c}),l}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let r=this._mediaMatcher.matchMedia(n),s={observable:new X(a=>{let l=c=>this._zone.run(()=>a.next(c));return r.addListener(l),()=>{r.removeListener(l)}}).pipe(Ct(r),B(({matches:a})=>({query:n,matches:a})),te(this._destroySubject)),mql:r};return this._queries.set(n,s),s}};e.\u0275fac=function(r){return new(r||e)(p(RP),p(F))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})()});function Uv(t,e,i){let n=sf(t,e);i=i.trim(),!n.some(r=>r.trim()===i)&&(n.push(i),t.setAttribute(e,n.join(LE)))}function df(t,e,i){let n=sf(t,e);i=i.trim();let r=n.filter(o=>o!==i);r.length?t.setAttribute(e,r.join(LE)):t.removeAttribute(e)}function sf(t,e){return t.getAttribute(e)?.match(/\S+/g)??[]}function Pv(t,e){return typeof t=="string"?`${e||""}/${t}`:t}function OE(t,e){t.id||(t.id=`${PE}-${e}-${jv++}`)}function qP(t){try{return t.frameElement}catch{return null}}function YP(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function ZP(t){let e=t.nodeName.toLowerCase();return e==="input"||e==="select"||e==="button"||e==="textarea"}function $P(t){return JP(t)&&t.type=="hidden"}function XP(t){return eN(t)&&t.hasAttribute("href")}function JP(t){return t.nodeName.toLowerCase()=="input"}function eN(t){return t.nodeName.toLowerCase()=="a"}function jE(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let e=t.getAttribute("tabindex");return!!(e&&!isNaN(parseInt(e,10)))}function RE(t){if(!jE(t))return null;let e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}function tN(t){let e=t.nodeName.toLowerCase(),i=e==="input"&&t.type;return i==="text"||i==="password"||e==="select"||e==="textarea"}function nN(t){return $P(t)?!1:ZP(t)||XP(t)||t.hasAttribute("contenteditable")||jE(t)}function iN(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}function fl(t){return t.buttons===0||t.detail===0}function hl(t){let e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}function lN(){return null}var LE,PE,nf,jv,NE,af,lf,cf,ul,Vv,uf,rN,oN,VE,Ts,sN,aN,cN,dN,BE,of,uN,rf,Ln,go,FE,kE,Nv,Hv,ff,nn=g(()=>{"use strict";Ie();O();O();Wt();Wt();Qe();Ii();at();Lv();Si();TE();LE=" ";PE="cdk-describedby-message",nf="cdk-describedby-host",jv=0,NE=(()=>{let e=class e{constructor(n,r){this._platform=r,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${jv++}`,this._document=n,this._id=y(Va)+"-"+jv++}describe(n,r,o){if(!this._canBeDescribed(n,r))return;let s=Pv(r,o);typeof r!="string"?(OE(r,this._id),this._messageRegistry.set(s,{messageElement:r,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(r,o),this._isElementDescribedByMessage(n,s)||this._addMessageReference(n,s)}removeDescription(n,r,o){if(!r||!this._isElementNode(n))return;let s=Pv(r,o);if(this._isElementDescribedByMessage(n,s)&&this._removeMessageReference(n,s),typeof r=="string"){let a=this._messageRegistry.get(s);a&&a.referenceCount===0&&this._deleteMessageElement(s)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let n=this._document.querySelectorAll(`[${nf}="${this._id}"]`);for(let r=0;r<n.length;r++)this._removeCdkDescribedByReferenceIds(n[r]),n[r].removeAttribute(nf);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(n,r){let o=this._document.createElement("div");OE(o,this._id),o.textContent=n,r&&o.setAttribute("role",r),this._createMessagesContainer(),this._messagesContainer.appendChild(o),this._messageRegistry.set(Pv(n,r),{messageElement:o,referenceCount:0})}_deleteMessageElement(n){this._messageRegistry.get(n)?.messageElement?.remove(),this._messageRegistry.delete(n)}_createMessagesContainer(){if(this._messagesContainer)return;let n="cdk-describedby-message-container",r=this._document.querySelectorAll(`.${n}[platform="server"]`);for(let s=0;s<r.length;s++)r[s].remove();let o=this._document.createElement("div");o.style.visibility="hidden",o.classList.add(n),o.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&o.setAttribute("platform","server"),this._document.body.appendChild(o),this._messagesContainer=o}_removeCdkDescribedByReferenceIds(n){let r=sf(n,"aria-describedby").filter(o=>o.indexOf(PE)!=0);n.setAttribute("aria-describedby",r.join(" "))}_addMessageReference(n,r){let o=this._messageRegistry.get(r);Uv(n,"aria-describedby",o.messageElement.id),n.setAttribute(nf,this._id),o.referenceCount++}_removeMessageReference(n,r){let o=this._messageRegistry.get(r);o.referenceCount--,df(n,"aria-describedby",o.messageElement.id),n.removeAttribute(nf)}_isElementDescribedByMessage(n,r){let o=sf(n,"aria-describedby"),s=this._messageRegistry.get(r),a=s&&s.messageElement.id;return!!a&&o.indexOf(a)!=-1}_canBeDescribed(n,r){if(!this._isElementNode(n))return!1;if(r&&typeof r=="object")return!0;let o=r==null?"":`${r}`.trim(),s=n.getAttribute("aria-label");return o?!s||s.trim()!==o:!1}_isElementNode(n){return n.nodeType===this._document.ELEMENT_NODE}};e.\u0275fac=function(r){return new(r||e)(p(U),p(Ne))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();af=class{constructor(e,i){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new k,this._typeaheadSubscription=be.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=n=>n.disabled,this._pressedLetters=[],this.tabOut=new k,this.change=new k,e instanceof Yi?this._itemChangesSubscription=e.changes.subscribe(n=>this._itemsChanged(n.toArray())):uu(e)&&(this._effectRef=Ug(()=>this._itemsChanged(e()),{injector:i}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Le(i=>this._pressedLetters.push(i)),ai(e),de(()=>this._pressedLetters.length>0),B(()=>this._pressedLetters.join(""))).subscribe(i=>{let n=this._getItemsArray();for(let r=1;r<n.length+1;r++){let o=(this._activeItemIndex+r)%n.length,s=n[o];if(!this._skipPredicateFn(s)&&s.getLabel().toUpperCase().trim().indexOf(i)===0){this.setActiveItem(o);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}withPageUpDown(e=!0,i=10){return this._pageUpAndDown={enabled:e,delta:i},this}setActiveItem(e){let i=this._activeItem;this.updateActiveItem(e),this._activeItem!==i&&this.change.next(this._activeItemIndex)}onKeydown(e){let i=e.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(i){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||It(e,"shiftKey"))&&(e.key&&e.key.length===1?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(i>=65&&i<=90||i>=48&&i<=57)&&this._letterKeyStream.next(String.fromCharCode(i)));return}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._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(e){let i=this._getItemsArray(),n=typeof e=="number"?e:i.indexOf(e),r=i[n];this._activeItem=r??null,this._activeItemIndex=n}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let i=this._getItemsArray();for(let n=1;n<=i.length;n++){let r=(this._activeItemIndex+e*n+i.length)%i.length,o=i[r];if(!this._skipPredicateFn(o)){this.setActiveItem(r);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,i){let n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(e+=i,!n[e])return;this.setActiveItem(e)}}_getItemsArray(){return uu(this._items)?this._items():this._items instanceof Yi?this._items.toArray():this._items}_itemsChanged(e){if(this._activeItem){let i=e.indexOf(this._activeItem);i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i)}}},lf=class extends af{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}},cf=class extends af{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}},ul=(()=>{let e=class e{constructor(n){this._platform=n}isDisabled(n){return n.hasAttribute("disabled")}isVisible(n){return YP(n)&&getComputedStyle(n).visibility==="visible"}isTabbable(n){if(!this._platform.isBrowser)return!1;let r=qP(iN(n));if(r&&(RE(r)===-1||!this.isVisible(r)))return!1;let o=n.nodeName.toLowerCase(),s=RE(n);return n.hasAttribute("contenteditable")?s!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!tN(n)?!1:o==="audio"?n.hasAttribute("controls")?s!==-1:!1:o==="video"?s===-1?!1:s!==null?!0:this._platform.FIREFOX||n.hasAttribute("controls"):n.tabIndex>=0}isFocusable(n,r){return nN(n)&&!this.isDisabled(n)&&(r?.ignoreVisibility||this.isVisible(n))}};e.\u0275fac=function(r){return new(r||e)(p(Ne))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();Vv=class{get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}constructor(e,i,n,r,o=!1){this._element=e,this._checker=i,this._ngZone=n,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let e=this._startAnchor,i=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),i&&(i.removeEventListener("focus",this.endAnchorListener),i.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(e){return new Promise(i=>{this._executeOnStable(()=>i(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(i=>{this._executeOnStable(()=>i(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(i=>{this._executeOnStable(()=>i(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let i=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?i.length?i[0]:this._getFirstTabbableElement(this._element):i.length?i[i.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let i=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(i){if(!this._checker.isFocusable(i)){let n=this._getFirstTabbableElement(i);return n?.focus(e),!!n}return i.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let i=this._getRegionBoundary("start");return i&&i.focus(e),!!i}focusLastTabbableElement(e){let i=this._getRegionBoundary("end");return i&&i.focus(e),!!i}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let i=e.children;for(let n=0;n<i.length;n++){let r=i[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(i[n]):null;if(r)return r}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let i=e.children;for(let n=i.length-1;n>=0;n--){let r=i[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(i[n]):null;if(r)return r}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,i){e?i.setAttribute("tabindex","0"):i.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(Ae(1)).subscribe(e)}},uf=(()=>{let e=class e{constructor(n,r,o){this._checker=n,this._ngZone=r,this._document=o}create(n,r=!1){return new Vv(n,this._checker,this._ngZone,this._document,r)}};e.\u0275fac=function(r){return new(r||e)(p(ul),p(F),p(U))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();rN=new C("cdk-input-modality-detector-options"),oN={ignoreKeys:[18,17,224,91,16]},VE=650,Ts=qn({passive:!0,capture:!0}),sN=(()=>{let e=class e{get mostRecentModality(){return this._modality.value}constructor(n,r,o,s){this._platform=n,this._mostRecentTarget=null,this._modality=new ot(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(l=>l===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=mn(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<VE||(this._modality.next(fl(a)?"keyboard":"mouse"),this._mostRecentTarget=mn(a))},this._onTouchstart=a=>{if(hl(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=mn(a)},this._options=A(A({},oN),s),this.modalityDetected=this._modality.pipe(Aa(1)),this.modalityChanged=this.modalityDetected.pipe(Hr()),n.isBrowser&&r.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Ts),o.addEventListener("mousedown",this._onMousedown,Ts),o.addEventListener("touchstart",this._onTouchstart,Ts)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ts),document.removeEventListener("mousedown",this._onMousedown,Ts),document.removeEventListener("touchstart",this._onTouchstart,Ts))}};e.\u0275fac=function(r){return new(r||e)(p(Ne),p(F),p(U),p(rN,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),aN=new C("liveAnnouncerElement",{providedIn:"root",factory:lN});cN=new C("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),dN=0,BE=(()=>{let e=class e{constructor(n,r,o,s){this._ngZone=r,this._defaultOptions=s,this._document=o,this._liveElement=n||this._createLiveElement()}announce(n,...r){let o=this._defaultOptions,s,a;return r.length===1&&typeof r[0]=="number"?a=r[0]:[s,a]=r,this.clear(),clearTimeout(this._previousTimeout),s||(s=o&&o.politeness?o.politeness:"polite"),a==null&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(l=>this._currentResolve=l)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=n,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let n="cdk-live-announcer-element",r=this._document.getElementsByClassName(n),o=this._document.createElement("div");for(let s=0;s<r.length;s++)r[s].remove();return o.classList.add(n),o.classList.add("cdk-visually-hidden"),o.setAttribute("aria-atomic","true"),o.setAttribute("aria-live","polite"),o.id=`cdk-live-announcer-${dN++}`,this._document.body.appendChild(o),o}_exposeAnnouncerToModals(n){let r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<r.length;o++){let s=r[o],a=s.getAttribute("aria-owns");a?a.indexOf(n)===-1&&s.setAttribute("aria-owns",a+" "+n):s.setAttribute("aria-owns",n)}}};e.\u0275fac=function(r){return new(r||e)(p(aN,8),p(F),p(U),p(cN,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),of=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(of||{}),uN=new C("cdk-focus-monitor-default-options"),rf=qn({passive:!0,capture:!0}),Ln=(()=>{let e=class e{constructor(n,r,o,s,a){this._ngZone=n,this._platform=r,this._inputModalityDetector=o,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 k,this._rootNodeFocusAndBlurListener=l=>{let c=mn(l);for(let d=c;d;d=d.parentElement)l.type==="focus"?this._onFocus(l,d):this._onBlur(l,d)},this._document=s,this._detectionMode=a?.detectionMode||of.IMMEDIATE}monitor(n,r=!1){let o=Mi(n);if(!this._platform.isBrowser||o.nodeType!==1)return R();let s=DE(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return r&&(a.checkChildren=!0),a.subject;let l={checkChildren:r,subject:new k,rootNode:s};return this._elementInfo.set(o,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(n){let r=Mi(n),o=this._elementInfo.get(r);o&&(o.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(o))}focusVia(n,r,o){let s=Mi(n),a=this._getDocument().activeElement;s===a?this._getClosestElementsInfo(s).forEach(([l,c])=>this._originChanged(l,r,c)):(this._setOrigin(r),typeof s.focus=="function"&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((n,r)=>this.stopMonitoring(r))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?"mouse":"program"}_shouldBeAttributedToTouch(n){return this._detectionMode===of.EVENTUAL||!!n?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(n,r){n.classList.toggle("cdk-focused",!!r),n.classList.toggle("cdk-touch-focused",r==="touch"),n.classList.toggle("cdk-keyboard-focused",r==="keyboard"),n.classList.toggle("cdk-mouse-focused",r==="mouse"),n.classList.toggle("cdk-program-focused",r==="program")}_setOrigin(n,r=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=n,this._originFromTouchInteraction=n==="touch"&&r,this._detectionMode===of.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?VE:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(n,r){let o=this._elementInfo.get(r),s=mn(n);!o||!o.checkChildren&&r!==s||this._originChanged(r,this._getFocusOrigin(s),o)}_onBlur(n,r){let o=this._elementInfo.get(r);!o||o.checkChildren&&n.relatedTarget instanceof Node&&r.contains(n.relatedTarget)||(this._setClasses(r),this._emitOrigin(o,null))}_emitOrigin(n,r){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(r))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;let r=n.rootNode,o=this._rootNodeFocusListenerCount.get(r)||0;o||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,rf),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,rf)}),this._rootNodeFocusListenerCount.set(r,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(te(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(n){let r=n.rootNode;if(this._rootNodeFocusListenerCount.has(r)){let o=this._rootNodeFocusListenerCount.get(r);o>1?this._rootNodeFocusListenerCount.set(r,o-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,rf),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,rf),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,r,o){this._setClasses(n,r),this._emitOrigin(o,r),this._lastFocusOrigin=r}_getClosestElementsInfo(n){let r=[];return this._elementInfo.forEach((o,s)=>{(s===n||o.checkChildren&&s.contains(n))&&r.push([s,o])}),r}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:r,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!r||r===n||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA"||n.disabled)return!1;let s=n.labels;if(s){for(let a=0;a<s.length;a++)if(s[a].contains(r))return!0}return!1}};e.\u0275fac=function(r){return new(r||e)(p(F),p(Ne),p(sN),p(U,8),p(uN,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),go=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}(go||{}),FE="cdk-high-contrast-black-on-white",kE="cdk-high-contrast-white-on-black",Nv="cdk-high-contrast-active",Hv=(()=>{let e=class e{constructor(n,r){this._platform=n,this._document=r,this._breakpointSubscription=y(SE).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return go.NONE;let n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);let r=this._document.defaultView||window,o=r&&r.getComputedStyle?r.getComputedStyle(n):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(n.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return go.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return go.BLACK_ON_WHITE}return go.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(Nv,FE,kE),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===go.BLACK_ON_WHITE?n.add(Nv,FE):r===go.WHITE_ON_BLACK&&n.add(Nv,kE)}}};e.\u0275fac=function(r){return new(r||e)(p(Ne),p(U))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ff=(()=>{let e=class e{constructor(n){n._applyBodyHighContrastModeCssClasses()}};e.\u0275fac=function(r){return new(r||e)(p(Hv))},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[tf]});let t=e;return t})()});function hN(){return y(U)}function pN(t){let e=t?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?mN.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var fN,mN,Lt,Yn,pn=g(()=>{"use strict";O();O();Ie();fN=new C("cdk-dir-doc",{providedIn:"root",factory:hN});mN=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;Lt=(()=>{let e=class e{constructor(n){if(this.value="ltr",this.change=new G,n){let r=n.body?n.body.dir:null,o=n.documentElement?n.documentElement.dir:null;this.value=pN(r||o||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(r){return new(r||e)(p(fN,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Yn=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({});let t=e;return t})()});function bN(t,e){if(t&1&&ne(0,"mat-pseudo-checkbox",1),t&2){let i=z();D("disabled",i.disabled)("state",i.selected?"checked":"unchecked")}}function AN(t,e){if(t&1&&ne(0,"mat-pseudo-checkbox",3),t&2){let i=z();D("disabled",i.disabled)}}function _N(t,e){if(t&1&&(E(0,"span",4),ue(1),S()),t&2){let i=z();x(),dt("(",i.group.label,")")}}function xN(){return!0}function EN(t,e,i){let n=Math.max(Math.abs(t-i.left),Math.abs(t-i.right)),r=Math.max(Math.abs(e-i.top),Math.abs(e-i.bottom));return Math.sqrt(n*n+r*r)}function $E(t,e,i){if(i.length){let n=e.toArray(),r=i.toArray(),o=0;for(let s=0;s<t+1;s++)n[s].group&&n[s].group===r[o]&&o++;return o}return 0}function XE(t,e,i,n){return t<i?t:t+e>i+n?Math.max(0,t-n+e):i}var gN,vN,yN,CN,ze,mf,YE,gn,Gv,UE,Kv,HE,wN,zE,WE,GE,ml,Qv,ZE,pf,pl,DN,IN,Yv,Zv,MN,qv,Vs,$v,KE,QE,zv,Wv,qE,hf,JE,vn=g(()=>{"use strict";O();O();nn();nn();pn();Ie();Wt();Wt();Si();Qe();Ii();gN=["text"],vN=[[["mat-icon"]],"*"],yN=["mat-icon","*"];CN=new C("mat-sanity-checks",{providedIn:"root",factory:xN}),ze=(()=>{let e=class e{constructor(n,r,o){this._sanityChecks=r,this._document=o,this._hasDoneGlobalChecks=!1,n._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(n){return dl()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[n]}};e.\u0275fac=function(r){return new(r||e)(p(Hv),p(CN,8),p(U))},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[Yn,Yn]});let t=e;return t})(),mf=class{constructor(e,i,n,r,o){this._defaultMatcher=e,this.ngControl=i,this._parentFormGroup=n,this._parentForm=r,this._stateChanges=o,this.errorState=!1}updateErrorState(){let e=this.errorState,i=this._parentFormGroup||this._parentForm,n=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=n?.isErrorState(r,i)??!1;o!==e&&(this.errorState=o,this._stateChanges.next())}},YE=(()=>{let e=class e{isErrorState(n,r){return!!(n&&n.invalid&&(n.touched||r&&r.submitted))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),gn=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}(gn||{}),Gv=class{constructor(e,i,n,r=!1){this._renderer=e,this.element=i,this.config=n,this._animationForciblyDisabledThroughCss=r,this.state=gn.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},UE=qn({passive:!0,capture:!0}),Kv=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let i=mn(e);i&&this._events.get(e.type)?.forEach((n,r)=>{(r===i||r.contains(i))&&n.forEach(o=>o.handleEvent(e))})}}addHandler(e,i,n,r){let o=this._events.get(i);if(o){let s=o.get(n);s?s.add(r):o.set(n,new Set([r]))}else this._events.set(i,new Map([[n,new Set([r])]])),e.runOutsideAngular(()=>{document.addEventListener(i,this._delegateEventHandler,UE)})}removeHandler(e,i,n){let r=this._events.get(e);if(!r)return;let o=r.get(i);o&&(o.delete(n),o.size===0&&r.delete(i),r.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,UE)))}},HE={enterDuration:225,exitDuration:150},wN=800,zE=qn({passive:!0,capture:!0}),WE=["mousedown","touchstart"],GE=["mouseup","mouseleave","touchend","touchcancel"],ml=class ml{constructor(e,i,n,r){this._target=e,this._ngZone=i,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Mi(n))}fadeInRipple(e,i,n={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=A(A({},HE),n.animation);n.centered&&(e=r.left+r.width/2,i=r.top+r.height/2);let s=n.radius||EN(e,i,r),a=e-r.left,l=i-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`,n.color!=null&&(d.style.backgroundColor=n.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let u=window.getComputedStyle(d),h=u.transitionProperty,m=u.transitionDuration,v=h==="none"||m==="0s"||m==="0s, 0s"||r.width===0&&r.height===0,_=new Gv(this,d,n,v);d.style.transform="scale3d(1, 1, 1)",_.state=gn.FADING_IN,n.persistent||(this._mostRecentTransientRipple=_);let I=null;return!v&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let M=()=>this._finishRippleTransition(_),L=()=>this._destroyRipple(_);d.addEventListener("transitionend",M),d.addEventListener("transitioncancel",L),I={onTransitionEnd:M,onTransitionCancel:L}}),this._activeRipples.set(_,I),(v||!c)&&this._finishRippleTransition(_),_}fadeOutRipple(e){if(e.state===gn.FADING_OUT||e.state===gn.HIDDEN)return;let i=e.element,n=A(A({},HE),e.config.animation);i.style.transitionDuration=`${n.exitDuration}ms`,i.style.opacity="0",e.state=gn.FADING_OUT,(e._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let i=Mi(e);!this._platform.isBrowser||!i||i===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=i,WE.forEach(n=>{ml._eventManager.addHandler(this._ngZone,n,i,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{GE.forEach(i=>{this._triggerElement.addEventListener(i,this,zE)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===gn.FADING_IN?this._startFadeOutTransition(e):e.state===gn.FADING_OUT&&this._destroyRipple(e)}_startFadeOutTransition(e){let i=e===this._mostRecentTransientRipple,{persistent:n}=e.config;e.state=gn.VISIBLE,!n&&(!i||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let i=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=gn.HIDDEN,i!==null&&(e.element.removeEventListener("transitionend",i.onTransitionEnd),e.element.removeEventListener("transitioncancel",i.onTransitionCancel)),e.element.remove()}_onMousedown(e){let i=fl(e),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+wN;!this._target.rippleDisabled&&!i&&!n&&(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}_onTouchStart(e){if(!this._target.rippleDisabled&&!hl(e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let i=e.changedTouches;if(i)for(let n=0;n<i.length;n++)this.fadeInRipple(i[n].clientX,i[n].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(e=>{let i=e.state===gn.VISIBLE||e.config.terminateOnPointerUp&&e.state===gn.FADING_IN;!e.config.persistent&&i&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(WE.forEach(i=>ml._eventManager.removeHandler(i,e,this)),this._pointerUpEventsRegistered&&(GE.forEach(i=>e.removeEventListener(i,this,zE)),this._pointerUpEventsRegistered=!1))}};ml._eventManager=new Kv;Qv=ml;ZE=new C("mat-ripple-global-options"),pf=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(n){n&&this.fadeOutAllNonPersistent(),this._disabled=n,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(n){this._trigger=n,this._setupTriggerEventsIfEnabled()}constructor(n,r,o,s,a){this._elementRef=n,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new Qv(this,r,n,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:A(A(A({},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(n,r=0,o){return typeof n=="number"?this._rippleRenderer.fadeInRipple(n,r,A(A({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,A(A({},this.rippleConfig),n))}};e.\u0275fac=function(r){return new(r||e)(f(P),f(F),f(Ne),f(ZE,8),f(lt,8))},e.\u0275dir=V({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(r,o){r&2&&pe("mat-ripple-unbounded",o.unbounded)},inputs:{color:[w.None,"matRippleColor","color"],unbounded:[w.None,"matRippleUnbounded","unbounded"],centered:[w.None,"matRippleCentered","centered"],radius:[w.None,"matRippleRadius","radius"],animation:[w.None,"matRippleAnimation","animation"],disabled:[w.None,"matRippleDisabled","disabled"],trigger:[w.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let t=e;return t})(),pl=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[ze,ze]});let t=e;return t})(),DN=(()=>{let e=class e{constructor(n){this._animationMode=n,this.state="unchecked",this.disabled=!1,this.appearance="full"}};e.\u0275fac=function(r){return new(r||e)(f(lt,8))},e.\u0275cmp=ce({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(r,o){r&2&&pe("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[Ee],decls:0,vars:0,template:function(r,o){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0});let t=e;return t})(),IN=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[ze]});let t=e;return t})(),Yv=new C("MAT_OPTION_PARENT_COMPONENT"),Zv=new C("MatOptgroup"),MN=0,qv=class{constructor(e,i=!1){this.source=e,this.isUserInput=i}},Vs=(()=>{let e=class e{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(n){this._disabled=n}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(n,r,o,s){this._element=n,this._changeDetectorRef=r,this._parent=o,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${MN++}`,this.onSelectionChange=new G,this._stateChanges=new k}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(n=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),n&&this._emitSelectionChangeEvent())}deselect(n=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),n&&this._emitSelectionChangeEvent())}focus(n,r){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(r)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(n){(n.keyCode===13||n.keyCode===32)&&!It(n)&&(this._selectViaInteraction(),n.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 n=this.viewValue;n!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=n)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(n=!1){this.onSelectionChange.emit(new qv(this,n))}};e.\u0275fac=function(r){return new(r||e)(f(P),f(Pe),f(Yv,8),f(Zv,8))},e.\u0275cmp=ce({type:e,selectors:[["mat-option"]],viewQuery:function(r,o){if(r&1&&qe(gN,7),r&2){let s;ge(s=ve())&&(o._text=s.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(r,o){r&1&&Q("click",function(){return o._selectViaInteraction()})("keydown",function(a){return o._handleKeydown(a)}),r&2&&(ir("id",o.id),_e("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),pe("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},inputs:{value:"value",id:"id",disabled:[w.HasDecoratorInputTransform,"disabled","disabled",De]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[ct,Ee],ngContentSelectors:yN,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(r,o){r&1&&(Dt(vN),Y(0,bN,1,2,"mat-pseudo-checkbox",1),Re(1),E(2,"span",2,0),Re(4,1),S(),Y(5,AN,1,1,"mat-pseudo-checkbox",3)(6,_N,2,1,"span",4),ne(7,"div",5)),r&2&&(rt(0,o.multiple?0:-1),x(5),rt(5,!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),x(),rt(6,o.group&&o.group._inert?6:-1),x(),D("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[DN,pf],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let t=e;return t})();$v=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[pl,ze,IN]});let t=e;return t})(),KE={capture:!0},QE=["focus","click","mouseenter","touchstart"],zv="mat-ripple-loader-uninitialized",Wv="mat-ripple-loader-class-name",qE="mat-ripple-loader-centered",hf="mat-ripple-loader-disabled",JE=(()=>{let e=class e{constructor(){this._document=y(U,{optional:!0}),this._animationMode=y(lt,{optional:!0}),this._globalRippleOptions=y(ZE,{optional:!0}),this._platform=y(Ne),this._ngZone=y(F),this._hosts=new Map,this._onInteraction=n=>{if(!(n.target instanceof HTMLElement))return;let o=n.target.closest(`[${zv}]`);o&&this._createRipple(o)},this._ngZone.runOutsideAngular(()=>{for(let n of QE)this._document?.addEventListener(n,this._onInteraction,KE)})}ngOnDestroy(){let n=this._hosts.keys();for(let r of n)this.destroyRipple(r);for(let r of QE)this._document?.removeEventListener(r,this._onInteraction,KE)}configureRipple(n,r){n.setAttribute(zv,""),(r.className||!n.hasAttribute(Wv))&&n.setAttribute(Wv,r.className||""),r.centered&&n.setAttribute(qE,""),r.disabled&&n.setAttribute(hf,"")}getRipple(n){return this._hosts.get(n)||this._createRipple(n)}setDisabled(n,r){let o=this._hosts.get(n);if(o){o.disabled=r;return}r?n.setAttribute(hf,""):n.removeAttribute(hf)}_createRipple(n){if(!this._document)return;let r=this._hosts.get(n);if(r)return r;n.querySelector(".mat-ripple")?.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",n.getAttribute(Wv)),n.append(o);let s=new pf(new P(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return s._isInitialized=!0,s.trigger=n,s.centered=n.hasAttribute(qE),s.disabled=n.hasAttribute(hf),this.attachRipple(n,s),s}attachRipple(n,r){n.removeAttribute(zv),this._hosts.set(n,r)}destroyRipple(n){let r=this._hosts.get(n);r&&(r.ngOnDestroy(),this._hosts.delete(n))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})()});var SN,TN,ON,RN,FN,kN,LN,PN,eD,gl,vo,gf,vf=g(()=>{"use strict";Wt();O();O();nn();vn();SN=["mat-button",""],TN=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],ON=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],RN=".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}",FN=["mat-icon-button",""],kN=["*"],LN=new C("MAT_BUTTON_CONFIG"),PN=[{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"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],eD=(()=>{let e=class e{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(n){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,n)}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=n,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(n){this._disabled=n,this._updateRippleDisabled()}constructor(n,r,o,s){this._elementRef=n,this._platform=r,this._ngZone=o,this._animationMode=s,this._focusMonitor=y(Ln),this._rippleLoader=y(JE),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let a=y(LN,{optional:!0}),l=n.nativeElement,c=l.classList;this.disabledInteractive=a?.disabledInteractive??!1,this._rippleLoader?.configureRipple(l,{className:"mat-mdc-button-ripple"});for(let{attribute:d,mdcClasses:u}of PN)l.hasAttribute(d)&&c.add(...u)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(n="program",r){n?this._focusMonitor.focusVia(this._elementRef.nativeElement,n,r):this._elementRef.nativeElement.focus(r)}_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)}};e.\u0275fac=function(r){ms()},e.\u0275dir=V({type:e,inputs:{color:"color",disableRipple:[w.HasDecoratorInputTransform,"disableRipple","disableRipple",De],disabled:[w.HasDecoratorInputTransform,"disabled","disabled",De],ariaDisabled:[w.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",De],disabledInteractive:[w.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",De]},features:[ct]});let t=e;return t})(),gl=(()=>{let e=class e extends eD{constructor(n,r,o,s){super(n,r,o,s)}};e.\u0275fac=function(r){return new(r||e)(f(P),f(Ne),f(F),f(lt,8))},e.\u0275cmp=ce({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(r,o){r&2&&(_e("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),vi(o.color?"mat-"+o.color:""),pe("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[Ce,Ee],attrs:SN,ngContentSelectors:ON,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(r,o){r&1&&(Dt(TN),ne(0,"span",0),Re(1),E(2,"span",1),Re(3,1),S(),Re(4,2),ne(5,"span",2)(6,"span",3)),r&2&&pe("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{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;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.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__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.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)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-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)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-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[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{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.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)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-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)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-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[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{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.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)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-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)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-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:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.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)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * 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)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-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)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-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[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-button-base{text-decoration:none}.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-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.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;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0});let t=e;return t})(),vo=(()=>{let e=class e extends eD{constructor(n,r,o,s){super(n,r,o,s),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};e.\u0275fac=function(r){return new(r||e)(f(P),f(Ne),f(F),f(lt,8))},e.\u0275cmp=ce({type:e,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(r,o){r&2&&(_e("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),vi(o.color?"mat-"+o.color:""),pe("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[Ce,Ee],attrs:FN,ngContentSelectors:kN,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(r,o){r&1&&(Dt(),ne(0,"span",0),Re(1),ne(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{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;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{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);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.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 .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{z-index:1}.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)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-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)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-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.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}',RN],encapsulation:2,changeDetection:0});let t=e;return t})(),gf=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[ze,pl,ze]});let t=e;return t})()});function VN(){if(yf===void 0&&(yf=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(yf=t.trustedTypes.createPolicy("angular#components",{createHTML:e=>e}))}return yf}function vl(t){return VN()?.createHTML(t)||t}function tD(t){return Error(`Unable to find icon with the name "${t}"`)}function BN(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function nD(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function iD(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}function bf(t){return t.cloneNode(!0)}function rD(t,e){return t+":"+e}function UN(t){return!!(t.url&&t.options)}function WN(){let t=y(U),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}var jN,yf,Ti,Jv,HN,zN,oD,GN,KN,yo,ey,Af=g(()=>{"use strict";O();O();vn();Ie();Qe();at();Ya();As();jN=["*"];Ti=class{constructor(e,i,n){this.url=e,this.svgText=i,this.options=n}},Jv=(()=>{let e=class e{constructor(n,r,o,s){this._httpClient=n,this._sanitizer=r,this._errorHandler=s,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(n,r,o){return this.addSvgIconInNamespace("",n,r,o)}addSvgIconLiteral(n,r,o){return this.addSvgIconLiteralInNamespace("",n,r,o)}addSvgIconInNamespace(n,r,o,s){return this._addSvgIconConfig(n,r,new Ti(o,null,s))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,r,o,s){let a=this._sanitizer.sanitize(Et.HTML,o);if(!a)throw iD(o);let l=vl(a);return this._addSvgIconConfig(n,r,new Ti("",l,s))}addSvgIconSet(n,r){return this.addSvgIconSetInNamespace("",n,r)}addSvgIconSetLiteral(n,r){return this.addSvgIconSetLiteralInNamespace("",n,r)}addSvgIconSetInNamespace(n,r,o){return this._addSvgIconSetConfig(n,new Ti(r,null,o))}addSvgIconSetLiteralInNamespace(n,r,o){let s=this._sanitizer.sanitize(Et.HTML,r);if(!s)throw iD(r);let a=vl(s);return this._addSvgIconSetConfig(n,new Ti("",a,o))}registerFontClassAlias(n,r=n){return this._fontCssClassesByAlias.set(n,r),this}classNameForFontAlias(n){return this._fontCssClassesByAlias.get(n)||n}setDefaultFontSetClass(...n){return this._defaultFontSetClass=n,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(n){let r=this._sanitizer.sanitize(Et.RESOURCE_URL,n);if(!r)throw nD(n);let o=this._cachedIconsByUrl.get(r);return o?R(bf(o)):this._loadSvgIconFromConfig(new Ti(n,null)).pipe(Le(s=>this._cachedIconsByUrl.set(r,s)),B(s=>bf(s)))}getNamedSvgIcon(n,r=""){let o=rD(r,n),s=this._svgIconConfigs.get(o);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(r,n),s)return this._svgIconConfigs.set(o,s),this._getSvgFromConfig(s);let a=this._iconSetConfigs.get(r);return a?this._getSvgFromIconSetConfigs(n,a):Bi(tD(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(n){return n.svgText?R(bf(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(B(r=>bf(r)))}_getSvgFromIconSetConfigs(n,r){let o=this._extractIconWithNameFromAnySet(n,r);if(o)return R(o);let s=r.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(en(l=>{let d=`Loading icon set URL: ${this._sanitizer.sanitize(Et.RESOURCE_URL,a.url)} failed: ${l.message}`;return this._errorHandler.handleError(new Error(d)),R(null)})));return Hi(s).pipe(B(()=>{let a=this._extractIconWithNameFromAnySet(n,r);if(!a)throw tD(n);return a}))}_extractIconWithNameFromAnySet(n,r){for(let o=r.length-1;o>=0;o--){let s=r[o];if(s.svgText&&s.svgText.toString().indexOf(n)>-1){let a=this._svgElementFromConfig(s),l=this._extractSvgIconFromSet(a,n,s.options);if(l)return l}}return null}_loadSvgIconFromConfig(n){return this._fetchIcon(n).pipe(Le(r=>n.svgText=r),B(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?R(null):this._fetchIcon(n).pipe(Le(r=>n.svgText=r))}_extractSvgIconFromSet(n,r,o){let s=n.querySelector(`[id="${r}"]`);if(!s)return null;let a=s.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,o);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),o);let l=this._svgElementFromString(vl("<svg></svg>"));return l.appendChild(a),this._setSvgAttributes(l,o)}_svgElementFromString(n){let r=this._document.createElement("DIV");r.innerHTML=n;let o=r.querySelector("svg");if(!o)throw Error("<svg> tag not found");return o}_toSvgElement(n){let r=this._svgElementFromString(vl("<svg></svg>")),o=n.attributes;for(let s=0;s<o.length;s++){let{name:a,value:l}=o[s];a!=="id"&&r.setAttribute(a,l)}for(let s=0;s<n.childNodes.length;s++)n.childNodes[s].nodeType===this._document.ELEMENT_NODE&&r.appendChild(n.childNodes[s].cloneNode(!0));return r}_setSvgAttributes(n,r){return n.setAttribute("fit",""),n.setAttribute("height","100%"),n.setAttribute("width","100%"),n.setAttribute("preserveAspectRatio","xMidYMid meet"),n.setAttribute("focusable","false"),r&&r.viewBox&&n.setAttribute("viewBox",r.viewBox),n}_fetchIcon(n){let{url:r,options:o}=n,s=o?.withCredentials??!1;if(!this._httpClient)throw BN();if(r==null)throw Error(`Cannot fetch icon from URL "${r}".`);let a=this._sanitizer.sanitize(Et.RESOURCE_URL,r);if(!a)throw nD(r);let l=this._inProgressUrlFetches.get(a);if(l)return l;let c=this._httpClient.get(a,{responseType:"text",withCredentials:s}).pipe(B(d=>vl(d)),Bt(()=>this._inProgressUrlFetches.delete(a)),ba());return this._inProgressUrlFetches.set(a,c),c}_addSvgIconConfig(n,r,o){return this._svgIconConfigs.set(rD(n,r),o),this}_addSvgIconSetConfig(n,r){let o=this._iconSetConfigs.get(n);return o?o.push(r):this._iconSetConfigs.set(n,[r]),this}_svgElementFromConfig(n){if(!n.svgElement){let r=this._svgElementFromString(n.svgText);this._setSvgAttributes(r,n.options),n.svgElement=r}return n.svgElement}_getIconConfigFromResolvers(n,r){for(let o=0;o<this._resolvers.length;o++){let s=this._resolvers[o](r,n);if(s)return UN(s)?new Ti(s.url,null,s.options):new Ti(s,null)}}};e.\u0275fac=function(r){return new(r||e)(p(or,8),p(Ja),p(U,8),p(zt))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();HN=new C("MAT_ICON_DEFAULT_OPTIONS"),zN=new C("mat-icon-location",{providedIn:"root",factory:WN});oD=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],GN=oD.map(t=>`[${t}]`).join(", "),KN=/^url\(['"]?#(.*?)['"]?\)$/,yo=(()=>{let e=class e{get color(){return this._color||this._defaultColor}set color(n){this._color=n}get svgIcon(){return this._svgIcon}set svgIcon(n){n!==this._svgIcon&&(n?this._updateSvgIcon(n):this._svgIcon&&this._clearSvgElement(),this._svgIcon=n)}get fontSet(){return this._fontSet}set fontSet(n){let r=this._cleanupFontValue(n);r!==this._fontSet&&(this._fontSet=r,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(n){let r=this._cleanupFontValue(n);r!==this._fontIcon&&(this._fontIcon=r,this._updateFontIconClasses())}constructor(n,r,o,s,a,l){this._elementRef=n,this._iconRegistry=r,this._location=s,this._errorHandler=a,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=be.EMPTY,l&&(l.color&&(this.color=this._defaultColor=l.color),l.fontSet&&(this.fontSet=l.fontSet)),o||n.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(n){if(!n)return["",""];let r=n.split(":");switch(r.length){case 1:return["",r[0]];case 2:return r;default:throw Error(`Invalid icon name: "${n}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let n=this._elementsWithExternalReferences;if(n&&n.size){let r=this._location.getPathname();r!==this._previousPath&&(this._previousPath=r,this._prependPathToReferences(r))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(n){this._clearSvgElement();let r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(n),this._prependPathToReferences(r),this._elementRef.nativeElement.appendChild(n)}_clearSvgElement(){let n=this._elementRef.nativeElement,r=n.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){let o=n.childNodes[r];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let n=this._elementRef.nativeElement,r=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>n.classList.remove(o)),r.forEach(o=>n.classList.add(o)),this._previousFontSetClass=r,this.fontIcon!==this._previousFontIconClass&&!r.includes("mat-ligature-font")&&(this._previousFontIconClass&&n.classList.remove(this._previousFontIconClass),this.fontIcon&&n.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(n){return typeof n=="string"?n.trim().split(" ")[0]:n}_prependPathToReferences(n){let r=this._elementsWithExternalReferences;r&&r.forEach((o,s)=>{o.forEach(a=>{s.setAttribute(a.name,`url('${n}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(n){let r=n.querySelectorAll(GN),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s<r.length;s++)oD.forEach(a=>{let l=r[s],c=l.getAttribute(a),d=c?c.match(KN):null;if(d){let u=o.get(l);u||(u=[],o.set(l,u)),u.push({name:a,value:d[1]})}})}_updateSvgIcon(n){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),n){let[r,o]=this._splitIconName(n);r&&(this._svgNamespace=r),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,r).pipe(Ae(1)).subscribe(s=>this._setSvgElement(s),s=>{let a=`Error retrieving icon ${r}:${o}! ${s.message}`;this._errorHandler.handleError(new Error(a))})}}};e.\u0275fac=function(r){return new(r||e)(f(P),f(Jv),tr("aria-hidden"),f(zN),f(zt),f(HN,8))},e.\u0275cmp=ce({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(r,o){r&2&&(_e("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),vi(o.color?"mat-"+o.color:""),pe("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[w.HasDecoratorInputTransform,"inline","inline",De],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[ct,Ee],ngContentSelectors:jN,decls:1,vars:0,template:function(r,o){r&1&&(Dt(),Re(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0});let t=e;return t})(),ey=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[ze,ze]});let t=e;return t})()});var sD,aD=g(()=>{"use strict";Ya();O();O();sD=(()=>{var e;let i=class i{constructor(){et(this,e,y(or))}play(r,o){return o.apiVersion===1?Ke(this,e).get(`${o.apiUrl}?system=${o.voice}&text=${r}`,{responseType:"blob"}):Ke(this,e).post(`${o.apiUrl}/?text=${r}&voice=${o.voice}`,null,{responseType:"blob"})}};e=new WeakMap,i.\u0275fac=function(o){return new(o||i)},i.\u0275prov=b({token:i,factory:i.\u0275fac,providedIn:"root"});let t=i;return t})()});function YN(t,e){if(t&1&&(io(),E(0,"svg",11),ne(1,"circle",12),S()),t&2){let i=z();_e("viewBox",i._viewBox()),x(),gi("stroke-dasharray",i._strokeCircumference(),"px")("stroke-dashoffset",i._strokeCircumference()/2,"px")("stroke-width",i._circleStrokeWidth(),"%"),_e("r",i._circleRadius())}}function $N(){return{diameter:lD}}var qN,ZN,lD,XN,Bs,cD,_f=g(()=>{"use strict";O();O();Ie();vn();qN=["determinateSpinner"];ZN=new C("mat-progress-spinner-default-options",{providedIn:"root",factory:$N});lD=100,XN=10,Bs=(()=>{let e=class e{get color(){return this._color||this._defaultColor}set color(n){this._color=n}constructor(n,r,o){this._elementRef=n,this._defaultColor="primary",this._value=0,this._diameter=lD,this._noopAnimations=r==="NoopAnimations"&&!!o&&!o._forceAnimations,this.mode=n.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",o&&(o.color&&(this.color=this._defaultColor=o.color),o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth))}get value(){return this.mode==="determinate"?this._value:0}set value(n){this._value=Math.max(0,Math.min(100,n||0))}get diameter(){return this._diameter}set diameter(n){this._diameter=n||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(n){this._strokeWidth=n||0}_circleRadius(){return(this.diameter-XN)/2}_viewBox(){let n=this._circleRadius()*2+this.strokeWidth;return`0 0 ${n} ${n}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}};e.\u0275fac=function(r){return new(r||e)(f(P),f(lt,8),f(ZN))},e.\u0275cmp=ce({type:e,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(r,o){if(r&1&&qe(qN,5),r&2){let s;ge(s=ve())&&(o._determinateCircle=s.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(r,o){r&2&&(_e("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",o.mode==="determinate"?o.value:null)("mode",o.mode),vi("mat-"+o.color),gi("width",o.diameter,"px")("height",o.diameter,"px")("--mdc-circular-progress-size",o.diameter+"px")("--mdc-circular-progress-active-indicator-width",o.diameter+"px"),pe("_mat-animation-noopable",o._noopAnimations)("mdc-circular-progress--indeterminate",o.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[w.HasDecoratorInputTransform,"value","value",bi],diameter:[w.HasDecoratorInputTransform,"diameter","diameter",bi],strokeWidth:[w.HasDecoratorInputTransform,"strokeWidth","strokeWidth",bi]},exportAs:["matProgressSpinner"],standalone:!0,features:[ct,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(r,o){if(r&1&&(Y(0,YN,2,8,"ng-template",null,0,so),E(2,"div",2,1),io(),E(4,"svg",3),ne(5,"circle",4),S()(),_x(),E(6,"div",5)(7,"div",6)(8,"div",7),Ua(9,8),S(),E(10,"div",9),Ua(11,8),S(),E(12,"div",10),Ua(13,8),S()()()),r&2){let s=Fn(1);x(4),_e("viewBox",o._viewBox()),x(),gi("stroke-dasharray",o._strokeCircumference(),"px")("stroke-dashoffset",o._strokeDashOffset(),"px")("stroke-width",o._circleStrokeWidth(),"%"),_e("r",o._circleRadius()),x(4),D("ngTemplateOutlet",s),x(2),D("ngTemplateOutlet",s),x(2),D("ngTemplateOutlet",s)}},dependencies:[Du],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0});let t=e;return t})(),cD=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[vt,ze]});let t=e;return t})()});var xf,dD=g(()=>{"use strict";Qe();xf=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(e=!1,i,n=!0,r){this._multiple=e,this._emitChanges=n,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new k,i&&i.length&&(e?i.forEach(o=>this._markSelected(o)):this._markSelected(i[0]),this._selectedToEmit.length=0)}select(...e){this._verifyValueAssignment(e),e.forEach(n=>this._markSelected(n));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}deselect(...e){this._verifyValueAssignment(e),e.forEach(n=>this._unmarkSelected(n));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}setSelection(...e){this._verifyValueAssignment(e);let i=this.selected,n=new Set(e);e.forEach(o=>this._markSelected(o)),i.filter(o=>!n.has(this._getConcreteValue(o,n))).forEach(o=>this._unmarkSelected(o));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let i=this._hasQueuedChanges();return e&&this._emitChangeEvent(),i}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e,i){if(this.compareWith){i=i??this._selection;for(let n of i)if(this.compareWith(e,n))return n;return e}else return e}}});var e2,yl,t2,Us,fr,ty,hr=g(()=>{"use strict";Si();O();Qe();at();Wt();Ie();pn();e2=20,yl=(()=>{let e=class e{constructor(n,r,o){this._ngZone=n,this._platform=r,this._scrolled=new k,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){let r=this.scrollContainers.get(n);r&&(r.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=e2){return this._platform.isBrowser?new X(r=>{this._globalSubscription||this._addGlobalListener();let o=n>0?this._scrolled.pipe(od(n)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):R()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((n,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(n,r){let o=this.getAncestorScrollContainers(n);return this.scrolled(r).pipe(de(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(n){let r=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,n)&&r.push(s)}),r}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(n,r){let o=Mi(r),s=n.getElementRef().nativeElement;do if(o==s)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let n=this._getWindow();return zi(n.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};e.\u0275fac=function(r){return new(r||e)(p(F),p(Ne),p(U,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),t2=20,Us=(()=>{let e=class e{constructor(n,r,o){this._platform=n,this._change=new k,this._changeListener=s=>{this._change.next(s)},this._document=o,r.runOutsideAngular(()=>{if(n.isBrowser){let s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let n=this._getWindow();n.removeEventListener("resize",this._changeListener),n.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){let n=this.getViewportScrollPosition(),{width:r,height:o}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+o,right:n.left+r,height:o,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let n=this._document,r=this._getWindow(),o=n.documentElement,s=o.getBoundingClientRect(),a=-s.top||n.body.scrollTop||r.scrollY||o.scrollTop||0,l=-s.left||n.body.scrollLeft||r.scrollX||o.scrollLeft||0;return{top:a,left:l}}change(n=t2){return n>0?this._change.pipe(od(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}};e.\u0275fac=function(r){return new(r||e)(p(Ne),p(F),p(U,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),fr=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({});let t=e;return t})(),ty=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[Yn,fr,Yn,fr]});let t=e;return t})()});var bl,mr,Oi,ny,Hs,Al,_l,bo,zs=g(()=>{"use strict";O();O();Ie();bl=class{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},mr=class extends bl{constructor(e,i,n,r,o){super(),this.component=e,this.viewContainerRef=i,this.injector=n,this.componentFactoryResolver=r,this.projectableNodes=o}},Oi=class extends bl{constructor(e,i,n,r){super(),this.templateRef=e,this.viewContainerRef=i,this.context=n,this.injector=r}get origin(){return this.templateRef.elementRef}attach(e,i=this.context){return this.context=i,super.attach(e)}detach(){return this.context=void 0,super.detach()}},ny=class extends bl{constructor(e){super(),this.element=e instanceof P?e.nativeElement:e}},Hs=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof mr)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof Oi)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof ny)return this._attachedPortal=e,this.attachDomPortal(e)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},Al=class extends Hs{constructor(e,i,n,r,o){super(),this.outletElement=e,this._componentFactoryResolver=i,this._appRef=n,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(e){let n=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),r;return e.viewContainerRef?(r=e.viewContainerRef.createComponent(n,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector,e.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=n.create(e.injector||this._defaultInjector||Xe.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=e,r}attachTemplatePortal(e){let i=e.viewContainerRef,n=i.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return n.rootNodes.forEach(r=>this.outletElement.appendChild(r)),n.detectChanges(),this.setDisposeFn(()=>{let r=i.indexOf(n);r!==-1&&i.remove(r)}),this._attachedPortal=e,n}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}},_l=(()=>{let e=class e extends Hs{constructor(n,r,o){super(),this._componentFactoryResolver=n,this._viewContainerRef=r,this._isInitialized=!1,this.attached=new G,this.attachDomPortal=s=>{this._document;let a=s.element;a.parentNode;let l=this._document.createComment("dom-portal");s.setAttachedHost(this),a.parentNode.insertBefore(l,a),this._getRootNode().appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}get portal(){return this._attachedPortal}set portal(n){this.hasAttached()&&!n&&!this._isInitialized||(this.hasAttached()&&super.detach(),n&&super.attach(n),this._attachedPortal=n||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(n){n.setAttachedHost(this);let r=n.viewContainerRef!=null?n.viewContainerRef:this._viewContainerRef,s=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component),a=r.createComponent(s,r.length,n.injector||r.injector,n.projectableNodes||void 0);return r!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=n,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(n){n.setAttachedHost(this);let r=this._viewContainerRef.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=n,this._attachedRef=r,this.attached.emit(r),r}_getRootNode(){let n=this._viewContainerRef.element.nativeElement;return n.nodeType===n.ELEMENT_NODE?n:n.parentNode}};e.\u0275fac=function(r){return new(r||e)(f(hn),f(pt),f(U))},e.\u0275dir=V({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[w.None,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[Ce]});let t=e;return t})(),bo=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({});let t=e;return t})()});function oy(t,e){return e.some(i=>{let n=t.bottom<i.top,r=t.top>i.bottom,o=t.right<i.left,s=t.left>i.right;return n||r||o||s})}function hD(t,e){return e.some(i=>{let n=t.top<i.top,r=t.bottom>i.bottom,o=t.left<i.left,s=t.right>i.right;return n||r||o||s})}function Ao(t,e){for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function pD(t){if(typeof t!="number"&&t!=null){let[e,i]=t.split(o2);return!i||i==="px"?parseFloat(e):null}return t||null}function gD(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 s2(t,e){return t===e?!0:t.isOriginClipped===e.isOriginClipped&&t.isOriginOutsideView===e.isOriginOutsideView&&t.isOverlayClipped===e.isOverlayClipped&&t.isOverlayOutsideView===e.isOverlayOutsideView}function d2(t){return()=>t.scrollStrategies.reposition()}var fD,iy,ry,Cf,sy,n2,pr,ay,yD,i2,r2,Ws,Ri,mD,o2,ly,vD,cy,a2,l2,Ze,c2,bD,xl,dy,u2,Zn,$n=g(()=>{"use strict";hr();hr();hr();Ie();Ie();O();O();Si();Wt();Wt();at();pn();pn();zs();Qe();Ii();fD=EE(),iy=class{constructor(e,i){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=i}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=ut(-this._previousScrollPosition.left),e.style.top=ut(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,i=this._document.body,n=e.style,r=i.style,o=n.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),fD&&(n.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),fD&&(n.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let i=this._document.body,n=this._viewportRuler.getViewportSize();return i.scrollHeight>n.height||i.scrollWidth>n.width}},ry=class{constructor(e,i,n,r){this._scrollDispatcher=e,this._ngZone=i,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(de(i=>!i||!this._overlayRef.overlayElement.contains(i.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let i=this._viewportRuler.getViewportScrollPosition().top;Math.abs(i-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},Cf=class{enable(){}disable(){}attach(){}};sy=class{constructor(e,i,n,r){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=n,this._config=r,this._scrollSubscription=null}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let i=this._overlayRef.overlayElement.getBoundingClientRect(),{width:n,height:r}=this._viewportRuler.getViewportSize();oy(i,[{width:n,height:r,bottom:r,right:n,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}},n2=(()=>{let e=class e{constructor(n,r,o,s){this._scrollDispatcher=n,this._viewportRuler=r,this._ngZone=o,this.noop=()=>new Cf,this.close=a=>new ry(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new iy(this._viewportRuler,this._document),this.reposition=a=>new sy(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=s}};e.\u0275fac=function(r){return new(r||e)(p(yl),p(Us),p(F),p(U))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),pr=class{constructor(e){if(this.scrollStrategy=new Cf,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){let i=Object.keys(e);for(let n of i)e[n]!==void 0&&(this[n]=e[n])}}},ay=class{constructor(e,i){this.connectionPair=e,this.scrollableViewProperties=i}},yD=(()=>{let e=class e{constructor(n){this._attachedOverlays=[],this._document=n}ngOnDestroy(){this.detach()}add(n){this.remove(n),this._attachedOverlays.push(n)}remove(n){let r=this._attachedOverlays.indexOf(n);r>-1&&this._attachedOverlays.splice(r,1),this._attachedOverlays.length===0&&this.detach()}};e.\u0275fac=function(r){return new(r||e)(p(U))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),i2=(()=>{let e=class e extends yD{constructor(n,r){super(n),this._ngZone=r,this._keydownListener=o=>{let s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){let l=s[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>l.next(o)):l.next(o);break}}}add(n){super.add(n),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}};e.\u0275fac=function(r){return new(r||e)(p(U),p(F,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),r2=(()=>{let e=class e extends yD{constructor(n,r,o){super(n),this._platform=r,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=mn(s)},this._clickListener=s=>{let a=mn(s),l=s.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let c=this._attachedOverlays.slice();for(let d=c.length-1;d>-1;d--){let u=c[d];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(a)||u.overlayElement.contains(l))break;let h=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>h.next(s)):h.next(s)}}}add(n){if(super.add(n),!this._isAttached){let r=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(r)):this._addEventListeners(r),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let n=this._document.body;n.removeEventListener("pointerdown",this._pointerDownListener,!0),n.removeEventListener("click",this._clickListener,!0),n.removeEventListener("auxclick",this._clickListener,!0),n.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(n.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(n){n.addEventListener("pointerdown",this._pointerDownListener,!0),n.addEventListener("click",this._clickListener,!0),n.addEventListener("auxclick",this._clickListener,!0),n.addEventListener("contextmenu",this._clickListener,!0)}};e.\u0275fac=function(r){return new(r||e)(p(U),p(Ne),p(F,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ws=(()=>{let e=class e{constructor(n,r){this._platform=r,this._document=n}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let n="cdk-overlay-container";if(this._platform.isBrowser||dl()){let o=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let s=0;s<o.length;s++)o[s].remove()}let r=this._document.createElement("div");r.classList.add(n),dl()?r.setAttribute("platform","test"):this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}};e.\u0275fac=function(r){return new(r||e)(p(U),p(Ne))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ri=class{constructor(e,i,n,r,o,s,a,l,c,d=!1){this._portalOutlet=e,this._host=i,this._pane=n,this._config=r,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._backdropElement=null,this._backdropClick=new k,this._attachments=new k,this._detachments=new k,this._locationChanges=be.EMPTY,this._backdropClickHandler=u=>this._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new k,this._outsidePointerEvents=new k,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let i=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Ae(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof i?.onDestroy=="function"&&i.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),i}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){let e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=A(A({},this._config),e),this._updateElementSize()}setDirection(e){this._config=we(A({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=ut(this._config.width),e.height=ut(this._config.height),e.minWidth=ut(this._config.minWidth),e.minHeight=ut(this._config.minHeight),e.maxWidth=ut(this._config.maxWidth),e.maxHeight=ut(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){let e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e=this._backdropElement;if(e){if(this._animationsDisabled){this._disposeBackdrop(e);return}e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,i,n){let r=Ss(i||[]).filter(o=>!!o);r.length&&(n?e.classList.add(...r):e.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{let e=this._ngZone.onStable.pipe(te(mt(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),e.unsubscribe())})})}_disposeScrollStrategy(){let e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},mD="cdk-overlay-connected-position-bounding-box",o2=/([A-Za-z%]+)$/,ly=class{get positions(){return this._preferredPositions}constructor(e,i,n,r,o){this._viewportRuler=i,this._document=n,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 k,this._resizeSubscription=be.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(mD),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._originRect,i=this._overlayRect,n=this._viewportRect,r=this._containerRect,o=[],s;for(let a of this._preferredPositions){let l=this._getOriginPoint(e,r,a),c=this._getOverlayPoint(l,i,a),d=this._getOverlayFit(c,i,n,a);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,l);return}if(this._canFitWithFlexibleDimensions(d,c,n)){o.push({position:a,origin:l,overlayRect:i,boundingBoxRect:this._calculateBoundingBoxRect(l,a)});continue}(!s||s.overlayFit.visibleArea<d.visibleArea)&&(s={overlayFit:d,overlayPoint:c,originPoint:l,position:a,overlayRect:i})}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&&Ao(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(mD),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let i=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,i)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,i,n){let r;if(n.originX=="center")r=e.left+e.width/2;else{let s=this._isRtl()?e.right:e.left,a=this._isRtl()?e.left:e.right;r=n.originX=="start"?s:a}i.left<0&&(r-=i.left);let o;return n.originY=="center"?o=e.top+e.height/2:o=n.originY=="top"?e.top:e.bottom,i.top<0&&(o-=i.top),{x:r,y:o}}_getOverlayPoint(e,i,n){let r;n.overlayX=="center"?r=-i.width/2:n.overlayX==="start"?r=this._isRtl()?-i.width:0:r=this._isRtl()?0:-i.width;let o;return n.overlayY=="center"?o=-i.height/2:o=n.overlayY=="top"?0:-i.height,{x:e.x+r,y:e.y+o}}_getOverlayFit(e,i,n,r){let o=gD(i),{x:s,y:a}=e,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let d=0-s,u=s+o.width-n.width,h=0-a,m=a+o.height-n.height,v=this._subtractOverflows(o.width,d,u),_=this._subtractOverflows(o.height,h,m),I=v*_;return{visibleArea:I,isCompletelyWithinViewport:o.width*o.height===I,fitsInViewportVertically:_===o.height,fitsInViewportHorizontally:v==o.width}}_canFitWithFlexibleDimensions(e,i,n){if(this._hasFlexibleDimensions){let r=n.bottom-i.y,o=n.right-i.x,s=pD(this._overlayRef.getConfig().minHeight),a=pD(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||s!=null&&s<=r,c=e.fitsInViewportHorizontally||a!=null&&a<=o;return l&&c}return!1}_pushOverlayOnScreen(e,i,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let r=gD(i),o=this._viewportRect,s=Math.max(e.x+r.width-o.width,0),a=Math.max(e.y+r.height-o.height,0),l=Math.max(o.top-n.top-e.y,0),c=Math.max(o.left-n.left-e.x,0),d=0,u=0;return r.width<=o.width?d=c||-s:d=e.x<this._viewportMargin?o.left-n.left-e.x:0,r.height<=o.height?u=l||-a:u=e.y<this._viewportMargin?o.top-n.top-e.y:0,this._previousPushAmount={x:d,y:u},{x:e.x+d,y:e.y+u}}_applyPosition(e,i){if(this._setTransformOrigin(e),this._setOverlayElementStyles(i,e),this._setBoundingBoxStyles(i,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._positionChanges.observers.length){let n=this._getScrollVisibility();if(e!==this._lastPosition||!this._lastScrollVisibility||!s2(this._lastScrollVisibility,n)){let r=new ay(e,n);this._positionChanges.next(r)}this._lastScrollVisibility=n}this._lastPosition=e,this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;let i=this._boundingBox.querySelectorAll(this._transformOriginSelector),n,r=e.overlayY;e.overlayX==="center"?n="center":this._isRtl()?n=e.overlayX==="start"?"right":"left":n=e.overlayX==="start"?"left":"right";for(let o=0;o<i.length;o++)i[o].style.transformOrigin=`${n} ${r}`}_calculateBoundingBoxRect(e,i){let n=this._viewportRect,r=this._isRtl(),o,s,a;if(i.overlayY==="top")s=e.y,o=n.height-s+this._viewportMargin;else if(i.overlayY==="bottom")a=n.height-e.y+this._viewportMargin*2,o=n.height-a+this._viewportMargin;else{let m=Math.min(n.bottom-e.y+n.top,e.y),v=this._lastBoundingBoxSize.height;o=m*2,s=e.y-m,o>v&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-v/2)}let l=i.overlayX==="start"&&!r||i.overlayX==="end"&&r,c=i.overlayX==="end"&&!r||i.overlayX==="start"&&r,d,u,h;if(c)h=n.width-e.x+this._viewportMargin*2,d=e.x-this._viewportMargin;else if(l)u=e.x,d=n.right-e.x;else{let m=Math.min(n.right-e.x+n.left,e.x),v=this._lastBoundingBoxSize.width;d=m*2,u=e.x-m,d>v&&!this._isInitialRender&&!this._growAfterOpen&&(u=e.x-v/2)}return{top:s,left:u,bottom:a,right:h,width:d,height:o}}_setBoundingBoxStyles(e,i){let n=this._calculateBoundingBoxRect(e,i);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.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=ut(n.height),r.top=ut(n.top),r.bottom=ut(n.bottom),r.width=ut(n.width),r.left=ut(n.left),r.right=ut(n.right),i.overlayX==="center"?r.alignItems="center":r.alignItems=i.overlayX==="end"?"flex-end":"flex-start",i.overlayY==="center"?r.justifyContent="center":r.justifyContent=i.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=ut(o)),s&&(r.maxWidth=ut(s))}this._lastBoundingBoxSize=n,Ao(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Ao(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ao(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,i){let n={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){let d=this._viewportRuler.getViewportScrollPosition();Ao(n,this._getExactOverlayY(i,e,d)),Ao(n,this._getExactOverlayX(i,e,d))}else n.position="static";let a="",l=this._getOffset(i,"x"),c=this._getOffset(i,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),n.transform=a.trim(),s.maxHeight&&(r?n.maxHeight=ut(s.maxHeight):o&&(n.maxHeight="")),s.maxWidth&&(r?n.maxWidth=ut(s.maxWidth):o&&(n.maxWidth="")),Ao(this._pane.style,n)}_getExactOverlayY(e,i,n){let r={top:"",bottom:""},o=this._getOverlayPoint(i,this._overlayRect,e);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),e.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;r.bottom=`${s-(o.y+this._overlayRect.height)}px`}else r.top=ut(o.y);return r}_getExactOverlayX(e,i,n){let r={left:"",right:""},o=this._getOverlayPoint(i,this._overlayRect,e);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n));let s;if(this._isRtl()?s=e.overlayX==="end"?"left":"right":s=e.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;r.right=`${a-(o.x+this._overlayRect.width)}px`}else r.left=ut(o.x);return r}_getScrollVisibility(){let e=this._getOriginRect(),i=this._pane.getBoundingClientRect(),n=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:hD(e,n),isOriginOutsideView:oy(e,n),isOverlayClipped:hD(i,n),isOverlayOutsideView:oy(i,n)}}_subtractOverflows(e,...i){return i.reduce((n,r)=>n-Math.max(r,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,i=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+e-this._viewportMargin,bottom:n.top+i-this._viewportMargin,width:e-2*this._viewportMargin,height:i-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,i){return i==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&Ss(e).forEach(i=>{i!==""&&this._appliedPanelClasses.indexOf(i)===-1&&(this._appliedPanelClasses.push(i),this._pane.classList.add(i))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof P)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let i=e.width||0,n=e.height||0;return{top:e.y,bottom:e.y+n,left:e.x,right:e.x+i,height:n,width:i}}};vD="cdk-global-overlay-wrapper",cy=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(e){let i=e.getConfig();this._overlayRef=e,this._width&&!i.width&&e.updateSize({width:this._width}),this._height&&!i.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(vD),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,i=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=n,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,h=this._overlayRef.getConfig().direction==="rtl",m="",v="",_="";l?_="flex-start":d==="center"?(_="center",h?v=u:m=u):h?d==="left"||d==="end"?(_="flex-end",m=u):(d==="right"||d==="start")&&(_="flex-start",v=u):d==="left"||d==="start"?(_="flex-start",m=u):(d==="right"||d==="end")&&(_="flex-end",v=u),e.position=this._cssPosition,e.marginLeft=l?"0":m,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":v,i.justifyContent=_,i.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,i=this._overlayRef.hostElement,n=i.style;i.classList.remove(vD),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},a2=(()=>{let e=class e{constructor(n,r,o,s){this._viewportRuler=n,this._document=r,this._platform=o,this._overlayContainer=s}global(){return new cy}flexibleConnectedTo(n){return new ly(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};e.\u0275fac=function(r){return new(r||e)(p(Us),p(U),p(Ne),p(Ws))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),l2=0,Ze=(()=>{let e=class e{constructor(n,r,o,s,a,l,c,d,u,h,m,v){this.scrollStrategies=n,this._overlayContainer=r,this._componentFactoryResolver=o,this._positionBuilder=s,this._keyboardDispatcher=a,this._injector=l,this._ngZone=c,this._document=d,this._directionality=u,this._location=h,this._outsideClickDispatcher=m,this._animationsModuleType=v}create(n){let r=this._createHostElement(),o=this._createPaneElement(r),s=this._createPortalOutlet(o),a=new pr(n);return a.direction=a.direction||this._directionality.value,new Ri(s,r,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations")}position(){return this._positionBuilder}_createPaneElement(n){let r=this._document.createElement("div");return r.id=`cdk-overlay-${l2++}`,r.classList.add("cdk-overlay-pane"),n.appendChild(r),r}_createHostElement(){let n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalOutlet(n){return this._appRef||(this._appRef=this._injector.get(kn)),new Al(n,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};e.\u0275fac=function(r){return new(r||e)(p(n2),p(Ws),p(hn),p(a2),p(i2),p(Xe),p(F),p(U),p(Lt),p(Kn),p(r2),p(lt,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),c2=[{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"}],bD=new C("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=y(Ze);return()=>t.scrollStrategies.reposition()}}),xl=(()=>{let e=class e{constructor(n){this.elementRef=n}};e.\u0275fac=function(r){return new(r||e)(f(P))},e.\u0275dir=V({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});let t=e;return t})(),dy=(()=>{let e=class e{get offsetX(){return this._offsetX}set offsetX(n){this._offsetX=n,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(n){this._offsetY=n,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(n){this._disposeOnNavigation=n}constructor(n,r,o,s,a){this._overlay=n,this._dir=a,this._backdropSubscription=be.EMPTY,this._attachSubscription=be.EMPTY,this._detachSubscription=be.EMPTY,this._positionSubscription=be.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 G,this.positionChange=new G,this.attach=new G,this.detach=new G,this.overlayKeydown=new G,this.overlayOutsideClick=new G,this._templatePortal=new Oi(r,o),this._scrollStrategyFactory=s,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(n){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),n.origin&&this.open&&this._position.apply()),n.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=c2);let n=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=n.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=n.detachments().subscribe(()=>this.detach.emit()),n.keydownEvents().subscribe(r=>{this.overlayKeydown.next(r),r.keyCode===27&&!this.disableClose&&!It(r)&&(r.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{let o=this._getOriginElement(),s=mn(r);(!o||o!==s&&!o.contains(s))&&this.overlayOutsideClick.next(r)})}_buildConfig(){let n=this._position=this.positionStrategy||this._createPositionStrategy(),r=new pr({direction:this._dir,positionStrategy:n,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(r.width=this.width),(this.height||this.height===0)&&(r.height=this.height),(this.minWidth||this.minWidth===0)&&(r.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(r.minHeight=this.minHeight),this.backdropClass&&(r.backdropClass=this.backdropClass),this.panelClass&&(r.panelClass=this.panelClass),r}_updatePositionStrategy(n){let r=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return n.setOrigin(this._getOrigin()).withPositions(r).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let n=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(n),n}_getOrigin(){return this.origin instanceof xl?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof xl?this.origin.elementRef.nativeElement:this.origin instanceof P?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(n=>{this.backdropClick.emit(n)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Rm(()=>this.positionChange.observers.length>0)).subscribe(n=>{this._ngZone.run(()=>this.positionChange.emit(n)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}};e.\u0275fac=function(r){return new(r||e)(f(Ze),f(Ft),f(pt),f(bD),f(Lt,8))},e.\u0275dir=V({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[w.None,"cdkConnectedOverlayOrigin","origin"],positions:[w.None,"cdkConnectedOverlayPositions","positions"],positionStrategy:[w.None,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[w.None,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[w.None,"cdkConnectedOverlayOffsetY","offsetY"],width:[w.None,"cdkConnectedOverlayWidth","width"],height:[w.None,"cdkConnectedOverlayHeight","height"],minWidth:[w.None,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[w.None,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[w.None,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[w.None,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[w.None,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[w.None,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[w.None,"cdkConnectedOverlayOpen","open"],disableClose:[w.None,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[w.None,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[w.HasDecoratorInputTransform,"cdkConnectedOverlayHasBackdrop","hasBackdrop",De],lockPosition:[w.HasDecoratorInputTransform,"cdkConnectedOverlayLockPosition","lockPosition",De],flexibleDimensions:[w.HasDecoratorInputTransform,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",De],growAfterOpen:[w.HasDecoratorInputTransform,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",De],push:[w.HasDecoratorInputTransform,"cdkConnectedOverlayPush","push",De],disposeOnNavigation:[w.HasDecoratorInputTransform,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",De]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[ct,He]});let t=e;return t})();u2={provide:bD,deps:[Ze],useFactory:d2},Zn=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({providers:[Ze,u2],imports:[Yn,bo,ty,ty]});let t=e;return t})()});function vr(t,e){return{type:oe.Trigger,name:t,definitions:e,options:{}}}function ki(t,e=null){return{type:oe.Animate,styles:e,timings:t}}function AD(t,e=null){return{type:oe.Sequence,steps:t,options:e}}function Pt(t){return{type:oe.Style,styles:t,offset:null}}function _o(t,e,i){return{type:oe.State,name:t,styles:e,options:i}}function Jn(t,e,i=null){return{type:oe.Transition,expr:t,animation:e,options:i}}function _D(t=null){return{type:oe.AnimateChild,options:t}}function xD(t,e,i=null){return{type:oe.Query,selector:t,animation:e,options:i}}var oe,Xn,gr,Cl,Ef,wl=g(()=>{"use strict";oe=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}(oe||{}),Xn="*";gr=class{constructor(e=0,i=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=e+i}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let i=e=="start"?this._onStartFns:this._onDoneFns;i.forEach(n=>n()),i.length=0}},Cl=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let i=0,n=0,r=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++i==o&&this._onFinish()}),s.onDestroy(()=>{++n==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(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let i=e*this.totalTime;this.players.forEach(n=>{let r=n.totalTime?Math.min(1,i/n.totalTime):1;n.setPosition(r)})}getPosition(){let e=this.players.reduce((i,n)=>i===null||n.totalTime>i.totalTime?n:i,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let i=e=="start"?this._onStartFns:this._onDoneFns;i.forEach(n=>n()),i.length=0}},Ef="!"});function h2(t){return()=>t.scrollStrategies.reposition({scrollThrottle:ED})}function p2(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var f2,ED,DD,m2,g2,CD,wD,v2,y2,b2,A2,Gs,_2,El,Dl=g(()=>{"use strict";at();Si();Ii();O();O();Ie();Wt();Wt();nn();nn();pn();$n();$n();zs();Qe();hr();vn();f2=["tooltip"],ED=20,DD=new C("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=y(Ze);return()=>t.scrollStrategies.reposition({scrollThrottle:ED})}});m2={provide:DD,deps:[Ze],useFactory:h2};g2=new C("mat-tooltip-default-options",{providedIn:"root",factory:p2}),CD="tooltip-panel",wD=qn({passive:!0}),v2=8,y2=8,b2=24,A2=200,Gs=(()=>{let e=class e{get position(){return this._position}set position(n){n!==this._position&&(this._position=n,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(n){this._positionAtOrigin=Ms(n),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(n){this._disabled=Ms(n),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(n){this._showDelay=ur(n)}get hideDelay(){return this._hideDelay}set hideDelay(n){this._hideDelay=ur(n),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(n){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=n!=null?String(n).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(n){this._tooltipClass=n,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(n,r,o,s,a,l,c,d,u,h,m,v){this._overlay=n,this._elementRef=r,this._scrollDispatcher=o,this._viewContainerRef=s,this._ngZone=a,this._platform=l,this._ariaDescriber=c,this._focusMonitor=d,this._dir=h,this._defaultOptions=m,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=_2,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new k,this._scrollStrategy=u,this._document=v,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)),h.change.pipe(te(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=v2}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(te(this._destroyed)).subscribe(n=>{n?n==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let n=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([r,o])=>{n.removeEventListener(r,o,wD)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(n,this.message,"tooltip"),this._focusMonitor.stopMonitoring(n)}show(n=this.showDelay,r){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let o=this._createOverlay(r);this._detach(),this._portal=this._portal||new mr(this._tooltipComponent,this._viewContainerRef);let s=this._tooltipInstance=o.attach(this._portal).instance;s._triggerElement=this._elementRef.nativeElement,s._mouseLeaveHideDelay=this._hideDelay,s.afterHidden().pipe(te(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),s.show(n)}hide(n=this.hideDelay){let r=this._tooltipInstance;r&&(r.isVisible()?r.hide(n):(r._cancelPendingAnimations(),this._detach()))}toggle(n){this._isTooltipVisible()?this.hide():this.show(void 0,n)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(n){if(this._overlayRef){let s=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!n)&&s._origin instanceof P)return this._overlayRef;this._detach()}let r=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?n||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(r);return o.positionChanges.pipe(te(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:`${this._cssClassPrefix}-${CD}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(te(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(te(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(te(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&s.keyCode===27&&!It(s)&&(s.preventDefault(),s.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(n){let r=n.getConfig().positionStrategy,o=this._getOrigin(),s=this._getOverlayPosition();r.withPositions([this._addOffset(A(A({},o.main),s.main)),this._addOffset(A(A({},o.fallback),s.fallback))])}_addOffset(n){let r=y2,o=!this._dir||this._dir.value=="ltr";return n.originY==="top"?n.offsetY=-r:n.originY==="bottom"?n.offsetY=r:n.originX==="start"?n.offsetX=o?-r:r:n.originX==="end"&&(n.offsetX=o?r:-r),n}_getOrigin(){let n=!this._dir||this._dir.value=="ltr",r=this.position,o;r=="above"||r=="below"?o={originX:"center",originY:r=="above"?"top":"bottom"}:r=="before"||r=="left"&&n||r=="right"&&!n?o={originX:"start",originY:"center"}:(r=="after"||r=="right"&&n||r=="left"&&!n)&&(o={originX:"end",originY:"center"});let{x:s,y:a}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:s,originY:a}}}_getOverlayPosition(){let n=!this._dir||this._dir.value=="ltr",r=this.position,o;r=="above"?o={overlayX:"center",overlayY:"bottom"}:r=="below"?o={overlayX:"center",overlayY:"top"}:r=="before"||r=="left"&&n||r=="right"&&!n?o={overlayX:"end",overlayY:"center"}:(r=="after"||r=="right"&&n||r=="left"&&!n)&&(o={overlayX:"start",overlayY:"center"});let{x:s,y:a}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:s,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Ae(1),te(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(n){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=n,this._tooltipInstance._markForCheck())}_invertPosition(n,r){return this.position==="above"||this.position==="below"?r==="top"?r="bottom":r==="bottom"&&(r="top"):n==="end"?n="start":n==="start"&&(n="end"),{x:n,y:r}}_updateCurrentPositionClass(n){let{overlayY:r,originX:o,originY:s}=n,a;if(r==="center"?this._dir&&this._dir.value==="rtl"?a=o==="end"?"left":"right":a=o==="start"?"left":"right":a=r==="bottom"&&s==="top"?"above":"below",a!==this._currentPosition){let l=this._overlayRef;if(l){let c=`${this._cssClassPrefix}-${CD}-`;l.removePanelClass(c+this._currentPosition),l.addPanelClass(c+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",n=>{this._setupPointerExitEventsIfNeeded();let r;n.x!==void 0&&n.y!==void 0&&(r=n),this.show(void 0,r)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",n=>{let r=n.targetTouches?.[0],o=r?{x:r.clientX,y:r.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout);let s=500;this._touchstartTimeout=setTimeout(()=>this.show(void 0,o),this._defaultOptions.touchLongPressShowDelay??s)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let n=[];if(this._platformSupportsMouseEvents())n.push(["mouseleave",r=>{let o=r.relatedTarget;(!o||!this._overlayRef?.overlayElement.contains(o))&&this.hide()}],["wheel",r=>this._wheelListener(r)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let r=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};n.push(["touchend",r],["touchcancel",r])}this._addListeners(n),this._passiveListeners.push(...n)}_addListeners(n){n.forEach(([r,o])=>{this._elementRef.nativeElement.addEventListener(r,o,wD)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(n){if(this._isTooltipVisible()){let r=this._document.elementFromPoint(n.clientX,n.clientY),o=this._elementRef.nativeElement;r!==o&&!o.contains(r)&&this.hide()}}_disableNativeGesturesIfNecessary(){let n=this.touchGestures;if(n!=="off"){let r=this._elementRef.nativeElement,o=r.style;(n==="on"||r.nodeName!=="INPUT"&&r.nodeName!=="TEXTAREA")&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),(n==="on"||!r.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}};e.\u0275fac=function(r){return new(r||e)(f(Ze),f(P),f(yl),f(pt),f(F),f(Ne),f(NE),f(Ln),f(DD),f(Lt),f(g2,8),f(U))},e.\u0275dir=V({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(r,o){r&2&&pe("mat-mdc-tooltip-disabled",o.disabled)},inputs:{position:[w.None,"matTooltipPosition","position"],positionAtOrigin:[w.None,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[w.None,"matTooltipDisabled","disabled"],showDelay:[w.None,"matTooltipShowDelay","showDelay"],hideDelay:[w.None,"matTooltipHideDelay","hideDelay"],touchGestures:[w.None,"matTooltipTouchGestures","touchGestures"],message:[w.None,"matTooltip","message"],tooltipClass:[w.None,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0});let t=e;return t})(),_2=(()=>{let e=class e{constructor(n,r,o){this._changeDetectorRef=n,this._elementRef=r,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new k,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=o==="NoopAnimations"}show(n){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},n)}hide(n){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},n)}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:n}){(!n||!this._triggerElement.contains(n))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let n=this._elementRef.nativeElement.getBoundingClientRect();return n.height>b2&&n.width>=A2}_handleAnimationEnd({animationName:n}){(n===this._showAnimation||n===this._hideAnimation)&&this._finalizeAnimation(n===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(n){n?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(n){let r=this._tooltip.nativeElement,o=this._showAnimation,s=this._hideAnimation;if(r.classList.remove(n?s:o),r.classList.add(n?o:s),this._isVisible!==n&&(this._isVisible=n,this._changeDetectorRef.markForCheck()),n&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let a=getComputedStyle(r);(a.getPropertyValue("animation-duration")==="0s"||a.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}n&&this._onShow(),this._animationsDisabled&&(r.classList.add("_mat-animation-noopable"),this._finalizeAnimation(n))}};e.\u0275fac=function(r){return new(r||e)(f(Pe),f(P),f(lt,8))},e.\u0275cmp=ce({type:e,selectors:[["mat-tooltip-component"]],viewQuery:function(r,o){if(r&1&&qe(f2,7),r&2){let s;ge(s=ve())&&(o._tooltip=s.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(r,o){r&1&&Q("mouseleave",function(a){return o._handleMouseLeave(a)}),r&2&&gi("zoom",o.isVisible()?1:null)},standalone:!0,features:[Ee],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(r,o){if(r&1){let s=je();E(0,"div",1,0),Q("animationend",function(l){return ie(s),re(o._handleAnimationEnd(l))}),E(2,"div",2),ue(3),S()()}r&2&&(pe("mdc-tooltip--multiline",o._isMultiline),D("ngClass",o.tooltipClass),x(3),gt(o.message))},dependencies:[Ci],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.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}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.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-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});let t=e;return t})(),El=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({providers:[m2],imports:[ff,vt,Zn,ze,ze,fr]});let t=e;return t})()});var uy,MD,SD=g(()=>{"use strict";O();O();Qe();at();uy=class{constructor(e){this._box=e,this._destroyed=new k,this._resizeSubject=new k,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(i=>this._resizeSubject.next(i)))}observe(e){return this._elementObservables.has(e)||this._elementObservables.set(e,new X(i=>{let n=this._resizeSubject.subscribe(i);return this._resizeObserver?.observe(e,{box:this._box}),()=>{this._resizeObserver?.unobserve(e),n.unsubscribe(),this._elementObservables.delete(e)}}).pipe(de(i=>i.some(n=>n.target===e)),zr({bufferSize:1,refCount:!0}),te(this._destroyed))),this._elementObservables.get(e)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},MD=(()=>{let e=class e{constructor(){this._observers=new Map,this._ngZone=y(F),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,n]of this._observers)n.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(n,r){let o=r?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new uy(o)),this._observers.get(o).observe(n)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})()});function T2(t,e){t&1&&ne(0,"span",17)}function O2(t,e){if(t&1&&(E(0,"label",16),Re(1,1),Y(2,T2,1,0,"span",17),S()),t&2){let i=z(2);D("floating",i._shouldLabelFloat())("monitorResize",i._hasOutline())("id",i._labelId),_e("for",i._control.disableAutomaticLabeling?null:i._control.id),x(2),rt(2,!i.hideRequiredMarker&&i._control.required?2:-1)}}function R2(t,e){if(t&1&&Y(0,O2,3,5,"label",16),t&2){let i=z();rt(0,i._hasFloatingLabel()?0:-1)}}function F2(t,e){t&1&&ne(0,"div",5)}function k2(t,e){}function L2(t,e){if(t&1&&Y(0,k2,0,0,"ng-template",11),t&2){z(2);let i=Fn(1);D("ngTemplateOutlet",i)}}function P2(t,e){if(t&1&&(E(0,"div",7),Y(1,L2,1,1,null,11),S()),t&2){let i=z();D("matFormFieldNotchedOutlineOpen",i._shouldLabelFloat()),x(),rt(1,i._forceDisplayInfixLabel()?-1:1)}}function N2(t,e){t&1&&(E(0,"div",8,2),Re(2,2),S())}function j2(t,e){t&1&&(E(0,"div",9,3),Re(2,3),S())}function V2(t,e){}function B2(t,e){if(t&1&&Y(0,V2,0,0,"ng-template",11),t&2){z();let i=Fn(1);D("ngTemplateOutlet",i)}}function U2(t,e){t&1&&(E(0,"div",12),Re(1,4),S())}function H2(t,e){t&1&&(E(0,"div",13),Re(1,5),S())}function z2(t,e){t&1&&ne(0,"div",14)}function W2(t,e){if(t&1&&(E(0,"div",18),Re(1,6),S()),t&2){let i=z();D("@transitionMessages",i._subscriptAnimationState)}}function G2(t,e){if(t&1&&(E(0,"mat-hint",20),ue(1),S()),t&2){let i=z(2);D("id",i._hintLabelId),x(),gt(i.hintLabel)}}function K2(t,e){if(t&1&&(E(0,"div",19),Y(1,G2,2,2,"mat-hint",20),Re(2,7),ne(3,"div",21),Re(4,8),S()),t&2){let i=z();D("@transitionMessages",i._subscriptAnimationState),x(),rt(1,i.hintLabel?1:-1)}}function $2(t){let e=t;if(e.offsetParent!==null)return e.scrollWidth;let i=e.cloneNode(!0);i.style.setProperty("position","absolute"),i.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(i);let n=i.scrollWidth;return i.remove(),n}var x2,C2,w2,E2,D2,I2,M2,S2,Ks,Q2,q2,TD,Y2,Z2,jD,OD,RD,Df,FD,kD,X2,fy,hy,J2,LD,PD,ej,ND,tj,If,Mf,Il=g(()=>{"use strict";O();O();pn();Wt();Qe();at();SD();Si();wl();Ie();Lv();vn();x2=["notch"],C2=["matFormFieldNotchedOutline",""],w2=["*"],E2=["textField"],D2=["iconPrefixContainer"],I2=["textPrefixContainer"],M2=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],S2=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];Ks=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=V({type:e,selectors:[["mat-label"]],standalone:!0});let t=e;return t})(),Q2=new C("MatError"),q2=0,TD=(()=>{let e=class e{constructor(){this.align="start",this.id=`mat-mdc-hint-${q2++}`}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=V({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(r,o){r&2&&(ir("id",o.id),_e("align",null),pe("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});let t=e;return t})(),Y2=new C("MatPrefix"),Z2=new C("MatSuffix"),jD=new C("FloatingLabelParent"),OD=(()=>{let e=class e{get floating(){return this._floating}set floating(n){this._floating=n,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(n){this._monitorResize=n,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(n){this._elementRef=n,this._floating=!1,this._monitorResize=!1,this._resizeObserver=y(MD),this._ngZone=y(F),this._parent=y(jD),this._resizeSubscription=new be}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return $2(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}};e.\u0275fac=function(r){return new(r||e)(f(P))},e.\u0275dir=V({type:e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(r,o){r&2&&pe("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});let t=e;return t})();RD="mdc-line-ripple--active",Df="mdc-line-ripple--deactivating",FD=(()=>{let e=class e{constructor(n,r){this._elementRef=n,this._handleTransitionEnd=o=>{let s=this._elementRef.nativeElement.classList,a=s.contains(Df);o.propertyName==="opacity"&&a&&s.remove(RD,Df)},r.runOutsideAngular(()=>{n.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let n=this._elementRef.nativeElement.classList;n.remove(Df),n.add(RD)}deactivate(){this._elementRef.nativeElement.classList.add(Df)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};e.\u0275fac=function(r){return new(r||e)(f(P),f(F))},e.\u0275dir=V({type:e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});let t=e;return t})(),kD=(()=>{let e=class e{constructor(n,r){this._elementRef=n,this._ngZone=r,this.open=!1}ngAfterViewInit(){let n=this._elementRef.nativeElement.querySelector(".mdc-floating-label");n?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(n.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>n.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(n){!this.open||!n?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${n}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}};e.\u0275fac=function(r){return new(r||e)(f(P),f(F))},e.\u0275cmp=ce({type:e,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(r,o){if(r&1&&qe(x2,5),r&2){let s;ge(s=ve())&&(o._notch=s.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(r,o){r&2&&pe("mdc-notched-outline--notched",o.open)},inputs:{open:[w.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[Ee],attrs:C2,ngContentSelectors:w2,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(r,o){r&1&&(Dt(),ne(0,"div",1),E(1,"div",2,0),Re(3),S(),ne(4,"div",3))},encapsulation:2,changeDetection:0});let t=e;return t})(),X2={transitionMessages:vr("transitionMessages",[_o("enter",Pt({opacity:1,transform:"translateY(0%)"})),Jn("void => enter",[Pt({opacity:0,transform:"translateY(-5px)"}),ki("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},fy=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=V({type:e});let t=e;return t})(),hy=new C("MatFormField"),J2=new C("MAT_FORM_FIELD_DEFAULT_OPTIONS"),LD=0,PD="fill",ej="auto",ND="fixed",tj="translateY(-50%)",If=(()=>{let e=class e{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(n){this._hideRequiredMarker=Ms(n)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||ej}set floatLabel(n){n!==this._floatLabel&&(this._floatLabel=n,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(n){let r=this._appearance,o=n||this._defaults?.appearance||PD;this._appearance=o,this._appearance==="outline"&&this._appearance!==r&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||ND}set subscriptSizing(n){this._subscriptSizing=n||this._defaults?.subscriptSizing||ND}get hintLabel(){return this._hintLabel}set hintLabel(n){this._hintLabel=n,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(n){this._explicitFormFieldControl=n}constructor(n,r,o,s,a,l,c,d){this._elementRef=n,this._changeDetectorRef=r,this._ngZone=o,this._dir=s,this._platform=a,this._defaults=l,this._animationMode=c,this._hideRequiredMarker=!1,this.color="primary",this._appearance=PD,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${LD++}`,this._hintLabelId=`mat-mdc-hint-${LD++}`,this._subscriptAnimationState="",this._destroyed=new k,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,l&&(l.appearance&&(this.appearance=l.appearance),this._hideRequiredMarker=!!l?.hideRequiredMarker,l.color&&(this.color=l.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){let n=this._control;n.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${n.controlType}`),n.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),n.ngControl&&n.ngControl.valueChanges&&n.ngControl.valueChanges.pipe(te(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(n=>!n._isText),this._hasTextPrefix=!!this._prefixChildren.find(n=>n._isText),this._hasIconSuffix=!!this._suffixChildren.find(n=>!n._isText),this._hasTextSuffix=!!this._suffixChildren.find(n=>n._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),mt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(te(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(te(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(n){let r=this._control?this._control.ngControl:null;return r&&r[n]}_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 n=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&n.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let r=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,o=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;r?n.push(r.id):this._hintLabel&&n.push(this._hintLabelId),o&&n.push(o.id)}else this._errorChildren&&n.push(...this._errorChildren.map(r=>r.id));this._control.setDescribedByIds(n)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;let n=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){n.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdateOnStable=!0;return}let r=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,s=r?.getBoundingClientRect().width??0,a=o?.getBoundingClientRect().width??0,l=this._dir.value==="rtl"?"-1":"1",c=`${s+a}px`,u=`calc(${l} * (${c} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;n.style.transform=`var(
9
9
  --mat-mdc-form-field-label-transform,
10
10
  ${tj} translateX(${u})
11
- )`}_isAttachedToDom(){let n=this._elementRef.nativeElement;if(n.getRootNode){let r=n.getRootNode();return r&&r!==n}return document.documentElement.contains(n)}};e.\u0275fac=function(r){return new(r||e)(f(P),f(Pe),f(F),f(Lt),f(Ne),f(J2,8),f(lt,8),f(U))},e.\u0275cmp=ce({type:e,selectors:[["mat-form-field"]],contentQueries:function(r,o,s){if(r&1&&(At(s,Qs,5),At(s,Qs,7),At(s,fy,5),At(s,Y2,5),At(s,Z2,5),At(s,K2,5),At(s,SD,5)),r&2){let a;ge(a=ve())&&(o._labelChildNonStatic=a.first),ge(a=ve())&&(o._labelChildStatic=a.first),ge(a=ve())&&(o._formFieldControl=a.first),ge(a=ve())&&(o._prefixChildren=a),ge(a=ve())&&(o._suffixChildren=a),ge(a=ve())&&(o._errorChildren=a),ge(a=ve())&&(o._hintChildren=a)}},viewQuery:function(r,o){if(r&1&&(qe(E2,5),qe(D2,5),qe(I2,5),qe(TD,5),qe(FD,5),qe(RD,5)),r&2){let s;ge(s=ve())&&(o._textField=s.first),ge(s=ve())&&(o._iconPrefixContainer=s.first),ge(s=ve())&&(o._textPrefixContainer=s.first),ge(s=ve())&&(o._floatingLabel=s.first),ge(s=ve())&&(o._notchedOutline=s.first),ge(s=ve())&&(o._lineRipple=s.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(r,o){r&2&&pe("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-no-animations",o._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",o.appearance=="fill")("mat-form-field-appearance-outline",o.appearance=="outline")("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary",o.color!=="accent"&&o.color!=="warn")("mat-accent",o.color==="accent")("mat-warn",o.color==="warn")("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[_t([{provide:hy,useExisting:e},{provide:ND,useExisting:e}]),Ee],ngContentSelectors:S2,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(r,o){if(r&1){let s=je();Dt(M2),Y(0,R2,1,1,"ng-template",null,0,so),E(2,"div",4,1),K("click",function(l){return ie(s),re(o._control.onContainerClick(l))}),Y(4,F2,1,0,"div",5),E(5,"div",6),Y(6,P2,2,2,"div",7)(7,N2,3,0,"div",8)(8,j2,3,0,"div",9),E(9,"div",10),Y(10,B2,1,1,null,11),Re(11),S(),Y(12,U2,2,0,"div",12)(13,H2,2,0,"div",13),S(),Y(14,z2,1,0,"div",14),S(),E(15,"div",15),Y(16,W2,2,1)(17,Q2,5,2),S()}if(r&2){let s;x(2),pe("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),x(2),rt(4,!o._hasOutline()&&!o._control.disabled?4:-1),x(2),rt(6,o._hasOutline()?6:-1),x(),rt(7,o._hasIconPrefix?7:-1),x(),rt(8,o._hasTextPrefix?8:-1),x(2),rt(10,!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),x(2),rt(12,o._hasTextSuffix?12:-1),x(),rt(13,o._hasIconSuffix?13:-1),x(),rt(14,o._hasOutline()?-1:14),x(),pe("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic"),x(),rt(16,(s=o._getDisplayedMessages())==="error"?16:s==="hint"?17:-1)}},dependencies:[TD,FD,Du,RD,SD],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[X2.transitionMessages]},changeDetection:0});let t=e;return t})(),Mf=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[ze,vt,tf,ze]});let t=e;return t})()});function sj(t,e){if(t&1&&(E(0,"span",4),ue(1),S()),t&2){let i=z();x(),gt(i.placeholder)}}function aj(t,e){t&1&&Re(0)}function lj(t,e){if(t&1&&(E(0,"span",11),ue(1),S()),t&2){let i=z(2);x(),gt(i.triggerValue)}}function cj(t,e){if(t&1&&(E(0,"span",10),Y(1,aj,1,0)(2,lj,2,1),S()),t&2){let i=z();x(),rt(1,i.customTrigger?1:2)}}function dj(t,e){if(t&1){let i=je();E(0,"div",12,1),K("@transformPanel.done",function(r){ie(i);let o=z();return re(o._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){ie(i);let o=z();return re(o._handleKeydown(r))}),Re(2,1),S()}if(t&2){let i=z();hu("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",i._getPanelTheme(),""),D("ngClass",i.panelClass)("@transformPanel","showing"),_e("id",i.id+"-panel")("aria-multiselectable",i.multiple)("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby())}}function fj(t){return()=>t.scrollStrategies.reposition()}var nj,ij,rj,oj,uj,VD,BD,hj,mj,pj,my,Sf,Tf,Ml=g(()=>{"use strict";$n();Ie();O();O();vn();vn();Il();hr();hr();nn();nn();pn();cD();Ii();ho();ho();Ke();at();wl();nj=["trigger"],ij=["panel"],rj=[[["mat-select-trigger"]],"*"],oj=["mat-select-trigger","*"];uj={transformPanelWrap:vr("transformPanelWrap",[Jn("* => void",_D("@transformPanel",[AD()],{optional:!0}))]),transformPanel:vr("transformPanel",[_o("void",Pt({opacity:0,transform:"scale(1, 0.8)"})),Jn("void => showing",ki("120ms cubic-bezier(0, 0, 0.2, 1)",Pt({opacity:1,transform:"scale(1, 1)"}))),Jn("* => void",ki("100ms linear",Pt({opacity:0})))])},VD=0,BD=new C("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=y(Ze);return()=>t.scrollStrategies.reposition()}});hj=new C("MAT_SELECT_CONFIG"),mj={provide:BD,deps:[Ze],useFactory:fj},pj=new C("MatSelectTrigger"),my=class{constructor(e,i){this.source=e,this.value=i}},Sf=(()=>{let e=class e{_scrollOptionIntoView(n){let r=this.options.toArray()[n];if(r){let o=this.panel.nativeElement,s=ZE(n,this.options,this.optionGroups),a=r._getHostElement();n===0&&s===1?o.scrollTop=0:o.scrollTop=$E(a.offsetTop,a.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(n){return new my(this,n)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(n){this._hideSingleSelectionIndicator=n,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(n){this._placeholder=n,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(rl.required)??!1}set required(n){this._required=n,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(n){this._selectionModel,this._multiple=n}get compareWith(){return this._compareWith}set compareWith(n){this._compareWith=n,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(n){this._assignValue(n)&&this._onChange(n)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(n){this._errorStateTracker.matcher=n}get id(){return this._id}set id(n){this._id=n||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(n){this._errorStateTracker.errorState=n}constructor(n,r,o,s,a,l,c,d,u,h,m,v,_,I){this._viewportRuler=n,this._changeDetectorRef=r,this._elementRef=a,this._dir=l,this._parentFormField=u,this.ngControl=h,this._liveAnnouncer=_,this._defaultOptions=I,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=(M,L)=>M===L,this._uid=`mat-select-${VD++}`,this._triggerAriaLabelledBy=null,this._destroy=new k,this.stateChanges=new k,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${VD++}`,this._panelDoneAnimatingStream=new k,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new k,this.optionSelectionChanges=Jt(()=>{let M=this.options;return M?M.changes.pipe(Ct(M),Be(()=>mt(...M.map(L=>L.onSelectionChange)))):this._initialized.pipe(Be(()=>this.optionSelectionChanges))}),this.openedChange=new G,this._openedStream=this.openedChange.pipe(de(M=>M),B(()=>{})),this._closedStream=this.openedChange.pipe(de(M=>!M),B(()=>{})),this.selectionChange=new G,this.valueChange=new G,this._trackedModal=null,this._skipPredicate=M=>this.panelOpen?!1:M.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),I?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=I.typeaheadDebounceInterval),this._errorStateTracker=new mf(s,h,d,c,this.stateChanges),this._scrollStrategyFactory=v,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(m)||0,this.id=this.id}ngOnInit(){this._selectionModel=new xf(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Hr(),te(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(te(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(te(this._destroy)).subscribe(n=>{n.added.forEach(r=>r.select()),n.removed.forEach(r=>r.deselect())}),this.options.changes.pipe(Ct(null),te(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let n=this._getTriggerAriaLabelledby(),r=this.ngControl;if(n!==this._triggerAriaLabelledBy){let o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=n,n?o.setAttribute("aria-labelledby",n):o.removeAttribute("aria-labelledby")}r&&(this._previousControl!==r.control&&(this._previousControl!==void 0&&r.disabled!==null&&r.disabled!==this.disabled&&(this.disabled=r.disabled),this._previousControl=r.control),this.updateErrorState())}ngOnChanges(n){(n.disabled||n.userAriaDescribedBy)&&this.stateChanges.next(),n.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 n=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!n)return;let r=`${this.id}-panel`;this._trackedModal&&df(this._trackedModal,"aria-owns",r),Uv(n,"aria-owns",r),this._trackedModal=n}_clearFromModal(){if(!this._trackedModal)return;let n=`${this.id}-panel`;df(this._trackedModal,"aria-owns",n),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(n){this._assignValue(n)}registerOnChange(n){this._onChange=n}registerOnTouched(n){this._onTouched=n}setDisabledState(n){this.disabled=n,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 n=this._selectionModel.selected.map(r=>r.viewValue);return this._isRtl()&&n.reverse(),n.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(n){this.disabled||(this.panelOpen?this._handleOpenKeydown(n):this._handleClosedKeydown(n))}_handleClosedKeydown(n){let r=n.keyCode,o=r===40||r===38||r===37||r===39,s=r===13||r===32,a=this._keyManager;if(!a.isTyping()&&s&&!It(n)||(this.multiple||n.altKey)&&o)n.preventDefault(),this.open();else if(!this.multiple){let l=this.selected;a.onKeydown(n);let c=this.selected;c&&l!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(n){let r=this._keyManager,o=n.keyCode,s=o===40||o===38,a=r.isTyping();if(s&&n.altKey)n.preventDefault(),this.close();else if(!a&&(o===13||o===32)&&r.activeItem&&!It(n))n.preventDefault(),r.activeItem._selectViaInteraction();else if(!a&&this._multiple&&o===65&&n.ctrlKey){n.preventDefault();let l=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(l?c.select():c.deselect())})}else{let l=r.activeItemIndex;r.onKeydown(n),this._multiple&&s&&n.shiftKey&&r.activeItem&&r.activeItemIndex!==l&&r.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(Ae(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(n){if(this.options.forEach(r=>r.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&n)Array.isArray(n),n.forEach(r=>this._selectOptionByValue(r)),this._sortValues();else{let r=this._selectOptionByValue(n);r?this._keyManager.updateActiveItem(r):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(n){let r=this.options.find(o=>{if(this._selectionModel.isSelected(o))return!1;try{return o.value!=null&&this._compareWith(o.value,n)}catch{return!1}});return r&&this._selectionModel.select(r),r}_assignValue(n){return n!==this._value||this._multiple&&Array.isArray(n)?(this.options&&this._setSelectionByValue(n),this._value=n,!0):!1}_getOverlayWidth(n){return this.panelWidth==="auto"?(n instanceof xl?n.elementRef:n||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let n of this.options)n._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new lf(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 n=mt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(te(n)).subscribe(r=>{this._onSelect(r.source,r.isUserInput),r.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),mt(...this.options.map(r=>r._stateChanges)).pipe(te(n)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(n,r){let o=this._selectionModel.isSelected(n);n.value==null&&!this._multiple?(n.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(n.value)):(o!==n.selected&&(n.selected?this._selectionModel.select(n):this._selectionModel.deselect(n)),r&&this._keyManager.setActiveItem(n),this.multiple&&(this._sortValues(),r&&this.focus())),o!==this._selectionModel.isSelected(n)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let n=this.options.toArray();this._selectionModel.sort((r,o)=>this.sortComparator?this.sortComparator(r,o,n):n.indexOf(r)-n.indexOf(o)),this.stateChanges.next()}}_propagateChanges(n){let r;this.multiple?r=this.selected.map(o=>o.value):r=this.selected?this.selected.value:n,this._value=r,this.valueChange.emit(r),this._onChange(r),this.selectionChange.emit(this._getChangeEvent(r)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let n=-1;for(let r=0;r<this.options.length;r++)if(!this.options.get(r).disabled){n=r;break}this._keyManager.setActiveItem(n)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(n){this._elementRef.nativeElement.focus(n)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let n=this._parentFormField?.getLabelId(),r=n?n+" ":"";return this.ariaLabelledby?r+this.ariaLabelledby:n}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let n=this._parentFormField?.getLabelId(),r=(n?n+" ":"")+this._valueId;return this.ariaLabelledby&&(r+=" "+this.ariaLabelledby),r}_panelDoneAnimating(n){this.openedChange.emit(n)}setDescribedByIds(n){n.length?this._elementRef.nativeElement.setAttribute("aria-describedby",n.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}};e.\u0275fac=function(r){return new(r||e)(f(Us),f(Pe),f(F),f(qE),f(P),f(Lt,8),f(Tv,8),f(Ju,8),f(hy,8),f(Di,10),tr("tabindex"),f(BD),f(VE),f(hj,8))},e.\u0275cmp=ce({type:e,selectors:[["mat-select"]],contentQueries:function(r,o,s){if(r&1&&(At(s,pj,5),At(s,Vs,5),At(s,Zv,5)),r&2){let a;ge(a=ve())&&(o.customTrigger=a.first),ge(a=ve())&&(o.options=a),ge(a=ve())&&(o.optionGroups=a)}},viewQuery:function(r,o){if(r&1&&(qe(nj,5),qe(ij,5),qe(dy,5)),r&2){let s;ge(s=ve())&&(o.trigger=s.first),ge(s=ve())&&(o.panel=s.first),ge(s=ve())&&(o._overlayDir=s.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(r,o){r&1&&K("keydown",function(a){return o._handleKeydown(a)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),r&2&&(_e("id",o.id)("tabindex",o.disabled?-1:o.tabIndex)("aria-controls",o.panelOpen?o.id+"-panel":null)("aria-expanded",o.panelOpen)("aria-label",o.ariaLabel||null)("aria-required",o.required.toString())("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState)("aria-activedescendant",o._getAriaActiveDescendant()),pe("mat-mdc-select-disabled",o.disabled)("mat-mdc-select-invalid",o.errorState)("mat-mdc-select-required",o.required)("mat-mdc-select-empty",o.empty)("mat-mdc-select-multiple",o.multiple))},inputs:{userAriaDescribedBy:[w.None,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[w.HasDecoratorInputTransform,"disabled","disabled",De],disableRipple:[w.HasDecoratorInputTransform,"disableRipple","disableRipple",De],tabIndex:[w.HasDecoratorInputTransform,"tabIndex","tabIndex",n=>n==null?0:bi(n)],hideSingleSelectionIndicator:[w.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",De],placeholder:"placeholder",required:[w.HasDecoratorInputTransform,"required","required",De],multiple:[w.HasDecoratorInputTransform,"multiple","multiple",De],disableOptionCentering:[w.HasDecoratorInputTransform,"disableOptionCentering","disableOptionCentering",De],compareWith:"compareWith",value:"value",ariaLabel:[w.None,"aria-label","ariaLabel"],ariaLabelledby:[w.None,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[w.HasDecoratorInputTransform,"typeaheadDebounceInterval","typeaheadDebounceInterval",bi],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[_t([{provide:fy,useExisting:e},{provide:Yv,useExisting:e}]),ct,He,Ee],ngContentSelectors:oj,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(r,o){if(r&1){let s=je();Dt(rj),E(0,"div",2,0),K("click",function(){return ie(s),re(o.open())}),E(3,"div",3),Y(4,sj,2,1,"span",4)(5,cj,3,1),S(),E(6,"div",5)(7,"div",6),io(),E(8,"svg",7),ne(9,"path",8),S()()()(),Y(10,dj,3,9,"ng-template",9),K("backdropClick",function(){return ie(s),re(o.close())})("attach",function(){return ie(s),re(o._onAttached())})("detach",function(){return ie(s),re(o.close())})}if(r&2){let s=Fn(1);x(3),_e("id",o._valueId),x(),rt(4,o.empty?4:5),x(6),D("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",o._preferredOverlayOrigin||s)("cdkConnectedOverlayOpen",o.panelOpen)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayWidth",o._overlayWidth)}},dependencies:[xl,dy,Ci],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[uj.transformPanel]},changeDetection:0});let t=e;return t})(),Tf=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({providers:[mj],imports:[vt,Zn,$v,ze,fr,Mf,$v,ze]});let t=e;return t})()});function gy(t){for(let e in t){let i=t[e]??"";switch(e){case"display":i==="flex"?t.display=["-webkit-flex","flex"]:i==="inline-flex"?t.display=["-webkit-inline-flex","inline-flex"]:t.display=i;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-"+e]=i;break;case"flex-direction":t["-webkit-flex-direction"]=i,t["flex-direction"]=i;break;case"order":t.order=t["-webkit-"+e]=isNaN(+i)?"0":i;break}}return t}function Of(t){let[e,i,n]=HD(t);return vj(e,i,n)}function HD(t){t=t?.toLowerCase()??"";let[e,i,n]=t.split(" ");return Sl.find(r=>r===e)||(e=Sl[0]),i===py&&(i=n!==py?n:"",n=py),[e,gj(i),!!n]}function Tl(t){let[e]=HD(t);return e.indexOf("row")>-1}function gj(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 vj(t,e=null,i=!1){return{display:i?"inline-flex":"flex","box-sizing":"border-box","flex-direction":t,"flex-wrap":e||null}}function Pn(t,...e){if(t==null)throw TypeError("Cannot convert undefined or null to object");for(let i of e)if(i!=null)for(let n in i)i.hasOwnProperty(n)&&(t[n]=i[n]);return t}var py,Sl,vy=g(()=>{"use strict";py="inline",Sl=["row","column","row-reverse","column-reverse"];});function yj(t,e){return()=>{if(Kn(e)){let i=Array.from(t.querySelectorAll(`[class*=${zD}]`)),n=/\bflex-layout-.+?\b/g;i.forEach(r=>{r.classList.contains(`${zD}ssr`)&&r.parentNode?r.parentNode.removeChild(r):r.className.replace(n,"")})}}}function eI(t,e){return t=t?.clone()??new xo,e&&(t.mqAlias=e.alias,t.mediaQuery=e.mediaQuery,t.suffix=e.suffix,t.priority=e.priority),t}function _j(t,e){return tI(t)[e]??""}function xj(t,e,i){e=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();let n=tI(t);n[e]=i??"",Cj(t,n)}function Cj(t,e){let i="";for(let n in e)e[n]&&(i+=`${n}:${e[n]};`);t.setAttribute("style",i)}function tI(t){let e={},i=t.getAttribute("style");if(i){let n=i.split(/;+/g);for(let r=0;r<n.length;r++){let o=n[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();e[a]=o.substr(s+1).trim()}}}return e}function Ol(t,e){let i=t&&t.priority||0;return(e&&e.priority||0)-i}function wj(t,e){let i=t.priority||0,n=e.priority||0;return i-n}function Dj(t,e,i){let n=t.filter(r=>!WD[r]);if(n.length>0){let r=n.join(", ");try{let o=e.createElement("style");if(o.setAttribute("type","text/css"),i&&o.setAttribute("nonce",i),!o.styleSheet){let s=`
11
+ )`}_isAttachedToDom(){let n=this._elementRef.nativeElement;if(n.getRootNode){let r=n.getRootNode();return r&&r!==n}return document.documentElement.contains(n)}};e.\u0275fac=function(r){return new(r||e)(f(P),f(Pe),f(F),f(Lt),f(Ne),f(J2,8),f(lt,8),f(U))},e.\u0275cmp=ce({type:e,selectors:[["mat-form-field"]],contentQueries:function(r,o,s){if(r&1&&(At(s,Ks,5),At(s,Ks,7),At(s,fy,5),At(s,Y2,5),At(s,Z2,5),At(s,Q2,5),At(s,TD,5)),r&2){let a;ge(a=ve())&&(o._labelChildNonStatic=a.first),ge(a=ve())&&(o._labelChildStatic=a.first),ge(a=ve())&&(o._formFieldControl=a.first),ge(a=ve())&&(o._prefixChildren=a),ge(a=ve())&&(o._suffixChildren=a),ge(a=ve())&&(o._errorChildren=a),ge(a=ve())&&(o._hintChildren=a)}},viewQuery:function(r,o){if(r&1&&(qe(E2,5),qe(D2,5),qe(I2,5),qe(OD,5),qe(kD,5),qe(FD,5)),r&2){let s;ge(s=ve())&&(o._textField=s.first),ge(s=ve())&&(o._iconPrefixContainer=s.first),ge(s=ve())&&(o._textPrefixContainer=s.first),ge(s=ve())&&(o._floatingLabel=s.first),ge(s=ve())&&(o._notchedOutline=s.first),ge(s=ve())&&(o._lineRipple=s.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(r,o){r&2&&pe("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-no-animations",o._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",o.appearance=="fill")("mat-form-field-appearance-outline",o.appearance=="outline")("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary",o.color!=="accent"&&o.color!=="warn")("mat-accent",o.color==="accent")("mat-warn",o.color==="warn")("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[_t([{provide:hy,useExisting:e},{provide:jD,useExisting:e}]),Ee],ngContentSelectors:S2,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(r,o){if(r&1){let s=je();Dt(M2),Y(0,R2,1,1,"ng-template",null,0,so),E(2,"div",4,1),Q("click",function(l){return ie(s),re(o._control.onContainerClick(l))}),Y(4,F2,1,0,"div",5),E(5,"div",6),Y(6,P2,2,2,"div",7)(7,N2,3,0,"div",8)(8,j2,3,0,"div",9),E(9,"div",10),Y(10,B2,1,1,null,11),Re(11),S(),Y(12,U2,2,0,"div",12)(13,H2,2,0,"div",13),S(),Y(14,z2,1,0,"div",14),S(),E(15,"div",15),Y(16,W2,2,1)(17,K2,5,2),S()}if(r&2){let s;x(2),pe("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),x(2),rt(4,!o._hasOutline()&&!o._control.disabled?4:-1),x(2),rt(6,o._hasOutline()?6:-1),x(),rt(7,o._hasIconPrefix?7:-1),x(),rt(8,o._hasTextPrefix?8:-1),x(2),rt(10,!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),x(2),rt(12,o._hasTextSuffix?12:-1),x(),rt(13,o._hasIconSuffix?13:-1),x(),rt(14,o._hasOutline()?-1:14),x(),pe("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic"),x(),rt(16,(s=o._getDisplayedMessages())==="error"?16:s==="hint"?17:-1)}},dependencies:[OD,kD,Du,FD,TD],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[X2.transitionMessages]},changeDetection:0});let t=e;return t})(),Mf=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[ze,vt,tf,ze]});let t=e;return t})()});function sj(t,e){if(t&1&&(E(0,"span",4),ue(1),S()),t&2){let i=z();x(),gt(i.placeholder)}}function aj(t,e){t&1&&Re(0)}function lj(t,e){if(t&1&&(E(0,"span",11),ue(1),S()),t&2){let i=z(2);x(),gt(i.triggerValue)}}function cj(t,e){if(t&1&&(E(0,"span",10),Y(1,aj,1,0)(2,lj,2,1),S()),t&2){let i=z();x(),rt(1,i.customTrigger?1:2)}}function dj(t,e){if(t&1){let i=je();E(0,"div",12,1),Q("@transformPanel.done",function(r){ie(i);let o=z();return re(o._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){ie(i);let o=z();return re(o._handleKeydown(r))}),Re(2,1),S()}if(t&2){let i=z();hu("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",i._getPanelTheme(),""),D("ngClass",i.panelClass)("@transformPanel","showing"),_e("id",i.id+"-panel")("aria-multiselectable",i.multiple)("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby())}}function fj(t){return()=>t.scrollStrategies.reposition()}var nj,ij,rj,oj,uj,BD,UD,hj,mj,pj,my,Sf,Tf,Ml=g(()=>{"use strict";$n();Ie();O();O();vn();vn();Il();hr();hr();nn();nn();pn();dD();Ii();ho();ho();Qe();at();wl();nj=["trigger"],ij=["panel"],rj=[[["mat-select-trigger"]],"*"],oj=["mat-select-trigger","*"];uj={transformPanelWrap:vr("transformPanelWrap",[Jn("* => void",xD("@transformPanel",[_D()],{optional:!0}))]),transformPanel:vr("transformPanel",[_o("void",Pt({opacity:0,transform:"scale(1, 0.8)"})),Jn("void => showing",ki("120ms cubic-bezier(0, 0, 0.2, 1)",Pt({opacity:1,transform:"scale(1, 1)"}))),Jn("* => void",ki("100ms linear",Pt({opacity:0})))])},BD=0,UD=new C("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=y(Ze);return()=>t.scrollStrategies.reposition()}});hj=new C("MAT_SELECT_CONFIG"),mj={provide:UD,deps:[Ze],useFactory:fj},pj=new C("MatSelectTrigger"),my=class{constructor(e,i){this.source=e,this.value=i}},Sf=(()=>{let e=class e{_scrollOptionIntoView(n){let r=this.options.toArray()[n];if(r){let o=this.panel.nativeElement,s=$E(n,this.options,this.optionGroups),a=r._getHostElement();n===0&&s===1?o.scrollTop=0:o.scrollTop=XE(a.offsetTop,a.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(n){return new my(this,n)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(n){this._hideSingleSelectionIndicator=n,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(n){this._placeholder=n,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(rl.required)??!1}set required(n){this._required=n,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(n){this._selectionModel,this._multiple=n}get compareWith(){return this._compareWith}set compareWith(n){this._compareWith=n,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(n){this._assignValue(n)&&this._onChange(n)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(n){this._errorStateTracker.matcher=n}get id(){return this._id}set id(n){this._id=n||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(n){this._errorStateTracker.errorState=n}constructor(n,r,o,s,a,l,c,d,u,h,m,v,_,I){this._viewportRuler=n,this._changeDetectorRef=r,this._elementRef=a,this._dir=l,this._parentFormField=u,this.ngControl=h,this._liveAnnouncer=_,this._defaultOptions=I,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=(M,L)=>M===L,this._uid=`mat-select-${BD++}`,this._triggerAriaLabelledBy=null,this._destroy=new k,this.stateChanges=new k,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${BD++}`,this._panelDoneAnimatingStream=new k,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new k,this.optionSelectionChanges=Jt(()=>{let M=this.options;return M?M.changes.pipe(Ct(M),Be(()=>mt(...M.map(L=>L.onSelectionChange)))):this._initialized.pipe(Be(()=>this.optionSelectionChanges))}),this.openedChange=new G,this._openedStream=this.openedChange.pipe(de(M=>M),B(()=>{})),this._closedStream=this.openedChange.pipe(de(M=>!M),B(()=>{})),this.selectionChange=new G,this.valueChange=new G,this._trackedModal=null,this._skipPredicate=M=>this.panelOpen?!1:M.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),I?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=I.typeaheadDebounceInterval),this._errorStateTracker=new mf(s,h,d,c,this.stateChanges),this._scrollStrategyFactory=v,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(m)||0,this.id=this.id}ngOnInit(){this._selectionModel=new xf(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Hr(),te(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(te(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(te(this._destroy)).subscribe(n=>{n.added.forEach(r=>r.select()),n.removed.forEach(r=>r.deselect())}),this.options.changes.pipe(Ct(null),te(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let n=this._getTriggerAriaLabelledby(),r=this.ngControl;if(n!==this._triggerAriaLabelledBy){let o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=n,n?o.setAttribute("aria-labelledby",n):o.removeAttribute("aria-labelledby")}r&&(this._previousControl!==r.control&&(this._previousControl!==void 0&&r.disabled!==null&&r.disabled!==this.disabled&&(this.disabled=r.disabled),this._previousControl=r.control),this.updateErrorState())}ngOnChanges(n){(n.disabled||n.userAriaDescribedBy)&&this.stateChanges.next(),n.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 n=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!n)return;let r=`${this.id}-panel`;this._trackedModal&&df(this._trackedModal,"aria-owns",r),Uv(n,"aria-owns",r),this._trackedModal=n}_clearFromModal(){if(!this._trackedModal)return;let n=`${this.id}-panel`;df(this._trackedModal,"aria-owns",n),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(n){this._assignValue(n)}registerOnChange(n){this._onChange=n}registerOnTouched(n){this._onTouched=n}setDisabledState(n){this.disabled=n,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 n=this._selectionModel.selected.map(r=>r.viewValue);return this._isRtl()&&n.reverse(),n.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(n){this.disabled||(this.panelOpen?this._handleOpenKeydown(n):this._handleClosedKeydown(n))}_handleClosedKeydown(n){let r=n.keyCode,o=r===40||r===38||r===37||r===39,s=r===13||r===32,a=this._keyManager;if(!a.isTyping()&&s&&!It(n)||(this.multiple||n.altKey)&&o)n.preventDefault(),this.open();else if(!this.multiple){let l=this.selected;a.onKeydown(n);let c=this.selected;c&&l!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(n){let r=this._keyManager,o=n.keyCode,s=o===40||o===38,a=r.isTyping();if(s&&n.altKey)n.preventDefault(),this.close();else if(!a&&(o===13||o===32)&&r.activeItem&&!It(n))n.preventDefault(),r.activeItem._selectViaInteraction();else if(!a&&this._multiple&&o===65&&n.ctrlKey){n.preventDefault();let l=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(l?c.select():c.deselect())})}else{let l=r.activeItemIndex;r.onKeydown(n),this._multiple&&s&&n.shiftKey&&r.activeItem&&r.activeItemIndex!==l&&r.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(Ae(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(n){if(this.options.forEach(r=>r.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&n)Array.isArray(n),n.forEach(r=>this._selectOptionByValue(r)),this._sortValues();else{let r=this._selectOptionByValue(n);r?this._keyManager.updateActiveItem(r):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(n){let r=this.options.find(o=>{if(this._selectionModel.isSelected(o))return!1;try{return o.value!=null&&this._compareWith(o.value,n)}catch{return!1}});return r&&this._selectionModel.select(r),r}_assignValue(n){return n!==this._value||this._multiple&&Array.isArray(n)?(this.options&&this._setSelectionByValue(n),this._value=n,!0):!1}_getOverlayWidth(n){return this.panelWidth==="auto"?(n instanceof xl?n.elementRef:n||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let n of this.options)n._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new lf(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 n=mt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(te(n)).subscribe(r=>{this._onSelect(r.source,r.isUserInput),r.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),mt(...this.options.map(r=>r._stateChanges)).pipe(te(n)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(n,r){let o=this._selectionModel.isSelected(n);n.value==null&&!this._multiple?(n.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(n.value)):(o!==n.selected&&(n.selected?this._selectionModel.select(n):this._selectionModel.deselect(n)),r&&this._keyManager.setActiveItem(n),this.multiple&&(this._sortValues(),r&&this.focus())),o!==this._selectionModel.isSelected(n)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let n=this.options.toArray();this._selectionModel.sort((r,o)=>this.sortComparator?this.sortComparator(r,o,n):n.indexOf(r)-n.indexOf(o)),this.stateChanges.next()}}_propagateChanges(n){let r;this.multiple?r=this.selected.map(o=>o.value):r=this.selected?this.selected.value:n,this._value=r,this.valueChange.emit(r),this._onChange(r),this.selectionChange.emit(this._getChangeEvent(r)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let n=-1;for(let r=0;r<this.options.length;r++)if(!this.options.get(r).disabled){n=r;break}this._keyManager.setActiveItem(n)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(n){this._elementRef.nativeElement.focus(n)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let n=this._parentFormField?.getLabelId(),r=n?n+" ":"";return this.ariaLabelledby?r+this.ariaLabelledby:n}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let n=this._parentFormField?.getLabelId(),r=(n?n+" ":"")+this._valueId;return this.ariaLabelledby&&(r+=" "+this.ariaLabelledby),r}_panelDoneAnimating(n){this.openedChange.emit(n)}setDescribedByIds(n){n.length?this._elementRef.nativeElement.setAttribute("aria-describedby",n.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}};e.\u0275fac=function(r){return new(r||e)(f(Us),f(Pe),f(F),f(YE),f(P),f(Lt,8),f(Tv,8),f(Ju,8),f(hy,8),f(Di,10),tr("tabindex"),f(UD),f(BE),f(hj,8))},e.\u0275cmp=ce({type:e,selectors:[["mat-select"]],contentQueries:function(r,o,s){if(r&1&&(At(s,pj,5),At(s,Vs,5),At(s,Zv,5)),r&2){let a;ge(a=ve())&&(o.customTrigger=a.first),ge(a=ve())&&(o.options=a),ge(a=ve())&&(o.optionGroups=a)}},viewQuery:function(r,o){if(r&1&&(qe(nj,5),qe(ij,5),qe(dy,5)),r&2){let s;ge(s=ve())&&(o.trigger=s.first),ge(s=ve())&&(o.panel=s.first),ge(s=ve())&&(o._overlayDir=s.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(r,o){r&1&&Q("keydown",function(a){return o._handleKeydown(a)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),r&2&&(_e("id",o.id)("tabindex",o.disabled?-1:o.tabIndex)("aria-controls",o.panelOpen?o.id+"-panel":null)("aria-expanded",o.panelOpen)("aria-label",o.ariaLabel||null)("aria-required",o.required.toString())("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState)("aria-activedescendant",o._getAriaActiveDescendant()),pe("mat-mdc-select-disabled",o.disabled)("mat-mdc-select-invalid",o.errorState)("mat-mdc-select-required",o.required)("mat-mdc-select-empty",o.empty)("mat-mdc-select-multiple",o.multiple))},inputs:{userAriaDescribedBy:[w.None,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[w.HasDecoratorInputTransform,"disabled","disabled",De],disableRipple:[w.HasDecoratorInputTransform,"disableRipple","disableRipple",De],tabIndex:[w.HasDecoratorInputTransform,"tabIndex","tabIndex",n=>n==null?0:bi(n)],hideSingleSelectionIndicator:[w.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",De],placeholder:"placeholder",required:[w.HasDecoratorInputTransform,"required","required",De],multiple:[w.HasDecoratorInputTransform,"multiple","multiple",De],disableOptionCentering:[w.HasDecoratorInputTransform,"disableOptionCentering","disableOptionCentering",De],compareWith:"compareWith",value:"value",ariaLabel:[w.None,"aria-label","ariaLabel"],ariaLabelledby:[w.None,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[w.HasDecoratorInputTransform,"typeaheadDebounceInterval","typeaheadDebounceInterval",bi],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[_t([{provide:fy,useExisting:e},{provide:Yv,useExisting:e}]),ct,He,Ee],ngContentSelectors:oj,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(r,o){if(r&1){let s=je();Dt(rj),E(0,"div",2,0),Q("click",function(){return ie(s),re(o.open())}),E(3,"div",3),Y(4,sj,2,1,"span",4)(5,cj,3,1),S(),E(6,"div",5)(7,"div",6),io(),E(8,"svg",7),ne(9,"path",8),S()()()(),Y(10,dj,3,9,"ng-template",9),Q("backdropClick",function(){return ie(s),re(o.close())})("attach",function(){return ie(s),re(o._onAttached())})("detach",function(){return ie(s),re(o.close())})}if(r&2){let s=Fn(1);x(3),_e("id",o._valueId),x(),rt(4,o.empty?4:5),x(6),D("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",o._preferredOverlayOrigin||s)("cdkConnectedOverlayOpen",o.panelOpen)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayWidth",o._overlayWidth)}},dependencies:[xl,dy,Ci],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[uj.transformPanel]},changeDetection:0});let t=e;return t})(),Tf=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({providers:[mj],imports:[vt,Zn,$v,ze,fr,Mf,$v,ze]});let t=e;return t})()});function gy(t){for(let e in t){let i=t[e]??"";switch(e){case"display":i==="flex"?t.display=["-webkit-flex","flex"]:i==="inline-flex"?t.display=["-webkit-inline-flex","inline-flex"]:t.display=i;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-"+e]=i;break;case"flex-direction":t["-webkit-flex-direction"]=i,t["flex-direction"]=i;break;case"order":t.order=t["-webkit-"+e]=isNaN(+i)?"0":i;break}}return t}function Of(t){let[e,i,n]=zD(t);return vj(e,i,n)}function zD(t){t=t?.toLowerCase()??"";let[e,i,n]=t.split(" ");return Sl.find(r=>r===e)||(e=Sl[0]),i===py&&(i=n!==py?n:"",n=py),[e,gj(i),!!n]}function Tl(t){let[e]=zD(t);return e.indexOf("row")>-1}function gj(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 vj(t,e=null,i=!1){return{display:i?"inline-flex":"flex","box-sizing":"border-box","flex-direction":t,"flex-wrap":e||null}}function Pn(t,...e){if(t==null)throw TypeError("Cannot convert undefined or null to object");for(let i of e)if(i!=null)for(let n in i)i.hasOwnProperty(n)&&(t[n]=i[n]);return t}var py,Sl,vy=g(()=>{"use strict";py="inline",Sl=["row","column","row-reverse","column-reverse"];});function yj(t,e){return()=>{if(Qn(e)){let i=Array.from(t.querySelectorAll(`[class*=${WD}]`)),n=/\bflex-layout-.+?\b/g;i.forEach(r=>{r.classList.contains(`${WD}ssr`)&&r.parentNode?r.parentNode.removeChild(r):r.className.replace(n,"")})}}}function tI(t,e){return t=t?.clone()??new xo,e&&(t.mqAlias=e.alias,t.mediaQuery=e.mediaQuery,t.suffix=e.suffix,t.priority=e.priority),t}function _j(t,e){return nI(t)[e]??""}function xj(t,e,i){e=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();let n=nI(t);n[e]=i??"",Cj(t,n)}function Cj(t,e){let i="";for(let n in e)e[n]&&(i+=`${n}:${e[n]};`);t.setAttribute("style",i)}function nI(t){let e={},i=t.getAttribute("style");if(i){let n=i.split(/;+/g);for(let r=0;r<n.length;r++){let o=n[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();e[a]=o.substr(s+1).trim()}}}return e}function Ol(t,e){let i=t&&t.priority||0;return(e&&e.priority||0)-i}function wj(t,e){let i=t.priority||0,n=e.priority||0;return i-n}function Dj(t,e,i){let n=t.filter(r=>!GD[r]);if(n.length>0){let r=n.join(", ");try{let o=e.createElement("style");if(o.setAttribute("type","text/css"),i&&o.setAttribute("nonce",i),!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(e.createTextNode(s))}e.head.appendChild(o),n.forEach(s=>WD[s]=o)}catch(o){console.error(o)}}}function Ij(t){let e=new EventTarget;return e.matches=t==="all"||t==="",e.media=t,e.addListener=()=>{},e.removeListener=()=>{},e.addEventListener=()=>{},e.dispatchEvent=()=>!1,e.onchange=null,e}function Mj(t,e){return e&&!!window.matchMedia("all").addListener?window.matchMedia(t):Ij(t)}function Tj(t){let e=t.length>0?t.charAt(0):"",i=t.length>1?t.slice(1):"";return e.toUpperCase()+i}function Oj(t){return t.replace(Sj,"|").split("|").map(Tj).join("")}function Rj(t){return t.forEach(e=>{e.suffix||(e.suffix=Oj(e.alias),e.overlapping=!!e.overlapping)}),t}function Fj(t,e=[]){let i={};return t.forEach(n=>{i[n.alias]=n}),e.forEach(n=>{i[n.alias]?Pn(i[n.alias],n):i[n.alias]=n}),Rj(Object.keys(i).map(n=>i[n]))}function Vj(t){return t?.mediaQuery.startsWith(Ks)??!1}function $D(t,e,i,n){if(n!==void 0){let r=t.get(e)??new Map;r.set(i,n),t.set(e,r)}}function by(t,e="1",i="1"){let n=[e,i,t],r=t.indexOf("calc");if(r>0){n[2]=XD(t.substring(r).trim());let o=t.substr(0,r).trim().split(" ");o.length==2&&(n[0]=o[0],n[1]=o[1])}else if(r==0)n[2]=XD(t.trim());else{let o=t.split(" ");n=o.length===3?o:[e,i,t]}return n}function XD(t){return t.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}function kf(t,e){if(e===void 0)return t;let i=n=>{let r=+n.slice(0,-JD.length);return t.endsWith(JD)&&!isNaN(r)?`${r*e.value}${e.unit}`:t};return t.includes(" ")?t.split(" ").map(i).join(" "):i(t)}var bj,zD,qs,xo,Aj,Rf,yn,Rl,Ff,ei,Pi,Ej,WD,Sj,kj,GD,QD,KD,qD,YD,ZD,Li,Lj,Pj,nI,Ks,Nj,jj,yy,yr,br,JD,Ar=g(()=>{"use strict";O();O();Ie();Ke();vy();at();bj={provide:gs,useFactory:yj,deps:[U,bt],multi:!0},zD="flex-layout-";qs=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({providers:[bj]});let t=e;return t})(),xo=class t{constructor(e=!1,i="all",n="",r="",o=0){this.matches=e,this.mediaQuery=i,this.mqAlias=n,this.suffix=r,this.priority=o,this.property=""}clone(){return new t(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}};Aj=(()=>{let e=class e{constructor(){this.stylesheet=new Map}addStyleToElement(n,r,o){let s=this.stylesheet.get(n);s?s.set(r,o):this.stylesheet.set(n,new Map([[r,o]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(n,r){let o=this.stylesheet.get(n),s="";if(o){let a=o.get(r);(typeof a=="number"||typeof a=="string")&&(s=a+"")}return s}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();Rf={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},yn=new C("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>Rf});Rl=new C("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1});Ff=new C("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});ei=class{constructor(){this.shouldCache=!0}sideEffect(e,i,n){}};Pi=(()=>{let e=class e{constructor(n,r,o,s){this._serverStylesheet=n,this._serverModuleLoaded=r,this._platformId=o,this.layoutConfig=s}applyStyleToElement(n,r,o=null){let s={};typeof r=="string"&&(s[r]=o,r=s),s=this.layoutConfig.disableVendorPrefixes?r:gy(r),this._applyMultiValueStyleToElement(s,n)}applyStyleToElements(n,r=[]){let o=this.layoutConfig.disableVendorPrefixes?n:gy(n);r.forEach(s=>{this._applyMultiValueStyleToElement(o,s)})}getFlowDirection(n){let r="flex-direction",o=this.lookupStyle(n,r),s=this.lookupInlineStyle(n,r)||wi(this._platformId)&&this._serverModuleLoaded?o:"";return[o||"row",s]}hasWrap(n){return this.lookupStyle(n,"flex-wrap")==="wrap"}lookupAttributeValue(n,r){return n.getAttribute(r)??""}lookupInlineStyle(n,r){return Kn(this._platformId)?n.style.getPropertyValue(r):_j(n,r)}lookupStyle(n,r,o=!1){let s="";return n&&((s=this.lookupInlineStyle(n,r))||(Kn(this._platformId)?o||(s=getComputedStyle(n).getPropertyValue(r)):this._serverModuleLoaded&&(s=this._serverStylesheet.getStyleForElement(n,r)))),s?s.trim():""}_applyMultiValueStyleToElement(n,r){Object.keys(n).sort().forEach(o=>{let s=n[o],a=Array.isArray(s)?s:[s];a.sort();for(let l of a)l=l?l+"":"",Kn(this._platformId)||!this._serverModuleLoaded?Kn(this._platformId)?r.style.setProperty(o,l):xj(r,o,l):this._serverStylesheet.addStyleToElement(r,o,l)})}};e.\u0275fac=function(r){return new(r||e)(p(Aj),p(Rl),p(bt),p(yn))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();Ej=(()=>{let e=class e{constructor(n,r,o,s){this._zone=n,this._platformId=r,this._document=o,this._nonce=s,this.source=new ot(new xo(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){let n=[];return this.registry.forEach((r,o)=>{r.matches&&n.push(o)}),n}isActive(n){return this.registry.get(n)?.matches??this.registerQuery(n).some(o=>o.matches)}observe(n,r=!1){if(n&&n.length){let o=this._observable$.pipe(de(a=>r?n.indexOf(a.mediaQuery)>-1:!0)),s=new X(a=>{let l=this.registerQuery(n);if(l.length){let c=l.pop();l.forEach(d=>{a.next(d)}),this.source.next(c)}a.complete()});return mt(s,o)}return this._observable$}registerQuery(n){let r=Array.isArray(n)?n:[n],o=[];return Dj(r,this._document,this._nonce),r.forEach(s=>{let a=c=>{this._zone.run(()=>this.source.next(new xo(c.matches,s)))},l=this.registry.get(s);l||(l=this.buildMQL(s),l.addListener(a),this.pendingRemoveListenerFns.push(()=>l.removeListener(a)),this.registry.set(s,l)),l.matches&&o.push(new xo(!0,s))}),o}ngOnDestroy(){let n;for(;n=this.pendingRemoveListenerFns.pop();)n()}buildMQL(n){return Mj(n,Kn(this._platformId))}};e.\u0275fac=function(r){return new(r||e)(p(F),p(bt),p(U),p(ro,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),WD={};Sj=/(\.|-|_)/g;kj=[{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}];GD="(orientation: portrait) and (max-width: 599.98px)",QD="(orientation: landscape) and (max-width: 959.98px)",KD="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",qD="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",YD="(orientation: portrait) and (min-width: 840px)",ZD="(orientation: landscape) and (min-width: 1280px)",Li={HANDSET:`${GD}, ${QD}`,TABLET:`${KD} , ${qD}`,WEB:`${YD}, ${ZD} `,HANDSET_PORTRAIT:`${GD}`,TABLET_PORTRAIT:`${KD} `,WEB_PORTRAIT:`${YD}`,HANDSET_LANDSCAPE:`${QD}`,TABLET_LANDSCAPE:`${qD}`,WEB_LANDSCAPE:`${ZD}`},Lj=[{alias:"handset",priority:2e3,mediaQuery:Li.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:Li.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:Li.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:Li.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:Li.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:Li.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:Li.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:Li.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:Li.WEB_PORTRAIT,overlapping:!0}];Pj=new C("Token (@ngbracket/ngx-layout) Breakpoints",{providedIn:"root",factory:()=>{let t=y(Ff),e=y(yn),i=[].concat.apply([],(t||[]).map(r=>Array.isArray(r)?r:[r])),n=(e.disableDefaultBps?[]:kj).concat(e.addOrientationBps?Lj:[]);return Fj(n,i)}});nI=(()=>{let e=class e{constructor(n){this.findByMap=new Map,this.items=[...n].sort(wj)}findByAlias(n){return n?this.findWithPredicate(n,r=>r.alias===n):null}findByQuery(n){return this.findWithPredicate(n,r=>r.mediaQuery===n)}get overlappings(){return this.items.filter(n=>n.overlapping)}get aliases(){return this.items.map(n=>n.alias)}get suffixes(){return this.items.map(n=>n?.suffix??"")}findWithPredicate(n,r){let o=this.findByMap.get(n);return o||(o=this.items.find(r)??null,this.findByMap.set(n,o)),o??null}};e.\u0275fac=function(r){return new(r||e)(p(Pj))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();Ks="print",Nj={alias:Ks,mediaQuery:Ks,priority:1e3},jj=(()=>{let e=class e{constructor(n,r,o){this.breakpoints=n,this.layoutConfig=r,this._document=o,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new yy,this.deactivations=[]}withPrintQuery(n){return[...n,Ks]}isPrintEvent(n){return n.mediaQuery.startsWith(Ks)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(n=>this.breakpoints.findByAlias(n)).filter(n=>n!==null)}getEventBreakpoints({mediaQuery:n}){let r=this.breakpoints.findByQuery(n);return(r?[...this.printBreakPoints,r]:this.printBreakPoints).sort(Ol)}updateEvent(n){let r=this.breakpoints.findByQuery(n.mediaQuery);return this.isPrintEvent(n)&&(r=this.getEventBreakpoints(n)[0],n.mediaQuery=r?.mediaQuery??""),eI(n,r)}registerBeforeAfterPrintHooks(n){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;let r=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(n,this.getEventBreakpoints(new xo(!0,Ks))),n.updateStyles())},o=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(n),n.updateStyles())};this._document.defaultView.addEventListener("beforeprint",r),this._document.defaultView.addEventListener("afterprint",o),this.beforePrintEventListeners.push(r),this.afterPrintEventListeners.push(o)}interceptEvents(n){return r=>{if(this.isPrintEvent(r)){r.matches&&!this.isPrinting?(this.startPrinting(n,this.getEventBreakpoints(r)),n.updateStyles()):!r.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(n),n.updateStyles());return}this.collectActivations(n,r)}}blockPropagation(){return n=>!(this.isPrinting||this.isPrintEvent(n))}startPrinting(n,r){this.isPrinting=!0,this.formerActivations=n.activatedBreakpoints,n.activatedBreakpoints=this.queue.addPrintBreakpoints(r)}stopPrinting(n){n.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(n,r){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent){this.deactivations=[];return}if(!r.matches){let o=this.breakpoints.findByQuery(r.mediaQuery);if(o){let s=this.formerActivations&&this.formerActivations.includes(o),a=!this.formerActivations&&n.activatedBreakpoints.includes(o);(s||a)&&(this.deactivations.push(o),this.deactivations.sort(Ol))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(n=>this._document.defaultView.removeEventListener("beforeprint",n)),this.afterPrintEventListeners.forEach(n=>this._document.defaultView.removeEventListener("afterprint",n)))}};e.\u0275fac=function(r){return new(r||e)(p(nI),p(yn),p(U))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),yy=class{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(e){return e.push(Nj),e.sort(Ol),e.forEach(i=>this.addBreakpoint(i)),this.printBreakpoints}addBreakpoint(e){e&&this.printBreakpoints.find(n=>n.mediaQuery===e.mediaQuery)===void 0&&(this.printBreakpoints=Vj(e)?[e,...this.printBreakpoints]:[...this.printBreakpoints,e])}clear(){this.printBreakpoints=[]}};yr=(()=>{let e=class e{get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(n){this._activatedBreakpoints=[...n]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(n){this._useFallbacks=n}constructor(n,r,o){this.matchMedia=n,this.breakpoints=r,this.hook=o,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new k,this.observeActivations()}onMediaChange(n){let r=this.findByQuery(n.mediaQuery);if(r){n=eI(n,r);let o=this.activatedBreakpoints.indexOf(r);n.matches&&o===-1?(this._activatedBreakpoints.push(r),this._activatedBreakpoints.sort(Ol),this.updateStyles()):!n.matches&&o!==-1&&(this._activatedBreakpoints.splice(o,1),this._activatedBreakpoints.sort(Ol),this.updateStyles())}}init(n,r,o,s,a=[]){$D(this.updateMap,n,r,o),$D(this.clearMap,n,r,s),this.buildElementKeyMap(n,r),this.watchExtraTriggers(n,r,a)}getValue(n,r,o){let s=this.elementMap.get(n);if(s){let a=o!==void 0?s.get(o):this.getActivatedValues(s,r);if(a)return a.get(r)}}hasValue(n,r){let o=this.elementMap.get(n);if(o){let s=this.getActivatedValues(o,r);if(s)return s.get(r)!==void 0||!1}return!1}setValue(n,r,o,s){let a=this.elementMap.get(n);if(!a)a=new Map().set(s,new Map().set(r,o)),this.elementMap.set(n,a);else{let c=(a.get(s)??new Map).set(r,o);a.set(s,c),this.elementMap.set(n,a)}let l=this.getValue(n,r);l!==void 0&&this.updateElement(n,r,l)}trackValue(n,r){return this.subject.asObservable().pipe(de(o=>o.element===n&&o.key===r))}updateStyles(){this.elementMap.forEach((n,r)=>{let o=new Set(this.elementKeyMap.get(r)),s=this.getActivatedValues(n);s&&s.forEach((a,l)=>{this.updateElement(r,l,a),o.delete(l)}),o.forEach(a=>{if(s=this.getActivatedValues(n,a),s){let l=s.get(a);this.updateElement(r,a,l)}else this.clearElement(r,a)})})}clearElement(n,r){let o=this.clearMap.get(n);if(o){let s=o.get(r);s&&(s(),this.subject.next({element:n,key:r,value:""}))}}updateElement(n,r,o){let s=this.updateMap.get(n);if(s){let a=s.get(r);a&&(a(o),this.subject.next({element:n,key:r,value:o}))}}releaseElement(n){let r=this.watcherMap.get(n);r&&(r.forEach(s=>s.unsubscribe()),this.watcherMap.delete(n));let o=this.elementMap.get(n);o&&(o.forEach((s,a)=>o.delete(a)),this.elementMap.delete(n))}triggerUpdate(n,r){let o=this.elementMap.get(n);if(o){let s=this.getActivatedValues(o,r);s&&(r?this.updateElement(n,r,s.get(r)):s.forEach((a,l)=>this.updateElement(n,l,a)))}}buildElementKeyMap(n,r){let o=this.elementKeyMap.get(n);o||(o=new Set,this.elementKeyMap.set(n,o)),o.add(r)}watchExtraTriggers(n,r,o){if(o&&o.length){let s=this.watcherMap.get(n);if(s||(s=new Map,this.watcherMap.set(n,s)),!s.get(r)){let l=mt(...o).subscribe(()=>{let c=this.getValue(n,r);this.updateElement(n,r,c)});s.set(r,l)}}}findByQuery(n){return this.breakpoints.findByQuery(n)}getActivatedValues(n,r){for(let s=0;s<this.activatedBreakpoints.length;s++){let a=this.activatedBreakpoints[s],l=n.get(a.alias);if(l&&(r===void 0||l.has(r)&&l.get(r)!=null))return l}if(!this._useFallbacks)return;let o=n.get("");return r===void 0||o&&o.has(r)?o:void 0}observeActivations(){let n=this.breakpoints.items.map(r=>r.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(n)).pipe(Le(this.hook.interceptEvents(this)),de(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}};e.\u0275fac=function(r){return new(r||e)(p(Ej),p(nI),p(jj))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();br=(()=>{let e=class e{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(n){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,n,this.marshal.activatedAlias)}constructor(n,r,o,s){this.elementRef=n,this.styleBuilder=r,this.styler=o,this.marshal=s,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new k,this.styleCache=new Map}ngOnChanges(n){Object.keys(n).forEach(r=>{if(this.inputs.indexOf(r)!==-1){let o=r.split(".").slice(1).join("."),s=n[r].currentValue;this.setValue(s,o)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(n=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),n)}addStyles(n,r){let o=this.styleBuilder,s=o.shouldCache,a=this.styleCache.get(n);(!a||!s)&&(a=o.buildStyles(n,r),s&&this.styleCache.set(n,a)),this.mru=A({},a),this.applyStyleToElement(a),o.sideEffect(n,a,r)}clearStyles(){Object.keys(this.mru).forEach(n=>{this.mru[n]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(n,r=!1){if(n){let[o,s]=this.styler.getFlowDirection(n);if(!s&&r){let a=Of(o),l=[n];this.styler.applyStyleToElements(a,l)}return o.trim()}return"row"}hasWrap(n){return this.styler.hasWrap(n)}applyStyleToElement(n,r,o=this.nativeElement){this.styler.applyStyleToElement(o,n,r)}setValue(n,r){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,n,r)}updateWithValue(n){this.currentValue!==n&&(this.addStyles(n),this.currentValue=n)}};e.\u0275fac=function(r){return new(r||e)(f(P),f(ei),f(Pi),f(yr))},e.\u0275dir=V({type:e,features:[He]});let t=e;return t})();JD="x";});var Uj,Hj,Fl,Ay,kl=g(()=>{"use strict";O();Ar();Ar();Ie();Ie();Uj=(()=>{let e=class e extends br{set klass(n){this.ngClassInstance.klass=n,this.setValue(n,"")}constructor(n,r,o,s,a){super(n,null,r,o),this.ngClassInstance=a,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new Ci(n,s)),this.init(),this.setValue("","")}updateWithValue(n){this.ngClassInstance.ngClass=n,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}};e.\u0275fac=function(r){return new(r||e)(f(P),f(Pi),f(yr),f(Rn),f(Ci,10))},e.\u0275dir=V({type:e,inputs:{klass:[w.None,"class","klass"]},features:[Ce]});let t=e;return t})(),Hj=["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"],Fl=(()=>{let e=class e extends Uj{constructor(){super(...arguments),this.inputs=Hj}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=it(e)))(o||e)}})(),e.\u0275dir=V({type:e,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:[Ce]});let t=e;return t})();Ay=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[qs]});let t=e;return t})();});function mV(t,e){let[i,n]=t.split(" "),r=n??i,o="0px",s=r,a="0px";return e==="rtl"?a=i:o=i,{padding:`0px ${o} ${s} ${a}`}}function pV(t,e){let[i,n]=t.split(" "),r=n??i,o=c=>`-${c}`,s="0px",a=o(r),l="0px";return e==="rtl"?l=o(i):s=o(i),{margin:`0px ${s} ${a} ${l}`}}function dI(t,e){switch(e){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 gV(t,e){let i=dI(e.directionality,e.layout),n=A({},lI);return n[i]=t,n}var zj,Wj,Gj,sI,Qj,Kj,qj,Yj,Zj,$j,Xj,aI,Jj,eV,tV,nV,iV,rV,oV,sV,lI,aV,lV,cV,cI,dV,uV,fV,hV,Lf,vV,yV,bV,uI,oI,_y,Pf=g(()=>{"use strict";pn();pn();O();Ar();Ar();vy();at();Ke();zj=(()=>{let e=class e extends ei{constructor(n){super(),this.layoutConfig=n}buildStyles(n,r){let[o,s,...a]=n.split(" "),l=a.join(" "),c=r.direction.indexOf("column")>-1?"column":"row",d=Tl(c)?"max-width":"max-height",u=Tl(c)?"min-width":"min-height",h=String(l).indexOf("calc")>-1,m=h||l==="auto",v=String(l).indexOf("%")>-1&&!h,_=String(l).indexOf("px")>-1||String(l).indexOf("rem")>-1||String(l).indexOf("em")>-1||String(l).indexOf("vw")>-1||String(l).indexOf("vh")>-1,I=h||_;o=o=="0"?0:o,s=s=="0"?0:s;let M=!o&&!s,L={},me={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(l||""){case"":let W=this.layoutConfig.useColumnBasisZero!==!1;l=c==="row"?"0%":W?"0.000000001px":"auto";break;case"initial":case"nogrow":o=0,l="auto";break;case"grow":l="100%";break;case"noshrink":s=0,l="auto";break;case"auto":break;case"none":o=0,s=0,l="auto";break;default:!I&&!v&&!isNaN(l)&&(l=l+"%"),l==="0%"&&(I=!0),l==="0px"&&(l="0%"),h?L=Pn(me,{"flex-grow":o,"flex-shrink":s,"flex-basis":I?l:"100%"}):L=Pn(me,{flex:`${o} ${s} ${I?l:"100%"}`});break}return L.flex||L["flex-grow"]||(h?L=Pn(me,{"flex-grow":o,"flex-shrink":s,"flex-basis":l}):L=Pn(me,{flex:`${o} ${s} ${l}`})),l!=="0%"&&l!=="0px"&&l!=="0.000000001px"&&l!=="auto"&&(L[u]=M||I&&o?l:null,L[d]=M||!m&&s?l:null),!L[u]&&!L[d]?h?L=Pn(me,{"flex-grow":o,"flex-shrink":s,"flex-basis":l}):L=Pn(me,{flex:`${o} ${s} ${l}`}):r.hasWrap&&(L[h?"flex-basis":"flex"]=L[d]?h?L[d]:`${o} ${s} ${L[d]}`:h?L[u]:`${o} ${s} ${L[u]}`),Pn(L,{"box-sizing":"border-box"})}};e.\u0275fac=function(r){return new(r||e)(p(yn))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Wj=["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"],Gj=(()=>{let e=class e extends br{get shrink(){return this.flexShrink}set shrink(n){this.flexShrink=n||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(n){this.flexGrow=n||"1",this.triggerReflow()}constructor(n,r,o,s,a){super(n,s,r,a),this.layoutConfig=o,this.marshal=a,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(te(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(te(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(n){let o=n.value.split(" ");this.direction=o[0],this.wrap=o[1]!==void 0&&o[1]==="wrap",this.triggerUpdate()}updateWithValue(n){let r=this.layoutConfig.addFlexToParent!==!1;this.direction===void 0&&(this.direction=this.getFlexFlowDirection(this.parentElement,r)),this.wrap===void 0&&(this.wrap=this.hasWrap(this.parentElement));let o=this.direction,s=o.startsWith("row"),a=this.wrap;s&&a?this.styleCache=qj:s&&!a?this.styleCache=Qj:!s&&a?this.styleCache=Yj:!s&&!a&&(this.styleCache=Kj);let l=String(n).replace(";",""),c=by(l,this.flexGrow,this.flexShrink);this.addStyles(c.join(" "),{direction:o,hasWrap:a})}triggerReflow(){let n=this.activatedValue;if(n!==void 0){let r=by(n+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,r.join(" "))}}};e.\u0275fac=function(r){return new(r||e)(f(P),f(Pi),f(yn),f(zj),f(yr))},e.\u0275dir=V({type:e,inputs:{shrink:[w.None,"fxShrink","shrink"],grow:[w.None,"fxGrow","grow"]},features:[Ce]});let t=e;return t})(),sI=(()=>{let e=class e extends Gj{constructor(){super(...arguments),this.inputs=Wj}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=it(e)))(o||e)}})(),e.\u0275dir=V({type:e,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:[Ce]});let t=e;return t})(),Qj=new Map,Kj=new Map,qj=new Map,Yj=new Map;Zj=(()=>{let e=class e extends ei{buildStyles(n,r){let o={},[s,a]=n.split(" ");switch(s){case"center":o["justify-content"]="center";break;case"space-around":o["justify-content"]="space-around";break;case"space-between":o["justify-content"]="space-between";break;case"space-evenly":o["justify-content"]="space-evenly";break;case"end":case"flex-end":o["justify-content"]="flex-end";break;case"start":case"flex-start":default:o["justify-content"]="flex-start";break}switch(a){case"start":case"flex-start":o["align-items"]=o["align-content"]="flex-start";break;case"center":o["align-items"]=o["align-content"]="center";break;case"end":case"flex-end":o["align-items"]=o["align-content"]="flex-end";break;case"space-between":o["align-content"]="space-between",o["align-items"]="stretch";break;case"space-around":o["align-content"]="space-around",o["align-items"]="stretch";break;case"baseline":o["align-content"]="stretch",o["align-items"]="baseline";break;case"stretch":default:o["align-items"]=o["align-content"]="stretch";break}return Pn(o,{display:r.inline?"inline-flex":"flex","flex-direction":r.layout,"box-sizing":"border-box","max-width":a==="stretch"?Tl(r.layout)?null:"100%":null,"max-height":a==="stretch"&&Tl(r.layout)?"100%":null})}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=it(e)))(o||e)}})(),e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),$j=["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"],Xj=(()=>{let e=class e extends br{constructor(n,r,o,s){super(n,o,r,s),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe(te(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(n){let r=this.layout||"row",o=this.inline;r==="row"&&o?this.styleCache=iV:r==="row"&&!o?this.styleCache=Jj:r==="row-reverse"&&o?this.styleCache=oV:r==="row-reverse"&&!o?this.styleCache=tV:r==="column"&&o?this.styleCache=rV:r==="column"&&!o?this.styleCache=eV:r==="column-reverse"&&o?this.styleCache=sV:r==="column-reverse"&&!o&&(this.styleCache=nV),this.addStyles(n,{layout:r,inline:o})}onLayoutChange(n){let r=n.value.split(" ");this.layout=r[0],this.inline=n.value.includes("inline"),Sl.find(o=>o===this.layout)||(this.layout="row"),this.triggerUpdate()}};e.\u0275fac=function(r){return new(r||e)(f(P),f(Pi),f(Zj),f(yr))},e.\u0275dir=V({type:e,features:[Ce]});let t=e;return t})(),aI=(()=>{let e=class e extends Xj{constructor(){super(...arguments),this.inputs=$j}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=it(e)))(o||e)}})(),e.\u0275dir=V({type:e,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:[Ce]});let t=e;return t})(),Jj=new Map,eV=new Map,tV=new Map,nV=new Map,iV=new Map,rV=new Map,oV=new Map,sV=new Map,lI={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null},aV=(()=>{let e=class e extends ei{constructor(n,r){super(),this._styler=n,this._config=r}buildStyles(n,r){return n.endsWith(Lf)?(n=n.slice(0,n.indexOf(Lf)),n=kf(n,this._config.multiplier),pV(n,r.directionality)):{}}sideEffect(n,r,o){let s=o.items;if(n.endsWith(Lf)){n=n.slice(0,n.indexOf(Lf)),n=kf(n,this._config.multiplier);let a=mV(n,o.directionality);this._styler.applyStyleToElements(a,o.items)}else{n=kf(n,this._config.multiplier),n=this.addFallbackUnit(n);let a=s.pop(),l=gV(n,o);this._styler.applyStyleToElements(l,s),this._styler.applyStyleToElements(lI,[a])}}addFallbackUnit(n){return isNaN(+n)?n:`${n}${this._config.defaultUnit}`}};e.\u0275fac=function(r){return new(r||e)(p(Pi),p(yn))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),lV=["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"],cV=(()=>{let e=class e extends br{get childrenNodes(){let n=this.nativeElement.children,r=[];for(let o=n.length;o--;)r[o]=n[o];return r}constructor(n,r,o,s,a,l){super(n,a,s,l),this.zone=r,this.directionality=o,this.styleUtils=s,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.observerSubject=new k;let c=[this.directionality.change,this.observerSubject.asObservable()];this.init(c),this.marshal.trackValue(this.nativeElement,"layout").pipe(te(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(n){let o=n.value.split(" ")[0];Sl.find(s=>s===o)||(o="row"),this.layout&&this.layout!==o&&this.clearStyles(),this.layout=o,this.triggerUpdate()}updateWithValue(n){let r=this.childrenNodes.filter(o=>o.nodeType===1&&this.willDisplay(o)).sort((o,s)=>{let a=+this.styler.lookupStyle(o,"order"),l=+this.styler.lookupStyle(s,"order");return isNaN(a)||isNaN(l)||a===l?0:a>l?1:-1});if(r.length>0){let o=this.directionality.value,s=this.layout;s==="row"&&o==="rtl"?this.styleCache=dV:s==="row"&&o!=="rtl"?this.styleCache=fV:s==="column"&&o==="rtl"?this.styleCache=uV:s==="column"&&o!=="rtl"&&(this.styleCache=hV),this.addStyles(n,{directionality:o,items:r,layout:s})}}clearStyles(){let n=Object.keys(this.mru).length>0,r=n?"padding":dI(this.directionality.value,this.layout);n&&super.clearStyles(),this.styleUtils.applyStyleToElements({[r]:""},this.childrenNodes)}willDisplay(n){let r=this.marshal.getValue(n,"show-hide");return r===!0||r===void 0&&this.styleUtils.lookupStyle(n,"display")!=="none"}buildChildObservable(){this.zone.runOutsideAngular(()=>{typeof MutationObserver<"u"&&(this.observer=new MutationObserver(n=>{let r=o=>o.addedNodes&&o.addedNodes.length>0||o.removedNodes&&o.removedNodes.length>0;n.some(r)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}};e.\u0275fac=function(r){return new(r||e)(f(P),f(F),f(Lt),f(Pi),f(aV),f(yr))},e.\u0275dir=V({type:e,features:[Ce]});let t=e;return t})(),cI=(()=>{let e=class e extends cV{constructor(){super(...arguments),this.inputs=lV}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=it(e)))(o||e)}})(),e.\u0275dir=V({type:e,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:[Ce]});let t=e;return t})(),dV=new Map,uV=new Map,fV=new Map,hV=new Map,Lf=" grid";vV=(()=>{let e=class e extends ei{buildStyles(n,{display:r}){let o=Of(n);return we(A({},o),{display:r==="none"?r:o.display})}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=it(e)))(o||e)}})(),e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),yV=["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"],bV=(()=>{let e=class e extends br{constructor(n,r,o,s,a){super(n,o,r,s),this._config=a,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(n){let o=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=oI.get(o)??new Map,oI.set(o,this.styleCache),this.currentValue!==n&&(this.addStyles(n,{display:o}),this.currentValue=n)}};e.\u0275fac=function(r){return new(r||e)(f(P),f(Pi),f(vV),f(yr),f(yn))},e.\u0275dir=V({type:e,features:[Ce]});let t=e;return t})(),uI=(()=>{let e=class e extends bV{constructor(){super(...arguments),this.inputs=yV}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=it(e)))(o||e)}})(),e.\u0275dir=V({type:e,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:[Ce]});let t=e;return t})(),oI=new Map;_y=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[qs,Yn]});let t=e;return t})();});var xy,Cy=g(()=>{"use strict";O();Ar();xy=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[qs]});let t=e;return t})();});var Ll,z$,wy=g(()=>{"use strict";Ar();Ar();kl();kl();Pf();Pf();Cy();Cy();Ie();O();O();Ll=(()=>{let e=class e{static withConfig(n,r=[]){return{ngModule:e,providers:n.serverLoaded?[{provide:yn,useValue:A(A({},Rf),n)},{provide:Ff,useValue:r,multi:!0},{provide:Rl,useValue:!0}]:[{provide:yn,useValue:A(A({},Rf),n)},{provide:Ff,useValue:r,multi:!0}]}}constructor(n,r){wi(r)&&!n&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}};e.\u0275fac=function(r){return new(r||e)(p(Rl),p(bt))},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[_y,Ay,xy,_y,Ay,xy]});let t=e;return t})();z$=new Gn("17.0.1");});function xV(t,e){if(t&1&&(E(0,"mat-option",12),ue(1),fe(2,"translate"),S()),t&2){let i=e.$implicit,n=e.index;D("value",i),x(),dt(" ",yi(2,2,"voice",Wa(5,_V,n+1))," ")}}function CV(t,e){if(t&1&&(E(0,"mat-icon"),ue(1),S()),t&2){let i=z();x(),dt(" ",i.isPlaying?"stop":"volume_up"," ")}}function wV(t,e){t&1&&ne(0,"mat-spinner",13),t&2&&D("diameter",20)}var _V,fI,hI=g(()=>{"use strict";Ie();O();ho();vf();Af();sD();Ke();_f();Dl();Ml();Il();wy();uo();O();Ie();ho();Dl();Il();Ml();vn();kl();uo();_V=t=>({nth:t});fI=(()=>{var e;let i=class i{constructor(){et(this,e,void 0);this.maxCharLength=1e3,Zt(this,e,y(oD))}get hasOverflow(){let r=document.querySelector("textarea");return r?.clientHeight<r?.scrollHeight}ngOnInit(){this.selected=this.voices[0]}togglePlay(){if(this.isPlaying){this.stop();return}this.isLoading=!0;let r=this.text.length>this.maxCharLength?this.text.substring(0,this.maxCharLength):this.text;if(this.audio&&r===this.previousText&&this.selected.voice===this.previousVoice){this.audio.play(),this.isPlaying=!0,this.isLoading=!1;return}Qe(this,e).play(r,this.selected).pipe(Bt(()=>{this.isLoading=!1})).subscribe({next:o=>{this.previousText=r,this.previousVoice=this.selected.voice;let s=URL.createObjectURL(o);this.audio=new Audio(s),this.audio.play(),this.isPlaying=!0,this.audio.onended=()=>{URL.revokeObjectURL(s),this.isPlaying=!1}}})}stop(){this.audio&&(this.audio.pause(),this.audio.currentTime=0,this.isPlaying=!1)}};e=new WeakMap,i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=ce({type:i,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(o,s){if(o&1&&(E(0,"div",0)(1,"mat-form-field",1)(2,"mat-label"),ue(3),fe(4,"translate"),S(),E(5,"mat-select",2),za("valueChange",function(l){return pu(s.selected,l)||(s.selected=l),l}),Y(6,xV,3,7,"mat-option",3),S()(),E(7,"div",4)(8,"textarea",5),fe(9,"translate"),za("ngModelChange",function(l){return pu(s.text,l)||(s.text=l),l}),S(),E(10,"div",6),ue(11),S()(),E(12,"div",7)(13,"div",8),fe(14,"translate"),E(15,"button",9),fe(16,"translate"),K("click",function(){return s.togglePlay()}),Y(17,CV,2,1,"mat-icon",10)(18,wV,1,1,"mat-spinner",11),S()()()()),o&2){let a;D("ngClass.lt-md","mobile"),x(3),gt(Me(4,15,"selectVoice")),x(2),Ha("value",s.selected),x(),D("ngForOf",s.voices),x(2),Ha("ngModel",s.text),D("placeholder",Me(9,17,"placeholder")),x(2),pe("text-overflow",s.hasOverflow),x(),mu(" ",(a=s.text==null?null:s.text.length)!==null&&a!==void 0?a:0,"/",s.maxCharLength," "),x(2),D("matTooltip",s.text?"":Me(14,19,"playDisabled")),x(2),D("matTooltip",Me(16,21,s.isPlaying?"stop":"play"))("disabled",!s.text||s.isLoading),x(2),D("ngIf",!s.isLoading),x(),D("ngIf",s.isLoading)}},dependencies:[vt,Eu,ys,vo,yo,ef,Ds,Yu,Xu,Bs,El,Gs,Mf,If,Qs,Tf,Sf,Vs,Ll,Fl,lr,Ei],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:-25px}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{color:#fff;background-color:var(--accent)}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{background-color:var(--base-70)}.text-to-speech-characters[_ngcontent-%COMP%]{position:absolute;right:10px;bottom:0;margin:5px;font-size:13px;color:var(--base-65)}.text-overflow[_ngcontent-%COMP%]{right:30px}.mobile[_ngcontent-%COMP%] .text-overflow[_ngcontent-%COMP%]{right:15px}"]});let t=i;return t})()});var mI=g(()=>{"use strict";hI()});var pI,gI=g(()=>{"use strict";pI={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",voice:"Voice {{nth}}"},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 Nf,Ey=g(()=>{"use strict";Cv();mI();gI();O();Nf=(()=>{let e=class e extends Vu{set voices(n){this._voices=typeof n=="string"?JSON.parse(n):n}get voices(){return this._voices}constructor(){super(pI)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=ce({type:e,selectors:[["app-text-to-speech"]],inputs:{voices:"voices"},standalone:!0,features:[Ce,Ee],decls:1,vars:1,consts:[[3,"voices"]],template:function(r,o){r&1&&ne(0,"lib-text-to-speech",0),r&2&&D("voices",o.voices)},dependencies:[fI]});let t=e;return t})()});function Js(t){return new Ty(t)}function EV(t,e,i){let n=i.path.split("/");if(n.length>t.length||i.pathMatch==="full"&&(e.hasChildren()||n.length<t.length))return null;let r={};for(let o=0;o<n.length;o++){let s=n[o],a=t[o];if(s.startsWith(":"))r[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,n.length),posParams:r}}function DV(t,e){if(t.length!==e.length)return!1;for(let i=0;i<t.length;++i)if(!ti(t[i],e[i]))return!1;return!0}function ti(t,e){let i=t?Oy(t):void 0,n=e?Oy(e):void 0;if(!i||!n||i.length!=n.length)return!1;let r;for(let o=0;o<i.length;o++)if(r=i[o],!EI(t[r],e[r]))return!1;return!0}function Oy(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function EI(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;let i=[...t].sort(),n=[...e].sort();return i.every((r,o)=>n[o]===r)}else return t===e}function DI(t){return t.length>0?t[t.length-1]:null}function Er(t){return $t(t)?t:ao(t)?ke(Promise.resolve(t)):R(t)}function vI(t,e,i){return IV[i.paths](t.root,e.root,i.matrixParams)&&II[i.queryParams](t.queryParams,e.queryParams)&&!(i.fragment==="exact"&&t.fragment!==e.fragment)}function MV(t,e){return ti(t,e)}function MI(t,e,i){if(!wo(t.segments,e.segments)||!Bf(t.segments,e.segments,i)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!MI(t.children[n],e.children[n],i))return!1;return!0}function SV(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(i=>EI(t[i],e[i]))}function SI(t,e,i){return TI(t,e,e.segments,i)}function TI(t,e,i,n){if(t.segments.length>i.length){let r=t.segments.slice(0,i.length);return!(!wo(r,i)||e.hasChildren()||!Bf(r,i,n))}else if(t.segments.length===i.length){if(!wo(t.segments,i)||!Bf(t.segments,i,n))return!1;for(let r in e.children)if(!t.children[r]||!SI(t.children[r],e.children[r],n))return!1;return!0}else{let r=i.slice(0,t.segments.length),o=i.slice(t.segments.length);return!wo(t.segments,r)||!Bf(t.segments,r,n)||!t.children[he]?!1:TI(t.children[he],e,o,n)}}function Bf(t,e,i){return e.every((n,r)=>II[i](t[r].parameters,n.parameters))}function TV(t,e){return wo(t,e)&&t.every((i,n)=>ti(i.parameters,e[n].parameters))}function wo(t,e){return t.length!==e.length?!1:t.every((i,n)=>i.path===e[n].path)}function OV(t,e){let i=[];return Object.entries(t.children).forEach(([n,r])=>{n===he&&(i=i.concat(e(r,n)))}),Object.entries(t.children).forEach(([n,r])=>{n!==he&&(i=i.concat(e(r,n)))}),i}function Uf(t){return t.segments.map(e=>RI(e)).join("/")}function Pl(t,e){if(!t.hasChildren())return Uf(t);if(e){let i=t.children[he]?Pl(t.children[he],!1):"",n=[];return Object.entries(t.children).forEach(([r,o])=>{r!==he&&n.push(`${r}:${Pl(o,!1)}`)}),n.length>0?`${i}(${n.join("//")})`:i}else{let i=OV(t,(n,r)=>r===he?[Pl(t.children[he],!1)]:[`${r}:${Pl(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[he]!=null?`${Uf(t)}/${i[0]}`:`${Uf(t)}/(${i.join("//")})`}}function OI(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function jf(t){return OI(t).replace(/%3B/gi,";")}function FV(t){return encodeURI(t)}function Ry(t){return OI(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Hf(t){return decodeURIComponent(t)}function yI(t){return Hf(t.replace(/\+/g,"%20"))}function RI(t){return`${Ry(t.path)}${kV(t.parameters)}`}function kV(t){return Object.entries(t).map(([e,i])=>`;${Ry(e)}=${Ry(i)}`).join("")}function LV(t){let e=Object.entries(t).map(([i,n])=>Array.isArray(n)?n.map(r=>`${jf(i)}=${jf(r)}`).join("&"):`${jf(i)}=${jf(n)}`).filter(i=>i);return e.length?`?${e.join("&")}`:""}function Dy(t){let e=t.match(PV);return e?e[0]:""}function jV(t){let e=t.match(NV);return e?e[0]:""}function BV(t){let e=t.match(VV);return e?e[0]:""}function HV(t){let e=t.match(UV);return e?e[0]:""}function FI(t){return t.segments.length>0?new Fe([],{[he]:t}):t}function kI(t){let e={};for(let[n,r]of Object.entries(t.children)){let o=kI(r);if(n===he&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}let i=new Fe(t.segments,e);return zV(i)}function zV(t){if(t.numberOfChildren===1&&t.children[he]){let e=t.children[he];return new Fe(t.segments.concat(e.segments),e.children)}return t}function ea(t){return t instanceof _r}function WV(t,e,i=null,n=null){let r=LI(t);return PI(r,e,i,n)}function LI(t){let e;function i(o){let s={};for(let l of o.children){let c=i(l);s[l.outlet]=c}let a=new Fe(o.url,s);return o===t&&(e=a),a}let n=i(t.root),r=FI(n);return e??r}function PI(t,e,i,n){let r=t;for(;r.parent;)r=r.parent;if(e.length===0)return Iy(r,r,r,i,n);let o=GV(e);if(o.toRoot())return Iy(r,r,new Fe([],{}),i,n);let s=QV(o,r,t),a=s.processChildren?Vl(s.segmentGroup,s.index,o.commands):jI(s.segmentGroup,s.index,o.commands);return Iy(r,s.segmentGroup,a,i,n)}function zf(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function zl(t){return typeof t=="object"&&t!=null&&t.outlets}function Iy(t,e,i,n,r){let o={};n&&Object.entries(n).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(d=>`${d}`):`${c}`});let s;t===e?s=i:s=NI(t,e,i);let a=FI(kI(s));return new _r(a,o,r)}function NI(t,e,i){let n={};return Object.entries(t.children).forEach(([r,o])=>{o===e?n[r]=i:n[r]=NI(o,e,i)}),new Fe(t.segments,n)}function GV(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Wf(!0,0,t);let e=0,i=!1,n=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===""?i=!0:a===".."?e++:a!=""&&r.push(a))}),r):[...r,o]},[]);return new Wf(i,e,n)}function QV(t,e,i){if(t.isAbsolute)return new $s(e,!0,0);if(!i)return new $s(e,!1,NaN);if(i.parent===null)return new $s(i,!0,0);let n=zf(t.commands[0])?0:1,r=i.segments.length-1+n;return KV(i,r,t.numberOfDoubleDots)}function KV(t,e,i){let n=t,r=e,o=i;for(;o>r;){if(o-=r,n=n.parent,!n)throw new T(4005,!1);r=n.segments.length}return new $s(n,!1,r-o)}function qV(t){return zl(t[0])?t[0].outlets:{[he]:t}}function jI(t,e,i){if(t??=new Fe([],{}),t.segments.length===0&&t.hasChildren())return Vl(t,e,i);let n=YV(t,e,i),r=i.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let o=new Fe(t.segments.slice(0,n.pathIndex),{});return o.children[he]=new Fe(t.segments.slice(n.pathIndex),t.children),Vl(o,0,r)}else return n.match&&r.length===0?new Fe(t.segments,{}):n.match&&!t.hasChildren()?ky(t,e,i):n.match?Vl(t,0,r):ky(t,e,i)}function Vl(t,e,i){if(i.length===0)return new Fe(t.segments,{});{let n=qV(i),r={};if(Object.keys(n).some(o=>o!==he)&&t.children[he]&&t.numberOfChildren===1&&t.children[he].segments.length===0){let o=Vl(t.children[he],e,i);return new Fe(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(r[o]=jI(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(r[o]=s)}),new Fe(t.segments,r)}}function YV(t,e,i){let n=0,r=e,o={match:!1,pathIndex:0,commandIndex:0};for(;r<t.segments.length;){if(n>=i.length)return o;let s=t.segments[r],a=i[n];if(zl(a))break;let l=`${a}`,c=n<i.length-1?i[n+1]:null;if(r>0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!AI(l,c,s))return o;n+=2}else{if(!AI(l,{},s))return o;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}function ky(t,e,i){let n=t.segments.slice(0,e),r=0;for(;r<i.length;){let o=i[r];if(zl(o)){let l=ZV(o.outlets);return new Fe(n,l)}if(r===0&&zf(i[0])){let l=t.segments[e];n.push(new Co(l.path,bI(i[0]))),r++;continue}let s=zl(o)?o.outlets[he]:`${o}`,a=r<i.length-1?i[r+1]:null;s&&a&&zf(a)?(n.push(new Co(s,bI(a))),r+=2):(n.push(new Co(s,{})),r++)}return new Fe(n,{})}function ZV(t){let e={};return Object.entries(t).forEach(([i,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(e[i]=ky(new Fe([],{}),0,n))}),e}function bI(t){let e={};return Object.entries(t).forEach(([i,n])=>e[i]=`${n}`),e}function AI(t,e,i){return t==i.path&&ti(e,i.parameters)}function Qy(t,e){if(t===e.value)return e;for(let i of e.children){let n=Qy(t,i);if(n)return n}return null}function Ky(t,e){if(t===e.value)return[e];for(let i of e.children){let n=Ky(t,i);if(n.length)return n.unshift(e),n}return[]}function Zs(t){let e={};return t&&t.children.forEach(i=>e[i.value.outlet]=i),e}function VI(t){let e=$V(t),i=new ot([new Co("",{})]),n=new ot({}),r=new ot({}),o=new ot({}),s=new ot(""),a=new Eo(i,n,o,s,r,he,t,e.root);return a.snapshot=e.root,new Yf(new rn(a,[]),e)}function $V(t){let e={},i={},n={},r="",o=new Kl([],e,n,r,i,he,t,null,{});return new Zf("",new rn(o,[]))}function nb(t,e,i="emptyOnly"){let n,{routeConfig:r}=t;return e!==null&&(i==="always"||r?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:A(A({},e.params),t.params),data:A(A({},e.data),t.data),resolve:A(A(A(A({},t.data),e.data),r?.data),t._resolvedData)}:n={params:A({},t.params),data:A({},t.data),resolve:A(A({},t.data),t._resolvedData??{})},r&&UI(r)&&(n.resolve[Zl]=r.title),n}function ib(t,e){e.value._routerState=t,e.children.forEach(i=>ib(t,i))}function BI(t){let e=t.children.length>0?` { ${t.children.map(BI).join(", ")} } `:"";return`${t.value}${e}`}function My(t){if(t.snapshot){let e=t.snapshot,i=t._futureSnapshot;t.snapshot=i,ti(e.queryParams,i.queryParams)||t.queryParamsSubject.next(i.queryParams),e.fragment!==i.fragment&&t.fragmentSubject.next(i.fragment),ti(e.params,i.params)||t.paramsSubject.next(i.params),DV(e.url,i.url)||t.urlSubject.next(i.url),ti(e.data,i.data)||t.dataSubject.next(i.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function qy(t,e){let i=ti(t.params,e.params)&&TV(t.url,e.url),n=!t.parent!=!e.parent;return i&&!n&&(!t.parent||qy(t.parent,e.parent))}function UI(t){return typeof t.title=="string"||t.title===null}function JV(t,e,i){let n=ql(t,e._root,i?i._root:void 0);return new Yf(n,e)}function ql(t,e,i){if(i&&t.shouldReuseRoute(e.value,i.value.snapshot)){let n=i.value;n._futureSnapshot=e.value;let r=eB(t,e,i);return new rn(n,r)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>ql(t,a)),s}}let n=tB(e.value),r=e.children.map(o=>ql(t,o));return new rn(n,r)}}function eB(t,e,i){return e.children.map(n=>{for(let r of i.children)if(t.shouldReuseRoute(n.value,r.value.snapshot))return ql(t,n,r);return ql(t,n)})}function tB(t){return new Eo(new ot(t.url),new ot(t.params),new ot(t.queryParams),new ot(t.fragment),new ot(t.data),t.outlet,t.component,t)}function zI(t,e){let{redirectTo:i,navigationBehaviorOptions:n}=ea(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,r=WI(!1,on.Redirect);return r.url=i,r.navigationBehaviorOptions=n,r}function WI(t,e){let i=new Error(`NavigationCancelingError: ${t||""}`);return i[HI]=!0,i.cancellationCode=e,i}function nB(t){return GI(t)&&ea(t.url)}function GI(t){return!!t&&t[HI]}function rB(t,e){return t.providers&&!t._injector&&(t._injector=fu(t.providers,e,`Route: ${t.path}`)),t._injector??e}function rb(t){let e=t.children&&t.children.map(rb),i=e?we(A({},t),{children:e}):A({},t);return!i.component&&!i.loadComponent&&(e||i.loadChildren)&&i.outlet&&i.outlet!==he&&(i.component=iB),i}function ii(t){return t.outlet||he}function oB(t,e){let i=t.filter(n=>ii(n)===e);return i.push(...t.filter(n=>ii(n)!==e)),i}function Jl(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let i=e.routeConfig;if(i?._loadedInjector)return i._loadedInjector;if(i?._injector)return i._injector}return null}function aB(t,e,i){let n=t._root,r=e?e._root:null;return Nl(n,r,i,[n.value])}function lB(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function ia(t,e){let i=Symbol(),n=e.get(t,i);return n===i?typeof t=="function"&&!S_(t)?t:e.get(t):n}function Nl(t,e,i,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=Zs(e);return t.children.forEach(s=>{cB(s,o[s.value.outlet],i,n.concat([s.value]),r),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Ul(a,i.getContext(s),r)),r}function cB(t,e,i,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=i?i.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=dB(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new $f(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Nl(t,e,a?a.children:null,n,r):Nl(t,e,i,n,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Xs(a.outlet.component,s))}else s&&Ul(e,a,r),r.canActivateChecks.push(new $f(n)),o.component?Nl(t,null,a?a.children:null,n,r):Nl(t,null,i,n,r);return r}function dB(t,e,i){if(typeof i=="function")return i(t,e);switch(i){case"pathParamsChange":return!wo(t.url,e.url);case"pathParamsOrQueryParamsChange":return!wo(t.url,e.url)||!ti(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!qy(t,e)||!ti(t.queryParams,e.queryParams);case"paramsChange":default:return!qy(t,e)}}function Ul(t,e,i){let n=Zs(t),r=t.value;Object.entries(n).forEach(([o,s])=>{r.component?e?Ul(s,e.children.getContext(o),i):Ul(s,null,i):Ul(s,e,i)}),r.component?e&&e.outlet&&e.outlet.isActivated?i.canDeactivateChecks.push(new Xs(e.outlet.component,r)):i.canDeactivateChecks.push(new Xs(null,r)):i.canDeactivateChecks.push(new Xs(null,r))}function ec(t){return typeof t=="function"}function uB(t){return typeof t=="boolean"}function fB(t){return t&&ec(t.canLoad)}function hB(t){return t&&ec(t.canActivate)}function mB(t){return t&&ec(t.canActivateChild)}function pB(t){return t&&ec(t.canDeactivate)}function gB(t){return t&&ec(t.canMatch)}function QI(t){return t instanceof si||t?.name==="EmptyError"}function na(){return Be(t=>Br(t.map(e=>e.pipe(Ae(1),Ct(Vf)))).pipe(B(e=>{for(let i of e)if(i!==!0){if(i===Vf)return Vf;if(i===!1||i instanceof _r)return i}return!0}),de(e=>e!==Vf),Ae(1)))}function vB(t,e){return Ve(i=>{let{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=i;return s.length===0&&o.length===0?R(we(A({},i),{guardsResult:!0})):yB(s,n,r,t).pipe(Ve(a=>a&&uB(a)?bB(n,o,t,e):R(a)),B(a=>we(A({},i),{guardsResult:a})))})}function yB(t,e,i,n){return ke(t).pipe(Ve(r=>wB(r.component,r.route,i,e,n)),Bn(r=>r!==!0,!0))}function bB(t,e,i,n){return ke(e).pipe(wn(r=>Xt(_B(r.route.parent,n),AB(r.route,n),CB(t,r.path,i),xB(t,r.route,i))),Bn(r=>r!==!0,!0))}function AB(t,e){return t!==null&&e&&e(new zy(t)),R(!0)}function _B(t,e){return t!==null&&e&&e(new Uy(t)),R(!0)}function xB(t,e,i){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return R(!0);let r=n.map(o=>Jt(()=>{let s=Jl(e)??i,a=ia(o,s),l=hB(a)?a.canActivate(e,t):On(s,()=>a(e,t));return Er(l).pipe(Bn())}));return R(r).pipe(na())}function CB(t,e,i){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>lB(s)).filter(s=>s!==null).map(s=>Jt(()=>{let a=s.guards.map(l=>{let c=Jl(s.node)??i,d=ia(l,c),u=mB(d)?d.canActivateChild(n,t):On(c,()=>d(n,t));return Er(u).pipe(Bn())});return R(a).pipe(na())}));return R(o).pipe(na())}function wB(t,e,i,n,r){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return R(!0);let s=o.map(a=>{let l=Jl(e)??r,c=ia(a,l),d=pB(c)?c.canDeactivate(t,e,i,n):On(l,()=>c(t,e,i,n));return Er(d).pipe(Bn())});return R(s).pipe(na())}function EB(t,e,i,n){let r=e.canLoad;if(r===void 0||r.length===0)return R(!0);let o=r.map(s=>{let a=ia(s,t),l=fB(a)?a.canLoad(e,i):On(t,()=>a(e,i));return Er(l)});return R(o).pipe(na(),KI(n))}function KI(t){return Kh(Le(e=>{if(ea(e))throw zI(t,e)}),B(e=>e===!0))}function DB(t,e,i,n){let r=e.canMatch;if(!r||r.length===0)return R(!0);let o=r.map(s=>{let a=ia(s,t),l=gB(a)?a.canMatch(e,i):On(t,()=>a(e,i));return Er(l)});return R(o).pipe(na(),KI(n))}function Ys(t){return Bi(new Yl(t))}function IB(t){return Bi(new T(4e3,!1))}function MB(t){return Bi(WI(!1,on.GuardRejected))}function SB(t,e,i,n,r){let o=ob(t,e,i);return o.matched?(n=rB(e,n),DB(n,e,i,r).pipe(B(s=>s===!0?o:A({},Xy)))):R(o)}function ob(t,e,i){if(e.path==="**")return TB(i);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||i.length>0)?A({},Xy):{matched:!0,consumedSegments:[],remainingSegments:i,parameters:{},positionalParamSegments:{}};let r=(e.matcher||EV)(i,t,e);if(!r)return A({},Xy);let o={};Object.entries(r.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=r.consumed.length>0?A(A({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:i.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function TB(t){return{matched:!0,parameters:t.length>0?DI(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function xI(t,e,i,n){return i.length>0&&FB(t,i,n)?{segmentGroup:new Fe(e,RB(n,new Fe(i,t.children))),slicedSegments:[]}:i.length===0&&kB(t,i,n)?{segmentGroup:new Fe(t.segments,OB(t,i,n,t.children)),slicedSegments:i}:{segmentGroup:new Fe(t.segments,t.children),slicedSegments:i}}function OB(t,e,i,n){let r={};for(let o of i)if(nh(t,e,o)&&!n[ii(o)]){let s=new Fe([],{});r[ii(o)]=s}return A(A({},n),r)}function RB(t,e){let i={};i[he]=e;for(let n of t)if(n.path===""&&ii(n)!==he){let r=new Fe([],{});i[ii(n)]=r}return i}function FB(t,e,i){return i.some(n=>nh(t,e,n)&&ii(n)!==he)}function kB(t,e,i){return i.some(n=>nh(t,e,n))}function nh(t,e,i){return(t.hasChildren()||e.length>0)&&i.pathMatch==="full"?!1:i.path===""}function LB(t,e,i,n){return ii(t)!==n&&(n===he||!nh(e,i,t))?!1:ob(e,t,i).matched}function PB(t,e,i){return e.length===0&&!t.children[i]}function NB(t,e,i,n,r,o,s="emptyOnly"){return new eb(t,e,i,n,r,s,o).recognize()}function VB(t){t.sort((e,i)=>e.value.outlet===he?-1:i.value.outlet===he?1:e.value.outlet.localeCompare(i.value.outlet))}function BB(t){let e=t.value.routeConfig;return e&&e.path===""}function qI(t){let e=[],i=new Set;for(let n of t){if(!BB(n)){e.push(n);continue}let r=e.find(o=>n.value.routeConfig===o.value.routeConfig);r!==void 0?(r.children.push(...n.children),i.add(r)):e.push(n)}for(let n of i){let r=qI(n.children);e.push(new rn(n.value,r))}return e.filter(n=>!i.has(n))}function UB(t){return t.data||{}}function HB(t){return t.resolve||{}}function zB(t,e,i,n,r,o){return Ve(s=>NB(t,e,i,n,s.extractedUrl,r,o).pipe(B(({state:a,tree:l})=>we(A({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function WB(t,e){return Ve(i=>{let{targetSnapshot:n,guards:{canActivateChecks:r}}=i;if(!r.length)return R(i);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 YI(l))s.add(c);let a=0;return ke(s).pipe(wn(l=>o.has(l)?GB(l,n,t,e):(l.data=nb(l,l.parent,t).resolve,R(void 0))),Le(()=>a++),Ko(1),Ve(l=>a===s.size?R(i):Vt))})}function YI(t){let e=t.children.map(i=>YI(i)).flat();return[t,...e]}function GB(t,e,i,n){let r=t.routeConfig,o=t._resolve;return r?.title!==void 0&&!UI(r)&&(o[Zl]=r.title),QB(o,t,e,n).pipe(B(s=>(t._resolvedData=s,t.data=nb(t,t.parent,i).resolve,null)))}function QB(t,e,i,n){let r=Oy(t);if(r.length===0)return R({});let o={};return ke(r).pipe(Ve(s=>KB(t[s],e,i,n).pipe(Bn(),Le(a=>{o[s]=a}))),Ko(1),ya(o),en(s=>QI(s)?Vt:Bi(s)))}function KB(t,e,i,n){let r=Jl(e)??n,o=ia(t,r),s=o.resolve?o.resolve(e,i):On(r,()=>o(e,i));return Er(s)}function Sy(t){return Be(e=>{let i=t(e);return i?ke(i).pipe(B(()=>e)):R(e)})}function YB(t,e,i,n){return Er(t.loadChildren()).pipe(B($I),Ve(r=>r instanceof Oa||Array.isArray(r)?R(r):ke(e.compileModuleAsync(r))),B(r=>{n&&n(t);let o,s,a=!1;return Array.isArray(r)?(s=r,a=!0):(o=r.create(i).injector,s=o.get(Jf,[],{optional:!0,self:!0}).flat()),{routes:s.map(rb),injector:o}}))}function ZB(t){return t&&typeof t=="object"&&"default"in t}function $I(t){return ZB(t)?t.default:t}function XB(t,e,i){let n=t.get(JI),r=t.get(U);return t.get(F).runOutsideAngular(()=>{if(!r.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,s=new Promise(c=>{o=c}),a=r.startViewTransition(()=>(o(),JB(t))),{onViewTransitionCreated:l}=n;return l&&On(t,()=>l({transition:a,from:e,to:i})),s})}function JB(t){return new Promise(e=>{du(e,{injector:t})})}function e3(t){return t!==Bl}function tM(t,e){t.events.pipe(de(i=>i instanceof ni||i instanceof xr||i instanceof Wl||i instanceof Cr),B(i=>i instanceof ni||i instanceof Cr?jl.COMPLETE:(i instanceof xr?i.code===on.Redirect||i.code===on.SupersededByNewNavigation:!1)?jl.REDIRECTING:jl.FAILED),de(i=>i!==jl.REDIRECTING),Ae(1)).subscribe(()=>{e()})}function r3(t){throw t}function a3(t){for(let e=0;e<t.length;e++)if(t[e]==null)throw new T(4008,!1)}function l3(t){return!(t instanceof Gl)&&!(t instanceof Ql)}function u3(t){return t.routerState.root}function nc(t,e){return{\u0275kind:t,\u0275providers:e}}function f3(){let t=y(Xe);return e=>{let i=t.get(kn);if(e!==i.components[0])return;let n=t.get(wr),r=t.get(rM);t.get(cb)===1&&n.initialNavigation(),t.get(oM,null,xe.Optional)?.setUpPreloading(),t.get(iM,null,xe.Optional)?.init(),n.resetRootComponentType(i.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}function h3(){return nc(2,[{provide:cb,useValue:0},{provide:yu,multi:!0,deps:[Xe],useFactory:e=>{let i=e.get(pw,Promise.resolve());return()=>i.then(()=>new Promise(n=>{let r=e.get(wr),o=e.get(rM);tM(r,()=>{n(!0)}),e.get(lb).afterPreactivation=()=>(n(!0),o.closed?R(void 0):o),r.initialNavigation()}))}}])}function m3(){return nc(3,[{provide:yu,multi:!0,useFactory:()=>{let e=y(wr);return()=>{e.setUpLocationChangeListener()}}},{provide:cb,useValue:2}])}function p3(t){return nc(0,[{provide:oM,useExisting:c3},{provide:eh,useExisting:t}])}function g3(){return nc(8,[_I,{provide:th,useExisting:_I}])}function v3(t){let e=[{provide:XI,useValue:XB},{provide:JI,useValue:A({skipNextTransition:!!t?.skipInitialTransition},t)}];return nc(9,e)}function b3(){return{provide:iM,useFactory:()=>{let t=y(bw),e=y(F),i=y(tc),n=y(lb),r=y($l);return i.scrollOffset&&t.setOffset(i.scrollOffset),new d3(r,n,t,e,i)}}}function A3(){return{provide:xi,useClass:vw}}function _3(){return{provide:xi,useClass:ev}}function x3(t){return"guarded"}function C3(t){return[t.initialNavigation==="disabled"?m3().\u0275providers:[],t.initialNavigation==="enabledBlocking"?h3().\u0275providers:[]]}function w3(){return[{provide:wI,useFactory:f3},{provide:gs,multi:!0,useExisting:wI}]}var he,Zl,Ty,IV,II,_r,Fe,Co,$l,Hl,RV,PV,NV,VV,UV,Fy,Wf,$s,Bl,xt,bn,ta,ni,on,Gf,xr,Cr,Wl,Qf,Ly,Py,Ny,jy,Vy,By,Uy,Hy,zy,Wy,Kf,Gl,Ql,Gy,Xl,qf,rn,Yf,Eo,Kl,Zf,XV,Yy,th,_I,HI,iB,sB,Zy,$f,Xs,Vf,Yl,Xf,$y,Xy,Jy,jB,eb,ZI,qB,tc,Jf,sb,ab,$B,XI,JI,lb,t3,tb,n3,eM,i3,jl,o3,s3,wr,nM,eh,c3,iM,d3,rM,cb,oM,CI,y3,sM,wI,db=g(()=>{"use strict";O();O();Ke();Ie();Ie();at();As();he="primary",Zl=Symbol("RouteTitle"),Ty=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let i=this.params[e];return Array.isArray(i)?i[0]:i}return null}getAll(e){if(this.has(e)){let i=this.params[e];return Array.isArray(i)?i:[i]}return[]}get keys(){return Object.keys(this.params)}};IV={exact:MI,subset:SI},II={exact:MV,subset:SV,ignored:()=>!0};_r=class{constructor(e=new Fe([],{}),i={},n=null){this.root=e,this.queryParams=i,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Js(this.queryParams),this._queryParamMap}toString(){return RV.serialize(this)}},Fe=class{constructor(e,i){this.segments=e,this.children=i,this.parent=null,Object.values(i).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Uf(this)}},Co=class{constructor(e,i){this.path=e,this.parameters=i}get parameterMap(){return this._parameterMap??=Js(this.parameters),this._parameterMap}toString(){return RI(this)}};$l=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:()=>new Hl,providedIn:"root"});let t=e;return t})(),Hl=class{parse(e){let i=new Fy(e);return new _r(i.parseRootSegment(),i.parseQueryParams(),i.parseFragment())}serialize(e){let i=`/${Pl(e.root,!0)}`,n=LV(e.queryParams),r=typeof e.fragment=="string"?`#${FV(e.fragment)}`:"";return`${i}${n}${r}`}},RV=new Hl;PV=/^[^\/()?;#]+/;NV=/^[^\/()?;=#]+/;VV=/^[^=?&#]+/;UV=/^[^&#]+/;Fy=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Fe([],{}):new Fe([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(i).length>0)&&(n[he]=new Fe(e,i)),n}parseSegment(){let e=Dy(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new T(4009,!1);return this.capture(e),new Co(Hf(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let i=jV(this.remaining);if(!i)return;this.capture(i);let n="";if(this.consumeOptional("=")){let r=Dy(this.remaining);r&&(n=r,this.capture(n))}e[Hf(i)]=Hf(n)}parseQueryParam(e){let i=BV(this.remaining);if(!i)return;this.capture(i);let n="";if(this.consumeOptional("=")){let s=HV(this.remaining);s&&(n=s,this.capture(n))}let r=yI(i),o=yI(n);if(e.hasOwnProperty(r)){let s=e[r];Array.isArray(s)||(s=[s],e[r]=s),s.push(o)}else e[r]=o}parseParens(e){let i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Dy(this.remaining),r=this.remaining[n.length];if(r!=="/"&&r!==")"&&r!==";")throw new T(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=he);let s=this.parseChildren();i[o]=Object.keys(s).length===1?s[he]:new Fe([],s),this.consumeOptional("//")}return i}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new T(4011,!1)}};Wf=class{constructor(e,i,n){if(this.isAbsolute=e,this.numberOfDoubleDots=i,this.commands=n,e&&n.length>0&&zf(n[0]))throw new T(4003,!1);let r=n.find(zl);if(r&&r!==DI(n))throw new T(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};$s=class{constructor(e,i,n){this.segmentGroup=e,this.processChildren=i,this.index=n}};Bl="imperative",xt=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}(xt||{}),bn=class{constructor(e,i){this.id=e,this.url=i}},ta=class extends bn{constructor(e,i,n="imperative",r=null){super(e,i),this.type=xt.NavigationStart,this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},ni=class extends bn{constructor(e,i,n){super(e,i),this.urlAfterRedirects=n,this.type=xt.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},on=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(on||{}),Gf=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Gf||{}),xr=class extends bn{constructor(e,i,n,r){super(e,i),this.reason=n,this.code=r,this.type=xt.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Cr=class extends bn{constructor(e,i,n,r){super(e,i),this.reason=n,this.code=r,this.type=xt.NavigationSkipped}},Wl=class extends bn{constructor(e,i,n,r){super(e,i),this.error=n,this.target=r,this.type=xt.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Qf=class extends bn{constructor(e,i,n,r){super(e,i),this.urlAfterRedirects=n,this.state=r,this.type=xt.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ly=class extends bn{constructor(e,i,n,r){super(e,i),this.urlAfterRedirects=n,this.state=r,this.type=xt.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Py=class extends bn{constructor(e,i,n,r,o){super(e,i),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=o,this.type=xt.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Ny=class extends bn{constructor(e,i,n,r){super(e,i),this.urlAfterRedirects=n,this.state=r,this.type=xt.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},jy=class extends bn{constructor(e,i,n,r){super(e,i),this.urlAfterRedirects=n,this.state=r,this.type=xt.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Vy=class{constructor(e){this.route=e,this.type=xt.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},By=class{constructor(e){this.route=e,this.type=xt.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Uy=class{constructor(e){this.snapshot=e,this.type=xt.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Hy=class{constructor(e){this.snapshot=e,this.type=xt.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},zy=class{constructor(e){this.snapshot=e,this.type=xt.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Wy=class{constructor(e){this.snapshot=e,this.type=xt.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Kf=class{constructor(e,i,n){this.routerEvent=e,this.position=i,this.anchor=n,this.type=xt.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Gl=class{},Ql=class{constructor(e){this.url=e}},Gy=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Xl,this.attachRef=null}},Xl=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){let o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Gy,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),qf=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let i=this.pathFromRoot(e);return i.length>1?i[i.length-2]:null}children(e){let i=Qy(e,this._root);return i?i.children.map(n=>n.value):[]}firstChild(e){let i=Qy(e,this._root);return i&&i.children.length>0?i.children[0].value:null}siblings(e){let i=Ky(e,this._root);return i.length<2?[]:i[i.length-2].children.map(r=>r.value).filter(r=>r!==e)}pathFromRoot(e){return Ky(e,this._root).map(i=>i.value)}};rn=class{constructor(e,i){this.value=e,this.children=i}toString(){return`TreeNode(${this.value})`}};Yf=class extends qf{constructor(e,i){super(e),this.snapshot=i,ib(this,e)}toString(){return this.snapshot.toString()}};Eo=class{constructor(e,i,n,r,o,s,a,l){this.urlSubject=e,this.paramsSubject=i,this.queryParamsSubject=n,this.fragmentSubject=r,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(B(c=>c[Zl]))??R(void 0),this.url=e,this.params=i,this.queryParams=n,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(B(e=>Js(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(B(e=>Js(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};Kl=class{get title(){return this.data?.[Zl]}constructor(e,i,n,r,o,s,a,l,c){this.url=e,this.params=i,this.queryParams=n,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??=Js(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Js(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),i=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${i}')`}},Zf=class extends qf{constructor(e,i){super(i),this.url=e,ib(this,i)}toString(){return BI(this._root)}};XV=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=he,this.activateEvents=new G,this.deactivateEvents=new G,this.attachEvents=new G,this.detachEvents=new G,this.parentContexts=y(Xl),this.location=y(pt),this.changeDetector=y(Pe),this.environmentInjector=y(Ot),this.inputBinder=y(th,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.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 n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new T(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,c=new Yy(n,l,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:c,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=V({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[He]});let t=e;return t})(),Yy=class t{__ngOutletInjector(e){return new t(this.route,this.childContexts,e)}constructor(e,i,n){this.route=e,this.childContexts=i,this.parent=n}get(e,i){return e===Eo?this.route:e===Xl?this.childContexts:this.parent.get(e,i)}},th=new C(""),_I=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:r}=n,o=Br([r.queryParams,r.params,r.data]).pipe(Be(([s,a,l],c)=>(l=A(A(A({},s),a),l),c===0?R(l):Promise.resolve(l)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(n);return}let a=sw(r.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:l}of a.inputs)n.activatedComponentRef.setInput(l,s[l])});this.outletDataSubscriptions.set(n,o)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})();HI="ngNavigationCancelingError";iB=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=ce({type:e,selectors:[["ng-component"]],standalone:!0,features:[Ee],decls:1,vars:0,template:function(r,o){r&1&&ne(0,"router-outlet")},dependencies:[XV],encapsulation:2});let t=e;return t})();sB=(t,e,i,n)=>B(r=>(new Zy(e,r.targetRouterState,r.currentRouterState,i,n).activate(t),r)),Zy=class{constructor(e,i,n,r,o){this.routeReuseStrategy=e,this.futureState=i,this.currState=n,this.forwardEvent=r,this.inputBindingEnabled=o}activate(e){let i=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(i,n,e),My(this.futureState.root),this.activateChildRoutes(i,n,e)}deactivateChildRoutes(e,i,n){let r=Zs(i);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,r[s],n),delete r[s]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,i,n){let r=e.value,o=i?i.value:null;if(r===o)if(r.component){let s=n.getContext(r.outlet);s&&this.deactivateChildRoutes(e,i,s.children)}else this.deactivateChildRoutes(e,i,n);else o&&this.deactivateRouteAndItsChildren(i,n)}deactivateRouteAndItsChildren(e,i){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,i):this.deactivateRouteAndOutlet(e,i)}detachAndStoreRouteSubtree(e,i){let n=i.getContext(e.value.outlet),r=n&&e.value.component?n.children:i,o=Zs(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,i){let n=i.getContext(e.value.outlet),r=n&&e.value.component?n.children:i,o=Zs(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,i,n){let r=Zs(i);e.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],n),this.forwardEvent(new Wy(o.value.snapshot))}),e.children.length&&this.forwardEvent(new Hy(e.value.snapshot))}activateRoutes(e,i,n){let r=e.value,o=i?i.value:null;if(My(r),r===o)if(r.component){let s=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,i,s.children)}else this.activateChildRoutes(e,i,n);else if(r.component){let s=n.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),My(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Jl(r.snapshot);s.attachRef=null,s.route=r,s.injector=a,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},$f=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Xs=class{constructor(e,i){this.component=e,this.route=i}};Vf=Symbol("INITIAL_VALUE");Yl=class{constructor(e){this.segmentGroup=e||null}},Xf=class extends Error{constructor(e){super(),this.urlTree=e}};$y=class{constructor(e,i){this.urlSerializer=e,this.urlTree=i}lineralizeSegments(e,i){let n=[],r=i.root;for(;;){if(n=n.concat(r.segments),r.numberOfChildren===0)return R(n);if(r.numberOfChildren>1||!r.children[he])return IB(e.redirectTo);r=r.children[he]}}applyRedirectCommands(e,i,n){let r=this.applyRedirectCreateUrlTree(i,this.urlSerializer.parse(i),e,n);if(i.startsWith("/"))throw new Xf(r);return r}applyRedirectCreateUrlTree(e,i,n,r){let o=this.createSegmentGroup(e,i.root,n,r);return new _r(o,this.createQueryParams(i.queryParams,this.urlTree.queryParams),i.fragment)}createQueryParams(e,i){let n={};return Object.entries(e).forEach(([r,o])=>{if(typeof o=="string"&&o.startsWith(":")){let a=o.substring(1);n[r]=i[a]}else n[r]=o}),n}createSegmentGroup(e,i,n,r){let o=this.createSegments(e,i.segments,n,r),s={};return Object.entries(i.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(e,l,n,r)}),new Fe(o,s)}createSegments(e,i,n,r){return i.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,r):this.findOrReturn(o,n))}findPosParam(e,i,n){let r=n[i.path.substring(1)];if(!r)throw new T(4001,!1);return r}findOrReturn(e,i){let n=0;for(let r of i){if(r.path===e.path)return i.splice(n),r;n++}return e}},Xy={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};Jy=class{};jB=31,eb=class{constructor(e,i,n,r,o,s,a){this.injector=e,this.configLoader=i,this.rootComponentType=n,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new $y(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new T(4002,`'${e.segmentGroup}'`)}recognize(){let e=xI(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(B(i=>{let n=new Kl([],Object.freeze({}),Object.freeze(A({},this.urlTree.queryParams)),this.urlTree.fragment,{},he,this.rootComponentType,null,{}),r=new rn(n,i),o=new Zf("",r),s=WV(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,he).pipe(en(n=>{if(n instanceof Xf)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Yl?this.noMatchError(n):n}))}inheritParamsAndData(e,i){let n=e.value,r=nb(n,i,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),e.children.forEach(o=>this.inheritParamsAndData(o,n))}processSegmentGroup(e,i,n,r){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,i,n):this.processSegment(e,i,n,n.segments,r,!0).pipe(B(o=>o instanceof rn?[o]:[]))}processChildren(e,i,n){let r=[];for(let o of Object.keys(n.children))o==="primary"?r.unshift(o):r.push(o);return ke(r).pipe(wn(o=>{let s=n.children[o],a=oB(i,o);return this.processSegmentGroup(e,a,s,o)}),Mm((o,s)=>(o.push(...s),o)),Wi(null),Im(),Ve(o=>{if(o===null)return Ys(n);let s=qI(o);return VB(s),R(s)}))}processSegment(e,i,n,r,o,s){return ke(i).pipe(wn(a=>this.processSegmentAgainstRoute(a._injector??e,i,a,n,r,o,s).pipe(en(l=>{if(l instanceof Yl)return R(null);throw l}))),Bn(a=>!!a),en(a=>{if(QI(a))return PB(n,r,o)?R(new Jy):Ys(n);throw a}))}processSegmentAgainstRoute(e,i,n,r,o,s,a){return LB(n,r,o,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,r,n,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,r,i,n,o,s):Ys(r):Ys(r)}expandSegmentAgainstRouteUsingRedirect(e,i,n,r,o,s){let{matched:a,consumedSegments:l,positionalParamSegments:c,remainingSegments:d}=ob(i,r,o);if(!a)return Ys(i);r.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>jB&&(this.allowRedirects=!1));let u=this.applyRedirects.applyRedirectCommands(l,r.redirectTo,c);return this.applyRedirects.lineralizeSegments(r,u).pipe(Ve(h=>this.processSegment(e,n,i,h.concat(d),s,!1)))}matchSegmentAgainstRoute(e,i,n,r,o){let s=SB(i,n,r,e,this.urlSerializer);return n.path==="**"&&(i.children={}),s.pipe(Be(a=>a.matched?(e=n._injector??e,this.getChildConfig(e,n,r).pipe(Be(({routes:l})=>{let c=n._loadedInjector??e,{consumedSegments:d,remainingSegments:u,parameters:h}=a,m=new Kl(d,h,Object.freeze(A({},this.urlTree.queryParams)),this.urlTree.fragment,UB(n),ii(n),n.component??n._loadedComponent??null,n,HB(n)),{segmentGroup:v,slicedSegments:_}=xI(i,d,u,l);if(_.length===0&&v.hasChildren())return this.processChildren(c,l,v).pipe(B(M=>M===null?null:new rn(m,M)));if(l.length===0&&_.length===0)return R(new rn(m,[]));let I=ii(n)===o;return this.processSegment(c,l,v,_,I?he:o,!0).pipe(B(M=>new rn(m,M instanceof rn?[M]:[])))}))):Ys(i)))}getChildConfig(e,i,n){return i.children?R({routes:i.children,injector:e}):i.loadChildren?i._loadedRoutes!==void 0?R({routes:i._loadedRoutes,injector:i._loadedInjector}):EB(e,i,n,this.urlSerializer).pipe(Ve(r=>r?this.configLoader.loadChildren(e,i).pipe(Le(o=>{i._loadedRoutes=o.routes,i._loadedInjector=o.injector})):MB(i))):R({routes:[],injector:e})}};ZI=(()=>{let e=class e{buildTitle(n){let r,o=n.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(s=>s.outlet===he);return r}getResolvedTitleForRoute(n){return n.data[Zl]}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:()=>y(qB),providedIn:"root"});let t=e;return t})(),qB=(()=>{let e=class e extends ZI{constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}};e.\u0275fac=function(r){return new(r||e)(p(Bw))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),tc=new C("",{providedIn:"root",factory:()=>({})}),Jf=new C(""),sb=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=y(bu)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return R(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let r=Er(n.loadComponent()).pipe(B($I),Le(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Bt(()=>{this.componentLoaders.delete(n)})),o=new Lr(r,()=>new k).pipe(No());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return R({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let s=YB(r,this.compiler,n,this.onLoadEndListener).pipe(Bt(()=>{this.childrenLoaders.delete(r)})),a=new Lr(s,()=>new k).pipe(No());return this.childrenLoaders.set(r,a),a}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();ab=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:()=>y($B),providedIn:"root"});let t=e;return t})(),$B=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),XI=new C(""),JI=new C("");lb=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new k,this.transitionAbortSubject=new k,this.configLoader=y(sb),this.environmentInjector=y(Ot),this.urlSerializer=y($l),this.rootContexts=y(Xl),this.location=y(Qn),this.inputBindingEnabled=y(th,{optional:!0})!==null,this.titleStrategy=y(ZI),this.options=y(tc,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=y(ab),this.createViewTransition=y(XI,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>R(void 0),this.rootComponentType=null;let n=o=>this.events.next(new Vy(o)),r=o=>this.events.next(new By(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;this.transitions?.next(we(A(A({},this.transitions.value),n),{id:r}))}setupNavigations(n,r,o){return this.transitions=new ot({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Bl,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(de(s=>s.id!==0),B(s=>we(A({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Be(s=>{let a=!1,l=!1;return R(s).pipe(Be(c=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",on.SupersededByNewNavigation),Vt;this.currentTransition=s,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?we(A({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let d=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=c.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!d&&u!=="reload"){let h="";return this.events.next(new Cr(c.id,this.urlSerializer.serialize(c.rawUrl),h,Gf.IgnoredSameUrlNavigation)),c.resolve(null),Vt}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return R(c).pipe(Be(h=>{let m=this.transitions?.getValue();return this.events.next(new ta(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),m!==this.transitions?.getValue()?Vt:Promise.resolve(h)}),zB(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),Le(h=>{s.targetSnapshot=h.targetSnapshot,s.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation=we(A({},this.currentNavigation),{finalUrl:h.urlAfterRedirects});let m=new Qf(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(m)}));if(d&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:h,extractedUrl:m,source:v,restoredState:_,extras:I}=c,M=new ta(h,this.urlSerializer.serialize(m),v,_);this.events.next(M);let L=VI(this.rootComponentType).snapshot;return this.currentTransition=s=we(A({},c),{targetSnapshot:L,urlAfterRedirects:m,extras:we(A({},I),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=m,R(s)}else{let h="";return this.events.next(new Cr(c.id,this.urlSerializer.serialize(c.extractedUrl),h,Gf.IgnoredByUrlHandlingStrategy)),c.resolve(null),Vt}}),Le(c=>{let d=new Ly(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}),B(c=>(this.currentTransition=s=we(A({},c),{guards:aB(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),s)),vB(this.environmentInjector,c=>this.events.next(c)),Le(c=>{if(s.guardsResult=c.guardsResult,ea(c.guardsResult))throw zI(this.urlSerializer,c.guardsResult);let d=new Py(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(d)}),de(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",on.GuardRejected),!1)),Sy(c=>{if(c.guards.canActivateChecks.length)return R(c).pipe(Le(d=>{let u=new Ny(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}),Be(d=>{let u=!1;return R(d).pipe(WB(this.paramsInheritanceStrategy,this.environmentInjector),Le({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(d,"",on.NoDataFromResolver)}}))}),Le(d=>{let u=new jy(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}))}),Sy(c=>{let d=u=>{let h=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(u.routeConfig).pipe(Le(m=>{u.component=m}),B(()=>{})));for(let m of u.children)h.push(...d(m));return h};return Br(d(c.targetSnapshot.root)).pipe(Wi(null),Ae(1))}),Sy(()=>this.afterPreactivation()),Be(()=>{let{currentSnapshot:c,targetSnapshot:d}=s,u=this.createViewTransition?.(this.environmentInjector,c.root,d.root);return u?ke(u).pipe(B(()=>s)):R(s)}),B(c=>{let d=JV(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=s=we(A({},c),{targetRouterState:d}),this.currentNavigation.targetRouterState=d,s}),Le(()=>{this.events.next(new Gl)}),sB(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),Ae(1),Le({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ni(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),te(this.transitionAbortSubject.pipe(Le(c=>{throw c}))),Bt(()=>{!a&&!l&&this.cancelNavigationTransition(s,"",on.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),en(c=>{if(l=!0,GI(c))this.events.next(new xr(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),nB(c)?this.events.next(new Ql(c.url)):s.resolve(!1);else{this.events.next(new Wl(s.id,this.urlSerializer.serialize(s.extractedUrl),c,s.targetSnapshot??void 0));try{s.resolve(n.errorHandler(c))}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return Vt}))}))}cancelNavigationTransition(n,r,o){let s=new xr(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();t3=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:()=>y(n3),providedIn:"root"});let t=e;return t})(),tb=class{shouldDetach(e){return!1}store(e,i){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,i){return e.routeConfig===i.routeConfig}},n3=(()=>{let e=class e extends tb{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=it(e)))(o||e)}})(),e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),eM=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:()=>y(i3),providedIn:"root"});let t=e;return t})(),i3=(()=>{let e=class e extends eM{constructor(){super(...arguments),this.location=y(Qn),this.urlSerializer=y($l),this.options=y(tc,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=y(ab),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new _r,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=VI(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(n){return this.location.subscribe(r=>{r.type==="popstate"&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof ta)this.stateMemento=this.createStateMemento();else if(n instanceof Cr)this.rawUrlTree=r.initialUrl;else if(n instanceof Qf){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(o,r)}}else n instanceof Gl?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):n instanceof xr&&(n.code===on.GuardRejected||n.code===on.NoDataFromResolver)?this.restoreHistory(r):n instanceof Wl?this.restoreHistory(r,!0):n instanceof ni&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){let o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){let s=this.browserPageId,a=A(A({},r.extras.state),this.generateNgRouterState(r.id,s));this.location.replaceState(o,"",a)}else{let s=A(A({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=it(e)))(o||e)}})(),e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),jl=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(jl||{});o3={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},s3={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},wr=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=y(vu),this.stateManager=y(eM),this.options=y(tc,{optional:!0})||{},this.pendingTasks=y(oo),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=y(lb),this.urlSerializer=y($l),this.location=y(Qn),this.urlHandlingStrategy=y(ab),this._events=new k,this.errorHandler=this.options.errorHandler||r3,this.navigated=!1,this.routeReuseStrategy=y(t3),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=y(Jf,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!y(th,{optional:!0}),this.eventsSubscription=new be,this.isNgZoneEnabled=y(F)instanceof F&&F.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(r,s),r instanceof xr&&r.code!==on.Redirect&&r.code!==on.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof ni)this.navigated=!0;else if(r instanceof Ql){let a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),l={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||e3(o.source)};this.scheduleNavigation(a,Bl,null,l,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}l3(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Bl,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)})}navigateToSyncWithBrowser(n,r,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let c=A({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(s.state=c)}let l=this.parseUrl(n);this.scheduleNavigation(l,r,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(rb),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(n,r={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:l,preserveFragment:c}=r,d=c?this.currentUrlTree.fragment:a,u=null;switch(l){case"merge":u=A(A({},this.currentUrlTree.queryParams),s);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=s||null}u!==null&&(u=this.removeEmptyProps(u));let h;try{let m=o?o.snapshot:this.routerState.snapshot.root;h=LI(m)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),h=this.currentUrlTree.root}return PI(h,n,u,d??null)}navigateByUrl(n,r={skipLocationChange:!1}){let o=ea(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Bl,null,r)}navigate(n,r={skipLocationChange:!1}){return a3(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let o;if(r===!0?o=A({},o3):r===!1?o=A({},s3):o=r,ea(n))return vI(this.currentUrlTree,n,o);let s=this.parseUrl(n);return vI(this.currentUrlTree,s,o)}removeEmptyProps(n){return Object.entries(n).reduce((r,[o,s])=>(s!=null&&(r[o]=s),r),{})}scheduleNavigation(n,r,o,s,a){if(this.disposed)return Promise.resolve(!1);let l,c,d;a?(l=a.resolve,c=a.reject,d=a.promise):d=new Promise((h,m)=>{l=h,c=m});let u=this.pendingTasks.add();return tM(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:l,reject:c,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(h=>Promise.reject(h))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();nM=(()=>{let e=class e{constructor(n,r,o,s,a,l){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=l,this.href=null,this.commands=null,this.onChanges=new k,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let c=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=n.events.subscribe(d=>{d instanceof ni&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,r,o,s,a){let l=this.urlTree;if(l===null||this.isAnchorElement&&(n!==0||r||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(l,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let r=this.href===null?null:Jx(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(n,r){let o=this.renderer,s=this.el.nativeElement;r!==null?o.setAttribute(s,n,r):o.removeAttribute(s,n)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(r){return new(r||e)(f(wr),f(Eo),tr("tabindex"),f(Rn),f(P),f(xi))},e.\u0275dir=V({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,o){r&1&&K("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),r&2&&_e("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[w.HasDecoratorInputTransform,"preserveFragment","preserveFragment",De],skipLocationChange:[w.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",De],replaceUrl:[w.HasDecoratorInputTransform,"replaceUrl","replaceUrl",De],routerLink:"routerLink"},standalone:!0,features:[ct,He]});let t=e;return t})(),eh=class{},c3=(()=>{let e=class e{constructor(n,r,o,s,a){this.router=n,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(de(n=>n instanceof ni),wn(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){let o=[];for(let s of r){s.providers&&!s._injector&&(s._injector=fu(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,l=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(l,s.children??s._loadedRoutes))}return ke(o).pipe(Ui())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;r.loadChildren&&r.canLoad===void 0?o=this.loader.loadChildren(n,r):o=R(null);let s=o.pipe(Ve(a=>a===null?R(void 0):(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(r.loadComponent&&!r._loadedComponent){let a=this.loader.loadComponent(r);return ke([s,a]).pipe(Ui())}else return s})}};e.\u0275fac=function(r){return new(r||e)(p(wr),p(bu),p(Ot),p(eh),p(sb))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),iM=new C(""),d3=(()=>{let e=class e{constructor(n,r,o,s,a={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=y(Ot),a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof ta?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof ni?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Cr&&n.code===Gf.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Kf&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>Ro(this,null,function*(){yield new Promise(o=>{setTimeout(()=>{o()}),du(()=>{o()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new Kf(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(r){ms()},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})();rM=new C("",{factory:()=>new k}),cb=new C("",{providedIn:"root",factory:()=>1});oM=new C("");CI=new C("ROUTER_FORROOT_GUARD"),y3=[Qn,{provide:$l,useClass:Hl},wr,Xl,{provide:Eo,useFactory:u3,deps:[wr]},sb,[]],sM=(()=>{let e=class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[y3,[],{provide:Jf,multi:!0,useValue:n},{provide:CI,useFactory:x3,deps:[[wr,new ka,new Qd]]},{provide:tc,useValue:r||{}},r?.useHash?A3():_3(),b3(),r?.preloadingStrategy?p3(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?C3(r):[],r?.bindToComponentInputs?g3().\u0275providers:[],r?.enableViewTransitions?v3().\u0275providers:[],w3()]}}static forChild(n){return{ngModule:e,providers:[{provide:Jf,multi:!0,useValue:n}]}}};e.\u0275fac=function(r){return new(r||e)(p(CI,8))},e.\u0275mod=j({type:e}),e.\u0275inj=N({});let t=e;return t})();wI=new C("")});function S3(t,e){t&1&&(io(),E(0,"svg",2),ne(1,"polygon",3),S())}function O3(t,e){if(t&1){let i=je();E(0,"div",0),K("keydown",function(r){ie(i);let o=z();return re(o._handleKeydown(r))})("click",function(){ie(i);let r=z();return re(r.closed.emit("click"))})("@transformMenu.start",function(r){ie(i);let o=z();return re(o._onAnimationStart(r))})("@transformMenu.done",function(r){ie(i);let o=z();return re(o._onAnimationDone(r))}),E(1,"div",1),Re(2),S()()}if(t&2){let i=z();vi(i._classList),D("id",i.panelId)("@transformMenu",i._panelAnimationState),_e("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby||null)("aria-describedby",i.ariaDescribedby||null)}}function L3(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}function P3(t){return()=>t.scrollStrategies.reposition()}var D3,I3,M3,T3,ub,ic,R3,ih,cJ,dJ,F3,k3,ra,lM,N3,aM,cM,dM,fb=g(()=>{"use strict";O();O();nn();nn();Ii();Ke();at();Ie();vn();zs();wl();pn();$n();$n();Wt();hr();D3=["mat-menu-item",""],I3=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],M3=["mat-icon, [matMenuItemIcon]","*"];T3=["*"];ub=new C("MAT_MENU_PANEL"),ic=(()=>{let e=class e{constructor(n,r,o,s,a){this._elementRef=n,this._document=r,this._focusMonitor=o,this._parentMenu=s,this._changeDetectorRef=a,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new k,this._focused=new k,this._highlighted=!1,this._triggersSubmenu=!1,s?.addItem?.(this)}focus(n,r){this._focusMonitor&&n?this._focusMonitor.focusVia(this._getHostElement(),n,r):this._getHostElement().focus(r),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(n){this.disabled&&(n.preventDefault(),n.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let n=this._elementRef.nativeElement.cloneNode(!0),r=n.querySelectorAll("mat-icon, .material-icons");for(let o=0;o<r.length;o++)r[o].remove();return n.textContent?.trim()||""}_setHighlighted(n){this._highlighted=n,this._changeDetectorRef?.markForCheck()}_setTriggersSubmenu(n){this._triggersSubmenu=n,this._changeDetectorRef?.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}};e.\u0275fac=function(r){return new(r||e)(f(P),f(U),f(Ln),f(ub,8),f(Pe))},e.\u0275cmp=ce({type:e,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator"],hostVars:8,hostBindings:function(r,o){r&1&&K("click",function(a){return o._checkDisabled(a)})("mouseenter",function(){return o._handleMouseEnter()}),r&2&&(_e("role",o.role)("tabindex",o._getTabIndex())("aria-disabled",o.disabled)("disabled",o.disabled||null),pe("mat-mdc-menu-item-highlighted",o._highlighted)("mat-mdc-menu-item-submenu-trigger",o._triggersSubmenu))},inputs:{role:"role",disabled:[w.HasDecoratorInputTransform,"disabled","disabled",De],disableRipple:[w.HasDecoratorInputTransform,"disableRipple","disableRipple",De]},exportAs:["matMenuItem"],standalone:!0,features:[ct,Ee],attrs:D3,ngContentSelectors:M3,decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(r,o){r&1&&(Dt(I3),Re(0),E(1,"span",0),Re(2,1),S(),ne(3,"div",1),Y(4,S3,2,0,":svg:svg",2)),r&2&&(x(3),D("matRippleDisabled",o.disableRipple||o.disabled)("matRippleTrigger",o._getHostElement()),x(),rt(4,o._triggersSubmenu?4:-1))},dependencies:[pf],encapsulation:2,changeDetection:0});let t=e;return t})(),R3=new C("MatMenuContent"),ih={transformMenu:vr("transformMenu",[_o("void",Pt({opacity:0,transform:"scale(0.8)"})),Jn("void => enter",ki("120ms cubic-bezier(0, 0, 0.2, 1)",Pt({opacity:1,transform:"scale(1)"}))),Jn("* => void",ki("100ms 25ms linear",Pt({opacity:0})))]),fadeInItems:vr("fadeInItems",[_o("showing",Pt({opacity:1})),Jn("void => *",[Pt({opacity:0}),ki("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},cJ=ih.fadeInItems,dJ=ih.transformMenu,F3=0,k3=new C("mat-menu-default-options",{providedIn:"root",factory:L3});ra=(()=>{let e=class e{get xPosition(){return this._xPosition}set xPosition(n){this._xPosition=n,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(n){this._yPosition=n,this.setPositionClasses()}set panelClass(n){let r=this._previousPanelClass,o=A({},this._classList);r&&r.length&&r.split(" ").forEach(s=>{o[s]=!1}),this._previousPanelClass=n,n&&n.length&&(n.split(" ").forEach(s=>{o[s]=!0}),this._elementRef.nativeElement.className=""),this._classList=o}get classList(){return this.panelClass}set classList(n){this.panelClass=n}constructor(n,r,o,s){this._elementRef=n,this._ngZone=r,this._changeDetectorRef=s,this._elevationPrefix="mat-elevation-z",this._baseElevation=8,this._directDescendantItems=new Yi,this._classList={},this._panelAnimationState="void",this._animationDone=new k,this.closed=new G,this.close=this.closed,this.panelId=`mat-menu-panel-${F3++}`,this.overlayPanelClass=o.overlayPanelClass||"",this._xPosition=o.xPosition,this._yPosition=o.yPosition,this.backdropClass=o.backdropClass,this.overlapTrigger=o.overlapTrigger,this.hasBackdrop=o.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new cf(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Ct(this._directDescendantItems),Be(n=>mt(...n.map(r=>r._focused)))).subscribe(n=>this._keyManager.updateActiveItem(n)),this._directDescendantItems.changes.subscribe(n=>{let r=this._keyManager;if(this._panelAnimationState==="enter"&&r.activeItem?._hasFocus()){let o=n.toArray(),s=Math.max(0,Math.min(o.length-1,r.activeItemIndex||0));o[s]&&!o[s].disabled?r.setActiveItem(s):r.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe(Ct(this._directDescendantItems),Be(r=>mt(...r.map(o=>o._hovered))))}addItem(n){}removeItem(n){}_handleKeydown(n){let r=n.keyCode,o=this._keyManager;switch(r){case 27:It(n)||(n.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(r===38||r===40)&&o.setFocusOrigin("keyboard"),o.onKeydown(n);return}n.stopPropagation()}focusFirstItem(n="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe(Ae(1)).subscribe(()=>{let r=null;if(this._directDescendantItems.length&&(r=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!r||!r.contains(document.activeElement)){let o=this._keyManager;o.setFocusOrigin(n).setFirstItemActive(),!o.activeItem&&r&&r.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(n){let r=Math.min(this._baseElevation+n,24),o=`${this._elevationPrefix}${r}`,s=Object.keys(this._classList).find(a=>a.startsWith(this._elevationPrefix));if(!s||s===this._previousElevation){let a=A({},this._classList);this._previousElevation&&(a[this._previousElevation]=!1),a[o]=!0,this._previousElevation=o,this._classList=a}}setPositionClasses(n=this.xPosition,r=this.yPosition){this._classList=we(A({},this._classList),{"mat-menu-before":n==="before","mat-menu-after":n==="after","mat-menu-above":r==="above","mat-menu-below":r==="below"}),this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(n){this._animationDone.next(n),this._isAnimating=!1}_onAnimationStart(n){this._isAnimating=!0,n.toState==="enter"&&this._keyManager.activeItemIndex===0&&(n.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Ct(this._allItems)).subscribe(n=>{this._directDescendantItems.reset(n.filter(r=>r._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}};e.\u0275fac=function(r){return new(r||e)(f(P),f(F),f(k3),f(Pe))},e.\u0275cmp=ce({type:e,selectors:[["mat-menu"]],contentQueries:function(r,o,s){if(r&1&&(At(s,R3,5),At(s,ic,5),At(s,ic,4)),r&2){let a;ge(a=ve())&&(o.lazyContent=a.first),ge(a=ve())&&(o._allItems=a),ge(a=ve())&&(o.items=a)}},viewQuery:function(r,o){if(r&1&&qe(Ft,5),r&2){let s;ge(s=ve())&&(o.templateRef=s.first)}},hostVars:3,hostBindings:function(r,o){r&2&&_e("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[w.None,"aria-label","ariaLabel"],ariaLabelledby:[w.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[w.None,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[w.HasDecoratorInputTransform,"overlapTrigger","overlapTrigger",De],hasBackdrop:[w.HasDecoratorInputTransform,"hasBackdrop","hasBackdrop",n=>n==null?null:De(n)],panelClass:[w.None,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[_t([{provide:ub,useExisting:e}]),ct,Ee],ngContentSelectors:T3,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"keydown","click","id"],[1,"mat-mdc-menu-content"]],template:function(r,o){r&1&&(Dt(),Y(0,O3,3,7,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-divider{color:var(--mat-menu-divider-color);margin-bottom:var(--mat-menu-divider-bottom-spacing);margin-top:var(--mat-menu-divider-top-spacing)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mat-menu-item-leading-spacing);padding-right:var(--mat-menu-item-trailing-spacing);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:var(--mat-menu-item-trailing-spacing);padding-right:var(--mat-menu-item-leading-spacing)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing);padding-right:var(--mat-menu-item-with-icon-trailing-spacing)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]),.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon])[dir=rtl]{padding-left:var(--mat-menu-item-with-icon-trailing-spacing);padding-right:var(--mat-menu-item-with-icon-leading-spacing)}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing);height:var(--mat-menu-item-icon-size);width:var(--mat-menu-item-icon-size)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[ih.transformMenu,ih.fadeInItems]},changeDetection:0});let t=e;return t})(),lM=new C("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let t=y(Ze);return()=>t.scrollStrategies.reposition()}});N3={provide:lM,deps:[Ze],useFactory:P3},aM=qn({passive:!0}),cM=(()=>{let e=class e{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(n){this.menu=n}get menu(){return this._menu}set menu(n){n!==this._menu&&(this._menu=n,this._menuCloseSubscription.unsubscribe(),n&&(this._parentMaterialMenu,this._menuCloseSubscription=n.close.subscribe(r=>{this._destroyMenu(r),(r==="click"||r==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(r)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(n,r,o,s,a,l,c,d,u){this._overlay=n,this._element=r,this._viewContainerRef=o,this._menuItemInstance=l,this._dir=c,this._focusMonitor=d,this._ngZone=u,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=be.EMPTY,this._hoverSubscription=be.EMPTY,this._menuCloseSubscription=be.EMPTY,this._changeDetectorRef=y(Pe),this._handleTouchStart=h=>{hl(h)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new G,this.onMenuOpen=this.menuOpened,this.menuClosed=new G,this.onMenuClose=this.menuClosed,this._scrollStrategy=s,this._parentMaterialMenu=a instanceof ra?a:void 0,r.nativeElement.addEventListener("touchstart",this._handleTouchStart,aM)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,aM),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){let n=this.menu;if(this._menuOpen||!n)return;let r=this._createOverlay(n),o=r.getConfig(),s=o.positionStrategy;this._setPosition(n,s),o.hasBackdrop=n.hasBackdrop==null?!this.triggersSubmenu():n.hasBackdrop,r.attach(this._getPortal(n)),n.lazyContent&&n.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(n),n instanceof ra&&(n._startAnimation(),n._directDescendantItems.changes.pipe(te(n.close)).subscribe(()=>{s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(n,r){this._focusMonitor&&n?this._focusMonitor.focusVia(this._element,n,r):this._element.nativeElement.focus(r)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(n){if(!this._overlayRef||!this.menuOpen)return;let r=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&(n==="keydown"||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,r instanceof ra?(r._resetAnimation(),r.lazyContent?r._animationDone.pipe(de(o=>o.toState==="void"),Ae(1),te(r.lazyContent._attached)).subscribe({next:()=>r.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),r?.lazyContent?.detach())}_initMenu(n){n.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,n.direction=this.dir,this._setMenuElevation(n),n.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(n){if(n.setElevation){let r=0,o=n.parentMenu;for(;o;)r++,o=o.parentMenu;n.setElevation(r)}}_setIsMenuOpen(n){n!==this._menuOpen&&(this._menuOpen=n,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(n),this._changeDetectorRef.markForCheck())}_createOverlay(n){if(!this._overlayRef){let r=this._getOverlayConfig(n);this._subscribeToPositions(n,r.positionStrategy),this._overlayRef=this._overlay.create(r),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(n){return new pr({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:n.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:n.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(n,r){n.setPositionClasses&&r.positionChanges.subscribe(o=>{let s=o.connectionPair.overlayX==="start"?"after":"before",a=o.connectionPair.overlayY==="top"?"below":"above";this._ngZone?this._ngZone.run(()=>n.setPositionClasses(s,a)):n.setPositionClasses(s,a)})}_setPosition(n,r){let[o,s]=n.xPosition==="before"?["end","start"]:["start","end"],[a,l]=n.yPosition==="above"?["bottom","top"]:["top","bottom"],[c,d]=[a,l],[u,h]=[o,s],m=0;if(this.triggersSubmenu()){if(h=o=n.xPosition==="before"?"start":"end",s=u=o==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let v=this._parentMaterialMenu.items.first;this._parentInnerPadding=v?v._getHostElement().offsetTop:0}m=a==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else n.overlapTrigger||(c=a==="top"?"bottom":"top",d=l==="top"?"bottom":"top");r.withPositions([{originX:o,originY:c,overlayX:u,overlayY:a,offsetY:m},{originX:s,originY:c,overlayX:h,overlayY:a,offsetY:m},{originX:o,originY:d,overlayX:u,overlayY:l,offsetY:-m},{originX:s,originY:d,overlayX:h,overlayY:l,offsetY:-m}])}_menuClosingActions(){let n=this._overlayRef.backdropClick(),r=this._overlayRef.detachments(),o=this._parentMaterialMenu?this._parentMaterialMenu.closed:R(),s=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(de(a=>a!==this._menuItemInstance),de(()=>this._menuOpen)):R();return mt(n,o,s,r)}_handleMousedown(n){fl(n)||(this._openedBy=n.button===0?"mouse":void 0,this.triggersSubmenu()&&n.preventDefault())}_handleKeydown(n){let r=n.keyCode;(r===13||r===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(r===39&&this.dir==="ltr"||r===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(n){this.triggersSubmenu()?(n.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(de(n=>n===this._menuItemInstance&&!n.disabled),ld(0,Uo)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof ra&&this.menu._isAnimating?this.menu._animationDone.pipe(Ae(1),ld(0,Uo),te(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(n){return(!this._portal||this._portal.templateRef!==n.templateRef)&&(this._portal=new Oi(n.templateRef,this._viewContainerRef)),this._portal}};e.\u0275fac=function(r){return new(r||e)(f(Ze),f(P),f(pt),f(lM),f(ub,8),f(ic,10),f(Lt,8),f(Ln),f(F))},e.\u0275dir=V({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(r,o){r&1&&K("click",function(a){return o._handleClick(a)})("mousedown",function(a){return o._handleMousedown(a)})("keydown",function(a){return o._handleKeydown(a)}),r&2&&_e("aria-haspopup",o.menu?"menu":null)("aria-expanded",o.menuOpen)("aria-controls",o.menuOpen?o.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[w.None,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[w.None,"matMenuTriggerFor","menu"],menuData:[w.None,"matMenuTriggerData","menuData"],restoreFocus:[w.None,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],standalone:!0});let t=e;return t})(),dM=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({providers:[N3],imports:[vt,pl,ze,Zn,fr,ze]});let t=e;return t})()});function V3(t,e){}function hb(t,e){let i=t.length;for(;i--;)e(t[i])}var Do,mb,rc,B3,U3,H3,z3,pb,uM,fM=g(()=>{"use strict";nn();nn();$n();$n();Wt();zs();Ie();O();O();Ii();Ke();pn();at();Do=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}},mb=(()=>{let e=class e extends Hs{constructor(n,r,o,s,a,l,c,d){super(),this._elementRef=n,this._focusTrapFactory=r,this._config=s,this._interactivityChecker=a,this._ngZone=l,this._overlayRef=c,this._focusMonitor=d,this._platform=y(Ne),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=y(Pe),this.attachDomPortal=u=>{this._portalOutlet.hasAttached();let h=this._portalOutlet.attachDomPortal(u);return this._contentAttached(),h},this._document=o,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(n){this._ariaLabelledByQueue.push(n),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(n){let r=this._ariaLabelledByQueue.indexOf(n);r>-1&&(this._ariaLabelledByQueue.splice(r,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(n){this._portalOutlet.hasAttached();let r=this._portalOutlet.attachComponentPortal(n);return this._contentAttached(),r}attachTemplatePortal(n){this._portalOutlet.hasAttached();let r=this._portalOutlet.attachTemplatePortal(n);return this._contentAttached(),r}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(n,r){this._interactivityChecker.isFocusable(n)||(n.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{n.removeEventListener("blur",o),n.removeEventListener("mousedown",o),n.removeAttribute("tabindex")};n.addEventListener("blur",o),n.addEventListener("mousedown",o)})),n.focus(r)}_focusByCssSelector(n,r){let o=this._elementRef.nativeElement.querySelector(n);o&&this._forceFocus(o,r)}_trapFocus(){let n=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||n.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElementWhenReady().then(r=>{r||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}}_restoreFocus(){let n=this._config.restoreFocus,r=null;if(typeof n=="string"?r=this._document.querySelector(n):typeof n=="boolean"?r=n?this._elementFocusedBeforeDialogWasOpened:null:n&&(r=n),this._config.restoreFocus&&r&&typeof r.focus=="function"){let o=cl(),s=this._elementRef.nativeElement;(!o||o===this._document.body||o===s||s.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(r,this._closeInteractionType),this._closeInteractionType=null):r.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let n=this._elementRef.nativeElement,r=cl();return n===r||n.contains(r)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=cl()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};e.\u0275fac=function(r){return new(r||e)(f(P),f(uf),f(U,8),f(Do),f(ul),f(F),f(Ri),f(Ln))},e.\u0275cmp=ce({type:e,selectors:[["cdk-dialog-container"]],viewQuery:function(r,o){if(r&1&&qe(_l,7),r&2){let s;ge(s=ve())&&(o._portalOutlet=s.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(r,o){r&2&&_e("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},standalone:!0,features:[Ce,Ee],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(r,o){r&1&&Y(0,V3,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});let t=e;return t})(),rc=class{constructor(e,i){this.overlayRef=e,this.config=i,this.closed=new k,this.disableClose=i.disableClose,this.backdropClick=e.backdropClick(),this.keydownEvents=e.keydownEvents(),this.outsidePointerEvents=e.outsidePointerEvents(),this.id=i.id,this.keydownEvents.subscribe(n=>{n.keyCode===27&&!this.disableClose&&!It(n)&&(n.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=e.detachments().subscribe(()=>{i.closeOnOverlayDetachments!==!1&&this.close()})}close(e,i){if(this.containerInstance){let n=this.closed;this.containerInstance._closeInteractionType=i?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),n.next(e),n.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(e="",i=""){return this.overlayRef.updateSize({width:e,height:i}),this}addPanelClass(e){return this.overlayRef.addPanelClass(e),this}removePanelClass(e){return this.overlayRef.removePanelClass(e),this}},B3=new C("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=y(Ze);return()=>t.scrollStrategies.block()}}),U3=new C("DialogData"),H3=new C("DefaultDialogConfig"),z3=0,pb=(()=>{let e=class e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(n,r,o,s,a,l){this._overlay=n,this._injector=r,this._defaultOptions=o,this._parentDialog=s,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new k,this._afterOpenedAtThisLevel=new k,this._ariaHiddenElements=new Map,this.afterAllClosed=Jt(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ct(void 0))),this._scrollStrategy=l}open(n,r){let o=this._defaultOptions||new Do;r=A(A({},o),r),r.id=r.id||`cdk-dialog-${z3++}`,r.id&&this.getDialogById(r.id);let s=this._getOverlayConfig(r),a=this._overlay.create(s),l=new rc(a,r),c=this._attachContainer(a,l,r);return l.containerInstance=c,this._attachDialogContent(n,l,c,r),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(l),l.closed.subscribe(()=>this._removeOpenDialog(l,!0)),this.afterOpened.next(l),l}closeAll(){hb(this.openDialogs,n=>n.close())}getDialogById(n){return this.openDialogs.find(r=>r.id===n)}ngOnDestroy(){hb(this._openDialogsAtThisLevel,n=>{n.config.closeOnDestroy===!1&&this._removeOpenDialog(n,!1)}),hb(this._openDialogsAtThisLevel,n=>n.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(n){let r=new pr({positionStrategy:n.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:n.scrollStrategy||this._scrollStrategy(),panelClass:n.panelClass,hasBackdrop:n.hasBackdrop,direction:n.direction,minWidth:n.minWidth,minHeight:n.minHeight,maxWidth:n.maxWidth,maxHeight:n.maxHeight,width:n.width,height:n.height,disposeOnNavigation:n.closeOnNavigation});return n.backdropClass&&(r.backdropClass=n.backdropClass),r}_attachContainer(n,r,o){let s=o.injector||o.viewContainerRef?.injector,a=[{provide:Do,useValue:o},{provide:rc,useValue:r},{provide:Ri,useValue:n}],l;o.container?typeof o.container=="function"?l=o.container:(l=o.container.type,a.push(...o.container.providers(o))):l=mb;let c=new mr(l,o.viewContainerRef,Xe.create({parent:s||this._injector,providers:a}),o.componentFactoryResolver);return n.attach(c).instance}_attachDialogContent(n,r,o,s){if(n instanceof Ft){let a=this._createInjector(s,r,o,void 0),l={$implicit:s.data,dialogRef:r};s.templateContext&&(l=A(A({},l),typeof s.templateContext=="function"?s.templateContext():s.templateContext)),o.attachTemplatePortal(new Oi(n,null,l,a))}else{let a=this._createInjector(s,r,o,this._injector),l=o.attachComponentPortal(new mr(n,s.viewContainerRef,a,s.componentFactoryResolver));r.componentRef=l,r.componentInstance=l.instance}}_createInjector(n,r,o,s){let a=n.injector||n.viewContainerRef?.injector,l=[{provide:U3,useValue:n.data},{provide:rc,useValue:r}];return n.providers&&(typeof n.providers=="function"?l.push(...n.providers(r,n,o)):l.push(...n.providers)),n.direction&&(!a||!a.get(Lt,null,{optional:!0}))&&l.push({provide:Lt,useValue:{value:n.direction,change:R()}}),Xe.create({parent:a||s,providers:l})}_removeOpenDialog(n,r){let o=this.openDialogs.indexOf(n);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((s,a)=>{s?a.setAttribute("aria-hidden",s):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),r&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let n=this._overlayContainer.getContainerElement();if(n.parentElement){let r=n.parentElement.children;for(let o=r.length-1;o>-1;o--){let s=r[o];s!==n&&s.nodeName!=="SCRIPT"&&s.nodeName!=="STYLE"&&!s.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let n=this._parentDialog;return n?n._getAfterAllClosed():this._afterAllClosedAtThisLevel}};e.\u0275fac=function(r){return new(r||e)(p(Ze),p(Xe),p(H3,8),p(e,12),p(Ws),p(B3))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();uM=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({providers:[pb],imports:[Zn,bo,ff,bo]});let t=e;return t})()});function W3(t,e){}function gM(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?ur(t.substring(0,t.length-2)):t.endsWith("s")?ur(t.substring(0,t.length-1))*1e3:t==="0"?0:null}function vM(t,e,i){return t._closeInteractionType=e,t.close(i)}function bM(t,e){let i=t.nativeElement.parentElement;for(;i&&!i.classList.contains("mat-mdc-dialog-container");)i=i.parentElement;return i?e.find(n=>n.id===i.id):null}var oc,gb,hM,mM,G3,Q3,K3,pM,rh,oa,oh,q3,Y3,Z3,sc,$3,vb,yM,yb,bb,Ab,AM,_b=g(()=>{"use strict";$n();$n();Ie();Ie();O();O();nn();fM();Si();zs();Ke();at();Ii();vn();oc=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}},gb="mdc-dialog--open",hM="mdc-dialog--opening",mM="mdc-dialog--closing",G3=150,Q3=75,K3=(()=>{let e=class e extends mb{constructor(n,r,o,s,a,l,c,d,u){super(n,r,o,s,a,l,c,u),this._animationMode=d,this._animationStateChanged=new G,this._animationsEnabled=this._animationMode!=="NoopAnimations",this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?gM(this._config.enterAnimationDuration)??G3:0,this._exitAnimationDuration=this._animationsEnabled?gM(this._config.exitAnimationDuration)??Q3: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(pM,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(hM,gb)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(gb),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(gb),this._animationsEnabled?(this._hostElement.style.setProperty(pM,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(mM)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(n){this._actionSectionCount+=n,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(hM,mM)}_waitForAnimationToComplete(n,r){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(r,n)}_requestAnimationFrame(n){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(n):n()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(n){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:n})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(n){let r=super.attachComponentPortal(n);return r.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),r}};e.\u0275fac=function(r){return new(r||e)(f(P),f(uf),f(U,8),f(oc),f(ul),f(F),f(Ri),f(lt,8),f(Ln))},e.\u0275cmp=ce({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(r,o){r&2&&(ir("id",o._config.id),_e("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),pe("_mat-animation-noopable",!o._animationsEnabled)("mat-mdc-dialog-container-with-actions",o._actionSectionCount>0))},standalone:!0,features:[Ce,Ee],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(r,o){r&1&&(E(0,"div",0)(1,"div",1),Y(2,W3,0,0,"ng-template",2),S()())},dependencies:[_l],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0;transform:scale(0.8)}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.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}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.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)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--closing .mdc-dialog__surface{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{opacity:1}.mdc-dialog--open .mdc-dialog__surface{transform:none}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{width:100%;height:100%}.mat-mdc-dialog-component-host{display:contents}.mat-mdc-dialog-container{--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 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))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition:opacity linear var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container .mdc-dialog__surface{transition:transform var(--mat-dialog-transition-duration, 0ms) 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container,.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__surface{transition:none}.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-title{padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-content{display:block}.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{padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.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}'],encapsulation:2});let t=e;return t})(),pM="--mat-dialog-transition-duration";rh=function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t}(rh||{}),oa=class{constructor(e,i,n){this._ref=e,this._containerInstance=n,this._afterOpened=new k,this._beforeClosed=new k,this._state=rh.OPEN,this.disableClose=i.disableClose,this.id=e.id,e.addPanelClass("mat-mdc-dialog-panel"),n._animationStateChanged.pipe(de(r=>r.state==="opened"),Ae(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe(de(r=>r.state==="closed"),Ae(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),mt(this.backdropClick(),this.keydownEvents().pipe(de(r=>r.keyCode===27&&!this.disableClose&&!It(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),vM(this,r.type==="keydown"?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(de(i=>i.state==="closing"),Ae(1)).subscribe(i=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),i.totalTime+100)}),this._state=rh.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(e){let i=this._ref.config.positionStrategy;return e&&(e.left||e.right)?e.left?i.left(e.left):i.right(e.right):i.centerHorizontally(),e&&(e.top||e.bottom)?e.top?i.top(e.top):i.bottom(e.bottom):i.centerVertically(),this._ref.updatePosition(),this}updateSize(e="",i=""){return this._ref.updateSize(e,i),this}addPanelClass(e){return this._ref.addPanelClass(e),this}removePanelClass(e){return this._ref.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=rh.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};oh=new C("MatMdcDialogData"),q3=new C("mat-mdc-dialog-default-options"),Y3=new C("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=y(Ze);return()=>t.scrollStrategies.block()}}),Z3=0,sc=(()=>{let e=class e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let n=this._parentDialog;return n?n._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(n,r,o,s,a,l,c,d){this._overlay=n,this._defaultOptions=s,this._scrollStrategy=a,this._parentDialog=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new k,this._afterOpenedAtThisLevel=new k,this.dialogConfigClass=oc,this.afterAllClosed=Jt(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ct(void 0))),this._dialog=r.get(pb),this._dialogRefConstructor=oa,this._dialogContainerType=K3,this._dialogDataToken=oh}open(n,r){let o;r=A(A({},this._defaultOptions||new oc),r),r.id=r.id||`mat-mdc-dialog-${Z3++}`,r.scrollStrategy=r.scrollStrategy||this._scrollStrategy();let s=this._dialog.open(n,we(A({},r),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:r},{provide:Do,useValue:r}]},templateContext:()=>({dialogRef:o}),providers:(a,l,c)=>(o=new this._dialogRefConstructor(a,r,c),o.updatePosition(r?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:l.data},{provide:this._dialogRefConstructor,useValue:o}])}));return o.componentRef=s.componentRef,o.componentInstance=s.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{let a=this.openDialogs.indexOf(o);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(n){return this.openDialogs.find(r=>r.id===n)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(n){let r=n.length;for(;r--;)n[r].close()}};e.\u0275fac=function(r){return new(r||e)(p(Ze),p(Xe),p(Qn,8),p(q3,8),p(Y3),p(e,12),p(Ws),p(lt,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),$3=0,vb=(()=>{let e=class e{constructor(n,r,o){this.dialogRef=n,this._elementRef=r,this._dialog=o,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=bM(this._elementRef,this._dialog.openDialogs))}ngOnChanges(n){let r=n._matDialogClose||n._matDialogCloseResult;r&&(this.dialogResult=r.currentValue)}_onButtonClick(n){vM(this.dialogRef,n.screenX===0&&n.screenY===0?"keyboard":"mouse",this.dialogResult)}};e.\u0275fac=function(r){return new(r||e)(f(oa,8),f(P),f(sc))},e.\u0275dir=V({type:e,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(r,o){r&1&&K("click",function(a){return o._onButtonClick(a)}),r&2&&_e("aria-label",o.ariaLabel||null)("type",o.type)},inputs:{ariaLabel:[w.None,"aria-label","ariaLabel"],type:"type",dialogResult:[w.None,"mat-dialog-close","dialogResult"],_matDialogClose:[w.None,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[He]});let t=e;return t})(),yM=(()=>{let e=class e{constructor(n,r,o){this._dialogRef=n,this._elementRef=r,this._dialog=o}ngOnInit(){this._dialogRef||(this._dialogRef=bM(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}};e.\u0275fac=function(r){return new(r||e)(f(oa,8),f(P),f(sc))},e.\u0275dir=V({type:e,standalone:!0});let t=e;return t})(),yb=(()=>{let e=class e extends yM{constructor(){super(...arguments),this.id=`mat-mdc-dialog-title-${$3++}`}_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=it(e)))(o||e)}})(),e.\u0275dir=V({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(r,o){r&2&&ir("id",o.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0,features:[Ce]});let t=e;return t})(),bb=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=V({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0});let t=e;return t})(),Ab=(()=>{let e=class e extends yM{_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=it(e)))(o||e)}})(),e.\u0275dir=V({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(r,o){r&2&&pe("mat-mdc-dialog-actions-align-start",o.align==="start")("mat-mdc-dialog-actions-align-center",o.align==="center")("mat-mdc-dialog-actions-align-end",o.align==="end")},inputs:{align:"align"},standalone:!0,features:[Ce]});let t=e;return t})();AM=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({providers:[sc],imports:[uM,Zn,bo,ze,ze]});let t=e;return t})()});var xb,_M,xM,Cb=g(()=>{"use strict";Ie();O();xb=class{constructor(e,i){this._document=i;let n=this._textarea=this._document.createElement("textarea"),r=n.style;r.position="fixed",r.top=r.opacity="0",r.left="-999em",n.setAttribute("aria-hidden","true"),n.value=e,n.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(n)}copy(){let e=this._textarea,i=!1;try{if(e){let n=this._document.activeElement;e.select(),e.setSelectionRange(0,e.value.length),i=this._document.execCommand("copy"),n&&n.focus()}}catch{}return i}destroy(){let e=this._textarea;e&&(e.remove(),this._textarea=void 0)}},_M=(()=>{let e=class e{constructor(n){this._document=n}copy(n){let r=this.beginCopy(n),o=r.copy();return r.destroy(),o}beginCopy(n){return new xb(n,this._document)}};e.\u0275fac=function(r){return new(r||e)(p(U))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),xM=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({});let t=e;return t})()});function lU(t,e){if(t&1&&(ne(0,"h1",10),fe(1,"translate")),t&2){let i=z();D("innerHtml",yi(1,1,i.message.title,i.message.localizationParams),hs)}}function cU(t,e){if(t&1&&(ne(0,"span",12),fe(1,"translate")),t&2){let i=z(2);D("innerHtml",yi(1,1,i.message.support,i.message.localizationParams),hs)}}function dU(t,e){if(t&1&&(E(0,"p",11),ne(1,"span",12),fe(2,"translate"),Y(3,cU,2,4,"span",13),S()),t&2){let i=z();x(),D("innerHtml",yi(2,2,i.message.body,i.message.localizationParams),hs),x(2),D("ngIf",i.message.support)}}function uU(t,e){if(t&1&&(E(0,"mat-icon"),ue(1),S()),t&2){let i=z(2);x(),gt(i.message.callbackButtonIcon)}}function fU(t,e){if(t&1){let i=je();E(0,"button",14),K("click",function(){ie(i);let r=z();return re(r.message==null?null:r.message.callbackButtonClick())}),Y(1,uU,2,1,"mat-icon",15),ue(2),fe(3,"translate"),S()}if(t&2){let i=z();x(),D("ngIf",i.message.callbackButtonIcon),x(),dt(" ",Me(3,2,i.message.callbackButtonText)," ")}}function hU(t,e){if(t&1){let i=je();E(0,"tld-close-button",16),K("tldClick",function(){ie(i);let r=z();return re(r.closeClick())}),S()}if(t&2){let i=z();pe("no-top-margin",!i.message.title||!i.message.body)}}function mU(t,e){if(t&1){let i=je();E(0,"button",21),K("click",function(){ie(i);let r=z(2);return re(r.buttonClick())}),ue(1),fe(2,"translate"),S()}if(t&2){let i=z(2);x(),dt("",Me(2,1,i.message.buttonText)," ")}}function pU(t,e){if(t&1){let i=je();E(0,"a",22),K("click",function(){ie(i);let r=z(2);return re(r.linkClick())}),ue(1),fe(2,"translate"),S()}if(t&2){let i=z(2);_e("href",i.message.linkHref,bg),x(),gt(Me(2,2,i.message.linkText))}}function gU(t,e){if(t&1){let i=je();E(0,"a",23),K("click",function(){ie(i);let r=z(2);return re(r.linkClick())}),ue(1),fe(2,"translate"),S()}if(t&2){let i=z(2);D("routerLink",Wa(4,aU,i.message.routerLink)),x(),gt(Me(2,2,i.message.linkText))}}function vU(t,e){if(t&1&&(E(0,"div",17),Y(1,mU,3,3,"button",18)(2,pU,3,4,"a",19)(3,gU,3,6,"a",20),S()),t&2){let i=z();x(),D("ngIf",i.message.buttonText),x(),D("ngIf",i.message.linkHref&&i.message.linkText),x(),D("ngIf",i.message.routerLink&&i.message.linkText)}}function DU(t,e){if(t&1){let i=je();E(0,"lib-tld-notification-message",16),K("closeClicked",function(){ie(i);let r=z();return re(r.missingQuotaMessageClosed=!0)}),S()}if(t&2){let i=z();D("message",i.reachedQuotaMessage)}}function IU(t,e){if(t&1){let i=je();E(0,"lib-tld-notification-message",16),K("closeClicked",function(){ie(i);let r=z();return re(r.showDefaultErrorMessage=!1)}),S()}if(t&2){let i=z();D("message",i.defaultErrorMessage)}}function MU(t,e){if(t&1){let i=je();E(0,"lib-tld-notification-message",16),K("closeClicked",function(){ie(i);let r=z();return re(r.showExceededLimitMessage=!1)}),S()}if(t&2){let i=z();D("message",i.exceededLimitMessage)}}function SU(t,e){if(t&1&&(E(0,"mat-option",17),ue(1),fe(2,"uppercase"),fe(3,"translate"),S()),t&2){let i=e.$implicit;D("value",i),x(),dt(" ",Me(3,4,"LLM.REPHRASE_MODAL.WRITING_STYLES."+Me(2,2,i))," ")}}function TU(t,e){if(t&1&&(ne(0,"div",18),fe(1,"translate")),t&2){let i=z();D("innerHTML",yi(1,1,"LLM.REPHRASE_MODAL.LIMIT",Ga(4,EU,i.rephraseQuotaLeft,i.subscriptionUrl)),hs)}}function OU(t,e){if(t&1){let i=je();E(0,"button",19),K("click",function(){ie(i);let r=z();return re(r.cancel())}),ue(1),fe(2,"translate"),S()}t&2&&(x(),dt(" ",Me(2,1,"LLM.REPHRASE_MODAL.CANCEL")," "))}function RU(t,e){t&1&&(E(0,"button",20),ue(1),fe(2,"translate"),S()),t&2&&(D("mat-dialog-close",null),x(),dt(" ",Me(2,2,"LLM.REPHRASE_MODAL.CLOSE")," "))}function FU(t,e){t&1&&ne(0,"mat-spinner",21),t&2&&D("diameter",20)}function PU(t,e){if(t&1){let i=je();E(0,"lib-tld-notification-message",11),K("closeClicked",function(){ie(i);let r=z();return re(r.missingQuotaMessageClosed=!0)}),S()}if(t&2){let i=z();D("message",i.reachedQuotaMessage)}}function NU(t,e){if(t&1){let i=je();E(0,"lib-tld-notification-message",11),K("closeClicked",function(){ie(i);let r=z();return re(r.showDefaultErrorMessage=!1)}),S()}if(t&2){let i=z();D("message",i.defaultErrorMessage)}}function jU(t,e){if(t&1){let i=je();E(0,"lib-tld-notification-message",11),K("closeClicked",function(){ie(i);let r=z();return re(r.showExceededLimitMessage=!1)}),S()}if(t&2){let i=z();D("message",i.exceededLimitMessage)}}function VU(t,e){if(t&1&&(ne(0,"div",12),fe(1,"translate")),t&2){let i=z();D("innerHTML",yi(1,1,"LLM.SUMMARY_MODAL.LIMIT",Ga(4,LU,i.summaryQuotaLeft,i.subscriptionUrl)),hs)}}function BU(t,e){if(t&1){let i=je();E(0,"button",13),K("click",function(){ie(i);let r=z();return re(r.cancel())}),ue(1),fe(2,"translate"),S()}t&2&&(x(),dt(" ",Me(2,1,"LLM.SUMMARY_MODAL.CANCEL")," "))}function UU(t,e){t&1&&(E(0,"button",14),ue(1),fe(2,"translate"),S()),t&2&&(D("mat-dialog-close",null),x(),dt(" ",Me(2,2,"LLM.SUMMARY_MODAL.CLOSE")," "))}function HU(t,e){t&1&&ne(0,"mat-spinner",15),t&2&&D("diameter",20)}var eU,tU,nU,iU,rU,oU,sU,aU,wM,yU,sh,ch,bU,wb,AU,_U,lc,xU,EM,Dr,ah,Eb,ac,dh,CM,lh,Db,cc,Ib,DM,CU,IM,wU,EU,kU,LU,zU,WU,GU,MM,SM,dc=g(()=>{"use strict";O();O();Af();Af();As();Ke();Ie();Ie();wy();vf();vf();db();db();uo();uo();Dl();Dl();Pf();kl();Ya();_f();_f();ho();ho();Il();Ml();Ml();vn();fb();fb();_b();_b();Cb();Cb();eU=(()=>{let e=class e{constructor(n,r){this.iconRegistry=n,this.sanitizer=r}registerIcons(n){for(let r in n)this.iconRegistry.addSvgIconLiteral(r.toLowerCase(),this.sanitizer.bypassSecurityTrustHtml(n[r]))}registerIconFromUrl(n,r){this.iconRegistry.addSvgIcon(n,this.sanitizer.bypassSecurityTrustResourceUrl(r))}addSvgIconSet(n,r){r?this.iconRegistry.addSvgIconSetInNamespace(r,this.sanitizer.bypassSecurityTrustResourceUrl(n)):this.iconRegistry.addSvgIconSet(this.sanitizer.bypassSecurityTrustResourceUrl(n))}};e.\u0275fac=function(r){return new(r||e)(p(Jv),p(Ja))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),tU=typeof localStorage<"u"?localStorage:null,nU=typeof window<"u"?window:null,iU=(()=>{let e=class e{get window(){return nU}get localStorage(){return tU}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),rU=["clearButton"],oU=(()=>{let e=class e{constructor(){this.tldClick=new G,this.ariaCode="CLOSE_BUTTON"}clicked(){this.tldClick.emit(null)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=ce({type:e,selectors:[["tld-close-button"]],viewQuery:function(r,o){if(r&1&&qe(rU,5),r&2){let s;ge(s=ve())&&(o.clearButton=s.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(r,o){if(r&1){let s=je();E(0,"button",1,0),fe(2,"translate"),fe(3,"translate"),K("click",function(){return ie(s),re(o.clicked())}),E(4,"span",2),ue(5," close "),S()()}r&2&&(D("matTooltip",Me(2,3,o.tooltip))("disabled",o.disabled),_e("aria-label",Me(3,5,"ARIA_LABELS."+o.ariaCode)))},dependencies:[vo,Gs,Ei],encapsulation:2});let t=e;return t})(),sU=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[vt,gf,lr,El]});let t=e;return t})(),aU=t=>[t];wM=(()=>{let e=class e{constructor(){this.buttonClicked=new G,this.closeClicked=new G,this.linkClicked=new G,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)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=ce({type:e,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(r,o){r&1&&(E(0,"div")(1,"div",0)(2,"span",1),ue(3),S(),E(4,"div",2)(5,"div",3)(6,"div",4),Y(7,lU,2,4,"h1",5)(8,dU,4,5,"p",6),S(),Y(9,fU,4,4,"button",7)(10,hU,1,2,"tld-close-button",8),S(),Y(11,vU,4,3,"div",9),S()()()),r&2&&(hu("notification-message ",o.className,""),x(),pe("inline",o.inline),D("ngClass.lt-md","mobile"),_e("id",o.message.id),x(2),dt(" ",o.iconNames[o.message.type]," "),x(4),D("ngIf",o.message.title),x(),D("ngIf",o.message.body),x(),D("ngIf",o.message.callbackButtonText),x(),D("ngIf",!o.message.hideClose&&!o.message.callbackButtonText),x(),D("ngIf",o.message.buttonText||o.message.linkHref||o.message.routerLink))},dependencies:[ys,uI,cI,aI,sI,Fl,oU,gl,nM,yo,Ei],styles:["[_nghost-%COMP%]{display:inline-block;width:100%}.close-button[_ngcontent-%COMP%]{position:absolute;top:.2em;right:.2em}.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.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%]{font-weight:600;margin:0}.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:1.5em}.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) .items-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] + div[_ngcontent-%COMP%], .notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .items-container[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%] + .message-body[_ngcontent-%COMP%]{margin-top:1em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .message-title[_ngcontent-%COMP%]{font-size:1.25em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .message-body[_ngcontent-%COMP%]{line-height:1.5em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%]{padding:.75em 1em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%]{margin-left:.75em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]{margin-top:.5em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%] + .message-body[_ngcontent-%COMP%]{margin-top:.2em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%]{font-size:1em}"]});let t=e;return t})(),yU=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[vt,Ll,sU,gf,lr,sM,ey]});let t=e;return t})(),sh=function(t){return t.BASIC="BASIC",t.INFO="INFO",t.WARNING="WARNING",t.SUCCESS="SUCCESS",t.ERROR="ERROR",t}(sh||{}),ch=class{static getAuthHeaders(e){let i={};return e&&(i["client-id"]=e),i["Content-Type"]="application/json",i}static getApiV2AuthHeaders(e,i){let n={};return e&&(n["x-api-key"]=e),i&&(n["X-App-Id"]=i),n}},bU={SMALL:600,MEDIUM:960,LARGE:1280,XLARGE:1920},wb=class{static isMobileRes(){return window.innerWidth<bU.SMALL}},AU=(()=>{let e=class e{constructor(n){this.translate=n,this.languagesLocalizationKey="LANGUAGES",this.translationCache=new Map,this.translate.onLangChange.subscribe(()=>{this.translationCache.clear(),this.lastUiLanguage=this.translate.currentLang}),this.lastUiLanguage=this.translate.currentLang}transform(n,r=!1){if(!n)return"";this.lastUiLanguage!==this.translate.currentLang&&(this.translationCache.clear(),this.lastUiLanguage=this.translate.currentLang);let o=`${n}:${r}`;if(this.translationCache.has(o))return this.translationCache.get(o);let s=this.getLanguageFromLanguageCode(n),l=this.isLanguageCodeSameAsRegion(n)?s:n,c=this.getTranslation(l,r);return this.translationCache.set(o,c),c}getTranslation(n,r){let s=this.translate.instant(this.languagesLocalizationKey)[n.toUpperCase().replace("-","_")]??this.getLanguageTranslationFromLanguageCode(this.translate.currentLang,n);return r&&(s=s.split("(")[0].trim()),s}getLanguageTranslationFromLanguageCode(n,r){let o=new Intl.DisplayNames([n],{type:"language"}),s=new Intl.DisplayNames([n],{type:"region"}),a;try{let l=this.getLanguageFromLanguageCode(r),c=this.getRegionFromLanguageCode(r),d=o.of(l),u=s.of(c);a=`${d} (${u})`}catch{try{a=o.of(r)}catch{return r}}return this.capitalizeFirstLetter(a)}isLanguageCodeSameAsRegion(n){let[r,o,s]=n.split("-");return r===o?.toLowerCase()&&!s}getRegionFromLanguageCode(n){let[r,o,s]=n.split("-");return(s?`${o}-${s}`:`${o}`).toUpperCase()}getLanguageFromLanguageCode(n){return n.split("-")[0].toLowerCase()}capitalizeFirstLetter(n){return n.charAt(0).toUpperCase()+n.slice(1)}};e.\u0275fac=function(r){return new(r||e)(f(ar,16))},e.\u0275pipe=cs({name:"languageTranslate",type:e,pure:!1});let t=e;return t})(),_U=(()=>{let e=class e{constructor(n){this.translateService=n}getLanguageCodeTranslation(n,r=!1){return new AU(this.translateService).transform(n,r)}removeRegionFromLanguageCode(n){return n.split("-")[0]}};e.\u0275fac=function(r){return new(r||e)(p(ar))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),lc=new C("QUOTA_SERVICE_CONFIGURATION_TOKEN"),xU=(()=>{let e=class e{constructor(n,r){this.http=n,this.baseUrl=r.apiUrl}getQuotaUsage(){return this.http.get(this.baseUrl)}};e.\u0275fac=function(r){return new(r||e)(p(or),p(lc))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),EM=function(t){return t.TRANSLATION_DOCUMENTS="TranslationDocuments",t.LLM_CHARACTER_COUNT="LlmCharacterCount",t.LLM_REQUESTS="LlmRequests",t}(EM||{}),Dr=class{static addPlausible(e){let n=new iU().window;if(!n||!e)return;let r="https://plausible.io/js/plausible.js",o=document.createElement("script");o.src=r,o.setAttribute("data-domain",e),document.head.append(o),n.plausible=n.plausible||((...s)=>{(n.plausible.q=n.plausible.q||[]).push(s)})}static customEvent(e,i){let n=window;n?.plausible&&n.plausible(e,{props:i})}},ah=function(t){return t.TILDE_TERM="TildeTerm",t.FILE="File",t}(ah||{}),Eb=function(t){return t.NO_ENTRIES="NO_ENTRIES",t.DEFAULT_COLLECTION="DEFAULT_COLLECTION",t}(Eb||{}),ac=function(t){return t.IMPORTING="Importing",t.DELETING="Deleting",t.READY="Ready",t.PROCESSING="Processing",t.ERROR="Error",t.NOT_IN_USE="NotInUse",t}(ac||{}),dh=class dh{static findExistingCollectionFromList(e,i){for(let n of e)if(n.termId&&n.termId==i.termId||n.mtCollection?.id&&n.mtCollection.id==i.mtCollection?.id)return n;return null}static findExistingIndexFromList(e,i){if(!e)return null;let n=0;for(let r of e){if(r.termId&&r.termId==i.termId||r.mtCollection?.id&&r.mtCollection.id==i.mtCollection?.id)return n;n+=1}return null}get isSynchronized(){return this._isSynchronized}get syncButtonVisible(){return this._syncButtonVisible}get termId(){return this.termCollection?.id??this.mtCollection?.termId}get mtStatus(){return this.mtCollection?.status}get name(){return this.termCollection?.name??this.mtCollection?.name}get termEntries(){return this.termCollection?.entryCount}get default(){return this._default}get status(){return this.mtStatus??ac.NOT_IN_USE}get canEditScope(){return this.mtCollection||this.default}get termCount(){return this.mtCollection?.termCount}get isTermPortalCollection(){return this._isTermPortalCollection}get isImporting(){return this._isImporting}constructor(e,i){this.editables={},this._isSynchronized=!0,this.mtCollection=i,this.termCollection=e,this.update(null)}update(e){e?.termCollection&&(this.termCollection=e.termCollection),e?.mtCollection&&(this.mtCollection=e.mtCollection),this._isTermPortalCollection=this.mtCollection?.collectionSource===ah.TILDE_TERM,this.mtCollection?.access&&this.updateEditables(this.mtCollection?.access),this._isImporting=this.mtCollection&&dh.importingStatuses.includes(this.mtCollection?.status),this._default=(this.editables.userDefault||this.editables.groupDefault||this.editables.globalDefault)??!1,this.updateIsSynchronized(),this.updateTooltipKey(),this.updateSource()}isEdited(){return this.mtCollection?.access?.user?.default!==this.editables.userDefault||this.mtCollection?.access?.group?.default!==this.editables.groupDefault||this.mtCollection?.access?.global?.default!==this.editables.globalDefault}deleteTerms(){this.termCollection=null,this.update(null)}deleteMT(){this.mtCollection=null,this.update(null)}updateEditables(e){e&&(this.editables.globalDefault=e.global?.default,this.editables.groupDefault=e.group?.default,this.editables.userDefault=e.user?.default)}updateIsSynchronized(){let e=!0,i=this.termCollection?.modifyDate,n=this.mtCollection?.lastUpdated;i&&n&&(e=i<=n),this._isSynchronized=e,this.lastUpdated=n??i,this._syncButtonVisible=!this.isImporting&&(!this.isSynchronized||this.mtStatus===ac.ERROR)}updateSource(){this.termCollection?this.source=ah.TILDE_TERM:this.mtCollection&&(this.source=ah.FILE)}updateTooltipKey(){this.default?this.termTooltipKey=Eb.DEFAULT_COLLECTION:this.termCollection?.entryCount===0?this.termTooltipKey=Eb.NO_ENTRIES:this.termTooltipKey=null}};dh.importingStatuses=[ac.IMPORTING,ac.PROCESSING];CM=dh,lh=function(t){return t.SUMMARY="SUMMARY",t.REPHRASE="REPHRASE",t}(lh||{}),Db=function(t){return t.GENERAL="General",t.PROFESSIONAL="Professional",t.ACADEMIC="Academic",t}(Db||{}),cc=new C("LLM_CONFIGURATION_TOKEN"),Ib=(()=>{let e=class e{constructor(n,r){this.http=n,this.llmConfiguration=r}summarize(n){let r=ch.getApiV2AuthHeaders(this.llmConfiguration.xApiKey,this.llmConfiguration.appId);return this.http.post(`${this.llmConfiguration.serviceUrl}/summarize`,n,{responseType:"text",headers:r})}rephrase(n){let r=ch.getApiV2AuthHeaders(this.llmConfiguration.xApiKey,this.llmConfiguration.appId);return this.http.post(`${this.llmConfiguration.serviceUrl}/rewrite`,n,{responseType:"text",headers:r})}};e.\u0275fac=function(r){return new(r||e)(p(or),p(cc))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),DM=(()=>{let e=class e{constructor(n,r){this.llmService=n,this.quotaService=r,this.trialRequestCount=15,this.LLMQuotaLocalStorageKey="LLM_QUOTA"}getRemainingQuota(n){return this.quotaService.getQuotaUsage().pipe(B(r=>{let o=r.usage.find(s=>s.quotaType===EM.LLM_REQUESTS);return o?o.quotaRemaining:this.setQuotaLocalStorageUsage(n)}),en(()=>R(this.setQuotaLocalStorageUsage(n))))}getExceededLimitMessage(n){return{type:sh.WARNING,body:"ERRORS.MAX_CHAR_LENGTH",localizationParams:{maxCharLength:this.llmService.llmConfiguration.maxCharLength,totalSymbols:n}}}getReachedQuotaMessage(){return{type:sh.ERROR,body:"LLM.ERRORS.QUOTA_LIMIT_REACHED",localizationParams:{subscriptionUrl:this.llmService.llmConfiguration.subscriptionUrl}}}getDefaultErrorMessage(){return{type:sh.ERROR,body:"LLM.ERRORS.DEFAULT",localizationParams:{supportEmail:this.llmService.llmConfiguration.supportEmail}}}setQuotaLocalStorageUsage(n){let r=localStorage.getItem(this.LLMQuotaLocalStorageKey),o=new Date,s={remainingQuota:this.trialRequestCount,lastUsedAt:o};if(r){s=JSON.parse(r);let l=new Date(s.lastUsedAt);(l.getDate()!==o.getDate()||l.getMonth()!==o.getMonth()||l.getFullYear()!==o.getFullYear())&&(s.remainingQuota=this.trialRequestCount),n&&(s.remainingQuota-=1)}return s.lastUsedAt=o,localStorage.setItem(this.LLMQuotaLocalStorageKey,JSON.stringify(s)),s.remainingQuota}};e.\u0275fac=function(r){return new(r||e)(p(Ib),p(xU))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),CU=["textarea"],IM=(()=>{let e=class e{constructor(n){this.clipboard=n,this.textEditEvent=new G,this.dislikeEvent=new G,this.copyEvent=new G,this.destroy=new k}ngOnInit(){this.textareaControl=new al(this.text)}ngAfterViewInit(){zi(this.textarea.nativeElement,"keyup").pipe(Le(n=>{n.ctrlKey&&n.key==="c"&&this.copyEvent.emit()}),ai(300),te(this.destroy)).subscribe(()=>{this.textEditEvent.emit(this.textareaControl.value)})}ngOnChanges(n){n&&n.disabled&&(this.disabled?this.textareaControl?.disable():this.textareaControl?.enable()),n&&n.text&&(this.textareaControl=new al(this.text))}dislike(){this.dislikeEvent.emit()}copy(){this.clipboard.copy(this.textareaControl.value),this.copyEvent.emit()}ngOnDestroy(){this.destroy.next(null),this.destroy.complete()}};e.\u0275fac=function(r){return new(r||e)(f(_M))},e.\u0275cmp=ce({type:e,selectors:[["lib-llm-textarea"]],viewQuery:function(r,o){if(r&1&&qe(CU,5),r&2){let s;ge(s=ve())&&(o.textarea=s.first)}},inputs:{text:"text",disabled:"disabled"},outputs:{textEditEvent:"textEditEvent",dislikeEvent:"dislikeEvent",copyEvent:"copyEvent"},features:[He],decls:12,vars:4,consts:[["textarea",""],[1,"llm-wrapper",3,"ngClass.gt-lg"],[1,"llm-textarea-wrapper"],[1,"llm-textarea",3,"formControl"],[1,"llm-textarea-actions"],["mat-icon-button","",3,"click","disabled"],[1,"material-icons-outlined","copy"],[1,"material-icons-outlined","dislike"]],template:function(r,o){if(r&1){let s=je();E(0,"div",1)(1,"div",2)(2,"textarea",3,0),ue(4," "),S(),E(5,"div",4)(6,"button",5),K("click",function(){return ie(s),re(o.dislike())}),E(7,"mat-icon",6),ue(8," thumb_down "),S()(),E(9,"button",5),K("click",function(){return ie(s),re(o.copy())}),E(10,"mat-icon",7),ue(11," content_copy "),S()()()()()}r&2&&(D("ngClass.gt-lg","desktop"),x(2),D("formControl",o.textareaControl),x(4),D("disabled",o.disabled||!o.textareaControl.value),x(3),D("disabled",o.disabled||!o.textareaControl.value))},dependencies:[vo,yo,Ds,Yu,Ov,Fl],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;bottom:4px;right:4px}"]});let t=e;return t})(),wU=t=>({style:t}),EU=(t,e)=>({limit:t,subscriptionUrl:e});kU=(()=>{let e=class e{get isRephrasingDisabled(){return this.isLoading||!this.initialText||this.rephraseQuotaLeft<1}get defaultErrorMessage(){return this.llmHelperService.getDefaultErrorMessage()}get showMissingQuotaMessage(){return!this.rephraseQuotaLeft&&!this.missingQuotaMessageClosed&&this.isQuotaLoaded}constructor(n,r,o){this.llmService=n,this.llmHelperService=r,this.data=o,this.selectedWritingStyle=Db.GENERAL,this.rephrasedText="",this.manuallyEditedText="",this.savedRephrasings=[],this.writingStyles=Object.values(Db),this.rephrasePlausibleEventName="rephrase",this.missingQuotaMessageClosed=!1}ngOnInit(){this.initialText=this.data.text,this.subscriptionUrl=this.llmService.llmConfiguration.subscriptionUrl,this.reachedQuotaMessage=this.llmHelperService.getReachedQuotaMessage(),this.maxCharLength=this.llmService.llmConfiguration.maxCharLength,this.refreshQuota()}checkRephrasedTextSaves(n){n.value!==this.selectedWritingStyle&&(this.previousWritingStyle=this.selectedWritingStyle,this.selectedWritingStyle=n.value);let r=this.savedRephrasings.find(s=>s.style===this.selectedWritingStyle),o=this.savedRephrasings.find(s=>s.style===this.previousWritingStyle);o?o.text=this.rephrasedText!==""?this.rephrasedText:this.initialText:this.savedRephrasings.push({style:this.previousWritingStyle,text:this.rephrasedText!==""?this.rephrasedText:this.initialText}),this.rephrasedText=r?.text??this.initialText,this.manuallyEditedText="",this.checkTextLimit()}rephraseText(){this.isLoading=!0,this.writingStylePlausibleEvent();let n=this.manuallyEditedText!==""?this.manuallyEditedText:this.initialText;n.length>this.maxCharLength&&(n=n.substring(0,this.maxCharLength)),this.subscription=this.llmService.rephrase({text:n,style:this.selectedWritingStyle}).pipe(Bt(()=>this.isLoading=!1)).subscribe({next:r=>{this.rephrasedText=r,this.manuallyEditedText="",this.showDefaultErrorMessage=!1,this.refreshQuota(!0),this.checkTextLimit()},error:()=>{this.showDefaultErrorMessage=!0}})}cancel(){this.subscription.unsubscribe()}textEditEvent(n){this.manuallyEditedText=n,this.initialText=n,this.rephrasedText="",this.checkTextLimit()}copyPlausibleEvent(){Dr.customEvent(this.rephrasePlausibleEventName,{action:"copy"})}dislikePlausibleEvent(){Dr.customEvent(this.rephrasePlausibleEventName,{action:"dislike"})}checkTextLimit(){let n=this.maxCharLength,r=[this.initialText,this.manuallyEditedText,this.rephrasedText],o=this.rephrasedText&&!this.manuallyEditedText?this.rephrasedText:r.reduce((s,a)=>s.length>a.length?s:a);o.length>n?(this.showExceededLimitMessage=!0,this.exceededLimitMessage=this.llmHelperService.getExceededLimitMessage(o.length)):this.showExceededLimitMessage&&(this.showExceededLimitMessage=!1)}writingStylePlausibleEvent(){Dr.customEvent(this.rephrasePlausibleEventName,{writingStyle:this.selectedWritingStyle})}refreshQuota(n){this.llmHelperService.getRemainingQuota(n).subscribe(r=>{this.rephraseQuotaLeft=r,this.isQuotaLoaded=!0,this.setQuotaMessage()})}setQuotaMessage(){this.showRemainingQuotaMessage=this.rephraseQuotaLeft<=this.llmHelperService.trialRequestCount}};e.\u0275fac=function(r){return new(r||e)(f(Ib),f(DM),f(oh))},e.\u0275cmp=ce({type:e,selectors:[["lib-rephrase"]],decls:36,vars:41,consts:[["closeButton",""],["mat-dialog-title",""],["mat-dialog-content",""],[3,"message","closeClicked",4,"ngIf"],["color","accent","appearance","outline",1,"w-full","llm-writing-style-select"],[3,"selectionChange","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"],[3,"textEditEvent","copyEvent","dislikeEvent","text","disabled"],["mat-dialog-actions","",1,"llm-rephrase-actions-wrapper"],[3,"innerHTML",4,"ngIf"],[1,"llm-rephrase-actions"],["mat-button","","color","accent",3,"click",4,"ngIf","ngIfElse"],["mat-flat-button","","color","accent",3,"click","disabled"],["color","accent","class","ml-2",3,"diameter",4,"ngIf"],[3,"closeClicked","message"],[3,"value"],[3,"innerHTML"],["mat-button","","color","accent",3,"click"],["mat-button","","color","accent",3,"mat-dialog-close"],["color","accent",1,"ml-2",3,"diameter"]],template:function(r,o){if(r&1){let s=je();E(0,"h1",1),ue(1),fe(2,"translate"),S(),E(3,"div",2)(4,"p"),ue(5),fe(6,"translate"),S(),Y(7,DU,1,1,"lib-tld-notification-message",3)(8,IU,1,1,"lib-tld-notification-message",3)(9,MU,1,1,"lib-tld-notification-message",3),E(10,"mat-form-field",4)(11,"mat-label"),ue(12),fe(13,"translate"),S(),E(14,"mat-select",5),K("selectionChange",function(l){return ie(s),re(o.checkRephrasedTextSaves(l))}),Y(15,SU,4,6,"mat-option",6),S()(),E(16,"p",7),ue(17),fe(18,"uppercase"),fe(19,"translate"),fe(20,"translate"),E(21,"span",8),fe(22,"uppercase"),fe(23,"translate"),ue(24," info "),S()(),E(25,"lib-llm-textarea",9),K("textEditEvent",function(l){return ie(s),re(o.textEditEvent(l))})("copyEvent",function(){return ie(s),re(o.copyPlausibleEvent())})("dislikeEvent",function(){return ie(s),re(o.dislikePlausibleEvent())}),S()(),E(26,"div",10),Y(27,TU,2,7,"div",11),E(28,"div",12),Y(29,OU,3,3,"button",13)(30,RU,3,4,"ng-template",null,0,so),E(32,"button",14),K("click",function(){return ie(s),re(o.rephraseText())}),ue(33),fe(34,"translate"),Y(35,FU,1,1,"mat-spinner",15),S()()()}if(r&2){let s=Fn(31);x(),gt(Me(2,20,"LLM.REPHRASE_MODAL.TITLE")),x(4),gt(Me(6,22,"LLM.REPHRASE_MODAL.DESCRIPTION")),x(2),D("ngIf",o.showMissingQuotaMessage),x(),D("ngIf",o.showDefaultErrorMessage),x(),D("ngIf",o.showExceededLimitMessage),x(3),gt(Me(13,24,"LLM.REPHRASE_MODAL.WRITING_STYLES.TITLE")),x(2),D("value",o.selectedWritingStyle),x(),D("ngForOf",o.writingStyles),x(2),dt("",yi(20,30,"LLM.REPHRASE_MODAL.WRITING_STYLES.SPECIFIC_STYLE",Wa(39,wU,Me(19,28,"LLM.REPHRASE_MODAL.WRITING_STYLES."+Me(18,26,o.selectedWritingStyle))))," "),x(4),D("matTooltip",Me(23,35,"LLM.REPHRASE_MODAL.WRITING_STYLES.TOOLTIP_"+Me(22,33,o.selectedWritingStyle))),x(4),D("text",o.rephrasedText!==""?o.rephrasedText:o.initialText)("disabled",o.isLoading||!o.rephraseQuotaLeft),x(2),D("ngIf",o.showRemainingQuotaMessage),x(),pe("w-full",!o.showRemainingQuotaMessage),x(),D("ngIf",o.isLoading)("ngIfElse",s),x(3),D("disabled",o.isRephrasingDisabled),x(),dt(" ",Me(34,37,"LLM.REPHRASE_MODAL.REPHRASE")," "),x(2),D("ngIf",o.isLoading)}},dependencies:[Eu,ys,gl,vb,yb,Ab,bb,If,Qs,Sf,Vs,wM,Gs,Bs,IM,yw,Ei],styles:[".info-icon[_ngcontent-%COMP%]{font-size:1rem;margin-left:5px}[_nghost-%COMP%] .message-body{font-size:14px}[_nghost-%COMP%] .notification-message-container{margin:0 0 16px;padding:.9em 1em!important}[_nghost-%COMP%] .text-container{margin-right:0!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:180px!important}[_nghost-%COMP%] .desktop .llm-textarea{min-height:410px!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-rephrase-actions-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin:0 1rem .5rem}.llm-rephrase-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}"]});let t=e;return t})(),LU=(t,e)=>({limit:t,subscriptionUrl:e});zU=(()=>{let e=class e{get isCreatingDisabled(){return this.isLoading||!this.initialText||this.summaryQuotaLeft<1}get defaultErrorMessage(){return this.llmHelperService.getDefaultErrorMessage()}get showMissingQuotaMessage(){return!this.summaryQuotaLeft&&!this.missingQuotaMessageClosed&&this.isQuotaLoaded}constructor(n,r,o){this.llmService=n,this.llmHelperService=r,this.data=o,this.summarizedText="",this.manuallyEditedText="",this.summaryPlausibleEventName="summary",this.missingQuotaMessageClosed=!1}ngOnInit(){this.initialText=this.data.text,this.language=this.data.language,this.subscriptionUrl=this.llmService.llmConfiguration.subscriptionUrl,this.reachedQuotaMessage=this.llmHelperService.getReachedQuotaMessage(),this.maxCharLength=this.llmService.llmConfiguration.maxCharLength,this.refreshQuota()}createSummary(){this.isLoading=!0,this.summaryPlausibleEvent();let n=this.manuallyEditedText!==""?this.manuallyEditedText:this.initialText;n.length>this.maxCharLength&&(n=n.substring(0,this.maxCharLength)),this.subscription=this.llmService.summarize({text:n,language:this.language}).pipe(Bt(()=>this.isLoading=!1)).subscribe({next:r=>{this.isSummarized=!0,this.summarizedText=r,this.manuallyEditedText="",this.showDefaultErrorMessage=!1,this.refreshQuota(!0),this.checkTextLimit()},error:()=>{this.showDefaultErrorMessage=!0}})}cancel(){this.subscription.unsubscribe()}textEditEvent(n){this.manuallyEditedText=n,this.initialText=n,this.checkTextLimit()}copyPlausibleEvent(){Dr.customEvent(this.summaryPlausibleEventName,{action:"copy"})}dislikePlausibleEvent(){Dr.customEvent(this.summaryPlausibleEventName,{action:"dislike"})}summaryPlausibleEvent(){Dr.customEvent(this.summaryPlausibleEventName,{action:"summary"})}checkTextLimit(){let n=this.maxCharLength,r=[this.initialText,this.manuallyEditedText,this.summarizedText],o=this.summarizedText&&!this.manuallyEditedText?this.summarizedText:r.reduce((s,a)=>s.length>a.length?s:a);o.length>n?(this.showExceededLimitMessage=!0,this.exceededLimitMessage=this.llmHelperService.getExceededLimitMessage(o.length)):this.showExceededLimitMessage&&(this.showExceededLimitMessage=!1)}refreshQuota(n){this.llmHelperService.getRemainingQuota(n).subscribe(r=>{this.summaryQuotaLeft=r,this.isQuotaLoaded=!0,this.setQuotaMessage()})}setQuotaMessage(){this.showRemainingQuotaMessage=this.summaryQuotaLeft<=this.llmHelperService.trialRequestCount}};e.\u0275fac=function(r){return new(r||e)(f(Ib),f(DM),f(oh))},e.\u0275cmp=ce({type:e,selectors:[["lib-create-summary"]],decls:21,vars:21,consts:[["closeButton",""],["mat-dialog-title",""],["mat-dialog-content",""],[3,"message","closeClicked",4,"ngIf"],[3,"textEditEvent","copyEvent","dislikeEvent","text","disabled"],["mat-dialog-actions","",1,"llm-summary-actions-wrapper"],[3,"innerHTML",4,"ngIf"],[1,"llm-summary-actions"],["mat-button","","color","accent",3,"click",4,"ngIf","ngIfElse"],["mat-flat-button","","color","accent",3,"click","disabled"],["color","accent","class","ml-2",3,"diameter",4,"ngIf"],[3,"closeClicked","message"],[3,"innerHTML"],["mat-button","","color","accent",3,"click"],["mat-button","","color","accent",3,"mat-dialog-close"],["color","accent",1,"ml-2",3,"diameter"]],template:function(r,o){if(r&1){let s=je();E(0,"h1",1),ue(1),fe(2,"translate"),S(),E(3,"div",2)(4,"p"),ue(5),fe(6,"translate"),S(),Y(7,PU,1,1,"lib-tld-notification-message",3)(8,NU,1,1,"lib-tld-notification-message",3)(9,jU,1,1,"lib-tld-notification-message",3),E(10,"lib-llm-textarea",4),K("textEditEvent",function(l){return ie(s),re(o.textEditEvent(l))})("copyEvent",function(){return ie(s),re(o.copyPlausibleEvent())})("dislikeEvent",function(){return ie(s),re(o.dislikePlausibleEvent())}),S()(),E(11,"div",5),Y(12,VU,2,7,"div",6),E(13,"div",7),Y(14,BU,3,3,"button",8)(15,UU,3,4,"ng-template",null,0,so),E(17,"button",9),K("click",function(){return ie(s),re(o.createSummary())}),ue(18),fe(19,"translate"),Y(20,HU,1,1,"mat-spinner",10),S()()()}if(r&2){let s=Fn(16);x(),gt(Me(2,15,"LLM.SUMMARY_MODAL.TITLE")),x(4),gt(Me(6,17,"LLM.SUMMARY_MODAL.DESCRIPTION")),x(2),D("ngIf",o.showMissingQuotaMessage),x(),D("ngIf",o.showDefaultErrorMessage),x(),D("ngIf",o.showExceededLimitMessage),x(),D("text",o.summarizedText!==""?o.summarizedText:o.initialText)("disabled",o.isLoading||!o.summaryQuotaLeft),x(2),D("ngIf",o.showRemainingQuotaMessage),x(),pe("w-full",!o.showRemainingQuotaMessage),x(),D("ngIf",o.isLoading)("ngIfElse",s),x(3),D("disabled",o.isCreatingDisabled),x(),dt(" ",Me(19,19,o.isSummarized?"LLM.SUMMARY_MODAL.REGENERATE":"LLM.SUMMARY_MODAL.CREATE")," "),x(2),D("ngIf",o.isLoading)}},dependencies:[ys,gl,vb,yb,Ab,bb,wM,Bs,IM,Ei],styles:["[_nghost-%COMP%] .message-body{font-size:14px}[_nghost-%COMP%] .notification-message-container{margin:0 0 16px;padding:.9em 1em!important}[_nghost-%COMP%] .text-container{margin-right:0!important}.w-full[_ngcontent-%COMP%]{width:100%}.llm-summary-actions[_ngcontent-%COMP%]{display:flex;justify-content:end}.llm-summary-actions-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin:0 1rem .5rem}[_nghost-%COMP%] .mdc-button__label{display:flex!important;align-items:center!important}"]});let t=e;return t})(),WU=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
17
+ `;o.appendChild(e.createTextNode(s))}e.head.appendChild(o),n.forEach(s=>GD[s]=o)}catch(o){console.error(o)}}}function Ij(t){let e=new EventTarget;return e.matches=t==="all"||t==="",e.media=t,e.addListener=()=>{},e.removeListener=()=>{},e.addEventListener=()=>{},e.dispatchEvent=()=>!1,e.onchange=null,e}function Mj(t,e){return e&&!!window.matchMedia("all").addListener?window.matchMedia(t):Ij(t)}function Tj(t){let e=t.length>0?t.charAt(0):"",i=t.length>1?t.slice(1):"";return e.toUpperCase()+i}function Oj(t){return t.replace(Sj,"|").split("|").map(Tj).join("")}function Rj(t){return t.forEach(e=>{e.suffix||(e.suffix=Oj(e.alias),e.overlapping=!!e.overlapping)}),t}function Fj(t,e=[]){let i={};return t.forEach(n=>{i[n.alias]=n}),e.forEach(n=>{i[n.alias]?Pn(i[n.alias],n):i[n.alias]=n}),Rj(Object.keys(i).map(n=>i[n]))}function Vj(t){return t?.mediaQuery.startsWith(Qs)??!1}function XD(t,e,i,n){if(n!==void 0){let r=t.get(e)??new Map;r.set(i,n),t.set(e,r)}}function by(t,e="1",i="1"){let n=[e,i,t],r=t.indexOf("calc");if(r>0){n[2]=JD(t.substring(r).trim());let o=t.substr(0,r).trim().split(" ");o.length==2&&(n[0]=o[0],n[1]=o[1])}else if(r==0)n[2]=JD(t.trim());else{let o=t.split(" ");n=o.length===3?o:[e,i,t]}return n}function JD(t){return t.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}function kf(t,e){if(e===void 0)return t;let i=n=>{let r=+n.slice(0,-eI.length);return t.endsWith(eI)&&!isNaN(r)?`${r*e.value}${e.unit}`:t};return t.includes(" ")?t.split(" ").map(i).join(" "):i(t)}var bj,WD,qs,xo,Aj,Rf,yn,Rl,Ff,ei,Pi,Ej,GD,Sj,kj,KD,QD,qD,YD,ZD,$D,Li,Lj,Pj,iI,Qs,Nj,jj,yy,yr,br,eI,Ar=g(()=>{"use strict";O();O();Ie();Qe();vy();at();bj={provide:gs,useFactory:yj,deps:[U,bt],multi:!0},WD="flex-layout-";qs=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({providers:[bj]});let t=e;return t})(),xo=class t{constructor(e=!1,i="all",n="",r="",o=0){this.matches=e,this.mediaQuery=i,this.mqAlias=n,this.suffix=r,this.priority=o,this.property=""}clone(){return new t(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}};Aj=(()=>{let e=class e{constructor(){this.stylesheet=new Map}addStyleToElement(n,r,o){let s=this.stylesheet.get(n);s?s.set(r,o):this.stylesheet.set(n,new Map([[r,o]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(n,r){let o=this.stylesheet.get(n),s="";if(o){let a=o.get(r);(typeof a=="number"||typeof a=="string")&&(s=a+"")}return s}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();Rf={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},yn=new C("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>Rf});Rl=new C("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1});Ff=new C("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});ei=class{constructor(){this.shouldCache=!0}sideEffect(e,i,n){}};Pi=(()=>{let e=class e{constructor(n,r,o,s){this._serverStylesheet=n,this._serverModuleLoaded=r,this._platformId=o,this.layoutConfig=s}applyStyleToElement(n,r,o=null){let s={};typeof r=="string"&&(s[r]=o,r=s),s=this.layoutConfig.disableVendorPrefixes?r:gy(r),this._applyMultiValueStyleToElement(s,n)}applyStyleToElements(n,r=[]){let o=this.layoutConfig.disableVendorPrefixes?n:gy(n);r.forEach(s=>{this._applyMultiValueStyleToElement(o,s)})}getFlowDirection(n){let r="flex-direction",o=this.lookupStyle(n,r),s=this.lookupInlineStyle(n,r)||wi(this._platformId)&&this._serverModuleLoaded?o:"";return[o||"row",s]}hasWrap(n){return this.lookupStyle(n,"flex-wrap")==="wrap"}lookupAttributeValue(n,r){return n.getAttribute(r)??""}lookupInlineStyle(n,r){return Qn(this._platformId)?n.style.getPropertyValue(r):_j(n,r)}lookupStyle(n,r,o=!1){let s="";return n&&((s=this.lookupInlineStyle(n,r))||(Qn(this._platformId)?o||(s=getComputedStyle(n).getPropertyValue(r)):this._serverModuleLoaded&&(s=this._serverStylesheet.getStyleForElement(n,r)))),s?s.trim():""}_applyMultiValueStyleToElement(n,r){Object.keys(n).sort().forEach(o=>{let s=n[o],a=Array.isArray(s)?s:[s];a.sort();for(let l of a)l=l?l+"":"",Qn(this._platformId)||!this._serverModuleLoaded?Qn(this._platformId)?r.style.setProperty(o,l):xj(r,o,l):this._serverStylesheet.addStyleToElement(r,o,l)})}};e.\u0275fac=function(r){return new(r||e)(p(Aj),p(Rl),p(bt),p(yn))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();Ej=(()=>{let e=class e{constructor(n,r,o,s){this._zone=n,this._platformId=r,this._document=o,this._nonce=s,this.source=new ot(new xo(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){let n=[];return this.registry.forEach((r,o)=>{r.matches&&n.push(o)}),n}isActive(n){return this.registry.get(n)?.matches??this.registerQuery(n).some(o=>o.matches)}observe(n,r=!1){if(n&&n.length){let o=this._observable$.pipe(de(a=>r?n.indexOf(a.mediaQuery)>-1:!0)),s=new X(a=>{let l=this.registerQuery(n);if(l.length){let c=l.pop();l.forEach(d=>{a.next(d)}),this.source.next(c)}a.complete()});return mt(s,o)}return this._observable$}registerQuery(n){let r=Array.isArray(n)?n:[n],o=[];return Dj(r,this._document,this._nonce),r.forEach(s=>{let a=c=>{this._zone.run(()=>this.source.next(new xo(c.matches,s)))},l=this.registry.get(s);l||(l=this.buildMQL(s),l.addListener(a),this.pendingRemoveListenerFns.push(()=>l.removeListener(a)),this.registry.set(s,l)),l.matches&&o.push(new xo(!0,s))}),o}ngOnDestroy(){let n;for(;n=this.pendingRemoveListenerFns.pop();)n()}buildMQL(n){return Mj(n,Qn(this._platformId))}};e.\u0275fac=function(r){return new(r||e)(p(F),p(bt),p(U),p(ro,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),GD={};Sj=/(\.|-|_)/g;kj=[{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}];KD="(orientation: portrait) and (max-width: 599.98px)",QD="(orientation: landscape) and (max-width: 959.98px)",qD="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",YD="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",ZD="(orientation: portrait) and (min-width: 840px)",$D="(orientation: landscape) and (min-width: 1280px)",Li={HANDSET:`${KD}, ${QD}`,TABLET:`${qD} , ${YD}`,WEB:`${ZD}, ${$D} `,HANDSET_PORTRAIT:`${KD}`,TABLET_PORTRAIT:`${qD} `,WEB_PORTRAIT:`${ZD}`,HANDSET_LANDSCAPE:`${QD}`,TABLET_LANDSCAPE:`${YD}`,WEB_LANDSCAPE:`${$D}`},Lj=[{alias:"handset",priority:2e3,mediaQuery:Li.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:Li.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:Li.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:Li.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:Li.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:Li.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:Li.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:Li.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:Li.WEB_PORTRAIT,overlapping:!0}];Pj=new C("Token (@ngbracket/ngx-layout) Breakpoints",{providedIn:"root",factory:()=>{let t=y(Ff),e=y(yn),i=[].concat.apply([],(t||[]).map(r=>Array.isArray(r)?r:[r])),n=(e.disableDefaultBps?[]:kj).concat(e.addOrientationBps?Lj:[]);return Fj(n,i)}});iI=(()=>{let e=class e{constructor(n){this.findByMap=new Map,this.items=[...n].sort(wj)}findByAlias(n){return n?this.findWithPredicate(n,r=>r.alias===n):null}findByQuery(n){return this.findWithPredicate(n,r=>r.mediaQuery===n)}get overlappings(){return this.items.filter(n=>n.overlapping)}get aliases(){return this.items.map(n=>n.alias)}get suffixes(){return this.items.map(n=>n?.suffix??"")}findWithPredicate(n,r){let o=this.findByMap.get(n);return o||(o=this.items.find(r)??null,this.findByMap.set(n,o)),o??null}};e.\u0275fac=function(r){return new(r||e)(p(Pj))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();Qs="print",Nj={alias:Qs,mediaQuery:Qs,priority:1e3},jj=(()=>{let e=class e{constructor(n,r,o){this.breakpoints=n,this.layoutConfig=r,this._document=o,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new yy,this.deactivations=[]}withPrintQuery(n){return[...n,Qs]}isPrintEvent(n){return n.mediaQuery.startsWith(Qs)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(n=>this.breakpoints.findByAlias(n)).filter(n=>n!==null)}getEventBreakpoints({mediaQuery:n}){let r=this.breakpoints.findByQuery(n);return(r?[...this.printBreakPoints,r]:this.printBreakPoints).sort(Ol)}updateEvent(n){let r=this.breakpoints.findByQuery(n.mediaQuery);return this.isPrintEvent(n)&&(r=this.getEventBreakpoints(n)[0],n.mediaQuery=r?.mediaQuery??""),tI(n,r)}registerBeforeAfterPrintHooks(n){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;let r=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(n,this.getEventBreakpoints(new xo(!0,Qs))),n.updateStyles())},o=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(n),n.updateStyles())};this._document.defaultView.addEventListener("beforeprint",r),this._document.defaultView.addEventListener("afterprint",o),this.beforePrintEventListeners.push(r),this.afterPrintEventListeners.push(o)}interceptEvents(n){return r=>{if(this.isPrintEvent(r)){r.matches&&!this.isPrinting?(this.startPrinting(n,this.getEventBreakpoints(r)),n.updateStyles()):!r.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(n),n.updateStyles());return}this.collectActivations(n,r)}}blockPropagation(){return n=>!(this.isPrinting||this.isPrintEvent(n))}startPrinting(n,r){this.isPrinting=!0,this.formerActivations=n.activatedBreakpoints,n.activatedBreakpoints=this.queue.addPrintBreakpoints(r)}stopPrinting(n){n.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(n,r){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent){this.deactivations=[];return}if(!r.matches){let o=this.breakpoints.findByQuery(r.mediaQuery);if(o){let s=this.formerActivations&&this.formerActivations.includes(o),a=!this.formerActivations&&n.activatedBreakpoints.includes(o);(s||a)&&(this.deactivations.push(o),this.deactivations.sort(Ol))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(n=>this._document.defaultView.removeEventListener("beforeprint",n)),this.afterPrintEventListeners.forEach(n=>this._document.defaultView.removeEventListener("afterprint",n)))}};e.\u0275fac=function(r){return new(r||e)(p(iI),p(yn),p(U))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),yy=class{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(e){return e.push(Nj),e.sort(Ol),e.forEach(i=>this.addBreakpoint(i)),this.printBreakpoints}addBreakpoint(e){e&&this.printBreakpoints.find(n=>n.mediaQuery===e.mediaQuery)===void 0&&(this.printBreakpoints=Vj(e)?[e,...this.printBreakpoints]:[...this.printBreakpoints,e])}clear(){this.printBreakpoints=[]}};yr=(()=>{let e=class e{get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(n){this._activatedBreakpoints=[...n]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(n){this._useFallbacks=n}constructor(n,r,o){this.matchMedia=n,this.breakpoints=r,this.hook=o,this._useFallbacks=!0,this._activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new k,this.observeActivations()}onMediaChange(n){let r=this.findByQuery(n.mediaQuery);if(r){n=tI(n,r);let o=this.activatedBreakpoints.indexOf(r);n.matches&&o===-1?(this._activatedBreakpoints.push(r),this._activatedBreakpoints.sort(Ol),this.updateStyles()):!n.matches&&o!==-1&&(this._activatedBreakpoints.splice(o,1),this._activatedBreakpoints.sort(Ol),this.updateStyles())}}init(n,r,o,s,a=[]){XD(this.updateMap,n,r,o),XD(this.clearMap,n,r,s),this.buildElementKeyMap(n,r),this.watchExtraTriggers(n,r,a)}getValue(n,r,o){let s=this.elementMap.get(n);if(s){let a=o!==void 0?s.get(o):this.getActivatedValues(s,r);if(a)return a.get(r)}}hasValue(n,r){let o=this.elementMap.get(n);if(o){let s=this.getActivatedValues(o,r);if(s)return s.get(r)!==void 0||!1}return!1}setValue(n,r,o,s){let a=this.elementMap.get(n);if(!a)a=new Map().set(s,new Map().set(r,o)),this.elementMap.set(n,a);else{let c=(a.get(s)??new Map).set(r,o);a.set(s,c),this.elementMap.set(n,a)}let l=this.getValue(n,r);l!==void 0&&this.updateElement(n,r,l)}trackValue(n,r){return this.subject.asObservable().pipe(de(o=>o.element===n&&o.key===r))}updateStyles(){this.elementMap.forEach((n,r)=>{let o=new Set(this.elementKeyMap.get(r)),s=this.getActivatedValues(n);s&&s.forEach((a,l)=>{this.updateElement(r,l,a),o.delete(l)}),o.forEach(a=>{if(s=this.getActivatedValues(n,a),s){let l=s.get(a);this.updateElement(r,a,l)}else this.clearElement(r,a)})})}clearElement(n,r){let o=this.clearMap.get(n);if(o){let s=o.get(r);s&&(s(),this.subject.next({element:n,key:r,value:""}))}}updateElement(n,r,o){let s=this.updateMap.get(n);if(s){let a=s.get(r);a&&(a(o),this.subject.next({element:n,key:r,value:o}))}}releaseElement(n){let r=this.watcherMap.get(n);r&&(r.forEach(s=>s.unsubscribe()),this.watcherMap.delete(n));let o=this.elementMap.get(n);o&&(o.forEach((s,a)=>o.delete(a)),this.elementMap.delete(n))}triggerUpdate(n,r){let o=this.elementMap.get(n);if(o){let s=this.getActivatedValues(o,r);s&&(r?this.updateElement(n,r,s.get(r)):s.forEach((a,l)=>this.updateElement(n,l,a)))}}buildElementKeyMap(n,r){let o=this.elementKeyMap.get(n);o||(o=new Set,this.elementKeyMap.set(n,o)),o.add(r)}watchExtraTriggers(n,r,o){if(o&&o.length){let s=this.watcherMap.get(n);if(s||(s=new Map,this.watcherMap.set(n,s)),!s.get(r)){let l=mt(...o).subscribe(()=>{let c=this.getValue(n,r);this.updateElement(n,r,c)});s.set(r,l)}}}findByQuery(n){return this.breakpoints.findByQuery(n)}getActivatedValues(n,r){for(let s=0;s<this.activatedBreakpoints.length;s++){let a=this.activatedBreakpoints[s],l=n.get(a.alias);if(l&&(r===void 0||l.has(r)&&l.get(r)!=null))return l}if(!this._useFallbacks)return;let o=n.get("");return r===void 0||o&&o.has(r)?o:void 0}observeActivations(){let n=this.breakpoints.items.map(r=>r.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(n)).pipe(Le(this.hook.interceptEvents(this)),de(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}};e.\u0275fac=function(r){return new(r||e)(p(Ej),p(iI),p(jj))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();br=(()=>{let e=class e{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(n){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,n,this.marshal.activatedAlias)}constructor(n,r,o,s){this.elementRef=n,this.styleBuilder=r,this.styler=o,this.marshal=s,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new k,this.styleCache=new Map}ngOnChanges(n){Object.keys(n).forEach(r=>{if(this.inputs.indexOf(r)!==-1){let o=r.split(".").slice(1).join("."),s=n[r].currentValue;this.setValue(s,o)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(n=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),n)}addStyles(n,r){let o=this.styleBuilder,s=o.shouldCache,a=this.styleCache.get(n);(!a||!s)&&(a=o.buildStyles(n,r),s&&this.styleCache.set(n,a)),this.mru=A({},a),this.applyStyleToElement(a),o.sideEffect(n,a,r)}clearStyles(){Object.keys(this.mru).forEach(n=>{this.mru[n]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(n,r=!1){if(n){let[o,s]=this.styler.getFlowDirection(n);if(!s&&r){let a=Of(o),l=[n];this.styler.applyStyleToElements(a,l)}return o.trim()}return"row"}hasWrap(n){return this.styler.hasWrap(n)}applyStyleToElement(n,r,o=this.nativeElement){this.styler.applyStyleToElement(o,n,r)}setValue(n,r){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,n,r)}updateWithValue(n){this.currentValue!==n&&(this.addStyles(n),this.currentValue=n)}};e.\u0275fac=function(r){return new(r||e)(f(P),f(ei),f(Pi),f(yr))},e.\u0275dir=V({type:e,features:[He]});let t=e;return t})();eI="x";});var Uj,Hj,Fl,Ay,kl=g(()=>{"use strict";O();Ar();Ar();Ie();Ie();Uj=(()=>{let e=class e extends br{set klass(n){this.ngClassInstance.klass=n,this.setValue(n,"")}constructor(n,r,o,s,a){super(n,null,r,o),this.ngClassInstance=a,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new Ci(n,s)),this.init(),this.setValue("","")}updateWithValue(n){this.ngClassInstance.ngClass=n,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}};e.\u0275fac=function(r){return new(r||e)(f(P),f(Pi),f(yr),f(Rn),f(Ci,10))},e.\u0275dir=V({type:e,inputs:{klass:[w.None,"class","klass"]},features:[Ce]});let t=e;return t})(),Hj=["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"],Fl=(()=>{let e=class e extends Uj{constructor(){super(...arguments),this.inputs=Hj}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=it(e)))(o||e)}})(),e.\u0275dir=V({type:e,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:[Ce]});let t=e;return t})();Ay=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[qs]});let t=e;return t})();});function mV(t,e){let[i,n]=t.split(" "),r=n??i,o="0px",s=r,a="0px";return e==="rtl"?a=i:o=i,{padding:`0px ${o} ${s} ${a}`}}function pV(t,e){let[i,n]=t.split(" "),r=n??i,o=c=>`-${c}`,s="0px",a=o(r),l="0px";return e==="rtl"?l=o(i):s=o(i),{margin:`0px ${s} ${a} ${l}`}}function uI(t,e){switch(e){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 gV(t,e){let i=uI(e.directionality,e.layout),n=A({},cI);return n[i]=t,n}var zj,Wj,Gj,aI,Kj,Qj,qj,Yj,Zj,$j,Xj,lI,Jj,eV,tV,nV,iV,rV,oV,sV,cI,aV,lV,cV,dI,dV,uV,fV,hV,Lf,vV,yV,bV,fI,sI,_y,Pf=g(()=>{"use strict";pn();pn();O();Ar();Ar();vy();at();Qe();zj=(()=>{let e=class e extends ei{constructor(n){super(),this.layoutConfig=n}buildStyles(n,r){let[o,s,...a]=n.split(" "),l=a.join(" "),c=r.direction.indexOf("column")>-1?"column":"row",d=Tl(c)?"max-width":"max-height",u=Tl(c)?"min-width":"min-height",h=String(l).indexOf("calc")>-1,m=h||l==="auto",v=String(l).indexOf("%")>-1&&!h,_=String(l).indexOf("px")>-1||String(l).indexOf("rem")>-1||String(l).indexOf("em")>-1||String(l).indexOf("vw")>-1||String(l).indexOf("vh")>-1,I=h||_;o=o=="0"?0:o,s=s=="0"?0:s;let M=!o&&!s,L={},me={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(l||""){case"":let W=this.layoutConfig.useColumnBasisZero!==!1;l=c==="row"?"0%":W?"0.000000001px":"auto";break;case"initial":case"nogrow":o=0,l="auto";break;case"grow":l="100%";break;case"noshrink":s=0,l="auto";break;case"auto":break;case"none":o=0,s=0,l="auto";break;default:!I&&!v&&!isNaN(l)&&(l=l+"%"),l==="0%"&&(I=!0),l==="0px"&&(l="0%"),h?L=Pn(me,{"flex-grow":o,"flex-shrink":s,"flex-basis":I?l:"100%"}):L=Pn(me,{flex:`${o} ${s} ${I?l:"100%"}`});break}return L.flex||L["flex-grow"]||(h?L=Pn(me,{"flex-grow":o,"flex-shrink":s,"flex-basis":l}):L=Pn(me,{flex:`${o} ${s} ${l}`})),l!=="0%"&&l!=="0px"&&l!=="0.000000001px"&&l!=="auto"&&(L[u]=M||I&&o?l:null,L[d]=M||!m&&s?l:null),!L[u]&&!L[d]?h?L=Pn(me,{"flex-grow":o,"flex-shrink":s,"flex-basis":l}):L=Pn(me,{flex:`${o} ${s} ${l}`}):r.hasWrap&&(L[h?"flex-basis":"flex"]=L[d]?h?L[d]:`${o} ${s} ${L[d]}`:h?L[u]:`${o} ${s} ${L[u]}`),Pn(L,{"box-sizing":"border-box"})}};e.\u0275fac=function(r){return new(r||e)(p(yn))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Wj=["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"],Gj=(()=>{let e=class e extends br{get shrink(){return this.flexShrink}set shrink(n){this.flexShrink=n||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(n){this.flexGrow=n||"1",this.triggerReflow()}constructor(n,r,o,s,a){super(n,s,r,a),this.layoutConfig=o,this.marshal=a,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(te(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(te(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(n){let o=n.value.split(" ");this.direction=o[0],this.wrap=o[1]!==void 0&&o[1]==="wrap",this.triggerUpdate()}updateWithValue(n){let r=this.layoutConfig.addFlexToParent!==!1;this.direction===void 0&&(this.direction=this.getFlexFlowDirection(this.parentElement,r)),this.wrap===void 0&&(this.wrap=this.hasWrap(this.parentElement));let o=this.direction,s=o.startsWith("row"),a=this.wrap;s&&a?this.styleCache=qj:s&&!a?this.styleCache=Kj:!s&&a?this.styleCache=Yj:!s&&!a&&(this.styleCache=Qj);let l=String(n).replace(";",""),c=by(l,this.flexGrow,this.flexShrink);this.addStyles(c.join(" "),{direction:o,hasWrap:a})}triggerReflow(){let n=this.activatedValue;if(n!==void 0){let r=by(n+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,r.join(" "))}}};e.\u0275fac=function(r){return new(r||e)(f(P),f(Pi),f(yn),f(zj),f(yr))},e.\u0275dir=V({type:e,inputs:{shrink:[w.None,"fxShrink","shrink"],grow:[w.None,"fxGrow","grow"]},features:[Ce]});let t=e;return t})(),aI=(()=>{let e=class e extends Gj{constructor(){super(...arguments),this.inputs=Wj}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=it(e)))(o||e)}})(),e.\u0275dir=V({type:e,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:[Ce]});let t=e;return t})(),Kj=new Map,Qj=new Map,qj=new Map,Yj=new Map;Zj=(()=>{let e=class e extends ei{buildStyles(n,r){let o={},[s,a]=n.split(" ");switch(s){case"center":o["justify-content"]="center";break;case"space-around":o["justify-content"]="space-around";break;case"space-between":o["justify-content"]="space-between";break;case"space-evenly":o["justify-content"]="space-evenly";break;case"end":case"flex-end":o["justify-content"]="flex-end";break;case"start":case"flex-start":default:o["justify-content"]="flex-start";break}switch(a){case"start":case"flex-start":o["align-items"]=o["align-content"]="flex-start";break;case"center":o["align-items"]=o["align-content"]="center";break;case"end":case"flex-end":o["align-items"]=o["align-content"]="flex-end";break;case"space-between":o["align-content"]="space-between",o["align-items"]="stretch";break;case"space-around":o["align-content"]="space-around",o["align-items"]="stretch";break;case"baseline":o["align-content"]="stretch",o["align-items"]="baseline";break;case"stretch":default:o["align-items"]=o["align-content"]="stretch";break}return Pn(o,{display:r.inline?"inline-flex":"flex","flex-direction":r.layout,"box-sizing":"border-box","max-width":a==="stretch"?Tl(r.layout)?null:"100%":null,"max-height":a==="stretch"&&Tl(r.layout)?"100%":null})}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=it(e)))(o||e)}})(),e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),$j=["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"],Xj=(()=>{let e=class e extends br{constructor(n,r,o,s){super(n,o,r,s),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe(te(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(n){let r=this.layout||"row",o=this.inline;r==="row"&&o?this.styleCache=iV:r==="row"&&!o?this.styleCache=Jj:r==="row-reverse"&&o?this.styleCache=oV:r==="row-reverse"&&!o?this.styleCache=tV:r==="column"&&o?this.styleCache=rV:r==="column"&&!o?this.styleCache=eV:r==="column-reverse"&&o?this.styleCache=sV:r==="column-reverse"&&!o&&(this.styleCache=nV),this.addStyles(n,{layout:r,inline:o})}onLayoutChange(n){let r=n.value.split(" ");this.layout=r[0],this.inline=n.value.includes("inline"),Sl.find(o=>o===this.layout)||(this.layout="row"),this.triggerUpdate()}};e.\u0275fac=function(r){return new(r||e)(f(P),f(Pi),f(Zj),f(yr))},e.\u0275dir=V({type:e,features:[Ce]});let t=e;return t})(),lI=(()=>{let e=class e extends Xj{constructor(){super(...arguments),this.inputs=$j}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=it(e)))(o||e)}})(),e.\u0275dir=V({type:e,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:[Ce]});let t=e;return t})(),Jj=new Map,eV=new Map,tV=new Map,nV=new Map,iV=new Map,rV=new Map,oV=new Map,sV=new Map,cI={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null},aV=(()=>{let e=class e extends ei{constructor(n,r){super(),this._styler=n,this._config=r}buildStyles(n,r){return n.endsWith(Lf)?(n=n.slice(0,n.indexOf(Lf)),n=kf(n,this._config.multiplier),pV(n,r.directionality)):{}}sideEffect(n,r,o){let s=o.items;if(n.endsWith(Lf)){n=n.slice(0,n.indexOf(Lf)),n=kf(n,this._config.multiplier);let a=mV(n,o.directionality);this._styler.applyStyleToElements(a,o.items)}else{n=kf(n,this._config.multiplier),n=this.addFallbackUnit(n);let a=s.pop(),l=gV(n,o);this._styler.applyStyleToElements(l,s),this._styler.applyStyleToElements(cI,[a])}}addFallbackUnit(n){return isNaN(+n)?n:`${n}${this._config.defaultUnit}`}};e.\u0275fac=function(r){return new(r||e)(p(Pi),p(yn))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),lV=["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"],cV=(()=>{let e=class e extends br{get childrenNodes(){let n=this.nativeElement.children,r=[];for(let o=n.length;o--;)r[o]=n[o];return r}constructor(n,r,o,s,a,l){super(n,a,s,l),this.zone=r,this.directionality=o,this.styleUtils=s,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.observerSubject=new k;let c=[this.directionality.change,this.observerSubject.asObservable()];this.init(c),this.marshal.trackValue(this.nativeElement,"layout").pipe(te(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(n){let o=n.value.split(" ")[0];Sl.find(s=>s===o)||(o="row"),this.layout&&this.layout!==o&&this.clearStyles(),this.layout=o,this.triggerUpdate()}updateWithValue(n){let r=this.childrenNodes.filter(o=>o.nodeType===1&&this.willDisplay(o)).sort((o,s)=>{let a=+this.styler.lookupStyle(o,"order"),l=+this.styler.lookupStyle(s,"order");return isNaN(a)||isNaN(l)||a===l?0:a>l?1:-1});if(r.length>0){let o=this.directionality.value,s=this.layout;s==="row"&&o==="rtl"?this.styleCache=dV:s==="row"&&o!=="rtl"?this.styleCache=fV:s==="column"&&o==="rtl"?this.styleCache=uV:s==="column"&&o!=="rtl"&&(this.styleCache=hV),this.addStyles(n,{directionality:o,items:r,layout:s})}}clearStyles(){let n=Object.keys(this.mru).length>0,r=n?"padding":uI(this.directionality.value,this.layout);n&&super.clearStyles(),this.styleUtils.applyStyleToElements({[r]:""},this.childrenNodes)}willDisplay(n){let r=this.marshal.getValue(n,"show-hide");return r===!0||r===void 0&&this.styleUtils.lookupStyle(n,"display")!=="none"}buildChildObservable(){this.zone.runOutsideAngular(()=>{typeof MutationObserver<"u"&&(this.observer=new MutationObserver(n=>{let r=o=>o.addedNodes&&o.addedNodes.length>0||o.removedNodes&&o.removedNodes.length>0;n.some(r)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}};e.\u0275fac=function(r){return new(r||e)(f(P),f(F),f(Lt),f(Pi),f(aV),f(yr))},e.\u0275dir=V({type:e,features:[Ce]});let t=e;return t})(),dI=(()=>{let e=class e extends cV{constructor(){super(...arguments),this.inputs=lV}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=it(e)))(o||e)}})(),e.\u0275dir=V({type:e,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:[Ce]});let t=e;return t})(),dV=new Map,uV=new Map,fV=new Map,hV=new Map,Lf=" grid";vV=(()=>{let e=class e extends ei{buildStyles(n,{display:r}){let o=Of(n);return we(A({},o),{display:r==="none"?r:o.display})}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=it(e)))(o||e)}})(),e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),yV=["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"],bV=(()=>{let e=class e extends br{constructor(n,r,o,s,a){super(n,o,r,s),this._config=a,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(n){let o=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=sI.get(o)??new Map,sI.set(o,this.styleCache),this.currentValue!==n&&(this.addStyles(n,{display:o}),this.currentValue=n)}};e.\u0275fac=function(r){return new(r||e)(f(P),f(Pi),f(vV),f(yr),f(yn))},e.\u0275dir=V({type:e,features:[Ce]});let t=e;return t})(),fI=(()=>{let e=class e extends bV{constructor(){super(...arguments),this.inputs=yV}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=it(e)))(o||e)}})(),e.\u0275dir=V({type:e,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:[Ce]});let t=e;return t})(),sI=new Map;_y=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[qs,Yn]});let t=e;return t})();});var xy,Cy=g(()=>{"use strict";O();Ar();xy=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[qs]});let t=e;return t})();});var Ll,z$,wy=g(()=>{"use strict";Ar();Ar();kl();kl();Pf();Pf();Cy();Cy();Ie();O();O();Ll=(()=>{let e=class e{static withConfig(n,r=[]){return{ngModule:e,providers:n.serverLoaded?[{provide:yn,useValue:A(A({},Rf),n)},{provide:Ff,useValue:r,multi:!0},{provide:Rl,useValue:!0}]:[{provide:yn,useValue:A(A({},Rf),n)},{provide:Ff,useValue:r,multi:!0}]}}constructor(n,r){wi(r)&&!n&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}};e.\u0275fac=function(r){return new(r||e)(p(Rl),p(bt))},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[_y,Ay,xy,_y,Ay,xy]});let t=e;return t})();z$=new Gn("17.0.1");});function xV(t,e){if(t&1&&(E(0,"mat-option",12),ue(1),fe(2,"translate"),S()),t&2){let i=e.$implicit,n=e.index;D("value",i),x(),dt(" ",yi(2,2,"voice",Wa(5,_V,n+1))," ")}}function CV(t,e){if(t&1&&(E(0,"mat-icon"),ue(1),S()),t&2){let i=z();x(),dt(" ",i.isPlaying?"stop":"volume_up"," ")}}function wV(t,e){t&1&&ne(0,"mat-spinner",13),t&2&&D("diameter",20)}var _V,hI,mI=g(()=>{"use strict";Ie();O();ho();vf();Af();aD();Qe();_f();Dl();Ml();Il();wy();uo();O();Ie();ho();Dl();Il();Ml();vn();kl();uo();_V=t=>({nth:t});hI=(()=>{var e;let i=class i{constructor(){et(this,e,void 0);this.maxCharLength=1e3,Zt(this,e,y(sD))}get hasOverflow(){let r=document.querySelector("textarea");return r?.clientHeight<r?.scrollHeight}ngOnInit(){this.selected=this.voices[0]}togglePlay(){if(this.isPlaying){this.stop();return}this.isLoading=!0;let r=this.text.length>this.maxCharLength?this.text.substring(0,this.maxCharLength):this.text;if(this.audio&&r===this.previousText&&this.selected.voice===this.previousVoice){this.audio.play(),this.isPlaying=!0,this.isLoading=!1;return}Ke(this,e).play(r,this.selected).pipe(Bt(()=>{this.isLoading=!1})).subscribe({next:o=>{this.previousText=r,this.previousVoice=this.selected.voice;let s=URL.createObjectURL(o);this.audio=new Audio(s),this.audio.play(),this.isPlaying=!0,this.audio.onended=()=>{URL.revokeObjectURL(s),this.isPlaying=!1}}})}stop(){this.audio&&(this.audio.pause(),this.audio.currentTime=0,this.isPlaying=!1)}};e=new WeakMap,i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=ce({type:i,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(o,s){if(o&1&&(E(0,"div",0)(1,"mat-form-field",1)(2,"mat-label"),ue(3),fe(4,"translate"),S(),E(5,"mat-select",2),za("valueChange",function(l){return pu(s.selected,l)||(s.selected=l),l}),Y(6,xV,3,7,"mat-option",3),S()(),E(7,"div",4)(8,"textarea",5),fe(9,"translate"),za("ngModelChange",function(l){return pu(s.text,l)||(s.text=l),l}),S(),E(10,"div",6),ue(11),S()(),E(12,"div",7)(13,"div",8),fe(14,"translate"),E(15,"button",9),fe(16,"translate"),Q("click",function(){return s.togglePlay()}),Y(17,CV,2,1,"mat-icon",10)(18,wV,1,1,"mat-spinner",11),S()()()()),o&2){let a;D("ngClass.lt-md","mobile"),x(3),gt(Me(4,15,"selectVoice")),x(2),Ha("value",s.selected),x(),D("ngForOf",s.voices),x(2),Ha("ngModel",s.text),D("placeholder",Me(9,17,"placeholder")),x(2),pe("text-overflow",s.hasOverflow),x(),mu(" ",(a=s.text==null?null:s.text.length)!==null&&a!==void 0?a:0,"/",s.maxCharLength," "),x(2),D("matTooltip",s.text?"":Me(14,19,"playDisabled")),x(2),D("matTooltip",Me(16,21,s.isPlaying?"stop":"play"))("disabled",!s.text||s.isLoading),x(2),D("ngIf",!s.isLoading),x(),D("ngIf",s.isLoading)}},dependencies:[vt,Eu,ys,vo,yo,ef,Ds,Yu,Xu,Bs,El,Gs,Mf,If,Ks,Tf,Sf,Vs,Ll,Fl,lr,Ei],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:-25px}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{color:#fff;background-color:var(--accent)}.text-to-speech-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{background-color:var(--base-70)}.text-to-speech-characters[_ngcontent-%COMP%]{position:absolute;right:10px;bottom:0;margin:5px;font-size:13px;color:var(--base-65)}.text-overflow[_ngcontent-%COMP%]{right:30px}.mobile[_ngcontent-%COMP%] .text-overflow[_ngcontent-%COMP%]{right:15px}"]});let t=i;return t})()});var pI=g(()=>{"use strict";mI()});var gI,vI=g(()=>{"use strict";gI={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",voice:"Voice {{nth}}"},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 Nf,Ey=g(()=>{"use strict";Cv();pI();vI();O();Nf=(()=>{let e=class e extends Vu{set voices(n){this._voices=typeof n=="string"?JSON.parse(n):n}get voices(){return this._voices}constructor(){super(gI)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=ce({type:e,selectors:[["app-text-to-speech"]],inputs:{voices:"voices"},standalone:!0,features:[Ce,Ee],decls:1,vars:1,consts:[[3,"voices"]],template:function(r,o){r&1&&ne(0,"lib-text-to-speech",0),r&2&&D("voices",o.voices)},dependencies:[hI]});let t=e;return t})()});function Js(t){return new Ty(t)}function EV(t,e,i){let n=i.path.split("/");if(n.length>t.length||i.pathMatch==="full"&&(e.hasChildren()||n.length<t.length))return null;let r={};for(let o=0;o<n.length;o++){let s=n[o],a=t[o];if(s.startsWith(":"))r[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,n.length),posParams:r}}function DV(t,e){if(t.length!==e.length)return!1;for(let i=0;i<t.length;++i)if(!ti(t[i],e[i]))return!1;return!0}function ti(t,e){let i=t?Oy(t):void 0,n=e?Oy(e):void 0;if(!i||!n||i.length!=n.length)return!1;let r;for(let o=0;o<i.length;o++)if(r=i[o],!DI(t[r],e[r]))return!1;return!0}function Oy(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function DI(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;let i=[...t].sort(),n=[...e].sort();return i.every((r,o)=>n[o]===r)}else return t===e}function II(t){return t.length>0?t[t.length-1]:null}function Er(t){return $t(t)?t:ao(t)?ke(Promise.resolve(t)):R(t)}function yI(t,e,i){return IV[i.paths](t.root,e.root,i.matrixParams)&&MI[i.queryParams](t.queryParams,e.queryParams)&&!(i.fragment==="exact"&&t.fragment!==e.fragment)}function MV(t,e){return ti(t,e)}function SI(t,e,i){if(!wo(t.segments,e.segments)||!Bf(t.segments,e.segments,i)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!SI(t.children[n],e.children[n],i))return!1;return!0}function SV(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(i=>DI(t[i],e[i]))}function TI(t,e,i){return OI(t,e,e.segments,i)}function OI(t,e,i,n){if(t.segments.length>i.length){let r=t.segments.slice(0,i.length);return!(!wo(r,i)||e.hasChildren()||!Bf(r,i,n))}else if(t.segments.length===i.length){if(!wo(t.segments,i)||!Bf(t.segments,i,n))return!1;for(let r in e.children)if(!t.children[r]||!TI(t.children[r],e.children[r],n))return!1;return!0}else{let r=i.slice(0,t.segments.length),o=i.slice(t.segments.length);return!wo(t.segments,r)||!Bf(t.segments,r,n)||!t.children[he]?!1:OI(t.children[he],e,o,n)}}function Bf(t,e,i){return e.every((n,r)=>MI[i](t[r].parameters,n.parameters))}function TV(t,e){return wo(t,e)&&t.every((i,n)=>ti(i.parameters,e[n].parameters))}function wo(t,e){return t.length!==e.length?!1:t.every((i,n)=>i.path===e[n].path)}function OV(t,e){let i=[];return Object.entries(t.children).forEach(([n,r])=>{n===he&&(i=i.concat(e(r,n)))}),Object.entries(t.children).forEach(([n,r])=>{n!==he&&(i=i.concat(e(r,n)))}),i}function Uf(t){return t.segments.map(e=>FI(e)).join("/")}function Pl(t,e){if(!t.hasChildren())return Uf(t);if(e){let i=t.children[he]?Pl(t.children[he],!1):"",n=[];return Object.entries(t.children).forEach(([r,o])=>{r!==he&&n.push(`${r}:${Pl(o,!1)}`)}),n.length>0?`${i}(${n.join("//")})`:i}else{let i=OV(t,(n,r)=>r===he?[Pl(t.children[he],!1)]:[`${r}:${Pl(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[he]!=null?`${Uf(t)}/${i[0]}`:`${Uf(t)}/(${i.join("//")})`}}function RI(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function jf(t){return RI(t).replace(/%3B/gi,";")}function FV(t){return encodeURI(t)}function Ry(t){return RI(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Hf(t){return decodeURIComponent(t)}function bI(t){return Hf(t.replace(/\+/g,"%20"))}function FI(t){return`${Ry(t.path)}${kV(t.parameters)}`}function kV(t){return Object.entries(t).map(([e,i])=>`;${Ry(e)}=${Ry(i)}`).join("")}function LV(t){let e=Object.entries(t).map(([i,n])=>Array.isArray(n)?n.map(r=>`${jf(i)}=${jf(r)}`).join("&"):`${jf(i)}=${jf(n)}`).filter(i=>i);return e.length?`?${e.join("&")}`:""}function Dy(t){let e=t.match(PV);return e?e[0]:""}function jV(t){let e=t.match(NV);return e?e[0]:""}function BV(t){let e=t.match(VV);return e?e[0]:""}function HV(t){let e=t.match(UV);return e?e[0]:""}function kI(t){return t.segments.length>0?new Fe([],{[he]:t}):t}function LI(t){let e={};for(let[n,r]of Object.entries(t.children)){let o=LI(r);if(n===he&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}let i=new Fe(t.segments,e);return zV(i)}function zV(t){if(t.numberOfChildren===1&&t.children[he]){let e=t.children[he];return new Fe(t.segments.concat(e.segments),e.children)}return t}function ea(t){return t instanceof _r}function WV(t,e,i=null,n=null){let r=PI(t);return NI(r,e,i,n)}function PI(t){let e;function i(o){let s={};for(let l of o.children){let c=i(l);s[l.outlet]=c}let a=new Fe(o.url,s);return o===t&&(e=a),a}let n=i(t.root),r=kI(n);return e??r}function NI(t,e,i,n){let r=t;for(;r.parent;)r=r.parent;if(e.length===0)return Iy(r,r,r,i,n);let o=GV(e);if(o.toRoot())return Iy(r,r,new Fe([],{}),i,n);let s=KV(o,r,t),a=s.processChildren?Vl(s.segmentGroup,s.index,o.commands):VI(s.segmentGroup,s.index,o.commands);return Iy(r,s.segmentGroup,a,i,n)}function zf(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function zl(t){return typeof t=="object"&&t!=null&&t.outlets}function Iy(t,e,i,n,r){let o={};n&&Object.entries(n).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(d=>`${d}`):`${c}`});let s;t===e?s=i:s=jI(t,e,i);let a=kI(LI(s));return new _r(a,o,r)}function jI(t,e,i){let n={};return Object.entries(t.children).forEach(([r,o])=>{o===e?n[r]=i:n[r]=jI(o,e,i)}),new Fe(t.segments,n)}function GV(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Wf(!0,0,t);let e=0,i=!1,n=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===""?i=!0:a===".."?e++:a!=""&&r.push(a))}),r):[...r,o]},[]);return new Wf(i,e,n)}function KV(t,e,i){if(t.isAbsolute)return new $s(e,!0,0);if(!i)return new $s(e,!1,NaN);if(i.parent===null)return new $s(i,!0,0);let n=zf(t.commands[0])?0:1,r=i.segments.length-1+n;return QV(i,r,t.numberOfDoubleDots)}function QV(t,e,i){let n=t,r=e,o=i;for(;o>r;){if(o-=r,n=n.parent,!n)throw new T(4005,!1);r=n.segments.length}return new $s(n,!1,r-o)}function qV(t){return zl(t[0])?t[0].outlets:{[he]:t}}function VI(t,e,i){if(t??=new Fe([],{}),t.segments.length===0&&t.hasChildren())return Vl(t,e,i);let n=YV(t,e,i),r=i.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let o=new Fe(t.segments.slice(0,n.pathIndex),{});return o.children[he]=new Fe(t.segments.slice(n.pathIndex),t.children),Vl(o,0,r)}else return n.match&&r.length===0?new Fe(t.segments,{}):n.match&&!t.hasChildren()?ky(t,e,i):n.match?Vl(t,0,r):ky(t,e,i)}function Vl(t,e,i){if(i.length===0)return new Fe(t.segments,{});{let n=qV(i),r={};if(Object.keys(n).some(o=>o!==he)&&t.children[he]&&t.numberOfChildren===1&&t.children[he].segments.length===0){let o=Vl(t.children[he],e,i);return new Fe(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(r[o]=VI(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(r[o]=s)}),new Fe(t.segments,r)}}function YV(t,e,i){let n=0,r=e,o={match:!1,pathIndex:0,commandIndex:0};for(;r<t.segments.length;){if(n>=i.length)return o;let s=t.segments[r],a=i[n];if(zl(a))break;let l=`${a}`,c=n<i.length-1?i[n+1]:null;if(r>0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!_I(l,c,s))return o;n+=2}else{if(!_I(l,{},s))return o;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}function ky(t,e,i){let n=t.segments.slice(0,e),r=0;for(;r<i.length;){let o=i[r];if(zl(o)){let l=ZV(o.outlets);return new Fe(n,l)}if(r===0&&zf(i[0])){let l=t.segments[e];n.push(new Co(l.path,AI(i[0]))),r++;continue}let s=zl(o)?o.outlets[he]:`${o}`,a=r<i.length-1?i[r+1]:null;s&&a&&zf(a)?(n.push(new Co(s,AI(a))),r+=2):(n.push(new Co(s,{})),r++)}return new Fe(n,{})}function ZV(t){let e={};return Object.entries(t).forEach(([i,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(e[i]=ky(new Fe([],{}),0,n))}),e}function AI(t){let e={};return Object.entries(t).forEach(([i,n])=>e[i]=`${n}`),e}function _I(t,e,i){return t==i.path&&ti(e,i.parameters)}function Ky(t,e){if(t===e.value)return e;for(let i of e.children){let n=Ky(t,i);if(n)return n}return null}function Qy(t,e){if(t===e.value)return[e];for(let i of e.children){let n=Qy(t,i);if(n.length)return n.unshift(e),n}return[]}function Zs(t){let e={};return t&&t.children.forEach(i=>e[i.value.outlet]=i),e}function BI(t){let e=$V(t),i=new ot([new Co("",{})]),n=new ot({}),r=new ot({}),o=new ot({}),s=new ot(""),a=new Eo(i,n,o,s,r,he,t,e.root);return a.snapshot=e.root,new Yf(new rn(a,[]),e)}function $V(t){let e={},i={},n={},r="",o=new Ql([],e,n,r,i,he,t,null,{});return new Zf("",new rn(o,[]))}function nb(t,e,i="emptyOnly"){let n,{routeConfig:r}=t;return e!==null&&(i==="always"||r?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:A(A({},e.params),t.params),data:A(A({},e.data),t.data),resolve:A(A(A(A({},t.data),e.data),r?.data),t._resolvedData)}:n={params:A({},t.params),data:A({},t.data),resolve:A(A({},t.data),t._resolvedData??{})},r&&HI(r)&&(n.resolve[Zl]=r.title),n}function ib(t,e){e.value._routerState=t,e.children.forEach(i=>ib(t,i))}function UI(t){let e=t.children.length>0?` { ${t.children.map(UI).join(", ")} } `:"";return`${t.value}${e}`}function My(t){if(t.snapshot){let e=t.snapshot,i=t._futureSnapshot;t.snapshot=i,ti(e.queryParams,i.queryParams)||t.queryParamsSubject.next(i.queryParams),e.fragment!==i.fragment&&t.fragmentSubject.next(i.fragment),ti(e.params,i.params)||t.paramsSubject.next(i.params),DV(e.url,i.url)||t.urlSubject.next(i.url),ti(e.data,i.data)||t.dataSubject.next(i.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function qy(t,e){let i=ti(t.params,e.params)&&TV(t.url,e.url),n=!t.parent!=!e.parent;return i&&!n&&(!t.parent||qy(t.parent,e.parent))}function HI(t){return typeof t.title=="string"||t.title===null}function JV(t,e,i){let n=ql(t,e._root,i?i._root:void 0);return new Yf(n,e)}function ql(t,e,i){if(i&&t.shouldReuseRoute(e.value,i.value.snapshot)){let n=i.value;n._futureSnapshot=e.value;let r=eB(t,e,i);return new rn(n,r)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>ql(t,a)),s}}let n=tB(e.value),r=e.children.map(o=>ql(t,o));return new rn(n,r)}}function eB(t,e,i){return e.children.map(n=>{for(let r of i.children)if(t.shouldReuseRoute(n.value,r.value.snapshot))return ql(t,n,r);return ql(t,n)})}function tB(t){return new Eo(new ot(t.url),new ot(t.params),new ot(t.queryParams),new ot(t.fragment),new ot(t.data),t.outlet,t.component,t)}function WI(t,e){let{redirectTo:i,navigationBehaviorOptions:n}=ea(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,r=GI(!1,on.Redirect);return r.url=i,r.navigationBehaviorOptions=n,r}function GI(t,e){let i=new Error(`NavigationCancelingError: ${t||""}`);return i[zI]=!0,i.cancellationCode=e,i}function nB(t){return KI(t)&&ea(t.url)}function KI(t){return!!t&&t[zI]}function rB(t,e){return t.providers&&!t._injector&&(t._injector=fu(t.providers,e,`Route: ${t.path}`)),t._injector??e}function rb(t){let e=t.children&&t.children.map(rb),i=e?we(A({},t),{children:e}):A({},t);return!i.component&&!i.loadComponent&&(e||i.loadChildren)&&i.outlet&&i.outlet!==he&&(i.component=iB),i}function ii(t){return t.outlet||he}function oB(t,e){let i=t.filter(n=>ii(n)===e);return i.push(...t.filter(n=>ii(n)!==e)),i}function Jl(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let i=e.routeConfig;if(i?._loadedInjector)return i._loadedInjector;if(i?._injector)return i._injector}return null}function aB(t,e,i){let n=t._root,r=e?e._root:null;return Nl(n,r,i,[n.value])}function lB(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function ia(t,e){let i=Symbol(),n=e.get(t,i);return n===i?typeof t=="function"&&!T_(t)?t:e.get(t):n}function Nl(t,e,i,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=Zs(e);return t.children.forEach(s=>{cB(s,o[s.value.outlet],i,n.concat([s.value]),r),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Ul(a,i.getContext(s),r)),r}function cB(t,e,i,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=i?i.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=dB(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new $f(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Nl(t,e,a?a.children:null,n,r):Nl(t,e,i,n,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new Xs(a.outlet.component,s))}else s&&Ul(e,a,r),r.canActivateChecks.push(new $f(n)),o.component?Nl(t,null,a?a.children:null,n,r):Nl(t,null,i,n,r);return r}function dB(t,e,i){if(typeof i=="function")return i(t,e);switch(i){case"pathParamsChange":return!wo(t.url,e.url);case"pathParamsOrQueryParamsChange":return!wo(t.url,e.url)||!ti(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!qy(t,e)||!ti(t.queryParams,e.queryParams);case"paramsChange":default:return!qy(t,e)}}function Ul(t,e,i){let n=Zs(t),r=t.value;Object.entries(n).forEach(([o,s])=>{r.component?e?Ul(s,e.children.getContext(o),i):Ul(s,null,i):Ul(s,e,i)}),r.component?e&&e.outlet&&e.outlet.isActivated?i.canDeactivateChecks.push(new Xs(e.outlet.component,r)):i.canDeactivateChecks.push(new Xs(null,r)):i.canDeactivateChecks.push(new Xs(null,r))}function ec(t){return typeof t=="function"}function uB(t){return typeof t=="boolean"}function fB(t){return t&&ec(t.canLoad)}function hB(t){return t&&ec(t.canActivate)}function mB(t){return t&&ec(t.canActivateChild)}function pB(t){return t&&ec(t.canDeactivate)}function gB(t){return t&&ec(t.canMatch)}function QI(t){return t instanceof si||t?.name==="EmptyError"}function na(){return Be(t=>Br(t.map(e=>e.pipe(Ae(1),Ct(Vf)))).pipe(B(e=>{for(let i of e)if(i!==!0){if(i===Vf)return Vf;if(i===!1||i instanceof _r)return i}return!0}),de(e=>e!==Vf),Ae(1)))}function vB(t,e){return Ve(i=>{let{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=i;return s.length===0&&o.length===0?R(we(A({},i),{guardsResult:!0})):yB(s,n,r,t).pipe(Ve(a=>a&&uB(a)?bB(n,o,t,e):R(a)),B(a=>we(A({},i),{guardsResult:a})))})}function yB(t,e,i,n){return ke(t).pipe(Ve(r=>wB(r.component,r.route,i,e,n)),Bn(r=>r!==!0,!0))}function bB(t,e,i,n){return ke(e).pipe(wn(r=>Xt(_B(r.route.parent,n),AB(r.route,n),CB(t,r.path,i),xB(t,r.route,i))),Bn(r=>r!==!0,!0))}function AB(t,e){return t!==null&&e&&e(new zy(t)),R(!0)}function _B(t,e){return t!==null&&e&&e(new Uy(t)),R(!0)}function xB(t,e,i){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return R(!0);let r=n.map(o=>Jt(()=>{let s=Jl(e)??i,a=ia(o,s),l=hB(a)?a.canActivate(e,t):On(s,()=>a(e,t));return Er(l).pipe(Bn())}));return R(r).pipe(na())}function CB(t,e,i){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>lB(s)).filter(s=>s!==null).map(s=>Jt(()=>{let a=s.guards.map(l=>{let c=Jl(s.node)??i,d=ia(l,c),u=mB(d)?d.canActivateChild(n,t):On(c,()=>d(n,t));return Er(u).pipe(Bn())});return R(a).pipe(na())}));return R(o).pipe(na())}function wB(t,e,i,n,r){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return R(!0);let s=o.map(a=>{let l=Jl(e)??r,c=ia(a,l),d=pB(c)?c.canDeactivate(t,e,i,n):On(l,()=>c(t,e,i,n));return Er(d).pipe(Bn())});return R(s).pipe(na())}function EB(t,e,i,n){let r=e.canLoad;if(r===void 0||r.length===0)return R(!0);let o=r.map(s=>{let a=ia(s,t),l=fB(a)?a.canLoad(e,i):On(t,()=>a(e,i));return Er(l)});return R(o).pipe(na(),qI(n))}function qI(t){return Qh(Le(e=>{if(ea(e))throw WI(t,e)}),B(e=>e===!0))}function DB(t,e,i,n){let r=e.canMatch;if(!r||r.length===0)return R(!0);let o=r.map(s=>{let a=ia(s,t),l=gB(a)?a.canMatch(e,i):On(t,()=>a(e,i));return Er(l)});return R(o).pipe(na(),qI(n))}function Ys(t){return Bi(new Yl(t))}function IB(t){return Bi(new T(4e3,!1))}function MB(t){return Bi(GI(!1,on.GuardRejected))}function SB(t,e,i,n,r){let o=ob(t,e,i);return o.matched?(n=rB(e,n),DB(n,e,i,r).pipe(B(s=>s===!0?o:A({},Xy)))):R(o)}function ob(t,e,i){if(e.path==="**")return TB(i);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||i.length>0)?A({},Xy):{matched:!0,consumedSegments:[],remainingSegments:i,parameters:{},positionalParamSegments:{}};let r=(e.matcher||EV)(i,t,e);if(!r)return A({},Xy);let o={};Object.entries(r.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=r.consumed.length>0?A(A({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:i.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function TB(t){return{matched:!0,parameters:t.length>0?II(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function CI(t,e,i,n){return i.length>0&&FB(t,i,n)?{segmentGroup:new Fe(e,RB(n,new Fe(i,t.children))),slicedSegments:[]}:i.length===0&&kB(t,i,n)?{segmentGroup:new Fe(t.segments,OB(t,i,n,t.children)),slicedSegments:i}:{segmentGroup:new Fe(t.segments,t.children),slicedSegments:i}}function OB(t,e,i,n){let r={};for(let o of i)if(nh(t,e,o)&&!n[ii(o)]){let s=new Fe([],{});r[ii(o)]=s}return A(A({},n),r)}function RB(t,e){let i={};i[he]=e;for(let n of t)if(n.path===""&&ii(n)!==he){let r=new Fe([],{});i[ii(n)]=r}return i}function FB(t,e,i){return i.some(n=>nh(t,e,n)&&ii(n)!==he)}function kB(t,e,i){return i.some(n=>nh(t,e,n))}function nh(t,e,i){return(t.hasChildren()||e.length>0)&&i.pathMatch==="full"?!1:i.path===""}function LB(t,e,i,n){return ii(t)!==n&&(n===he||!nh(e,i,t))?!1:ob(e,t,i).matched}function PB(t,e,i){return e.length===0&&!t.children[i]}function NB(t,e,i,n,r,o,s="emptyOnly"){return new eb(t,e,i,n,r,s,o).recognize()}function VB(t){t.sort((e,i)=>e.value.outlet===he?-1:i.value.outlet===he?1:e.value.outlet.localeCompare(i.value.outlet))}function BB(t){let e=t.value.routeConfig;return e&&e.path===""}function YI(t){let e=[],i=new Set;for(let n of t){if(!BB(n)){e.push(n);continue}let r=e.find(o=>n.value.routeConfig===o.value.routeConfig);r!==void 0?(r.children.push(...n.children),i.add(r)):e.push(n)}for(let n of i){let r=YI(n.children);e.push(new rn(n.value,r))}return e.filter(n=>!i.has(n))}function UB(t){return t.data||{}}function HB(t){return t.resolve||{}}function zB(t,e,i,n,r,o){return Ve(s=>NB(t,e,i,n,s.extractedUrl,r,o).pipe(B(({state:a,tree:l})=>we(A({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function WB(t,e){return Ve(i=>{let{targetSnapshot:n,guards:{canActivateChecks:r}}=i;if(!r.length)return R(i);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 ZI(l))s.add(c);let a=0;return ke(s).pipe(wn(l=>o.has(l)?GB(l,n,t,e):(l.data=nb(l,l.parent,t).resolve,R(void 0))),Le(()=>a++),Qo(1),Ve(l=>a===s.size?R(i):Vt))})}function ZI(t){let e=t.children.map(i=>ZI(i)).flat();return[t,...e]}function GB(t,e,i,n){let r=t.routeConfig,o=t._resolve;return r?.title!==void 0&&!HI(r)&&(o[Zl]=r.title),KB(o,t,e,n).pipe(B(s=>(t._resolvedData=s,t.data=nb(t,t.parent,i).resolve,null)))}function KB(t,e,i,n){let r=Oy(t);if(r.length===0)return R({});let o={};return ke(r).pipe(Ve(s=>QB(t[s],e,i,n).pipe(Bn(),Le(a=>{o[s]=a}))),Qo(1),ya(o),en(s=>QI(s)?Vt:Bi(s)))}function QB(t,e,i,n){let r=Jl(e)??n,o=ia(t,r),s=o.resolve?o.resolve(e,i):On(r,()=>o(e,i));return Er(s)}function Sy(t){return Be(e=>{let i=t(e);return i?ke(i).pipe(B(()=>e)):R(e)})}function YB(t,e,i,n){return Er(t.loadChildren()).pipe(B(XI),Ve(r=>r instanceof Oa||Array.isArray(r)?R(r):ke(e.compileModuleAsync(r))),B(r=>{n&&n(t);let o,s,a=!1;return Array.isArray(r)?(s=r,a=!0):(o=r.create(i).injector,s=o.get(Jf,[],{optional:!0,self:!0}).flat()),{routes:s.map(rb),injector:o}}))}function ZB(t){return t&&typeof t=="object"&&"default"in t}function XI(t){return ZB(t)?t.default:t}function XB(t,e,i){let n=t.get(eM),r=t.get(U);return t.get(F).runOutsideAngular(()=>{if(!r.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,s=new Promise(c=>{o=c}),a=r.startViewTransition(()=>(o(),JB(t))),{onViewTransitionCreated:l}=n;return l&&On(t,()=>l({transition:a,from:e,to:i})),s})}function JB(t){return new Promise(e=>{du(e,{injector:t})})}function e3(t){return t!==Bl}function nM(t,e){t.events.pipe(de(i=>i instanceof ni||i instanceof xr||i instanceof Wl||i instanceof Cr),B(i=>i instanceof ni||i instanceof Cr?jl.COMPLETE:(i instanceof xr?i.code===on.Redirect||i.code===on.SupersededByNewNavigation:!1)?jl.REDIRECTING:jl.FAILED),de(i=>i!==jl.REDIRECTING),Ae(1)).subscribe(()=>{e()})}function r3(t){throw t}function a3(t){for(let e=0;e<t.length;e++)if(t[e]==null)throw new T(4008,!1)}function l3(t){return!(t instanceof Gl)&&!(t instanceof Kl)}function u3(t){return t.routerState.root}function nc(t,e){return{\u0275kind:t,\u0275providers:e}}function f3(){let t=y(Xe);return e=>{let i=t.get(kn);if(e!==i.components[0])return;let n=t.get(wr),r=t.get(oM);t.get(cb)===1&&n.initialNavigation(),t.get(sM,null,xe.Optional)?.setUpPreloading(),t.get(rM,null,xe.Optional)?.init(),n.resetRootComponentType(i.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}function h3(){return nc(2,[{provide:cb,useValue:0},{provide:yu,multi:!0,deps:[Xe],useFactory:e=>{let i=e.get(gw,Promise.resolve());return()=>i.then(()=>new Promise(n=>{let r=e.get(wr),o=e.get(oM);nM(r,()=>{n(!0)}),e.get(lb).afterPreactivation=()=>(n(!0),o.closed?R(void 0):o),r.initialNavigation()}))}}])}function m3(){return nc(3,[{provide:yu,multi:!0,useFactory:()=>{let e=y(wr);return()=>{e.setUpLocationChangeListener()}}},{provide:cb,useValue:2}])}function p3(t){return nc(0,[{provide:sM,useExisting:c3},{provide:eh,useExisting:t}])}function g3(){return nc(8,[xI,{provide:th,useExisting:xI}])}function v3(t){let e=[{provide:JI,useValue:XB},{provide:eM,useValue:A({skipNextTransition:!!t?.skipInitialTransition},t)}];return nc(9,e)}function b3(){return{provide:rM,useFactory:()=>{let t=y(Aw),e=y(F),i=y(tc),n=y(lb),r=y($l);return i.scrollOffset&&t.setOffset(i.scrollOffset),new d3(r,n,t,e,i)}}}function A3(){return{provide:xi,useClass:yw}}function _3(){return{provide:xi,useClass:ev}}function x3(t){return"guarded"}function C3(t){return[t.initialNavigation==="disabled"?m3().\u0275providers:[],t.initialNavigation==="enabledBlocking"?h3().\u0275providers:[]]}function w3(){return[{provide:EI,useFactory:f3},{provide:gs,multi:!0,useExisting:EI}]}var he,Zl,Ty,IV,MI,_r,Fe,Co,$l,Hl,RV,PV,NV,VV,UV,Fy,Wf,$s,Bl,xt,bn,ta,ni,on,Gf,xr,Cr,Wl,Kf,Ly,Py,Ny,jy,Vy,By,Uy,Hy,zy,Wy,Qf,Gl,Kl,Gy,Xl,qf,rn,Yf,Eo,Ql,Zf,XV,Yy,th,xI,zI,iB,sB,Zy,$f,Xs,Vf,Yl,Xf,$y,Xy,Jy,jB,eb,$I,qB,tc,Jf,sb,ab,$B,JI,eM,lb,t3,tb,n3,tM,i3,jl,o3,s3,wr,iM,eh,c3,rM,d3,oM,cb,sM,wI,y3,aM,EI,db=g(()=>{"use strict";O();O();Qe();Ie();Ie();at();As();he="primary",Zl=Symbol("RouteTitle"),Ty=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let i=this.params[e];return Array.isArray(i)?i[0]:i}return null}getAll(e){if(this.has(e)){let i=this.params[e];return Array.isArray(i)?i:[i]}return[]}get keys(){return Object.keys(this.params)}};IV={exact:SI,subset:TI},MI={exact:MV,subset:SV,ignored:()=>!0};_r=class{constructor(e=new Fe([],{}),i={},n=null){this.root=e,this.queryParams=i,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Js(this.queryParams),this._queryParamMap}toString(){return RV.serialize(this)}},Fe=class{constructor(e,i){this.segments=e,this.children=i,this.parent=null,Object.values(i).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Uf(this)}},Co=class{constructor(e,i){this.path=e,this.parameters=i}get parameterMap(){return this._parameterMap??=Js(this.parameters),this._parameterMap}toString(){return FI(this)}};$l=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:()=>new Hl,providedIn:"root"});let t=e;return t})(),Hl=class{parse(e){let i=new Fy(e);return new _r(i.parseRootSegment(),i.parseQueryParams(),i.parseFragment())}serialize(e){let i=`/${Pl(e.root,!0)}`,n=LV(e.queryParams),r=typeof e.fragment=="string"?`#${FV(e.fragment)}`:"";return`${i}${n}${r}`}},RV=new Hl;PV=/^[^\/()?;#]+/;NV=/^[^\/()?;=#]+/;VV=/^[^=?&#]+/;UV=/^[^&#]+/;Fy=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Fe([],{}):new Fe([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(i).length>0)&&(n[he]=new Fe(e,i)),n}parseSegment(){let e=Dy(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new T(4009,!1);return this.capture(e),new Co(Hf(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let i=jV(this.remaining);if(!i)return;this.capture(i);let n="";if(this.consumeOptional("=")){let r=Dy(this.remaining);r&&(n=r,this.capture(n))}e[Hf(i)]=Hf(n)}parseQueryParam(e){let i=BV(this.remaining);if(!i)return;this.capture(i);let n="";if(this.consumeOptional("=")){let s=HV(this.remaining);s&&(n=s,this.capture(n))}let r=bI(i),o=bI(n);if(e.hasOwnProperty(r)){let s=e[r];Array.isArray(s)||(s=[s],e[r]=s),s.push(o)}else e[r]=o}parseParens(e){let i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Dy(this.remaining),r=this.remaining[n.length];if(r!=="/"&&r!==")"&&r!==";")throw new T(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=he);let s=this.parseChildren();i[o]=Object.keys(s).length===1?s[he]:new Fe([],s),this.consumeOptional("//")}return i}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new T(4011,!1)}};Wf=class{constructor(e,i,n){if(this.isAbsolute=e,this.numberOfDoubleDots=i,this.commands=n,e&&n.length>0&&zf(n[0]))throw new T(4003,!1);let r=n.find(zl);if(r&&r!==II(n))throw new T(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};$s=class{constructor(e,i,n){this.segmentGroup=e,this.processChildren=i,this.index=n}};Bl="imperative",xt=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}(xt||{}),bn=class{constructor(e,i){this.id=e,this.url=i}},ta=class extends bn{constructor(e,i,n="imperative",r=null){super(e,i),this.type=xt.NavigationStart,this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},ni=class extends bn{constructor(e,i,n){super(e,i),this.urlAfterRedirects=n,this.type=xt.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},on=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(on||{}),Gf=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Gf||{}),xr=class extends bn{constructor(e,i,n,r){super(e,i),this.reason=n,this.code=r,this.type=xt.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Cr=class extends bn{constructor(e,i,n,r){super(e,i),this.reason=n,this.code=r,this.type=xt.NavigationSkipped}},Wl=class extends bn{constructor(e,i,n,r){super(e,i),this.error=n,this.target=r,this.type=xt.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Kf=class extends bn{constructor(e,i,n,r){super(e,i),this.urlAfterRedirects=n,this.state=r,this.type=xt.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ly=class extends bn{constructor(e,i,n,r){super(e,i),this.urlAfterRedirects=n,this.state=r,this.type=xt.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Py=class extends bn{constructor(e,i,n,r,o){super(e,i),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=o,this.type=xt.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Ny=class extends bn{constructor(e,i,n,r){super(e,i),this.urlAfterRedirects=n,this.state=r,this.type=xt.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},jy=class extends bn{constructor(e,i,n,r){super(e,i),this.urlAfterRedirects=n,this.state=r,this.type=xt.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Vy=class{constructor(e){this.route=e,this.type=xt.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},By=class{constructor(e){this.route=e,this.type=xt.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Uy=class{constructor(e){this.snapshot=e,this.type=xt.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Hy=class{constructor(e){this.snapshot=e,this.type=xt.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},zy=class{constructor(e){this.snapshot=e,this.type=xt.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Wy=class{constructor(e){this.snapshot=e,this.type=xt.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Qf=class{constructor(e,i,n){this.routerEvent=e,this.position=i,this.anchor=n,this.type=xt.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Gl=class{},Kl=class{constructor(e){this.url=e}},Gy=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Xl,this.attachRef=null}},Xl=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){let o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Gy,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),qf=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let i=this.pathFromRoot(e);return i.length>1?i[i.length-2]:null}children(e){let i=Ky(e,this._root);return i?i.children.map(n=>n.value):[]}firstChild(e){let i=Ky(e,this._root);return i&&i.children.length>0?i.children[0].value:null}siblings(e){let i=Qy(e,this._root);return i.length<2?[]:i[i.length-2].children.map(r=>r.value).filter(r=>r!==e)}pathFromRoot(e){return Qy(e,this._root).map(i=>i.value)}};rn=class{constructor(e,i){this.value=e,this.children=i}toString(){return`TreeNode(${this.value})`}};Yf=class extends qf{constructor(e,i){super(e),this.snapshot=i,ib(this,e)}toString(){return this.snapshot.toString()}};Eo=class{constructor(e,i,n,r,o,s,a,l){this.urlSubject=e,this.paramsSubject=i,this.queryParamsSubject=n,this.fragmentSubject=r,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(B(c=>c[Zl]))??R(void 0),this.url=e,this.params=i,this.queryParams=n,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(B(e=>Js(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(B(e=>Js(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};Ql=class{get title(){return this.data?.[Zl]}constructor(e,i,n,r,o,s,a,l,c){this.url=e,this.params=i,this.queryParams=n,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??=Js(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Js(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),i=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${i}')`}},Zf=class extends qf{constructor(e,i){super(i),this.url=e,ib(this,i)}toString(){return UI(this._root)}};XV=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=he,this.activateEvents=new G,this.deactivateEvents=new G,this.attachEvents=new G,this.detachEvents=new G,this.parentContexts=y(Xl),this.location=y(pt),this.changeDetector=y(Pe),this.environmentInjector=y(Ot),this.inputBinder=y(th,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.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 n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new T(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,c=new Yy(n,l,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:c,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=V({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[He]});let t=e;return t})(),Yy=class t{__ngOutletInjector(e){return new t(this.route,this.childContexts,e)}constructor(e,i,n){this.route=e,this.childContexts=i,this.parent=n}get(e,i){return e===Eo?this.route:e===Xl?this.childContexts:this.parent.get(e,i)}},th=new C(""),xI=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:r}=n,o=Br([r.queryParams,r.params,r.data]).pipe(Be(([s,a,l],c)=>(l=A(A(A({},s),a),l),c===0?R(l):Promise.resolve(l)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(n);return}let a=aw(r.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:l}of a.inputs)n.activatedComponentRef.setInput(l,s[l])});this.outletDataSubscriptions.set(n,o)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})();zI="ngNavigationCancelingError";iB=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=ce({type:e,selectors:[["ng-component"]],standalone:!0,features:[Ee],decls:1,vars:0,template:function(r,o){r&1&&ne(0,"router-outlet")},dependencies:[XV],encapsulation:2});let t=e;return t})();sB=(t,e,i,n)=>B(r=>(new Zy(e,r.targetRouterState,r.currentRouterState,i,n).activate(t),r)),Zy=class{constructor(e,i,n,r,o){this.routeReuseStrategy=e,this.futureState=i,this.currState=n,this.forwardEvent=r,this.inputBindingEnabled=o}activate(e){let i=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(i,n,e),My(this.futureState.root),this.activateChildRoutes(i,n,e)}deactivateChildRoutes(e,i,n){let r=Zs(i);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,r[s],n),delete r[s]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,i,n){let r=e.value,o=i?i.value:null;if(r===o)if(r.component){let s=n.getContext(r.outlet);s&&this.deactivateChildRoutes(e,i,s.children)}else this.deactivateChildRoutes(e,i,n);else o&&this.deactivateRouteAndItsChildren(i,n)}deactivateRouteAndItsChildren(e,i){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,i):this.deactivateRouteAndOutlet(e,i)}detachAndStoreRouteSubtree(e,i){let n=i.getContext(e.value.outlet),r=n&&e.value.component?n.children:i,o=Zs(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,i){let n=i.getContext(e.value.outlet),r=n&&e.value.component?n.children:i,o=Zs(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,i,n){let r=Zs(i);e.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],n),this.forwardEvent(new Wy(o.value.snapshot))}),e.children.length&&this.forwardEvent(new Hy(e.value.snapshot))}activateRoutes(e,i,n){let r=e.value,o=i?i.value:null;if(My(r),r===o)if(r.component){let s=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,i,s.children)}else this.activateChildRoutes(e,i,n);else if(r.component){let s=n.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),My(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Jl(r.snapshot);s.attachRef=null,s.route=r,s.injector=a,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},$f=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Xs=class{constructor(e,i){this.component=e,this.route=i}};Vf=Symbol("INITIAL_VALUE");Yl=class{constructor(e){this.segmentGroup=e||null}},Xf=class extends Error{constructor(e){super(),this.urlTree=e}};$y=class{constructor(e,i){this.urlSerializer=e,this.urlTree=i}lineralizeSegments(e,i){let n=[],r=i.root;for(;;){if(n=n.concat(r.segments),r.numberOfChildren===0)return R(n);if(r.numberOfChildren>1||!r.children[he])return IB(e.redirectTo);r=r.children[he]}}applyRedirectCommands(e,i,n){let r=this.applyRedirectCreateUrlTree(i,this.urlSerializer.parse(i),e,n);if(i.startsWith("/"))throw new Xf(r);return r}applyRedirectCreateUrlTree(e,i,n,r){let o=this.createSegmentGroup(e,i.root,n,r);return new _r(o,this.createQueryParams(i.queryParams,this.urlTree.queryParams),i.fragment)}createQueryParams(e,i){let n={};return Object.entries(e).forEach(([r,o])=>{if(typeof o=="string"&&o.startsWith(":")){let a=o.substring(1);n[r]=i[a]}else n[r]=o}),n}createSegmentGroup(e,i,n,r){let o=this.createSegments(e,i.segments,n,r),s={};return Object.entries(i.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(e,l,n,r)}),new Fe(o,s)}createSegments(e,i,n,r){return i.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,r):this.findOrReturn(o,n))}findPosParam(e,i,n){let r=n[i.path.substring(1)];if(!r)throw new T(4001,!1);return r}findOrReturn(e,i){let n=0;for(let r of i){if(r.path===e.path)return i.splice(n),r;n++}return e}},Xy={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};Jy=class{};jB=31,eb=class{constructor(e,i,n,r,o,s,a){this.injector=e,this.configLoader=i,this.rootComponentType=n,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new $y(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new T(4002,`'${e.segmentGroup}'`)}recognize(){let e=CI(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(B(i=>{let n=new Ql([],Object.freeze({}),Object.freeze(A({},this.urlTree.queryParams)),this.urlTree.fragment,{},he,this.rootComponentType,null,{}),r=new rn(n,i),o=new Zf("",r),s=WV(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,he).pipe(en(n=>{if(n instanceof Xf)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Yl?this.noMatchError(n):n}))}inheritParamsAndData(e,i){let n=e.value,r=nb(n,i,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),e.children.forEach(o=>this.inheritParamsAndData(o,n))}processSegmentGroup(e,i,n,r){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,i,n):this.processSegment(e,i,n,n.segments,r,!0).pipe(B(o=>o instanceof rn?[o]:[]))}processChildren(e,i,n){let r=[];for(let o of Object.keys(n.children))o==="primary"?r.unshift(o):r.push(o);return ke(r).pipe(wn(o=>{let s=n.children[o],a=oB(i,o);return this.processSegmentGroup(e,a,s,o)}),Mm((o,s)=>(o.push(...s),o)),Wi(null),Im(),Ve(o=>{if(o===null)return Ys(n);let s=YI(o);return VB(s),R(s)}))}processSegment(e,i,n,r,o,s){return ke(i).pipe(wn(a=>this.processSegmentAgainstRoute(a._injector??e,i,a,n,r,o,s).pipe(en(l=>{if(l instanceof Yl)return R(null);throw l}))),Bn(a=>!!a),en(a=>{if(QI(a))return PB(n,r,o)?R(new Jy):Ys(n);throw a}))}processSegmentAgainstRoute(e,i,n,r,o,s,a){return LB(n,r,o,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,r,n,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,r,i,n,o,s):Ys(r):Ys(r)}expandSegmentAgainstRouteUsingRedirect(e,i,n,r,o,s){let{matched:a,consumedSegments:l,positionalParamSegments:c,remainingSegments:d}=ob(i,r,o);if(!a)return Ys(i);r.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>jB&&(this.allowRedirects=!1));let u=this.applyRedirects.applyRedirectCommands(l,r.redirectTo,c);return this.applyRedirects.lineralizeSegments(r,u).pipe(Ve(h=>this.processSegment(e,n,i,h.concat(d),s,!1)))}matchSegmentAgainstRoute(e,i,n,r,o){let s=SB(i,n,r,e,this.urlSerializer);return n.path==="**"&&(i.children={}),s.pipe(Be(a=>a.matched?(e=n._injector??e,this.getChildConfig(e,n,r).pipe(Be(({routes:l})=>{let c=n._loadedInjector??e,{consumedSegments:d,remainingSegments:u,parameters:h}=a,m=new Ql(d,h,Object.freeze(A({},this.urlTree.queryParams)),this.urlTree.fragment,UB(n),ii(n),n.component??n._loadedComponent??null,n,HB(n)),{segmentGroup:v,slicedSegments:_}=CI(i,d,u,l);if(_.length===0&&v.hasChildren())return this.processChildren(c,l,v).pipe(B(M=>M===null?null:new rn(m,M)));if(l.length===0&&_.length===0)return R(new rn(m,[]));let I=ii(n)===o;return this.processSegment(c,l,v,_,I?he:o,!0).pipe(B(M=>new rn(m,M instanceof rn?[M]:[])))}))):Ys(i)))}getChildConfig(e,i,n){return i.children?R({routes:i.children,injector:e}):i.loadChildren?i._loadedRoutes!==void 0?R({routes:i._loadedRoutes,injector:i._loadedInjector}):EB(e,i,n,this.urlSerializer).pipe(Ve(r=>r?this.configLoader.loadChildren(e,i).pipe(Le(o=>{i._loadedRoutes=o.routes,i._loadedInjector=o.injector})):MB(i))):R({routes:[],injector:e})}};$I=(()=>{let e=class e{buildTitle(n){let r,o=n.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(s=>s.outlet===he);return r}getResolvedTitleForRoute(n){return n.data[Zl]}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:()=>y(qB),providedIn:"root"});let t=e;return t})(),qB=(()=>{let e=class e extends $I{constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}};e.\u0275fac=function(r){return new(r||e)(p(Uw))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),tc=new C("",{providedIn:"root",factory:()=>({})}),Jf=new C(""),sb=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=y(bu)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return R(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let r=Er(n.loadComponent()).pipe(B(XI),Le(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Bt(()=>{this.componentLoaders.delete(n)})),o=new Lr(r,()=>new k).pipe(No());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return R({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let s=YB(r,this.compiler,n,this.onLoadEndListener).pipe(Bt(()=>{this.childrenLoaders.delete(r)})),a=new Lr(s,()=>new k).pipe(No());return this.childrenLoaders.set(r,a),a}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();ab=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:()=>y($B),providedIn:"root"});let t=e;return t})(),$B=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),JI=new C(""),eM=new C("");lb=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new k,this.transitionAbortSubject=new k,this.configLoader=y(sb),this.environmentInjector=y(Ot),this.urlSerializer=y($l),this.rootContexts=y(Xl),this.location=y(Kn),this.inputBindingEnabled=y(th,{optional:!0})!==null,this.titleStrategy=y($I),this.options=y(tc,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=y(ab),this.createViewTransition=y(JI,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>R(void 0),this.rootComponentType=null;let n=o=>this.events.next(new Vy(o)),r=o=>this.events.next(new By(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;this.transitions?.next(we(A(A({},this.transitions.value),n),{id:r}))}setupNavigations(n,r,o){return this.transitions=new ot({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Bl,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(de(s=>s.id!==0),B(s=>we(A({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Be(s=>{let a=!1,l=!1;return R(s).pipe(Be(c=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",on.SupersededByNewNavigation),Vt;this.currentTransition=s,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?we(A({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let d=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=c.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!d&&u!=="reload"){let h="";return this.events.next(new Cr(c.id,this.urlSerializer.serialize(c.rawUrl),h,Gf.IgnoredSameUrlNavigation)),c.resolve(null),Vt}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return R(c).pipe(Be(h=>{let m=this.transitions?.getValue();return this.events.next(new ta(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),m!==this.transitions?.getValue()?Vt:Promise.resolve(h)}),zB(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),Le(h=>{s.targetSnapshot=h.targetSnapshot,s.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation=we(A({},this.currentNavigation),{finalUrl:h.urlAfterRedirects});let m=new Kf(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(m)}));if(d&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:h,extractedUrl:m,source:v,restoredState:_,extras:I}=c,M=new ta(h,this.urlSerializer.serialize(m),v,_);this.events.next(M);let L=BI(this.rootComponentType).snapshot;return this.currentTransition=s=we(A({},c),{targetSnapshot:L,urlAfterRedirects:m,extras:we(A({},I),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=m,R(s)}else{let h="";return this.events.next(new Cr(c.id,this.urlSerializer.serialize(c.extractedUrl),h,Gf.IgnoredByUrlHandlingStrategy)),c.resolve(null),Vt}}),Le(c=>{let d=new Ly(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}),B(c=>(this.currentTransition=s=we(A({},c),{guards:aB(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),s)),vB(this.environmentInjector,c=>this.events.next(c)),Le(c=>{if(s.guardsResult=c.guardsResult,ea(c.guardsResult))throw WI(this.urlSerializer,c.guardsResult);let d=new Py(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(d)}),de(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",on.GuardRejected),!1)),Sy(c=>{if(c.guards.canActivateChecks.length)return R(c).pipe(Le(d=>{let u=new Ny(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}),Be(d=>{let u=!1;return R(d).pipe(WB(this.paramsInheritanceStrategy,this.environmentInjector),Le({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(d,"",on.NoDataFromResolver)}}))}),Le(d=>{let u=new jy(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}))}),Sy(c=>{let d=u=>{let h=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(u.routeConfig).pipe(Le(m=>{u.component=m}),B(()=>{})));for(let m of u.children)h.push(...d(m));return h};return Br(d(c.targetSnapshot.root)).pipe(Wi(null),Ae(1))}),Sy(()=>this.afterPreactivation()),Be(()=>{let{currentSnapshot:c,targetSnapshot:d}=s,u=this.createViewTransition?.(this.environmentInjector,c.root,d.root);return u?ke(u).pipe(B(()=>s)):R(s)}),B(c=>{let d=JV(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=s=we(A({},c),{targetRouterState:d}),this.currentNavigation.targetRouterState=d,s}),Le(()=>{this.events.next(new Gl)}),sB(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),Ae(1),Le({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ni(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),te(this.transitionAbortSubject.pipe(Le(c=>{throw c}))),Bt(()=>{!a&&!l&&this.cancelNavigationTransition(s,"",on.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),en(c=>{if(l=!0,KI(c))this.events.next(new xr(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),nB(c)?this.events.next(new Kl(c.url)):s.resolve(!1);else{this.events.next(new Wl(s.id,this.urlSerializer.serialize(s.extractedUrl),c,s.targetSnapshot??void 0));try{s.resolve(n.errorHandler(c))}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return Vt}))}))}cancelNavigationTransition(n,r,o){let s=new xr(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();t3=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:()=>y(n3),providedIn:"root"});let t=e;return t})(),tb=class{shouldDetach(e){return!1}store(e,i){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,i){return e.routeConfig===i.routeConfig}},n3=(()=>{let e=class e extends tb{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=it(e)))(o||e)}})(),e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),tM=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:()=>y(i3),providedIn:"root"});let t=e;return t})(),i3=(()=>{let e=class e extends tM{constructor(){super(...arguments),this.location=y(Kn),this.urlSerializer=y($l),this.options=y(tc,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=y(ab),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new _r,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=BI(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(n){return this.location.subscribe(r=>{r.type==="popstate"&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof ta)this.stateMemento=this.createStateMemento();else if(n instanceof Cr)this.rawUrlTree=r.initialUrl;else if(n instanceof Kf){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(o,r)}}else n instanceof Gl?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):n instanceof xr&&(n.code===on.GuardRejected||n.code===on.NoDataFromResolver)?this.restoreHistory(r):n instanceof Wl?this.restoreHistory(r,!0):n instanceof ni&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){let o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){let s=this.browserPageId,a=A(A({},r.extras.state),this.generateNgRouterState(r.id,s));this.location.replaceState(o,"",a)}else{let s=A(A({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=it(e)))(o||e)}})(),e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),jl=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(jl||{});o3={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},s3={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},wr=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=y(vu),this.stateManager=y(tM),this.options=y(tc,{optional:!0})||{},this.pendingTasks=y(oo),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=y(lb),this.urlSerializer=y($l),this.location=y(Kn),this.urlHandlingStrategy=y(ab),this._events=new k,this.errorHandler=this.options.errorHandler||r3,this.navigated=!1,this.routeReuseStrategy=y(t3),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=y(Jf,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!y(th,{optional:!0}),this.eventsSubscription=new be,this.isNgZoneEnabled=y(F)instanceof F&&F.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(r,s),r instanceof xr&&r.code!==on.Redirect&&r.code!==on.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof ni)this.navigated=!0;else if(r instanceof Kl){let a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),l={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||e3(o.source)};this.scheduleNavigation(a,Bl,null,l,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}l3(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Bl,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)})}navigateToSyncWithBrowser(n,r,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let c=A({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(s.state=c)}let l=this.parseUrl(n);this.scheduleNavigation(l,r,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(rb),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(n,r={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:l,preserveFragment:c}=r,d=c?this.currentUrlTree.fragment:a,u=null;switch(l){case"merge":u=A(A({},this.currentUrlTree.queryParams),s);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=s||null}u!==null&&(u=this.removeEmptyProps(u));let h;try{let m=o?o.snapshot:this.routerState.snapshot.root;h=PI(m)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),h=this.currentUrlTree.root}return NI(h,n,u,d??null)}navigateByUrl(n,r={skipLocationChange:!1}){let o=ea(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Bl,null,r)}navigate(n,r={skipLocationChange:!1}){return a3(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let o;if(r===!0?o=A({},o3):r===!1?o=A({},s3):o=r,ea(n))return yI(this.currentUrlTree,n,o);let s=this.parseUrl(n);return yI(this.currentUrlTree,s,o)}removeEmptyProps(n){return Object.entries(n).reduce((r,[o,s])=>(s!=null&&(r[o]=s),r),{})}scheduleNavigation(n,r,o,s,a){if(this.disposed)return Promise.resolve(!1);let l,c,d;a?(l=a.resolve,c=a.reject,d=a.promise):d=new Promise((h,m)=>{l=h,c=m});let u=this.pendingTasks.add();return nM(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:l,reject:c,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(h=>Promise.reject(h))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();iM=(()=>{let e=class e{constructor(n,r,o,s,a,l){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=l,this.href=null,this.commands=null,this.onChanges=new k,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let c=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=n.events.subscribe(d=>{d instanceof ni&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,r,o,s,a){let l=this.urlTree;if(l===null||this.isAnchorElement&&(n!==0||r||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(l,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let r=this.href===null?null:eC(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(n,r){let o=this.renderer,s=this.el.nativeElement;r!==null?o.setAttribute(s,n,r):o.removeAttribute(s,n)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(r){return new(r||e)(f(wr),f(Eo),tr("tabindex"),f(Rn),f(P),f(xi))},e.\u0275dir=V({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,o){r&1&&Q("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),r&2&&_e("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[w.HasDecoratorInputTransform,"preserveFragment","preserveFragment",De],skipLocationChange:[w.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",De],replaceUrl:[w.HasDecoratorInputTransform,"replaceUrl","replaceUrl",De],routerLink:"routerLink"},standalone:!0,features:[ct,He]});let t=e;return t})(),eh=class{},c3=(()=>{let e=class e{constructor(n,r,o,s,a){this.router=n,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(de(n=>n instanceof ni),wn(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){let o=[];for(let s of r){s.providers&&!s._injector&&(s._injector=fu(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,l=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(l,s.children??s._loadedRoutes))}return ke(o).pipe(Ui())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;r.loadChildren&&r.canLoad===void 0?o=this.loader.loadChildren(n,r):o=R(null);let s=o.pipe(Ve(a=>a===null?R(void 0):(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(r.loadComponent&&!r._loadedComponent){let a=this.loader.loadComponent(r);return ke([s,a]).pipe(Ui())}else return s})}};e.\u0275fac=function(r){return new(r||e)(p(wr),p(bu),p(Ot),p(eh),p(sb))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),rM=new C(""),d3=(()=>{let e=class e{constructor(n,r,o,s,a={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=y(Ot),a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof ta?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof ni?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Cr&&n.code===Gf.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Qf&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>Ro(this,null,function*(){yield new Promise(o=>{setTimeout(()=>{o()}),du(()=>{o()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new Qf(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(r){ms()},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})();oM=new C("",{factory:()=>new k}),cb=new C("",{providedIn:"root",factory:()=>1});sM=new C("");wI=new C("ROUTER_FORROOT_GUARD"),y3=[Kn,{provide:$l,useClass:Hl},wr,Xl,{provide:Eo,useFactory:u3,deps:[wr]},sb,[]],aM=(()=>{let e=class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[y3,[],{provide:Jf,multi:!0,useValue:n},{provide:wI,useFactory:x3,deps:[[wr,new ka,new Kd]]},{provide:tc,useValue:r||{}},r?.useHash?A3():_3(),b3(),r?.preloadingStrategy?p3(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?C3(r):[],r?.bindToComponentInputs?g3().\u0275providers:[],r?.enableViewTransitions?v3().\u0275providers:[],w3()]}}static forChild(n){return{ngModule:e,providers:[{provide:Jf,multi:!0,useValue:n}]}}};e.\u0275fac=function(r){return new(r||e)(p(wI,8))},e.\u0275mod=j({type:e}),e.\u0275inj=N({});let t=e;return t})();EI=new C("")});function S3(t,e){t&1&&(io(),E(0,"svg",2),ne(1,"polygon",3),S())}function O3(t,e){if(t&1){let i=je();E(0,"div",0),Q("keydown",function(r){ie(i);let o=z();return re(o._handleKeydown(r))})("click",function(){ie(i);let r=z();return re(r.closed.emit("click"))})("@transformMenu.start",function(r){ie(i);let o=z();return re(o._onAnimationStart(r))})("@transformMenu.done",function(r){ie(i);let o=z();return re(o._onAnimationDone(r))}),E(1,"div",1),Re(2),S()()}if(t&2){let i=z();vi(i._classList),D("id",i.panelId)("@transformMenu",i._panelAnimationState),_e("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby||null)("aria-describedby",i.ariaDescribedby||null)}}function L3(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}function P3(t){return()=>t.scrollStrategies.reposition()}var D3,I3,M3,T3,ub,ic,R3,ih,cJ,dJ,F3,k3,ra,cM,N3,lM,dM,uM,fb=g(()=>{"use strict";O();O();nn();nn();Ii();Qe();at();Ie();vn();zs();wl();pn();$n();$n();Wt();hr();D3=["mat-menu-item",""],I3=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],M3=["mat-icon, [matMenuItemIcon]","*"];T3=["*"];ub=new C("MAT_MENU_PANEL"),ic=(()=>{let e=class e{constructor(n,r,o,s,a){this._elementRef=n,this._document=r,this._focusMonitor=o,this._parentMenu=s,this._changeDetectorRef=a,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new k,this._focused=new k,this._highlighted=!1,this._triggersSubmenu=!1,s?.addItem?.(this)}focus(n,r){this._focusMonitor&&n?this._focusMonitor.focusVia(this._getHostElement(),n,r):this._getHostElement().focus(r),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(n){this.disabled&&(n.preventDefault(),n.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let n=this._elementRef.nativeElement.cloneNode(!0),r=n.querySelectorAll("mat-icon, .material-icons");for(let o=0;o<r.length;o++)r[o].remove();return n.textContent?.trim()||""}_setHighlighted(n){this._highlighted=n,this._changeDetectorRef?.markForCheck()}_setTriggersSubmenu(n){this._triggersSubmenu=n,this._changeDetectorRef?.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}};e.\u0275fac=function(r){return new(r||e)(f(P),f(U),f(Ln),f(ub,8),f(Pe))},e.\u0275cmp=ce({type:e,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator"],hostVars:8,hostBindings:function(r,o){r&1&&Q("click",function(a){return o._checkDisabled(a)})("mouseenter",function(){return o._handleMouseEnter()}),r&2&&(_e("role",o.role)("tabindex",o._getTabIndex())("aria-disabled",o.disabled)("disabled",o.disabled||null),pe("mat-mdc-menu-item-highlighted",o._highlighted)("mat-mdc-menu-item-submenu-trigger",o._triggersSubmenu))},inputs:{role:"role",disabled:[w.HasDecoratorInputTransform,"disabled","disabled",De],disableRipple:[w.HasDecoratorInputTransform,"disableRipple","disableRipple",De]},exportAs:["matMenuItem"],standalone:!0,features:[ct,Ee],attrs:D3,ngContentSelectors:M3,decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(r,o){r&1&&(Dt(I3),Re(0),E(1,"span",0),Re(2,1),S(),ne(3,"div",1),Y(4,S3,2,0,":svg:svg",2)),r&2&&(x(3),D("matRippleDisabled",o.disableRipple||o.disabled)("matRippleTrigger",o._getHostElement()),x(),rt(4,o._triggersSubmenu?4:-1))},dependencies:[pf],encapsulation:2,changeDetection:0});let t=e;return t})(),R3=new C("MatMenuContent"),ih={transformMenu:vr("transformMenu",[_o("void",Pt({opacity:0,transform:"scale(0.8)"})),Jn("void => enter",ki("120ms cubic-bezier(0, 0, 0.2, 1)",Pt({opacity:1,transform:"scale(1)"}))),Jn("* => void",ki("100ms 25ms linear",Pt({opacity:0})))]),fadeInItems:vr("fadeInItems",[_o("showing",Pt({opacity:1})),Jn("void => *",[Pt({opacity:0}),ki("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},cJ=ih.fadeInItems,dJ=ih.transformMenu,F3=0,k3=new C("mat-menu-default-options",{providedIn:"root",factory:L3});ra=(()=>{let e=class e{get xPosition(){return this._xPosition}set xPosition(n){this._xPosition=n,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(n){this._yPosition=n,this.setPositionClasses()}set panelClass(n){let r=this._previousPanelClass,o=A({},this._classList);r&&r.length&&r.split(" ").forEach(s=>{o[s]=!1}),this._previousPanelClass=n,n&&n.length&&(n.split(" ").forEach(s=>{o[s]=!0}),this._elementRef.nativeElement.className=""),this._classList=o}get classList(){return this.panelClass}set classList(n){this.panelClass=n}constructor(n,r,o,s){this._elementRef=n,this._ngZone=r,this._changeDetectorRef=s,this._elevationPrefix="mat-elevation-z",this._baseElevation=8,this._directDescendantItems=new Yi,this._classList={},this._panelAnimationState="void",this._animationDone=new k,this.closed=new G,this.close=this.closed,this.panelId=`mat-menu-panel-${F3++}`,this.overlayPanelClass=o.overlayPanelClass||"",this._xPosition=o.xPosition,this._yPosition=o.yPosition,this.backdropClass=o.backdropClass,this.overlapTrigger=o.overlapTrigger,this.hasBackdrop=o.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new cf(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Ct(this._directDescendantItems),Be(n=>mt(...n.map(r=>r._focused)))).subscribe(n=>this._keyManager.updateActiveItem(n)),this._directDescendantItems.changes.subscribe(n=>{let r=this._keyManager;if(this._panelAnimationState==="enter"&&r.activeItem?._hasFocus()){let o=n.toArray(),s=Math.max(0,Math.min(o.length-1,r.activeItemIndex||0));o[s]&&!o[s].disabled?r.setActiveItem(s):r.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe(Ct(this._directDescendantItems),Be(r=>mt(...r.map(o=>o._hovered))))}addItem(n){}removeItem(n){}_handleKeydown(n){let r=n.keyCode,o=this._keyManager;switch(r){case 27:It(n)||(n.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(r===38||r===40)&&o.setFocusOrigin("keyboard"),o.onKeydown(n);return}n.stopPropagation()}focusFirstItem(n="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe(Ae(1)).subscribe(()=>{let r=null;if(this._directDescendantItems.length&&(r=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!r||!r.contains(document.activeElement)){let o=this._keyManager;o.setFocusOrigin(n).setFirstItemActive(),!o.activeItem&&r&&r.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(n){let r=Math.min(this._baseElevation+n,24),o=`${this._elevationPrefix}${r}`,s=Object.keys(this._classList).find(a=>a.startsWith(this._elevationPrefix));if(!s||s===this._previousElevation){let a=A({},this._classList);this._previousElevation&&(a[this._previousElevation]=!1),a[o]=!0,this._previousElevation=o,this._classList=a}}setPositionClasses(n=this.xPosition,r=this.yPosition){this._classList=we(A({},this._classList),{"mat-menu-before":n==="before","mat-menu-after":n==="after","mat-menu-above":r==="above","mat-menu-below":r==="below"}),this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(n){this._animationDone.next(n),this._isAnimating=!1}_onAnimationStart(n){this._isAnimating=!0,n.toState==="enter"&&this._keyManager.activeItemIndex===0&&(n.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Ct(this._allItems)).subscribe(n=>{this._directDescendantItems.reset(n.filter(r=>r._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}};e.\u0275fac=function(r){return new(r||e)(f(P),f(F),f(k3),f(Pe))},e.\u0275cmp=ce({type:e,selectors:[["mat-menu"]],contentQueries:function(r,o,s){if(r&1&&(At(s,R3,5),At(s,ic,5),At(s,ic,4)),r&2){let a;ge(a=ve())&&(o.lazyContent=a.first),ge(a=ve())&&(o._allItems=a),ge(a=ve())&&(o.items=a)}},viewQuery:function(r,o){if(r&1&&qe(Ft,5),r&2){let s;ge(s=ve())&&(o.templateRef=s.first)}},hostVars:3,hostBindings:function(r,o){r&2&&_e("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[w.None,"aria-label","ariaLabel"],ariaLabelledby:[w.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[w.None,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[w.HasDecoratorInputTransform,"overlapTrigger","overlapTrigger",De],hasBackdrop:[w.HasDecoratorInputTransform,"hasBackdrop","hasBackdrop",n=>n==null?null:De(n)],panelClass:[w.None,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[_t([{provide:ub,useExisting:e}]),ct,Ee],ngContentSelectors:T3,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"keydown","click","id"],[1,"mat-mdc-menu-content"]],template:function(r,o){r&1&&(Dt(),Y(0,O3,3,7,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-divider{color:var(--mat-menu-divider-color);margin-bottom:var(--mat-menu-divider-bottom-spacing);margin-top:var(--mat-menu-divider-top-spacing)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mat-menu-item-leading-spacing);padding-right:var(--mat-menu-item-trailing-spacing);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:var(--mat-menu-item-trailing-spacing);padding-right:var(--mat-menu-item-leading-spacing)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing);padding-right:var(--mat-menu-item-with-icon-trailing-spacing)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]),.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon])[dir=rtl]{padding-left:var(--mat-menu-item-with-icon-trailing-spacing);padding-right:var(--mat-menu-item-with-icon-leading-spacing)}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing);height:var(--mat-menu-item-icon-size);width:var(--mat-menu-item-icon-size)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[ih.transformMenu,ih.fadeInItems]},changeDetection:0});let t=e;return t})(),cM=new C("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let t=y(Ze);return()=>t.scrollStrategies.reposition()}});N3={provide:cM,deps:[Ze],useFactory:P3},lM=qn({passive:!0}),dM=(()=>{let e=class e{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(n){this.menu=n}get menu(){return this._menu}set menu(n){n!==this._menu&&(this._menu=n,this._menuCloseSubscription.unsubscribe(),n&&(this._parentMaterialMenu,this._menuCloseSubscription=n.close.subscribe(r=>{this._destroyMenu(r),(r==="click"||r==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(r)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(n,r,o,s,a,l,c,d,u){this._overlay=n,this._element=r,this._viewContainerRef=o,this._menuItemInstance=l,this._dir=c,this._focusMonitor=d,this._ngZone=u,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=be.EMPTY,this._hoverSubscription=be.EMPTY,this._menuCloseSubscription=be.EMPTY,this._changeDetectorRef=y(Pe),this._handleTouchStart=h=>{hl(h)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new G,this.onMenuOpen=this.menuOpened,this.menuClosed=new G,this.onMenuClose=this.menuClosed,this._scrollStrategy=s,this._parentMaterialMenu=a instanceof ra?a:void 0,r.nativeElement.addEventListener("touchstart",this._handleTouchStart,lM)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,lM),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){let n=this.menu;if(this._menuOpen||!n)return;let r=this._createOverlay(n),o=r.getConfig(),s=o.positionStrategy;this._setPosition(n,s),o.hasBackdrop=n.hasBackdrop==null?!this.triggersSubmenu():n.hasBackdrop,r.attach(this._getPortal(n)),n.lazyContent&&n.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(n),n instanceof ra&&(n._startAnimation(),n._directDescendantItems.changes.pipe(te(n.close)).subscribe(()=>{s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(n,r){this._focusMonitor&&n?this._focusMonitor.focusVia(this._element,n,r):this._element.nativeElement.focus(r)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(n){if(!this._overlayRef||!this.menuOpen)return;let r=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&(n==="keydown"||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,r instanceof ra?(r._resetAnimation(),r.lazyContent?r._animationDone.pipe(de(o=>o.toState==="void"),Ae(1),te(r.lazyContent._attached)).subscribe({next:()=>r.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),r?.lazyContent?.detach())}_initMenu(n){n.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,n.direction=this.dir,this._setMenuElevation(n),n.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(n){if(n.setElevation){let r=0,o=n.parentMenu;for(;o;)r++,o=o.parentMenu;n.setElevation(r)}}_setIsMenuOpen(n){n!==this._menuOpen&&(this._menuOpen=n,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(n),this._changeDetectorRef.markForCheck())}_createOverlay(n){if(!this._overlayRef){let r=this._getOverlayConfig(n);this._subscribeToPositions(n,r.positionStrategy),this._overlayRef=this._overlay.create(r),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(n){return new pr({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:n.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:n.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(n,r){n.setPositionClasses&&r.positionChanges.subscribe(o=>{let s=o.connectionPair.overlayX==="start"?"after":"before",a=o.connectionPair.overlayY==="top"?"below":"above";this._ngZone?this._ngZone.run(()=>n.setPositionClasses(s,a)):n.setPositionClasses(s,a)})}_setPosition(n,r){let[o,s]=n.xPosition==="before"?["end","start"]:["start","end"],[a,l]=n.yPosition==="above"?["bottom","top"]:["top","bottom"],[c,d]=[a,l],[u,h]=[o,s],m=0;if(this.triggersSubmenu()){if(h=o=n.xPosition==="before"?"start":"end",s=u=o==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let v=this._parentMaterialMenu.items.first;this._parentInnerPadding=v?v._getHostElement().offsetTop:0}m=a==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else n.overlapTrigger||(c=a==="top"?"bottom":"top",d=l==="top"?"bottom":"top");r.withPositions([{originX:o,originY:c,overlayX:u,overlayY:a,offsetY:m},{originX:s,originY:c,overlayX:h,overlayY:a,offsetY:m},{originX:o,originY:d,overlayX:u,overlayY:l,offsetY:-m},{originX:s,originY:d,overlayX:h,overlayY:l,offsetY:-m}])}_menuClosingActions(){let n=this._overlayRef.backdropClick(),r=this._overlayRef.detachments(),o=this._parentMaterialMenu?this._parentMaterialMenu.closed:R(),s=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(de(a=>a!==this._menuItemInstance),de(()=>this._menuOpen)):R();return mt(n,o,s,r)}_handleMousedown(n){fl(n)||(this._openedBy=n.button===0?"mouse":void 0,this.triggersSubmenu()&&n.preventDefault())}_handleKeydown(n){let r=n.keyCode;(r===13||r===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(r===39&&this.dir==="ltr"||r===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(n){this.triggersSubmenu()?(n.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(de(n=>n===this._menuItemInstance&&!n.disabled),ld(0,Uo)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof ra&&this.menu._isAnimating?this.menu._animationDone.pipe(Ae(1),ld(0,Uo),te(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(n){return(!this._portal||this._portal.templateRef!==n.templateRef)&&(this._portal=new Oi(n.templateRef,this._viewContainerRef)),this._portal}};e.\u0275fac=function(r){return new(r||e)(f(Ze),f(P),f(pt),f(cM),f(ub,8),f(ic,10),f(Lt,8),f(Ln),f(F))},e.\u0275dir=V({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(r,o){r&1&&Q("click",function(a){return o._handleClick(a)})("mousedown",function(a){return o._handleMousedown(a)})("keydown",function(a){return o._handleKeydown(a)}),r&2&&_e("aria-haspopup",o.menu?"menu":null)("aria-expanded",o.menuOpen)("aria-controls",o.menuOpen?o.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[w.None,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[w.None,"matMenuTriggerFor","menu"],menuData:[w.None,"matMenuTriggerData","menuData"],restoreFocus:[w.None,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],standalone:!0});let t=e;return t})(),uM=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({providers:[N3],imports:[vt,pl,ze,Zn,fr,ze]});let t=e;return t})()});function V3(t,e){}function hb(t,e){let i=t.length;for(;i--;)e(t[i])}var Do,mb,rc,B3,U3,H3,z3,pb,fM,hM=g(()=>{"use strict";nn();nn();$n();$n();Wt();zs();Ie();O();O();Ii();Qe();pn();at();Do=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}},mb=(()=>{let e=class e extends Hs{constructor(n,r,o,s,a,l,c,d){super(),this._elementRef=n,this._focusTrapFactory=r,this._config=s,this._interactivityChecker=a,this._ngZone=l,this._overlayRef=c,this._focusMonitor=d,this._platform=y(Ne),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=y(Pe),this.attachDomPortal=u=>{this._portalOutlet.hasAttached();let h=this._portalOutlet.attachDomPortal(u);return this._contentAttached(),h},this._document=o,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(n){this._ariaLabelledByQueue.push(n),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(n){let r=this._ariaLabelledByQueue.indexOf(n);r>-1&&(this._ariaLabelledByQueue.splice(r,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(n){this._portalOutlet.hasAttached();let r=this._portalOutlet.attachComponentPortal(n);return this._contentAttached(),r}attachTemplatePortal(n){this._portalOutlet.hasAttached();let r=this._portalOutlet.attachTemplatePortal(n);return this._contentAttached(),r}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(n,r){this._interactivityChecker.isFocusable(n)||(n.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{n.removeEventListener("blur",o),n.removeEventListener("mousedown",o),n.removeAttribute("tabindex")};n.addEventListener("blur",o),n.addEventListener("mousedown",o)})),n.focus(r)}_focusByCssSelector(n,r){let o=this._elementRef.nativeElement.querySelector(n);o&&this._forceFocus(o,r)}_trapFocus(){let n=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||n.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElementWhenReady().then(r=>{r||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}}_restoreFocus(){let n=this._config.restoreFocus,r=null;if(typeof n=="string"?r=this._document.querySelector(n):typeof n=="boolean"?r=n?this._elementFocusedBeforeDialogWasOpened:null:n&&(r=n),this._config.restoreFocus&&r&&typeof r.focus=="function"){let o=cl(),s=this._elementRef.nativeElement;(!o||o===this._document.body||o===s||s.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(r,this._closeInteractionType),this._closeInteractionType=null):r.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let n=this._elementRef.nativeElement,r=cl();return n===r||n.contains(r)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=cl()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};e.\u0275fac=function(r){return new(r||e)(f(P),f(uf),f(U,8),f(Do),f(ul),f(F),f(Ri),f(Ln))},e.\u0275cmp=ce({type:e,selectors:[["cdk-dialog-container"]],viewQuery:function(r,o){if(r&1&&qe(_l,7),r&2){let s;ge(s=ve())&&(o._portalOutlet=s.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(r,o){r&2&&_e("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},standalone:!0,features:[Ce,Ee],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(r,o){r&1&&Y(0,V3,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});let t=e;return t})(),rc=class{constructor(e,i){this.overlayRef=e,this.config=i,this.closed=new k,this.disableClose=i.disableClose,this.backdropClick=e.backdropClick(),this.keydownEvents=e.keydownEvents(),this.outsidePointerEvents=e.outsidePointerEvents(),this.id=i.id,this.keydownEvents.subscribe(n=>{n.keyCode===27&&!this.disableClose&&!It(n)&&(n.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=e.detachments().subscribe(()=>{i.closeOnOverlayDetachments!==!1&&this.close()})}close(e,i){if(this.containerInstance){let n=this.closed;this.containerInstance._closeInteractionType=i?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),n.next(e),n.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(e="",i=""){return this.overlayRef.updateSize({width:e,height:i}),this}addPanelClass(e){return this.overlayRef.addPanelClass(e),this}removePanelClass(e){return this.overlayRef.removePanelClass(e),this}},B3=new C("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=y(Ze);return()=>t.scrollStrategies.block()}}),U3=new C("DialogData"),H3=new C("DefaultDialogConfig"),z3=0,pb=(()=>{let e=class e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(n,r,o,s,a,l){this._overlay=n,this._injector=r,this._defaultOptions=o,this._parentDialog=s,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new k,this._afterOpenedAtThisLevel=new k,this._ariaHiddenElements=new Map,this.afterAllClosed=Jt(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ct(void 0))),this._scrollStrategy=l}open(n,r){let o=this._defaultOptions||new Do;r=A(A({},o),r),r.id=r.id||`cdk-dialog-${z3++}`,r.id&&this.getDialogById(r.id);let s=this._getOverlayConfig(r),a=this._overlay.create(s),l=new rc(a,r),c=this._attachContainer(a,l,r);return l.containerInstance=c,this._attachDialogContent(n,l,c,r),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(l),l.closed.subscribe(()=>this._removeOpenDialog(l,!0)),this.afterOpened.next(l),l}closeAll(){hb(this.openDialogs,n=>n.close())}getDialogById(n){return this.openDialogs.find(r=>r.id===n)}ngOnDestroy(){hb(this._openDialogsAtThisLevel,n=>{n.config.closeOnDestroy===!1&&this._removeOpenDialog(n,!1)}),hb(this._openDialogsAtThisLevel,n=>n.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(n){let r=new pr({positionStrategy:n.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:n.scrollStrategy||this._scrollStrategy(),panelClass:n.panelClass,hasBackdrop:n.hasBackdrop,direction:n.direction,minWidth:n.minWidth,minHeight:n.minHeight,maxWidth:n.maxWidth,maxHeight:n.maxHeight,width:n.width,height:n.height,disposeOnNavigation:n.closeOnNavigation});return n.backdropClass&&(r.backdropClass=n.backdropClass),r}_attachContainer(n,r,o){let s=o.injector||o.viewContainerRef?.injector,a=[{provide:Do,useValue:o},{provide:rc,useValue:r},{provide:Ri,useValue:n}],l;o.container?typeof o.container=="function"?l=o.container:(l=o.container.type,a.push(...o.container.providers(o))):l=mb;let c=new mr(l,o.viewContainerRef,Xe.create({parent:s||this._injector,providers:a}),o.componentFactoryResolver);return n.attach(c).instance}_attachDialogContent(n,r,o,s){if(n instanceof Ft){let a=this._createInjector(s,r,o,void 0),l={$implicit:s.data,dialogRef:r};s.templateContext&&(l=A(A({},l),typeof s.templateContext=="function"?s.templateContext():s.templateContext)),o.attachTemplatePortal(new Oi(n,null,l,a))}else{let a=this._createInjector(s,r,o,this._injector),l=o.attachComponentPortal(new mr(n,s.viewContainerRef,a,s.componentFactoryResolver));r.componentRef=l,r.componentInstance=l.instance}}_createInjector(n,r,o,s){let a=n.injector||n.viewContainerRef?.injector,l=[{provide:U3,useValue:n.data},{provide:rc,useValue:r}];return n.providers&&(typeof n.providers=="function"?l.push(...n.providers(r,n,o)):l.push(...n.providers)),n.direction&&(!a||!a.get(Lt,null,{optional:!0}))&&l.push({provide:Lt,useValue:{value:n.direction,change:R()}}),Xe.create({parent:a||s,providers:l})}_removeOpenDialog(n,r){let o=this.openDialogs.indexOf(n);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((s,a)=>{s?a.setAttribute("aria-hidden",s):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),r&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let n=this._overlayContainer.getContainerElement();if(n.parentElement){let r=n.parentElement.children;for(let o=r.length-1;o>-1;o--){let s=r[o];s!==n&&s.nodeName!=="SCRIPT"&&s.nodeName!=="STYLE"&&!s.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let n=this._parentDialog;return n?n._getAfterAllClosed():this._afterAllClosedAtThisLevel}};e.\u0275fac=function(r){return new(r||e)(p(Ze),p(Xe),p(H3,8),p(e,12),p(Ws),p(B3))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();fM=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({providers:[pb],imports:[Zn,bo,ff,bo]});let t=e;return t})()});function W3(t,e){}function vM(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?ur(t.substring(0,t.length-2)):t.endsWith("s")?ur(t.substring(0,t.length-1))*1e3:t==="0"?0:null}function yM(t,e,i){return t._closeInteractionType=e,t.close(i)}function AM(t,e){let i=t.nativeElement.parentElement;for(;i&&!i.classList.contains("mat-mdc-dialog-container");)i=i.parentElement;return i?e.find(n=>n.id===i.id):null}var oc,gb,mM,pM,G3,K3,Q3,gM,rh,oa,oh,q3,Y3,Z3,sc,$3,vb,bM,yb,bb,Ab,_M,_b=g(()=>{"use strict";$n();$n();Ie();Ie();O();O();nn();hM();Si();zs();Qe();at();Ii();vn();oc=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}},gb="mdc-dialog--open",mM="mdc-dialog--opening",pM="mdc-dialog--closing",G3=150,K3=75,Q3=(()=>{let e=class e extends mb{constructor(n,r,o,s,a,l,c,d,u){super(n,r,o,s,a,l,c,u),this._animationMode=d,this._animationStateChanged=new G,this._animationsEnabled=this._animationMode!=="NoopAnimations",this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?vM(this._config.enterAnimationDuration)??G3:0,this._exitAnimationDuration=this._animationsEnabled?vM(this._config.exitAnimationDuration)??K3: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(gM,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(mM,gb)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(gb),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(gb),this._animationsEnabled?(this._hostElement.style.setProperty(gM,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(pM)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(n){this._actionSectionCount+=n,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(mM,pM)}_waitForAnimationToComplete(n,r){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(r,n)}_requestAnimationFrame(n){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(n):n()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(n){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:n})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(n){let r=super.attachComponentPortal(n);return r.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),r}};e.\u0275fac=function(r){return new(r||e)(f(P),f(uf),f(U,8),f(oc),f(ul),f(F),f(Ri),f(lt,8),f(Ln))},e.\u0275cmp=ce({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(r,o){r&2&&(ir("id",o._config.id),_e("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),pe("_mat-animation-noopable",!o._animationsEnabled)("mat-mdc-dialog-container-with-actions",o._actionSectionCount>0))},standalone:!0,features:[Ce,Ee],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(r,o){r&1&&(E(0,"div",0)(1,"div",1),Y(2,W3,0,0,"ng-template",2),S()())},dependencies:[_l],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0;transform:scale(0.8)}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.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}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.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)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--closing .mdc-dialog__surface{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{opacity:1}.mdc-dialog--open .mdc-dialog__surface{transform:none}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{width:100%;height:100%}.mat-mdc-dialog-component-host{display:contents}.mat-mdc-dialog-container{--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 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))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition:opacity linear var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container .mdc-dialog__surface{transition:transform var(--mat-dialog-transition-duration, 0ms) 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container,.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__surface{transition:none}.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-title{padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-content{display:block}.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{padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.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}'],encapsulation:2});let t=e;return t})(),gM="--mat-dialog-transition-duration";rh=function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t}(rh||{}),oa=class{constructor(e,i,n){this._ref=e,this._containerInstance=n,this._afterOpened=new k,this._beforeClosed=new k,this._state=rh.OPEN,this.disableClose=i.disableClose,this.id=e.id,e.addPanelClass("mat-mdc-dialog-panel"),n._animationStateChanged.pipe(de(r=>r.state==="opened"),Ae(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),n._animationStateChanged.pipe(de(r=>r.state==="closed"),Ae(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),mt(this.backdropClick(),this.keydownEvents().pipe(de(r=>r.keyCode===27&&!this.disableClose&&!It(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),yM(this,r.type==="keydown"?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(de(i=>i.state==="closing"),Ae(1)).subscribe(i=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),i.totalTime+100)}),this._state=rh.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(e){let i=this._ref.config.positionStrategy;return e&&(e.left||e.right)?e.left?i.left(e.left):i.right(e.right):i.centerHorizontally(),e&&(e.top||e.bottom)?e.top?i.top(e.top):i.bottom(e.bottom):i.centerVertically(),this._ref.updatePosition(),this}updateSize(e="",i=""){return this._ref.updateSize(e,i),this}addPanelClass(e){return this._ref.addPanelClass(e),this}removePanelClass(e){return this._ref.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=rh.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};oh=new C("MatMdcDialogData"),q3=new C("mat-mdc-dialog-default-options"),Y3=new C("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=y(Ze);return()=>t.scrollStrategies.block()}}),Z3=0,sc=(()=>{let e=class e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let n=this._parentDialog;return n?n._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(n,r,o,s,a,l,c,d){this._overlay=n,this._defaultOptions=s,this._scrollStrategy=a,this._parentDialog=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new k,this._afterOpenedAtThisLevel=new k,this.dialogConfigClass=oc,this.afterAllClosed=Jt(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ct(void 0))),this._dialog=r.get(pb),this._dialogRefConstructor=oa,this._dialogContainerType=Q3,this._dialogDataToken=oh}open(n,r){let o;r=A(A({},this._defaultOptions||new oc),r),r.id=r.id||`mat-mdc-dialog-${Z3++}`,r.scrollStrategy=r.scrollStrategy||this._scrollStrategy();let s=this._dialog.open(n,we(A({},r),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:r},{provide:Do,useValue:r}]},templateContext:()=>({dialogRef:o}),providers:(a,l,c)=>(o=new this._dialogRefConstructor(a,r,c),o.updatePosition(r?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:l.data},{provide:this._dialogRefConstructor,useValue:o}])}));return o.componentRef=s.componentRef,o.componentInstance=s.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{let a=this.openDialogs.indexOf(o);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(n){return this.openDialogs.find(r=>r.id===n)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(n){let r=n.length;for(;r--;)n[r].close()}};e.\u0275fac=function(r){return new(r||e)(p(Ze),p(Xe),p(Kn,8),p(q3,8),p(Y3),p(e,12),p(Ws),p(lt,8))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),$3=0,vb=(()=>{let e=class e{constructor(n,r,o){this.dialogRef=n,this._elementRef=r,this._dialog=o,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=AM(this._elementRef,this._dialog.openDialogs))}ngOnChanges(n){let r=n._matDialogClose||n._matDialogCloseResult;r&&(this.dialogResult=r.currentValue)}_onButtonClick(n){yM(this.dialogRef,n.screenX===0&&n.screenY===0?"keyboard":"mouse",this.dialogResult)}};e.\u0275fac=function(r){return new(r||e)(f(oa,8),f(P),f(sc))},e.\u0275dir=V({type:e,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(r,o){r&1&&Q("click",function(a){return o._onButtonClick(a)}),r&2&&_e("aria-label",o.ariaLabel||null)("type",o.type)},inputs:{ariaLabel:[w.None,"aria-label","ariaLabel"],type:"type",dialogResult:[w.None,"mat-dialog-close","dialogResult"],_matDialogClose:[w.None,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[He]});let t=e;return t})(),bM=(()=>{let e=class e{constructor(n,r,o){this._dialogRef=n,this._elementRef=r,this._dialog=o}ngOnInit(){this._dialogRef||(this._dialogRef=AM(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}};e.\u0275fac=function(r){return new(r||e)(f(oa,8),f(P),f(sc))},e.\u0275dir=V({type:e,standalone:!0});let t=e;return t})(),yb=(()=>{let e=class e extends bM{constructor(){super(...arguments),this.id=`mat-mdc-dialog-title-${$3++}`}_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=it(e)))(o||e)}})(),e.\u0275dir=V({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(r,o){r&2&&ir("id",o.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0,features:[Ce]});let t=e;return t})(),bb=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=V({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0});let t=e;return t})(),Ab=(()=>{let e=class e extends bM{_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=it(e)))(o||e)}})(),e.\u0275dir=V({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(r,o){r&2&&pe("mat-mdc-dialog-actions-align-start",o.align==="start")("mat-mdc-dialog-actions-align-center",o.align==="center")("mat-mdc-dialog-actions-align-end",o.align==="end")},inputs:{align:"align"},standalone:!0,features:[Ce]});let t=e;return t})();_M=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({providers:[sc],imports:[fM,Zn,bo,ze,ze]});let t=e;return t})()});var xb,xM,CM,Cb=g(()=>{"use strict";Ie();O();xb=class{constructor(e,i){this._document=i;let n=this._textarea=this._document.createElement("textarea"),r=n.style;r.position="fixed",r.top=r.opacity="0",r.left="-999em",n.setAttribute("aria-hidden","true"),n.value=e,n.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(n)}copy(){let e=this._textarea,i=!1;try{if(e){let n=this._document.activeElement;e.select(),e.setSelectionRange(0,e.value.length),i=this._document.execCommand("copy"),n&&n.focus()}}catch{}return i}destroy(){let e=this._textarea;e&&(e.remove(),this._textarea=void 0)}},xM=(()=>{let e=class e{constructor(n){this._document=n}copy(n){let r=this.beginCopy(n),o=r.copy();return r.destroy(),o}beginCopy(n){return new xb(n,this._document)}};e.\u0275fac=function(r){return new(r||e)(p(U))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),CM=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({});let t=e;return t})()});function lU(t,e){if(t&1&&(ne(0,"h1",10),fe(1,"translate")),t&2){let i=z();D("innerHtml",yi(1,1,i.message.title,i.message.localizationParams),hs)}}function cU(t,e){if(t&1&&(ne(0,"span",12),fe(1,"translate")),t&2){let i=z(2);D("innerHtml",yi(1,1,i.message.support,i.message.localizationParams),hs)}}function dU(t,e){if(t&1&&(E(0,"p",11),ne(1,"span",12),fe(2,"translate"),Y(3,cU,2,4,"span",13),S()),t&2){let i=z();x(),D("innerHtml",yi(2,2,i.message.body,i.message.localizationParams),hs),x(2),D("ngIf",i.message.support)}}function uU(t,e){if(t&1&&(E(0,"mat-icon"),ue(1),S()),t&2){let i=z(2);x(),gt(i.message.callbackButtonIcon)}}function fU(t,e){if(t&1){let i=je();E(0,"button",14),Q("click",function(){ie(i);let r=z();return re(r.message==null?null:r.message.callbackButtonClick())}),Y(1,uU,2,1,"mat-icon",15),ue(2),fe(3,"translate"),S()}if(t&2){let i=z();x(),D("ngIf",i.message.callbackButtonIcon),x(),dt(" ",Me(3,2,i.message.callbackButtonText)," ")}}function hU(t,e){if(t&1){let i=je();E(0,"tld-close-button",16),Q("tldClick",function(){ie(i);let r=z();return re(r.closeClick())}),S()}if(t&2){let i=z();pe("no-top-margin",!i.message.title||!i.message.body)}}function mU(t,e){if(t&1){let i=je();E(0,"button",21),Q("click",function(){ie(i);let r=z(2);return re(r.buttonClick())}),ue(1),fe(2,"translate"),S()}if(t&2){let i=z(2);x(),dt("",Me(2,1,i.message.buttonText)," ")}}function pU(t,e){if(t&1){let i=je();E(0,"a",22),Q("click",function(){ie(i);let r=z(2);return re(r.linkClick())}),ue(1),fe(2,"translate"),S()}if(t&2){let i=z(2);_e("href",i.message.linkHref,bg),x(),gt(Me(2,2,i.message.linkText))}}function gU(t,e){if(t&1){let i=je();E(0,"a",23),Q("click",function(){ie(i);let r=z(2);return re(r.linkClick())}),ue(1),fe(2,"translate"),S()}if(t&2){let i=z(2);D("routerLink",Wa(4,aU,i.message.routerLink)),x(),gt(Me(2,2,i.message.linkText))}}function vU(t,e){if(t&1&&(E(0,"div",17),Y(1,mU,3,3,"button",18)(2,pU,3,4,"a",19)(3,gU,3,6,"a",20),S()),t&2){let i=z();x(),D("ngIf",i.message.buttonText),x(),D("ngIf",i.message.linkHref&&i.message.linkText),x(),D("ngIf",i.message.routerLink&&i.message.linkText)}}function DU(t,e){if(t&1){let i=je();E(0,"lib-tld-notification-message",16),Q("closeClicked",function(){ie(i);let r=z();return re(r.missingQuotaMessageClosed=!0)}),S()}if(t&2){let i=z();D("message",i.reachedQuotaMessage)}}function IU(t,e){if(t&1){let i=je();E(0,"lib-tld-notification-message",16),Q("closeClicked",function(){ie(i);let r=z();return re(r.showDefaultErrorMessage=!1)}),S()}if(t&2){let i=z();D("message",i.defaultErrorMessage)}}function MU(t,e){if(t&1){let i=je();E(0,"lib-tld-notification-message",16),Q("closeClicked",function(){ie(i);let r=z();return re(r.showExceededLimitMessage=!1)}),S()}if(t&2){let i=z();D("message",i.exceededLimitMessage)}}function SU(t,e){if(t&1&&(E(0,"mat-option",17),ue(1),fe(2,"uppercase"),fe(3,"translate"),S()),t&2){let i=e.$implicit;D("value",i),x(),dt(" ",Me(3,4,"LLM.REPHRASE_MODAL.WRITING_STYLES."+Me(2,2,i))," ")}}function TU(t,e){if(t&1&&(ne(0,"div",18),fe(1,"translate")),t&2){let i=z();D("innerHTML",yi(1,1,"LLM.REPHRASE_MODAL.LIMIT",Ga(4,EU,i.rephraseQuotaLeft,i.subscriptionUrl)),hs)}}function OU(t,e){if(t&1){let i=je();E(0,"button",19),Q("click",function(){ie(i);let r=z();return re(r.cancel())}),ue(1),fe(2,"translate"),S()}t&2&&(x(),dt(" ",Me(2,1,"LLM.REPHRASE_MODAL.CANCEL")," "))}function RU(t,e){t&1&&(E(0,"button",20),ue(1),fe(2,"translate"),S()),t&2&&(D("mat-dialog-close",null),x(),dt(" ",Me(2,2,"LLM.REPHRASE_MODAL.CLOSE")," "))}function FU(t,e){t&1&&ne(0,"mat-spinner",21),t&2&&D("diameter",20)}function PU(t,e){if(t&1){let i=je();E(0,"lib-tld-notification-message",11),Q("closeClicked",function(){ie(i);let r=z();return re(r.missingQuotaMessageClosed=!0)}),S()}if(t&2){let i=z();D("message",i.reachedQuotaMessage)}}function NU(t,e){if(t&1){let i=je();E(0,"lib-tld-notification-message",11),Q("closeClicked",function(){ie(i);let r=z();return re(r.showDefaultErrorMessage=!1)}),S()}if(t&2){let i=z();D("message",i.defaultErrorMessage)}}function jU(t,e){if(t&1){let i=je();E(0,"lib-tld-notification-message",11),Q("closeClicked",function(){ie(i);let r=z();return re(r.showExceededLimitMessage=!1)}),S()}if(t&2){let i=z();D("message",i.exceededLimitMessage)}}function VU(t,e){if(t&1&&(ne(0,"div",12),fe(1,"translate")),t&2){let i=z();D("innerHTML",yi(1,1,"LLM.SUMMARY_MODAL.LIMIT",Ga(4,LU,i.summaryQuotaLeft,i.subscriptionUrl)),hs)}}function BU(t,e){if(t&1){let i=je();E(0,"button",13),Q("click",function(){ie(i);let r=z();return re(r.cancel())}),ue(1),fe(2,"translate"),S()}t&2&&(x(),dt(" ",Me(2,1,"LLM.SUMMARY_MODAL.CANCEL")," "))}function UU(t,e){t&1&&(E(0,"button",14),ue(1),fe(2,"translate"),S()),t&2&&(D("mat-dialog-close",null),x(),dt(" ",Me(2,2,"LLM.SUMMARY_MODAL.CLOSE")," "))}function HU(t,e){t&1&&ne(0,"mat-spinner",15),t&2&&D("diameter",20)}var eU,tU,nU,iU,rU,oU,sU,aU,EM,yU,sh,ch,bU,wb,AU,_U,lc,xU,Eb,Dr,ah,Db,ac,dh,wM,lh,Ib,cc,Mb,DM,CU,IM,wU,EU,kU,LU,zU,WU,GU,MM,SM,dc=g(()=>{"use strict";O();O();Af();Af();As();Qe();Ie();Ie();wy();vf();vf();db();db();uo();uo();Dl();Dl();Pf();kl();Ya();_f();_f();ho();ho();Il();Ml();Ml();vn();fb();fb();_b();_b();Cb();Cb();eU=(()=>{let e=class e{constructor(n,r){this.iconRegistry=n,this.sanitizer=r}registerIcons(n){for(let r in n)this.iconRegistry.addSvgIconLiteral(r.toLowerCase(),this.sanitizer.bypassSecurityTrustHtml(n[r]))}registerIconFromUrl(n,r){this.iconRegistry.addSvgIcon(n,this.sanitizer.bypassSecurityTrustResourceUrl(r))}addSvgIconSet(n,r){r?this.iconRegistry.addSvgIconSetInNamespace(r,this.sanitizer.bypassSecurityTrustResourceUrl(n)):this.iconRegistry.addSvgIconSet(this.sanitizer.bypassSecurityTrustResourceUrl(n))}};e.\u0275fac=function(r){return new(r||e)(p(Jv),p(Ja))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),tU=typeof localStorage<"u"?localStorage:null,nU=typeof window<"u"?window:null,iU=(()=>{let e=class e{get window(){return nU}get localStorage(){return tU}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),rU=["clearButton"],oU=(()=>{let e=class e{constructor(){this.tldClick=new G,this.ariaCode="CLOSE_BUTTON"}clicked(){this.tldClick.emit(null)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=ce({type:e,selectors:[["tld-close-button"]],viewQuery:function(r,o){if(r&1&&qe(rU,5),r&2){let s;ge(s=ve())&&(o.clearButton=s.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(r,o){if(r&1){let s=je();E(0,"button",1,0),fe(2,"translate"),fe(3,"translate"),Q("click",function(){return ie(s),re(o.clicked())}),E(4,"span",2),ue(5," close "),S()()}r&2&&(D("matTooltip",Me(2,3,o.tooltip))("disabled",o.disabled),_e("aria-label",Me(3,5,"ARIA_LABELS."+o.ariaCode)))},dependencies:[vo,Gs,Ei],encapsulation:2});let t=e;return t})(),sU=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[vt,gf,lr,El]});let t=e;return t})(),aU=t=>[t];EM=(()=>{let e=class e{constructor(){this.buttonClicked=new G,this.closeClicked=new G,this.linkClicked=new G,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)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=ce({type:e,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(r,o){r&1&&(E(0,"div")(1,"div",0)(2,"span",1),ue(3),S(),E(4,"div",2)(5,"div",3)(6,"div",4),Y(7,lU,2,4,"h1",5)(8,dU,4,5,"p",6),S(),Y(9,fU,4,4,"button",7)(10,hU,1,2,"tld-close-button",8),S(),Y(11,vU,4,3,"div",9),S()()()),r&2&&(hu("notification-message ",o.className,""),x(),pe("inline",o.inline),D("ngClass.lt-md","mobile"),_e("id",o.message.id),x(2),dt(" ",o.iconNames[o.message.type]," "),x(4),D("ngIf",o.message.title),x(),D("ngIf",o.message.body),x(),D("ngIf",o.message.callbackButtonText),x(),D("ngIf",!o.message.hideClose&&!o.message.callbackButtonText),x(),D("ngIf",o.message.buttonText||o.message.linkHref||o.message.routerLink))},dependencies:[ys,fI,dI,lI,aI,Fl,oU,gl,iM,yo,Ei],styles:["[_nghost-%COMP%]{display:inline-block;width:100%}.close-button[_ngcontent-%COMP%]{position:absolute;top:.2em;right:.2em}.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.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%]{font-weight:600;margin:0}.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:1.5em}.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) .items-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] + div[_ngcontent-%COMP%], .notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .items-container[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%] + .message-body[_ngcontent-%COMP%]{margin-top:1em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .message-title[_ngcontent-%COMP%]{font-size:1.25em}.notification-message[_ngcontent-%COMP%] .notification-message-container[_ngcontent-%COMP%]:not(.inline) .message-body[_ngcontent-%COMP%]{line-height:1.5em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%]{padding:.75em 1em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%]{margin-left:.75em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] + div[_ngcontent-%COMP%]{margin-top:.5em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .items-container[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%] + .message-body[_ngcontent-%COMP%]{margin-top:.2em}.notification-message[_ngcontent-%COMP%] .notification-message-container.inline[_ngcontent-%COMP%] .message-title[_ngcontent-%COMP%]{font-size:1em}"]});let t=e;return t})(),yU=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[vt,Ll,sU,gf,lr,aM,ey]});let t=e;return t})(),sh=function(t){return t.BASIC="BASIC",t.INFO="INFO",t.WARNING="WARNING",t.SUCCESS="SUCCESS",t.ERROR="ERROR",t}(sh||{}),ch=class{static getAuthHeaders(e){let i={};return e&&(i["client-id"]=e),i["Content-Type"]="application/json",i}static getApiV2AuthHeaders(e,i){let n={};return e&&(n["x-api-key"]=e),i&&(n["X-App-Id"]=i),n}},bU={SMALL:600,MEDIUM:960,LARGE:1280,XLARGE:1920},wb=class{static isMobileRes(){return window.innerWidth<bU.SMALL}},AU=(()=>{let e=class e{constructor(n){this.translate=n,this.languagesLocalizationKey="LANGUAGES",this.translationCache=new Map,this.translate.onLangChange.subscribe(()=>{this.translationCache.clear(),this.lastUiLanguage=this.translate.currentLang}),this.lastUiLanguage=this.translate.currentLang}transform(n,r=!1){if(!n)return"";this.lastUiLanguage!==this.translate.currentLang&&(this.translationCache.clear(),this.lastUiLanguage=this.translate.currentLang);let o=`${n}:${r}`;if(this.translationCache.has(o))return this.translationCache.get(o);let s=this.getLanguageFromLanguageCode(n),l=this.isLanguageCodeSameAsRegion(n)?s:n,c=this.getTranslation(l,r);return this.translationCache.set(o,c),c}getTranslation(n,r){let s=this.translate.instant(this.languagesLocalizationKey)[n.toUpperCase().replace("-","_")]??this.getLanguageTranslationFromLanguageCode(this.translate.currentLang,n);return r&&(s=s.split("(")[0].trim()),s}getLanguageTranslationFromLanguageCode(n,r){let o=new Intl.DisplayNames([n],{type:"language"}),s=new Intl.DisplayNames([n],{type:"region"}),a;try{let l=this.getLanguageFromLanguageCode(r),c=this.getRegionFromLanguageCode(r),d=o.of(l),u=s.of(c);a=`${d} (${u})`}catch{try{a=o.of(r)}catch{return r}}return this.capitalizeFirstLetter(a)}isLanguageCodeSameAsRegion(n){let[r,o,s]=n.split("-");return r===o?.toLowerCase()&&!s}getRegionFromLanguageCode(n){let[r,o,s]=n.split("-");return(s?`${o}-${s}`:`${o}`).toUpperCase()}getLanguageFromLanguageCode(n){return n.split("-")[0].toLowerCase()}capitalizeFirstLetter(n){return n.charAt(0).toUpperCase()+n.slice(1)}};e.\u0275fac=function(r){return new(r||e)(f(ar,16))},e.\u0275pipe=cs({name:"languageTranslate",type:e,pure:!1});let t=e;return t})(),_U=(()=>{let e=class e{constructor(n){this.translateService=n}getLanguageCodeTranslation(n,r=!1){return new AU(this.translateService).transform(n,r)}removeRegionFromLanguageCode(n){return n.split("-")[0]}};e.\u0275fac=function(r){return new(r||e)(p(ar))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),lc=new C("QUOTA_SERVICE_CONFIGURATION_TOKEN"),xU=(()=>{let e=class e{constructor(n,r){this.http=n,this.baseUrl=r.apiUrl}getQuotaUsage(){return this.http.get(this.baseUrl)}};e.\u0275fac=function(r){return new(r||e)(p(or),p(lc))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Eb=function(t){return t.TRANSLATION_DOCUMENTS="TranslationDocuments",t.LLM_CHARACTER_COUNT="LlmCharacterCount",t.LLM_REQUESTS="LlmRequests",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}(Eb||{}),Dr=class{static addPlausible(e){let n=new iU().window;if(!n||!e)return;let r="https://plausible.io/js/plausible.js",o=document.createElement("script");o.src=r,o.setAttribute("data-domain",e),document.head.append(o),n.plausible=n.plausible||((...s)=>{(n.plausible.q=n.plausible.q||[]).push(s)})}static customEvent(e,i){let n=window;n?.plausible&&n.plausible(e,{props:i})}},ah=function(t){return t.TILDE_TERM="TildeTerm",t.FILE="File",t}(ah||{}),Db=function(t){return t.NO_ENTRIES="NO_ENTRIES",t.DEFAULT_COLLECTION="DEFAULT_COLLECTION",t}(Db||{}),ac=function(t){return t.IMPORTING="Importing",t.DELETING="Deleting",t.READY="Ready",t.PROCESSING="Processing",t.ERROR="Error",t.NOT_IN_USE="NotInUse",t}(ac||{}),dh=class dh{static findExistingCollectionFromList(e,i){for(let n of e)if(n.termId&&n.termId==i.termId||n.mtCollection?.id&&n.mtCollection.id==i.mtCollection?.id)return n;return null}static findExistingIndexFromList(e,i){if(!e)return null;let n=0;for(let r of e){if(r.termId&&r.termId==i.termId||r.mtCollection?.id&&r.mtCollection.id==i.mtCollection?.id)return n;n+=1}return null}get isSynchronized(){return this._isSynchronized}get syncButtonVisible(){return this._syncButtonVisible}get termId(){return this.termCollection?.id??this.mtCollection?.termId}get mtStatus(){return this.mtCollection?.status}get name(){return this.termCollection?.name??this.mtCollection?.name}get termEntries(){return this.termCollection?.entryCount}get default(){return this._default}get status(){return this.mtStatus??ac.NOT_IN_USE}get canEditScope(){return this.mtCollection||this.default}get termCount(){return this.mtCollection?.termCount}get isTermPortalCollection(){return this._isTermPortalCollection}get isImporting(){return this._isImporting}constructor(e,i){this.editables={},this._isSynchronized=!0,this.mtCollection=i,this.termCollection=e,this.update(null)}update(e){e?.termCollection&&(this.termCollection=e.termCollection),e?.mtCollection&&(this.mtCollection=e.mtCollection),this._isTermPortalCollection=this.mtCollection?.collectionSource===ah.TILDE_TERM,this.mtCollection?.access&&this.updateEditables(this.mtCollection?.access),this._isImporting=this.mtCollection&&dh.importingStatuses.includes(this.mtCollection?.status),this._default=(this.editables.userDefault||this.editables.groupDefault||this.editables.globalDefault)??!1,this.updateIsSynchronized(),this.updateTooltipKey(),this.updateSource()}isEdited(){return this.mtCollection?.access?.user?.default!==this.editables.userDefault||this.mtCollection?.access?.group?.default!==this.editables.groupDefault||this.mtCollection?.access?.global?.default!==this.editables.globalDefault}deleteTerms(){this.termCollection=null,this.update(null)}deleteMT(){this.mtCollection=null,this.update(null)}updateEditables(e){e&&(this.editables.globalDefault=e.global?.default,this.editables.groupDefault=e.group?.default,this.editables.userDefault=e.user?.default)}updateIsSynchronized(){let e=!0,i=this.termCollection?.modifyDate,n=this.mtCollection?.lastUpdated;i&&n&&(e=i<=n),this._isSynchronized=e,this.lastUpdated=n??i,this._syncButtonVisible=!this.isImporting&&(!this.isSynchronized||this.mtStatus===ac.ERROR)}updateSource(){this.termCollection?this.source=ah.TILDE_TERM:this.mtCollection&&(this.source=ah.FILE)}updateTooltipKey(){this.default?this.termTooltipKey=Db.DEFAULT_COLLECTION:this.termCollection?.entryCount===0?this.termTooltipKey=Db.NO_ENTRIES:this.termTooltipKey=null}};dh.importingStatuses=[ac.IMPORTING,ac.PROCESSING];wM=dh,lh=function(t){return t.SUMMARY="SUMMARY",t.REPHRASE="REPHRASE",t}(lh||{}),Ib=function(t){return t.GENERAL="General",t.PROFESSIONAL="Professional",t.ACADEMIC="Academic",t}(Ib||{}),cc=new C("LLM_CONFIGURATION_TOKEN"),Mb=(()=>{let e=class e{constructor(n,r){this.http=n,this.llmConfiguration=r}summarize(n){let r=ch.getApiV2AuthHeaders(this.llmConfiguration.xApiKey,this.llmConfiguration.appId);return this.http.post(`${this.llmConfiguration.serviceUrl}/summarize`,n,{responseType:"text",headers:r})}rephrase(n){let r=ch.getApiV2AuthHeaders(this.llmConfiguration.xApiKey,this.llmConfiguration.appId);return this.http.post(`${this.llmConfiguration.serviceUrl}/rewrite`,n,{responseType:"text",headers:r})}};e.\u0275fac=function(r){return new(r||e)(p(or),p(cc))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),DM=(()=>{let e=class e{constructor(n,r){this.llmService=n,this.quotaService=r,this.trialRequestCount=15,this.LLMQuotaLocalStorageKey="LLM_QUOTA"}getRemainingQuota(n){return this.quotaService.getQuotaUsage().pipe(B(r=>{let o=r.usage.find(s=>s.quotaType===Eb.LLM_REQUESTS||s.quotaType===Eb.LEGACY_LLM_REQUESTS);return o?o.quotaRemaining:this.setQuotaLocalStorageUsage(n)}),en(()=>R(this.setQuotaLocalStorageUsage(n))))}getExceededLimitMessage(n){return{type:sh.WARNING,body:"ERRORS.MAX_CHAR_LENGTH",localizationParams:{maxCharLength:this.llmService.llmConfiguration.maxCharLength,totalSymbols:n}}}getReachedQuotaMessage(){return{type:sh.ERROR,body:"LLM.ERRORS.QUOTA_LIMIT_REACHED",localizationParams:{subscriptionUrl:this.llmService.llmConfiguration.subscriptionUrl}}}getDefaultErrorMessage(){return{type:sh.ERROR,body:"LLM.ERRORS.DEFAULT",localizationParams:{supportEmail:this.llmService.llmConfiguration.supportEmail}}}setQuotaLocalStorageUsage(n){let r=localStorage.getItem(this.LLMQuotaLocalStorageKey),o=new Date,s={remainingQuota:this.trialRequestCount,lastUsedAt:o};if(r){s=JSON.parse(r);let l=new Date(s.lastUsedAt);(l.getDate()!==o.getDate()||l.getMonth()!==o.getMonth()||l.getFullYear()!==o.getFullYear())&&(s.remainingQuota=this.trialRequestCount),n&&(s.remainingQuota-=1)}return s.lastUsedAt=o,localStorage.setItem(this.LLMQuotaLocalStorageKey,JSON.stringify(s)),s.remainingQuota}};e.\u0275fac=function(r){return new(r||e)(p(Mb),p(xU))},e.\u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),CU=["textarea"],IM=(()=>{let e=class e{constructor(n){this.clipboard=n,this.textEditEvent=new G,this.dislikeEvent=new G,this.copyEvent=new G,this.destroy=new k}ngOnInit(){this.textareaControl=new al(this.text)}ngAfterViewInit(){zi(this.textarea.nativeElement,"keyup").pipe(Le(n=>{n.ctrlKey&&n.key==="c"&&this.copyEvent.emit()}),ai(300),te(this.destroy)).subscribe(()=>{this.textEditEvent.emit(this.textareaControl.value)})}ngOnChanges(n){n&&n.disabled&&(this.disabled?this.textareaControl?.disable():this.textareaControl?.enable()),n&&n.text&&(this.textareaControl=new al(this.text))}dislike(){this.dislikeEvent.emit()}copy(){this.clipboard.copy(this.textareaControl.value),this.copyEvent.emit()}ngOnDestroy(){this.destroy.next(null),this.destroy.complete()}};e.\u0275fac=function(r){return new(r||e)(f(xM))},e.\u0275cmp=ce({type:e,selectors:[["lib-llm-textarea"]],viewQuery:function(r,o){if(r&1&&qe(CU,5),r&2){let s;ge(s=ve())&&(o.textarea=s.first)}},inputs:{text:"text",disabled:"disabled"},outputs:{textEditEvent:"textEditEvent",dislikeEvent:"dislikeEvent",copyEvent:"copyEvent"},features:[He],decls:12,vars:4,consts:[["textarea",""],[1,"llm-wrapper",3,"ngClass.gt-lg"],[1,"llm-textarea-wrapper"],[1,"llm-textarea",3,"formControl"],[1,"llm-textarea-actions"],["mat-icon-button","",3,"click","disabled"],[1,"material-icons-outlined","copy"],[1,"material-icons-outlined","dislike"]],template:function(r,o){if(r&1){let s=je();E(0,"div",1)(1,"div",2)(2,"textarea",3,0),ue(4," "),S(),E(5,"div",4)(6,"button",5),Q("click",function(){return ie(s),re(o.dislike())}),E(7,"mat-icon",6),ue(8," thumb_down "),S()(),E(9,"button",5),Q("click",function(){return ie(s),re(o.copy())}),E(10,"mat-icon",7),ue(11," content_copy "),S()()()()()}r&2&&(D("ngClass.gt-lg","desktop"),x(2),D("formControl",o.textareaControl),x(4),D("disabled",o.disabled||!o.textareaControl.value),x(3),D("disabled",o.disabled||!o.textareaControl.value))},dependencies:[vo,yo,Ds,Yu,Ov,Fl],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;bottom:4px;right:4px}"]});let t=e;return t})(),wU=t=>({style:t}),EU=(t,e)=>({limit:t,subscriptionUrl:e});kU=(()=>{let e=class e{get isRephrasingDisabled(){return this.isLoading||!this.initialText||this.rephraseQuotaLeft<1}get defaultErrorMessage(){return this.llmHelperService.getDefaultErrorMessage()}get showMissingQuotaMessage(){return!this.rephraseQuotaLeft&&!this.missingQuotaMessageClosed&&this.isQuotaLoaded}constructor(n,r,o){this.llmService=n,this.llmHelperService=r,this.data=o,this.selectedWritingStyle=Ib.GENERAL,this.rephrasedText="",this.manuallyEditedText="",this.savedRephrasings=[],this.writingStyles=Object.values(Ib),this.rephrasePlausibleEventName="rephrase",this.missingQuotaMessageClosed=!1}ngOnInit(){this.initialText=this.data.text,this.subscriptionUrl=this.llmService.llmConfiguration.subscriptionUrl,this.reachedQuotaMessage=this.llmHelperService.getReachedQuotaMessage(),this.maxCharLength=this.llmService.llmConfiguration.maxCharLength,this.refreshQuota()}checkRephrasedTextSaves(n){n.value!==this.selectedWritingStyle&&(this.previousWritingStyle=this.selectedWritingStyle,this.selectedWritingStyle=n.value);let r=this.savedRephrasings.find(s=>s.style===this.selectedWritingStyle),o=this.savedRephrasings.find(s=>s.style===this.previousWritingStyle);o?o.text=this.rephrasedText!==""?this.rephrasedText:this.initialText:this.savedRephrasings.push({style:this.previousWritingStyle,text:this.rephrasedText!==""?this.rephrasedText:this.initialText}),this.rephrasedText=r?.text??this.initialText,this.manuallyEditedText="",this.checkTextLimit()}rephraseText(){this.isLoading=!0,this.writingStylePlausibleEvent();let n=this.manuallyEditedText!==""?this.manuallyEditedText:this.initialText;n.length>this.maxCharLength&&(n=n.substring(0,this.maxCharLength)),this.subscription=this.llmService.rephrase({text:n,style:this.selectedWritingStyle}).pipe(Bt(()=>this.isLoading=!1)).subscribe({next:r=>{this.rephrasedText=r,this.manuallyEditedText="",this.showDefaultErrorMessage=!1,this.refreshQuota(!0),this.checkTextLimit()},error:()=>{this.showDefaultErrorMessage=!0}})}cancel(){this.subscription.unsubscribe()}textEditEvent(n){this.manuallyEditedText=n,this.initialText=n,this.rephrasedText="",this.checkTextLimit()}copyPlausibleEvent(){Dr.customEvent(this.rephrasePlausibleEventName,{action:"copy"})}dislikePlausibleEvent(){Dr.customEvent(this.rephrasePlausibleEventName,{action:"dislike"})}checkTextLimit(){let n=this.maxCharLength,r=[this.initialText,this.manuallyEditedText,this.rephrasedText],o=this.rephrasedText&&!this.manuallyEditedText?this.rephrasedText:r.reduce((s,a)=>s.length>a.length?s:a);o.length>n?(this.showExceededLimitMessage=!0,this.exceededLimitMessage=this.llmHelperService.getExceededLimitMessage(o.length)):this.showExceededLimitMessage&&(this.showExceededLimitMessage=!1)}writingStylePlausibleEvent(){Dr.customEvent(this.rephrasePlausibleEventName,{writingStyle:this.selectedWritingStyle})}refreshQuota(n){this.llmHelperService.getRemainingQuota(n).subscribe(r=>{this.rephraseQuotaLeft=r,this.isQuotaLoaded=!0,this.setQuotaMessage()})}setQuotaMessage(){this.showRemainingQuotaMessage=this.rephraseQuotaLeft<=this.llmHelperService.trialRequestCount}};e.\u0275fac=function(r){return new(r||e)(f(Mb),f(DM),f(oh))},e.\u0275cmp=ce({type:e,selectors:[["lib-rephrase"]],decls:36,vars:41,consts:[["closeButton",""],["mat-dialog-title",""],["mat-dialog-content",""],[3,"message","closeClicked",4,"ngIf"],["color","accent","appearance","outline",1,"w-full","llm-writing-style-select"],[3,"selectionChange","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"],[3,"textEditEvent","copyEvent","dislikeEvent","text","disabled"],["mat-dialog-actions","",1,"llm-rephrase-actions-wrapper"],[3,"innerHTML",4,"ngIf"],[1,"llm-rephrase-actions"],["mat-button","","color","accent",3,"click",4,"ngIf","ngIfElse"],["mat-flat-button","","color","accent",3,"click","disabled"],["color","accent","class","ml-2",3,"diameter",4,"ngIf"],[3,"closeClicked","message"],[3,"value"],[3,"innerHTML"],["mat-button","","color","accent",3,"click"],["mat-button","","color","accent",3,"mat-dialog-close"],["color","accent",1,"ml-2",3,"diameter"]],template:function(r,o){if(r&1){let s=je();E(0,"h1",1),ue(1),fe(2,"translate"),S(),E(3,"div",2)(4,"p"),ue(5),fe(6,"translate"),S(),Y(7,DU,1,1,"lib-tld-notification-message",3)(8,IU,1,1,"lib-tld-notification-message",3)(9,MU,1,1,"lib-tld-notification-message",3),E(10,"mat-form-field",4)(11,"mat-label"),ue(12),fe(13,"translate"),S(),E(14,"mat-select",5),Q("selectionChange",function(l){return ie(s),re(o.checkRephrasedTextSaves(l))}),Y(15,SU,4,6,"mat-option",6),S()(),E(16,"p",7),ue(17),fe(18,"uppercase"),fe(19,"translate"),fe(20,"translate"),E(21,"span",8),fe(22,"uppercase"),fe(23,"translate"),ue(24," info "),S()(),E(25,"lib-llm-textarea",9),Q("textEditEvent",function(l){return ie(s),re(o.textEditEvent(l))})("copyEvent",function(){return ie(s),re(o.copyPlausibleEvent())})("dislikeEvent",function(){return ie(s),re(o.dislikePlausibleEvent())}),S()(),E(26,"div",10),Y(27,TU,2,7,"div",11),E(28,"div",12),Y(29,OU,3,3,"button",13)(30,RU,3,4,"ng-template",null,0,so),E(32,"button",14),Q("click",function(){return ie(s),re(o.rephraseText())}),ue(33),fe(34,"translate"),Y(35,FU,1,1,"mat-spinner",15),S()()()}if(r&2){let s=Fn(31);x(),gt(Me(2,20,"LLM.REPHRASE_MODAL.TITLE")),x(4),gt(Me(6,22,"LLM.REPHRASE_MODAL.DESCRIPTION")),x(2),D("ngIf",o.showMissingQuotaMessage),x(),D("ngIf",o.showDefaultErrorMessage),x(),D("ngIf",o.showExceededLimitMessage),x(3),gt(Me(13,24,"LLM.REPHRASE_MODAL.WRITING_STYLES.TITLE")),x(2),D("value",o.selectedWritingStyle),x(),D("ngForOf",o.writingStyles),x(2),dt("",yi(20,30,"LLM.REPHRASE_MODAL.WRITING_STYLES.SPECIFIC_STYLE",Wa(39,wU,Me(19,28,"LLM.REPHRASE_MODAL.WRITING_STYLES."+Me(18,26,o.selectedWritingStyle))))," "),x(4),D("matTooltip",Me(23,35,"LLM.REPHRASE_MODAL.WRITING_STYLES.TOOLTIP_"+Me(22,33,o.selectedWritingStyle))),x(4),D("text",o.rephrasedText!==""?o.rephrasedText:o.initialText)("disabled",o.isLoading||!o.rephraseQuotaLeft),x(2),D("ngIf",o.showRemainingQuotaMessage),x(),pe("w-full",!o.showRemainingQuotaMessage),x(),D("ngIf",o.isLoading)("ngIfElse",s),x(3),D("disabled",o.isRephrasingDisabled),x(),dt(" ",Me(34,37,"LLM.REPHRASE_MODAL.REPHRASE")," "),x(2),D("ngIf",o.isLoading)}},dependencies:[Eu,ys,gl,vb,yb,Ab,bb,If,Ks,Sf,Vs,EM,Gs,Bs,IM,bw,Ei],styles:[".info-icon[_ngcontent-%COMP%]{font-size:1rem;margin-left:5px}[_nghost-%COMP%] .message-body{font-size:14px}[_nghost-%COMP%] .notification-message-container{margin:0 0 16px;padding:.9em 1em!important}[_nghost-%COMP%] .text-container{margin-right:0!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:180px!important}[_nghost-%COMP%] .desktop .llm-textarea{min-height:410px!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-rephrase-actions-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin:0 1rem .5rem}.llm-rephrase-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}"]});let t=e;return t})(),LU=(t,e)=>({limit:t,subscriptionUrl:e});zU=(()=>{let e=class e{get isCreatingDisabled(){return this.isLoading||!this.initialText||this.summaryQuotaLeft<1}get defaultErrorMessage(){return this.llmHelperService.getDefaultErrorMessage()}get showMissingQuotaMessage(){return!this.summaryQuotaLeft&&!this.missingQuotaMessageClosed&&this.isQuotaLoaded}constructor(n,r,o){this.llmService=n,this.llmHelperService=r,this.data=o,this.summarizedText="",this.manuallyEditedText="",this.summaryPlausibleEventName="summary",this.missingQuotaMessageClosed=!1}ngOnInit(){this.initialText=this.data.text,this.language=this.data.language,this.subscriptionUrl=this.llmService.llmConfiguration.subscriptionUrl,this.reachedQuotaMessage=this.llmHelperService.getReachedQuotaMessage(),this.maxCharLength=this.llmService.llmConfiguration.maxCharLength,this.refreshQuota()}createSummary(){this.isLoading=!0,this.summaryPlausibleEvent();let n=this.manuallyEditedText!==""?this.manuallyEditedText:this.initialText;n.length>this.maxCharLength&&(n=n.substring(0,this.maxCharLength)),this.subscription=this.llmService.summarize({text:n,language:this.language}).pipe(Bt(()=>this.isLoading=!1)).subscribe({next:r=>{this.isSummarized=!0,this.summarizedText=r,this.manuallyEditedText="",this.showDefaultErrorMessage=!1,this.refreshQuota(!0),this.checkTextLimit()},error:()=>{this.showDefaultErrorMessage=!0}})}cancel(){this.subscription.unsubscribe()}textEditEvent(n){this.manuallyEditedText=n,this.initialText=n,this.checkTextLimit()}copyPlausibleEvent(){Dr.customEvent(this.summaryPlausibleEventName,{action:"copy"})}dislikePlausibleEvent(){Dr.customEvent(this.summaryPlausibleEventName,{action:"dislike"})}summaryPlausibleEvent(){Dr.customEvent(this.summaryPlausibleEventName,{action:"summary"})}checkTextLimit(){let n=this.maxCharLength,r=[this.initialText,this.manuallyEditedText,this.summarizedText],o=this.summarizedText&&!this.manuallyEditedText?this.summarizedText:r.reduce((s,a)=>s.length>a.length?s:a);o.length>n?(this.showExceededLimitMessage=!0,this.exceededLimitMessage=this.llmHelperService.getExceededLimitMessage(o.length)):this.showExceededLimitMessage&&(this.showExceededLimitMessage=!1)}refreshQuota(n){this.llmHelperService.getRemainingQuota(n).subscribe(r=>{this.summaryQuotaLeft=r,this.isQuotaLoaded=!0,this.setQuotaMessage()})}setQuotaMessage(){this.showRemainingQuotaMessage=this.summaryQuotaLeft<=this.llmHelperService.trialRequestCount}};e.\u0275fac=function(r){return new(r||e)(f(Mb),f(DM),f(oh))},e.\u0275cmp=ce({type:e,selectors:[["lib-create-summary"]],decls:21,vars:21,consts:[["closeButton",""],["mat-dialog-title",""],["mat-dialog-content",""],[3,"message","closeClicked",4,"ngIf"],[3,"textEditEvent","copyEvent","dislikeEvent","text","disabled"],["mat-dialog-actions","",1,"llm-summary-actions-wrapper"],[3,"innerHTML",4,"ngIf"],[1,"llm-summary-actions"],["mat-button","","color","accent",3,"click",4,"ngIf","ngIfElse"],["mat-flat-button","","color","accent",3,"click","disabled"],["color","accent","class","ml-2",3,"diameter",4,"ngIf"],[3,"closeClicked","message"],[3,"innerHTML"],["mat-button","","color","accent",3,"click"],["mat-button","","color","accent",3,"mat-dialog-close"],["color","accent",1,"ml-2",3,"diameter"]],template:function(r,o){if(r&1){let s=je();E(0,"h1",1),ue(1),fe(2,"translate"),S(),E(3,"div",2)(4,"p"),ue(5),fe(6,"translate"),S(),Y(7,PU,1,1,"lib-tld-notification-message",3)(8,NU,1,1,"lib-tld-notification-message",3)(9,jU,1,1,"lib-tld-notification-message",3),E(10,"lib-llm-textarea",4),Q("textEditEvent",function(l){return ie(s),re(o.textEditEvent(l))})("copyEvent",function(){return ie(s),re(o.copyPlausibleEvent())})("dislikeEvent",function(){return ie(s),re(o.dislikePlausibleEvent())}),S()(),E(11,"div",5),Y(12,VU,2,7,"div",6),E(13,"div",7),Y(14,BU,3,3,"button",8)(15,UU,3,4,"ng-template",null,0,so),E(17,"button",9),Q("click",function(){return ie(s),re(o.createSummary())}),ue(18),fe(19,"translate"),Y(20,HU,1,1,"mat-spinner",10),S()()()}if(r&2){let s=Fn(16);x(),gt(Me(2,15,"LLM.SUMMARY_MODAL.TITLE")),x(4),gt(Me(6,17,"LLM.SUMMARY_MODAL.DESCRIPTION")),x(2),D("ngIf",o.showMissingQuotaMessage),x(),D("ngIf",o.showDefaultErrorMessage),x(),D("ngIf",o.showExceededLimitMessage),x(),D("text",o.summarizedText!==""?o.summarizedText:o.initialText)("disabled",o.isLoading||!o.summaryQuotaLeft),x(2),D("ngIf",o.showRemainingQuotaMessage),x(),pe("w-full",!o.showRemainingQuotaMessage),x(),D("ngIf",o.isLoading)("ngIfElse",s),x(3),D("disabled",o.isCreatingDisabled),x(),dt(" ",Me(19,19,o.isSummarized?"LLM.SUMMARY_MODAL.REGENERATE":"LLM.SUMMARY_MODAL.CREATE")," "),x(2),D("ngIf",o.isLoading)}},dependencies:[ys,gl,vb,yb,Ab,bb,EM,Bs,IM,Ei],styles:["[_nghost-%COMP%] .message-body{font-size:14px}[_nghost-%COMP%] .notification-message-container{margin:0 0 16px;padding:.9em 1em!important}[_nghost-%COMP%] .text-container{margin-right:0!important}.w-full[_ngcontent-%COMP%]{width:100%}.llm-summary-actions[_ngcontent-%COMP%]{display:flex;justify-content:end}.llm-summary-actions-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin:0 1rem .5rem}[_nghost-%COMP%] .mdc-button__label{display:flex!important;align-items:center!important}"]});let t=e;return t})(),WU=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
18
18
  <path d="M16.1585 17.1686L14.9128 19.9564C14.5601 20.7458 13.4395 20.7458 13.0868 19.9564L11.8412 17.1686C11.6403 16.719 11.2806 16.3593 10.8311 16.1585L8.04323 14.9128C7.25382 14.5601 7.25382 13.4395 8.04323 13.0868L10.8311 11.8412C11.2806 11.6403 11.6403 11.2806 11.8412 10.8311L13.0868 8.04323C13.4395 7.25382 14.5601 7.25382 14.9128 8.04323L16.1585 10.8311C16.3593 11.2806 16.719 11.6403 17.1686 11.8412L19.9564 13.0868C20.7458 13.4395 20.7458 14.5601 19.9564 14.9128L17.1686 16.1585C16.719 16.3593 16.3593 16.719 16.1585 17.1686Z" stroke="#524345" stroke-width="1.5"/>
19
19
  <path d="M10.4838 2.31373C10.2969 1.89542 9.7031 1.89542 9.5162 2.31373L9.14485 3.14485L8.31373 3.5162C7.89542 3.7031 7.89542 4.2969 8.31373 4.4838L9.14485 4.85515L9.5162 5.68627C9.7031 6.10458 10.2969 6.10458 10.4838 5.68627L10.8552 4.85515L11.6863 4.4838C12.1046 4.2969 12.1046 3.7031 11.6863 3.5162L10.8552 3.14485L10.4838 2.31373Z" fill="#524345"/>
20
20
  <path d="M5.7257 5.47059C5.44534 4.84314 4.55466 4.84313 4.2743 5.47059L3.71727 6.71727L2.47059 7.2743C1.84314 7.55466 1.84314 8.44534 2.47059 8.7257L3.71727 9.28273L4.2743 10.5294C4.55466 11.1569 5.44534 11.1569 5.7257 10.5294L6.28273 9.28273L7.52941 8.7257C8.15687 8.44534 8.15687 7.55466 7.52941 7.2743L6.28273 6.71727L5.7257 5.47059Z" fill="#524345"/>
21
21
  </svg>
22
- `,GU=Object.freeze({__proto__:null,LLM_MENU:WU}),MM=(()=>{let e=class e{get isTextSummarizable(){return this.text&&this.text.length>100}get isTargetLanguageRephrasable(){return this.language&&this.rephrasableLanguagesCodeList.includes(this.languageService.removeRegionFromLanguageCode(this.language))}constructor(n,r,o){this.dialog=n,this.iconService=r,this.languageService=o,this.rephrasableLanguagesCodeList=["en"],this.llmAction=lh,this.iconService.registerIcons(GU)}openLLMModal(n){this.dialog.open(this.getComponentByLLMAction(n),{minWidth:wb.isMobileRes()?"100%":"800px",data:{text:this.text,language:this.language}})}getComponentByLLMAction(n){switch(n){case lh.REPHRASE:return kU;case lh.SUMMARY:return zU}}};e.\u0275fac=function(r){return new(r||e)(f(sc),f(eU),f(_U))},e.\u0275cmp=ce({type:e,selectors:[["lib-llm"]],inputs:{text:"text",language:"language",isMenuDisabled:"isMenuDisabled",rephrasableLanguagesCodeList:"rephrasableLanguagesCodeList"},decls:15,vars:19,consts:[["menu","matMenu"],["mat-icon-button","",3,"disabled","matTooltip","matMenuTriggerFor"],["svgIcon","llm_menu"],[3,"matTooltip"],["mat-menu-item","",3,"click","disabled"]],template:function(r,o){if(r&1){let s=je();E(0,"button",1),fe(1,"translate"),ne(2,"mat-icon",2),S(),E(3,"mat-menu",null,0)(5,"div",3),fe(6,"translate"),E(7,"button",4),K("click",function(){return ie(s),re(o.openLLMModal(o.llmAction.SUMMARY))}),ue(8),fe(9,"translate"),S()(),E(10,"div",3),fe(11,"translate"),E(12,"button",4),K("click",function(){return ie(s),re(o.openLLMModal(o.llmAction.REPHRASE))}),ue(13),fe(14,"translate"),S()()()}if(r&2){let s=Fn(4);D("disabled",o.isMenuDisabled)("matTooltip",Me(1,9,"LLM.MENU_TOOLTIP"))("matMenuTriggerFor",s),x(5),D("matTooltip",o.isTextSummarizable?"":Me(6,11,"LLM.MENU_SUMMARY_DISABLED_TOOLTIP")),x(2),D("disabled",!o.isTextSummarizable),x(),dt(" ",Me(9,13,"LLM.SUMMARY")," "),x(2),D("matTooltip",o.isTargetLanguageRephrasable?"":Me(11,15,"LLM.MENU_REPHRASE_DISABLED_TOOLTIP")),x(2),D("disabled",!o.isTargetLanguageRephrasable),x(),dt(" ",Me(14,17,"LLM.REPHRASE")," ")}},dependencies:[vo,yo,ra,ic,cM,Gs,Ei]});let t=e;return t})(),SM=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[vt,gf,ey,dM,lr,AM,xM,ef,CE,Tf,yU,El,Ll,lD]});let t=e;return t})()});var TM,OM=g(()=>{"use strict";TM={en:{LLM:{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",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",REPHRASE:"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.
22
+ `,GU=Object.freeze({__proto__:null,LLM_MENU:WU}),MM=(()=>{let e=class e{get isTextSummarizable(){return this.text&&this.text.length>100}get isTargetLanguageRephrasable(){return this.language&&this.rephrasableLanguagesCodeList.includes(this.languageService.removeRegionFromLanguageCode(this.language))}constructor(n,r,o){this.dialog=n,this.iconService=r,this.languageService=o,this.rephrasableLanguagesCodeList=["en"],this.llmAction=lh,this.iconService.registerIcons(GU)}openLLMModal(n){this.dialog.open(this.getComponentByLLMAction(n),{minWidth:wb.isMobileRes()?"100%":"800px",data:{text:this.text,language:this.language}})}getComponentByLLMAction(n){switch(n){case lh.REPHRASE:return kU;case lh.SUMMARY:return zU}}};e.\u0275fac=function(r){return new(r||e)(f(sc),f(eU),f(_U))},e.\u0275cmp=ce({type:e,selectors:[["lib-llm"]],inputs:{text:"text",language:"language",isMenuDisabled:"isMenuDisabled",rephrasableLanguagesCodeList:"rephrasableLanguagesCodeList"},decls:15,vars:19,consts:[["menu","matMenu"],["mat-icon-button","",3,"disabled","matTooltip","matMenuTriggerFor"],["svgIcon","llm_menu"],[3,"matTooltip"],["mat-menu-item","",3,"click","disabled"]],template:function(r,o){if(r&1){let s=je();E(0,"button",1),fe(1,"translate"),ne(2,"mat-icon",2),S(),E(3,"mat-menu",null,0)(5,"div",3),fe(6,"translate"),E(7,"button",4),Q("click",function(){return ie(s),re(o.openLLMModal(o.llmAction.SUMMARY))}),ue(8),fe(9,"translate"),S()(),E(10,"div",3),fe(11,"translate"),E(12,"button",4),Q("click",function(){return ie(s),re(o.openLLMModal(o.llmAction.REPHRASE))}),ue(13),fe(14,"translate"),S()()()}if(r&2){let s=Fn(4);D("disabled",o.isMenuDisabled)("matTooltip",Me(1,9,"LLM.MENU_TOOLTIP"))("matMenuTriggerFor",s),x(5),D("matTooltip",o.isTextSummarizable?"":Me(6,11,"LLM.MENU_SUMMARY_DISABLED_TOOLTIP")),x(2),D("disabled",!o.isTextSummarizable),x(),dt(" ",Me(9,13,"LLM.SUMMARY")," "),x(2),D("matTooltip",o.isTargetLanguageRephrasable?"":Me(11,15,"LLM.MENU_REPHRASE_DISABLED_TOOLTIP")),x(2),D("disabled",!o.isTargetLanguageRephrasable),x(),dt(" ",Me(14,17,"LLM.REPHRASE")," ")}},dependencies:[vo,yo,ra,ic,dM,Gs,Ei]});let t=e;return t})(),SM=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=j({type:e}),e.\u0275inj=N({imports:[vt,gf,ey,uM,lr,_M,CM,ef,wE,Tf,yU,El,Ll,cD]});let t=e;return t})()});var TM,OM=g(()=>{"use strict";TM={en:{LLM:{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",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",REPHRASE:"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.
23
23
  Vocabulary: Optimal for simple and clear language, avoiding technical jargon.
24
24
  Sentence Structure: Keep sentences simple to moderately complex.
25
25
  Tone: Maintain a friendly and engaging tone.`,TOOLTIP_PROFESSIONAL:`Formality: Use a medium to high level of formality.
@@ -28,7 +28,7 @@ Sentence Structure: Ensure sentences are clear and concise, with some complexity
28
28
  Tone: Maintain a professional, respectful, and straightforward tone.`,TOOLTIP_ACADEMIC:`Formality: Use a high level of formality.
29
29
  Vocabulary: Incorporate technical and subject-specific terminology.
30
30
  Sentence Structure: Utilize complex sentence structures with a focus on clarity and precision.
31
- 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",CREATE:"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>."}}},et:{LLM:{SUMMARY:"Kokkuv\xF5tte loomine",REPHRASE:"T\xF5lke \xFCmbers\xF5nastamine",MENU_TOOLTIP:"T\xF5lke \xFCmbers\xF5nastamine v\xF5i kokkuv\xF5te",MENU_DISABLED_TOOLTIP:"\xDCmbers\xF5nastamise v\xF5i kokkuv\xF5tte funktsioonide kasutamiseks oodake t\xF5lget.",MENU_SUMMARY_DISABLED_TOOLTIP:"Esitage kokkuv\xF5ttefunktsiooni kasutamiseks v\xE4hemalt 100 s\xFCmbolit.",MENU_REPHRASE_DISABLED_TOOLTIP:"\xDCmbers\xF5nastamise funktsiooni kasutamiseks t\xF5lkige inglise keelde.",UNSUPPORTED_MENU_DISABLED_TOOLTIP:"Funktsioon on saadaval ainult teksti t\xF5lkimiseks.",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",REPHRASE:"\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.
31
+ 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",CREATE:"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>."}}},et:{LLM:{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",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",REPHRASE:"\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.
32
32
  S\xF5nastik: Optimaalne on lihtne ja selge keel, v\xE4ltides tehnilist oskuskeelt.
33
33
  Lauseehitus: Hoidke laused lihtsad kuni m\xF5\xF5dukalt keerulised.
34
34
  Toon: s\xE4ilitage s\xF5bralik ja kaasav toon.`,TOOLTIP_PROFESSIONAL:`Formaalsus: Kasutage keskmist kuni suurt formaalsust.
@@ -37,7 +37,7 @@ Lauseehitus: Veenduge, et laused on selged ja l\xFChikesed, kuid mingil m\xE4\xE
37
37
  Toon: S\xE4ilitage professionaalne, lugupidav ja otsekohene toon.`,TOOLTIP_ACADEMIC:`Formaalsus: Kasutage suurt formaalsust.
38
38
  S\xF5nastik: Tehnilise ja erialase terminoloogia kaasamine.
39
39
  Lauseehitus: Kasutage keerulisi lauseehitusi, keskendudes selgusele ja t\xE4psusele.
40
- 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:"T\xF5lke kokkuv\xF5te",DESCRIPTION:"Tehke pikad tekstid kiiresti selgeteks kokkuv\xF5teteks, kasutades meie t\xE4iustatud LLM-funktsiooni.",CANCEL:"Loobu",CLOSE:"Sulge",CREATE:"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>"},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>."}}},lt:{LLM:{SUMMARY:"Kurti santrauk\u0105",REPHRASE:"Perfrazuoti vertim\u0105",MENU_TOOLTIP:"Perfrazuoti vertim\u0105 ar kurti jo santrauk\u0105",MENU_DISABLED_TOOLTIP:"Palaukite, kol bus i\u0161versta, kad gal\u0117tum\u0117te naudoti perfrazavimo ar santraukos k\u016Brimo funkcijas",MENU_SUMMARY_DISABLED_TOOLTIP:"Pateikite bent 100 simboli\u0173, kad gal\u0117tum\u0117te naudoti santraukos k\u016Brimo funkcij\u0105",MENU_REPHRASE_DISABLED_TOOLTIP:"Jei norite naudoti perfrazavimo funkcij\u0105, verskite \u012F angl\u0173 kalb\u0105",UNSUPPORTED_MENU_DISABLED_TOOLTIP:"Funkcija pasiekiama tik teksto vertimui",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",REPHRASE:"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.
40
+ 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",CREATE:"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>"},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>."}}},lt:{LLM:{SUMMARY:"Kurti santrauk\u0105",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",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",REPHRASE:"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.
41
41
  \u017Dodynas: optimalus paprastam ir ai\u0161kiam stiliui, vengti techninio \u017Eargono.
42
42
  Sakini\u0173 strukt\u016Bra: sakiniai turi b\u016Bti paprasti arba vidutinio sud\u0117tingumo.
43
43
  Tonas: i\u0161laikyti draugi\u0161k\u0105 ir patraukl\u0173 ton\u0105.`,TOOLTIP_PROFESSIONAL:`Formalumas: taikyti vidutin\u012F ar auk\u0161t\u0105 formalumo lyg\u012F.
@@ -46,7 +46,7 @@ Sakini\u0173 strukt\u016Bra: u\u017Etikrinkite, kad sakiniai b\u016Bt\u0173 ai\u
46
46
  Tonas: i\u0161laikykite profesional\u0173, pagarb\u0173 ir paprast\u0105 ton\u0105.`,TOOLTIP_ACADEMIC:`Formalumas: taikyti auk\u0161t\u0105 formalumo lyg\u012F.
47
47
  \u017Dodynas: \u012Ftraukti technin\u0119 ir konkre\u010Dios srities terminologij\u0105.
48
48
  Sakini\u0173 strukt\u016Bra: naudoti sud\u0117tingas sakini\u0173 strukt\u016Bras daugiausia d\u0117mesio skiriant ai\u0161kumui ir tikslumui.
49
- 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:{TITLE:"vertimo santrauka",DESCRIPTION:"Greitai sutrumpinti ilgus tekstus \u012F ai\u0161kias santraukas naudojant LLM funkcij\u0105.",CANCEL:"At\u0161aukti",CLOSE:"U\u017Edaryti",CREATE:"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>"},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>."}}},lv:{LLM:{SUMMARY:"Izveidot kopsavilkumu",REPHRASE:"P\u0101rfr\u0101z\u0113t tulkojumu",MENU_TOOLTIP:"P\u0101rfr\u0101z\u0113jiet tulkojumu vai izveidojiet t\u0101 kopsavilkumu",MENU_DISABLED_TOOLTIP:"Uzgaidiet, l\u012Bdz tulko\u0161ana ir pabeigta, lai izmantotu p\u0101rfr\u0101z\u0113\u0161anas vai kopsavilkuma veido\u0161anas funkcijas",MENU_SUMMARY_DISABLED_TOOLTIP:"Lai izmantotu kopsavilkuma funkciju, nodro\u0161iniet vismaz 100\xA0simbolus",MENU_REPHRASE_DISABLED_TOOLTIP:"Lai izmantotu p\u0101rfr\u0101z\u0113\u0161anas funkciju, tulkojiet uz ang\u013Cu valodu",UNSUPPORTED_MENU_DISABLED_TOOLTIP:"Funkcija ir pieejama tikai teksta tulko\u0161anai",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",REPHRASE:"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.
49
+ 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",CREATE:"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"},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>."}}},lv:{LLM:{SUMMARY:"Apkopot",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",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",REPHRASE:"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.
50
50
  Leksika: optim\u0101ls vienk\u0101r\u0161ai un skaidrai valodai, izvairoties no tehnisk\u0101 \u017Eargona.
51
51
  Teikumu strukt\u016Bra: izmantojiet vienk\u0101r\u0161us l\u012Bdz vid\u0113ji sare\u017E\u0123\u012Btus teikumus.
52
52
  Tonis: uzturiet draudz\u012Bgu un iesaisto\u0161u toni.`,TOOLTIP_PROFESSIONAL:`Form\u0101lisms: izmantojiet vid\u0113ja l\u012Bdz augsta l\u012Bme\u0146a form\u0101lismu.
@@ -55,4 +55,4 @@ Teikumu strukt\u016Bra: nodro\u0161iniet, ka teikumi ir skaidri un kodol\u012Bgi
55
55
  Tonis: uzturiet profesion\u0101lu, cie\u0146pilnu un vienk\u0101r\u0161u toni.`,TOOLTIP_ACADEMIC:`Form\u0101lisms: izmantojiet augsta l\u012Bme\u0146a form\u0101lismu.
56
56
  Leksika: iek\u013Caujiet tehnisku un t\u0113mai rakstur\u012Bgu terminolo\u0123iju.
57
57
  Teikumu strukt\u016Bra: izmantojiet sare\u017E\u0123\u012Btu teikumu strukt\u016Bru, koncentr\u0113joties uz skaidr\u012Bbu un precizit\u0101ti.
58
- 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:"Tulkojuma kopsavilkums",DESCRIPTION:"\u0100tri apkopojiet garus tekstus skaidros kopsavilkumos, izmantojot m\u016Bsu moderno LLM funkciju.",CANCEL:"Atcelt",CLOSE:"Aizv\u0113rt",CREATE:"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>"},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>."}}}}});var uh,Sb=g(()=>{"use strict";O();dc();Cv();OM();O();dc();uh=(()=>{var e,i,n,Mb,o,RM,a,FM;let c=class c extends Vu{constructor(){super(TM);et(this,n);et(this,o);et(this,a);et(this,e,void 0);et(this,i,void 0);Zt(this,e,y(cc)),Zt(this,i,y(lc)),this.supportEmail="support@tilde.com",this.quotaServiceUrl="https://services.tilde.com/service/quota/usage"}ngOnInit(){super.ngOnInit(),Nt(this,n,Mb).call(this)}ngOnChanges(){super.ngOnChanges(),Nt(this,n,Mb).call(this)}};e=new WeakMap,i=new WeakMap,n=new WeakSet,Mb=function(){Nt(this,o,RM).call(this),Nt(this,a,FM).call(this)},o=new WeakSet,RM=function(){this.serviceUrl&&(Qe(this,e).serviceUrl=this.serviceUrl),this.subscriptionUrl&&(Qe(this,e).subscriptionUrl=this.subscriptionUrl),this.supportEmail&&(Qe(this,e).supportEmail=this.supportEmail),this.appId&&(Qe(this,e).appId=this.appId),this.maxCharLength&&(Qe(this,e).maxCharLength=this.maxCharLength)},a=new WeakSet,FM=function(){Qe(this,i).apiUrl=this.quotaServiceUrl},c.\u0275fac=function(m){return new(m||c)},c.\u0275cmp=ce({type:c,selectors:[["app-llm"]],inputs:{serviceUrl:"serviceUrl",subscriptionUrl:"subscriptionUrl",supportEmail:"supportEmail",appId:"appId",maxCharLength:"maxCharLength",text:"text",language:"language",quotaServiceUrl:"quotaServiceUrl"},standalone:!0,features:[Ce,He,Ee],decls:1,vars:2,consts:[[3,"language","text"]],template:function(m,v){m&1&&ne(0,"lib-llm",0),m&2&&D("language",v.language)("text",v.text)},dependencies:[SM,MM]});let t=c;return t})()});var KU,qU,YU,ZU,kM,LM=g(()=>{"use strict";Ie();Ey();Sb();O();KU=()=>({voice:"sandra4",apiVersion:0,apiUrl:"https://runa.tilde.lv/client/say"}),qU=()=>({voice:"lv-LV-general",apiVersion:1,apiUrl:"https://services.tilde.com/service/tts"}),YU=(t,e)=>[t,e],ZU=()=>["https://runa.tilde.lv/client/say"],kM=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=ce({type:e,selectors:[["app-root"]],standalone:!0,features:[_t([]),Ee],decls:2,vars:8,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."],["xApiKey","f9e79feb-997c-4f85-bd9d-d0c9a626c8a0",3,"voices","skipAuthUrls"]],template:function(r,o){r&1&&ne(0,"app-llm",0)(1,"app-text-to-speech",1),r&2&&(x(),D("voices",Ga(4,YU,gu(2,KU),gu(3,qU)))("skipAuthUrls",gu(7,ZU)))},dependencies:[vt,Nf,uh],encapsulation:2});let t=e;return t})()});var PM,NM=g(()=>{"use strict";PM={production:!0}});function jM(t){return new T(3e3,!1)}function $U(){return new T(3100,!1)}function XU(){return new T(3101,!1)}function JU(t){return new T(3001,!1)}function e5(t){return new T(3003,!1)}function t5(t){return new T(3004,!1)}function n5(t,e){return new T(3005,!1)}function i5(){return new T(3006,!1)}function r5(){return new T(3007,!1)}function o5(t,e){return new T(3008,!1)}function s5(t){return new T(3002,!1)}function a5(t,e,i,n,r){return new T(3010,!1)}function l5(){return new T(3011,!1)}function c5(){return new T(3012,!1)}function d5(){return new T(3200,!1)}function u5(){return new T(3202,!1)}function f5(){return new T(3013,!1)}function h5(t){return new T(3014,!1)}function m5(t){return new T(3015,!1)}function p5(t){return new T(3016,!1)}function g5(t,e){return new T(3404,!1)}function v5(t){return new T(3502,!1)}function y5(t){return new T(3503,!1)}function b5(){return new T(3300,!1)}function A5(t){return new T(3504,!1)}function _5(t){return new T(3301,!1)}function x5(t,e){return new T(3302,!1)}function C5(t){return new T(3303,!1)}function w5(t,e){return new T(3400,!1)}function E5(t){return new T(3401,!1)}function D5(t){return new T(3402,!1)}function I5(t,e){return new T(3505,!1)}function Ir(t){switch(t.length){case 0:return new gr;case 1:return t[0];default:return new Cl(t)}}function XM(t,e,i=new Map,n=new Map){let r=[],o=[],s=-1,a=null;if(e.forEach(l=>{let c=l.get("offset"),d=c==s,u=d&&a||new Map;l.forEach((h,m)=>{let v=m,_=h;if(m!=="offset")switch(v=t.normalizePropertyName(v,r),_){case Ef:_=i.get(m);break;case Xn:_=n.get(m);break;default:_=t.normalizeStyleValue(m,v,_,r);break}u.set(v,_)}),d||o.push(u),a=u,s=c}),r.length)throw v5(r);return o}function Xb(t,e,i,n){switch(e){case"start":t.onStart(()=>n(i&&Tb(i,"start",t)));break;case"done":t.onDone(()=>n(i&&Tb(i,"done",t)));break;case"destroy":t.onDestroy(()=>n(i&&Tb(i,"destroy",t)));break}}function Tb(t,e,i){let n=i.totalTime,r=!!i.disabled,o=Jb(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,n??t.totalTime,r),s=t._data;return s!=null&&(o._data=s),o}function Jb(t,e,i,n,r="",o=0,s){return{element:t,triggerName:e,fromState:i,toState:n,phaseName:r,totalTime:o,disabled:!!s}}function an(t,e,i){let n=t.get(e);return n||t.set(e,n=i),n}function VM(t){let e=t.indexOf(":"),i=t.substring(1,e),n=t.slice(e+1);return[i,n]}function eA(t){let e=t.parentNode||t.host||null;return e===M5?null:e}function S5(t){return t.substring(1,6)=="ebkit"}function T5(t){Io||(Io=O5()||{},BM=Io.style?"WebkitAppearance"in Io.style:!1);let e=!0;return Io.style&&!S5(t)&&(e=t in Io.style,!e&&BM&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Io.style)),e}function O5(){return typeof document<"u"?document.body:null}function JM(t,e){for(;e;){if(e===t)return!0;e=eA(e)}return!1}function eS(t,e,i){if(i)return Array.from(t.querySelectorAll(e));let n=t.querySelector(e);return n?[n]:[]}function Ni(t){if(typeof t=="number")return t;let e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:jb(parseFloat(e[1]),e[2])}function jb(t,e){switch(e){case"s":return t*R5;default:return t}}function yh(t,e,i){return t.hasOwnProperty("duration")?t:k5(t,e,i)}function k5(t,e,i){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,r,o=0,s="";if(typeof t=="string"){let a=t.match(n);if(a===null)return e.push(jM(t)),{duration:0,delay:0,easing:""};r=jb(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(o=jb(parseFloat(l),a[4]));let c=a[5];c&&(s=c)}else r=t;if(!i){let a=!1,l=e.length;r<0&&(e.push($U()),a=!0),o<0&&(e.push(XU()),a=!0),a&&e.splice(l,0,jM(t))}return{duration:r,delay:o,easing:s}}function L5(t){return t.length?t[0]instanceof Map?t:t.map(e=>new Map(Object.entries(e))):[]}function ri(t,e,i){e.forEach((n,r)=>{let o=nA(r);i&&!i.has(r)&&i.set(r,t.style[o]),t.style[o]=n})}function So(t,e){e.forEach((i,n)=>{let r=nA(n);t.style[r]=""})}function uc(t){return Array.isArray(t)?t.length==1?t[0]:bD(t):t}function P5(t,e,i){let n=e.params||{},r=iS(t);r.length&&r.forEach(o=>{n.hasOwnProperty(o)||i.push(JU(o))})}function iS(t){let e=[];if(typeof t=="string"){let i;for(;i=Vb.exec(t);)e.push(i[1]);Vb.lastIndex=0}return e}function hc(t,e,i){let n=`${t}`,r=n.replace(Vb,(o,s)=>{let a=e[s];return a==null&&(i.push(e5(s)),a=""),a.toString()});return r==n?t:r}function nA(t){return t.replace(N5,(...e)=>e[1].toUpperCase())}function j5(t,e){return t===0||e===0}function V5(t,e,i){if(i.size&&e.length){let n=e[0],r=[];if(i.forEach((o,s)=>{n.has(s)||r.push(s),n.set(s,o)}),r.length)for(let o=1;o<e.length;o++){let s=e[o];r.forEach(a=>s.set(a,iA(t,a)))}}return e}function sn(t,e,i){switch(e.type){case oe.Trigger:return t.visitTrigger(e,i);case oe.State:return t.visitState(e,i);case oe.Transition:return t.visitTransition(e,i);case oe.Sequence:return t.visitSequence(e,i);case oe.Group:return t.visitGroup(e,i);case oe.Animate:return t.visitAnimate(e,i);case oe.Keyframes:return t.visitKeyframes(e,i);case oe.Style:return t.visitStyle(e,i);case oe.Reference:return t.visitReference(e,i);case oe.AnimateChild:return t.visitAnimateChild(e,i);case oe.AnimateRef:return t.visitAnimateRef(e,i);case oe.Query:return t.visitQuery(e,i);case oe.Stagger:return t.visitStagger(e,i);default:throw t5(e.type)}}function iA(t,e){return window.getComputedStyle(t)[e]}function U5(t,e){let i=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(n=>H5(n,i,e)):i.push(t),i}function H5(t,e,i){if(t[0]==":"){let l=z5(t,i);if(typeof l=="function"){e.push(l);return}t=l}let n=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return i.push(m5(t)),e;let r=n[1],o=n[2],s=n[3];e.push(HM(r,s));let a=r==Ah&&s==Ah;o[0]=="<"&&!a&&e.push(HM(s,r))}function z5(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(i,n)=>parseFloat(n)>parseFloat(i);case":decrement":return(i,n)=>parseFloat(n)<parseFloat(i);default:return e.push(p5(t)),"* => *"}}function HM(t,e){let i=hh.has(t)||mh.has(t),n=hh.has(e)||mh.has(e);return(r,o)=>{let s=t==Ah||t==r,a=e==Ah||e==o;return!s&&i&&typeof r=="boolean"&&(s=r?hh.has(t):mh.has(t)),!a&&n&&typeof o=="boolean"&&(a=o?hh.has(e):mh.has(e)),s&&a}}function oS(t,e,i,n){return new Bb(t).build(e,i,n)}function G5(t){let e=!!t.split(/\s*,\s*/).find(i=>i==rS);return e&&(t=t.replace(W5,"")),t=t.replace(/@\*/g,vh).replace(/@\w+/g,i=>vh+"-"+i.slice(1)).replace(/:animating/g,Nb),[t,e]}function Q5(t){return t?A({},t):null}function K5(t){if(typeof t=="string")return null;let e=null;if(Array.isArray(t))t.forEach(i=>{if(i instanceof Map&&i.has("offset")){let n=i;e=parseFloat(n.get("offset")),n.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let i=t;e=parseFloat(i.get("offset")),i.delete("offset")}return e}function q5(t,e){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=yh(t,e).duration;return Ob(o,0,"")}let i=t;if(i.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=Ob(0,0,"");return o.dynamic=!0,o.strValue=i,o}let r=yh(i,e);return Ob(r.duration,r.delay,r.easing)}function Mo(t){return t?(t=A({},t),t.params&&(t.params=Q5(t.params))):t={},t}function Ob(t,e,i){return{duration:t,delay:e,easing:i}}function rA(t,e,i,n,r,o,s=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:i,postStyleProps:n,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}function sS(t,e,i,n,r,o=new Map,s=new Map,a,l,c=[]){return new Hb().buildKeyframes(t,e,i,n,r,o,s,a,l,c)}function WM(t,e=3){let i=Math.pow(10,e-1);return Math.round(t*i)/i}function eH(t,e){let i=new Map,n;return t.forEach(r=>{if(r==="*"){n??=e.keys();for(let o of n)i.set(o,Xn)}else for(let[o,s]of r)i.set(o,s)}),i}function GM(t,e,i,n,r,o,s,a,l,c,d,u,h){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:i,fromStyles:o,toState:n,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:h}}function tH(t,e,i,n,r){return t.some(o=>o(e,i,n,r))}function aS(t,e){let i=A({},e);return Object.entries(t).forEach(([n,r])=>{r!=null&&(i[n]=r)}),i}function nH(t,e,i){return new Qb(t,e,i)}function iH(t,e,i){let n=[(s,a)=>!0],r={type:oe.Sequence,steps:[],options:null},o={type:oe.Transition,animation:r,matchers:n,options:null,queryCount:0,depCount:0};return new Ch(t,o,e)}function QM(t,e,i){t.has(e)?t.has(i)||t.set(i,t.get(e)):t.has(i)&&t.set(e,t.get(i))}function uH(t,e,i){let n=t.get(e);if(n){if(n.length){let r=n.indexOf(i);n.splice(r,1)}n.length==0&&t.delete(e)}return n}function fH(t){return t??null}function ph(t){return t&&t.nodeType===1}function hH(t){return t=="start"||t=="done"}function qM(t,e){let i=t.style.display;return t.style.display=e??"none",i}function YM(t,e,i,n,r){let o=[];i.forEach(l=>o.push(qM(l)));let s=[];n.forEach((l,c)=>{let d=new Map;l.forEach(u=>{let h=e.computeStyle(c,u,r);d.set(u,h),(!h||h.length==0)&&(c[Nn]=dH,s.push(c))}),t.set(c,d)});let a=0;return i.forEach(l=>qM(l,o[a++])),s}function ZM(t,e){let i=new Map;if(t.forEach(a=>i.set(a,[])),e.length==0)return i;let n=1,r=new Set(e),o=new Map;function s(a){if(!a)return n;let l=o.get(a);if(l)return l;let c=a.parentNode;return i.has(c)?l=c:r.has(c)?l=n:l=s(c),o.set(a,l),l}return e.forEach(a=>{let l=s(a);l!==n&&i.get(l).push(a)}),i}function An(t,e){t.classList?.add(e)}function sa(t,e){t.classList?.remove(e)}function mH(t,e,i){Ir(i).onDone(()=>t.processLeaveNode(e))}function pH(t){let e=[];return cS(t,e),e}function cS(t,e){for(let i=0;i<t.length;i++){let n=t[i];n instanceof Cl?cS(n.players,e):e.push(n)}}function gH(t,e){let i=Object.keys(t),n=Object.keys(e);if(i.length!=n.length)return!1;for(let r=0;r<i.length;r++){let o=i[r];if(!e.hasOwnProperty(o)||t[o]!==e[o])return!1}return!0}function $M(t,e,i){let n=i.get(t);if(!n)return!1;let r=e.get(t);return r?n.forEach(o=>r.add(o)):e.set(t,n),i.delete(t),!0}function vH(t,e){let i=null,n=null;return Array.isArray(e)&&e.length?(i=Lb(e[0]),e.length>1&&(n=Lb(e[e.length-1]))):e instanceof Map&&(i=Lb(e)),i||n?new Zb(t,i,n):null}function Lb(t){let e=null;return t.forEach((i,n)=>{yH(n)&&(e=e||new Map,e.set(n,i))}),e}function yH(t){return t==="display"||t==="position"}function bH(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function AH(t){let e=t.indexOf("."),i=t.substring(0,e),n=t.slice(e+1);return[i,n]}var M5,Io,BM,tA,oA,To,Oo,R5,tS,F5,nS,Pb,fh,vh,UM,Nb,Vb,N5,B5,bh,Ah,hh,mh,rS,W5,zM,Bb,Ub,mc,Y5,Z5,$5,X5,J5,Hb,_h,zb,xh,Wb,Rb,Ch,Gb,Qb,rH,Kb,KM,oH,Fb,sH,aH,lH,cH,lS,dH,Nn,pc,fc,kb,qb,Yb,gc,la,aa,Zb,wh,Eh,gh,dS,Dh,$b,Ih,sA=g(()=>{"use strict";wl();O();O();M5=typeof document>"u"?null:document.documentElement;Io=null,BM=!1;tA=(()=>{let e=class e{validateStyleProperty(n){return T5(n)}matchesElement(n,r){return!1}containsElement(n,r){return JM(n,r)}getParentElement(n){return eA(n)}query(n,r,o){return eS(n,r,o)}computeStyle(n,r,o){return o||""}animate(n,r,o,s,a,l=[],c){return new gr(o,s)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),oA=class oA{};oA.NOOP=new tA;To=oA,Oo=class{},R5=1e3,tS="{{",F5="}}",nS="ng-enter",Pb="ng-leave",fh="ng-trigger",vh=".ng-trigger",UM="ng-animating",Nb=".ng-animating";Vb=new RegExp(`${tS}\\s*(.+?)\\s*${F5}`,"g");N5=/-+([a-z0-9])/g;B5=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"]),bh=class extends Oo{normalizePropertyName(e,i){return nA(e)}normalizeStyleValue(e,i,n,r){let o="",s=n.toString().trim();if(B5.has(i)&&n!==0&&n!=="0")if(typeof n=="number")o="px";else{let a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&r.push(n5(e,n))}return s+o}},Ah="*";hh=new Set(["true","1"]),mh=new Set(["false","0"]);rS=":self",W5=new RegExp(`s*${rS}s*,?`,"g");zM="",Bb=class{constructor(e){this._driver=e}build(e,i,n){let r=new Ub(i);return this._resetContextStyleTimingState(r),sn(this,uc(e),r)}_resetContextStyleTimingState(e){e.currentQuerySelector=zM,e.collectedStyles=new Map,e.collectedStyles.set(zM,new Map),e.currentTime=0}visitTrigger(e,i){let n=i.queryCount=0,r=i.depCount=0,o=[],s=[];return e.name.charAt(0)=="@"&&i.errors.push(i5()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(i),a.type==oe.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,i))}),l.name=c}else if(a.type==oe.Transition){let l=this.visitTransition(a,i);n+=l.queryCount,r+=l.depCount,s.push(l)}else i.errors.push(r5())}),{type:oe.Trigger,name:e.name,states:o,transitions:s,queryCount:n,depCount:r,options:null}}visitState(e,i){let n=this.visitStyle(e.styles,i),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){let o=new Set,s=r||{};n.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{iS(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&i.errors.push(o5(e.name,[...o.values()]))}return{type:oe.State,name:e.name,style:n,options:r?{params:r}:null}}visitTransition(e,i){i.queryCount=0,i.depCount=0;let n=sn(this,uc(e.animation),i),r=U5(e.expr,i.errors);return{type:oe.Transition,matchers:r,animation:n,queryCount:i.queryCount,depCount:i.depCount,options:Mo(e.options)}}visitSequence(e,i){return{type:oe.Sequence,steps:e.steps.map(n=>sn(this,n,i)),options:Mo(e.options)}}visitGroup(e,i){let n=i.currentTime,r=0,o=e.steps.map(s=>{i.currentTime=n;let a=sn(this,s,i);return r=Math.max(r,i.currentTime),a});return i.currentTime=r,{type:oe.Group,steps:o,options:Mo(e.options)}}visitAnimate(e,i){let n=q5(e.timings,i.errors);i.currentAnimateTimings=n;let r,o=e.styles?e.styles:Pt({});if(o.type==oe.Keyframes)r=this.visitKeyframes(o,i);else{let s=e.styles,a=!1;if(!s){a=!0;let c={};n.easing&&(c.easing=n.easing),s=Pt(c)}i.currentTime+=n.duration+n.delay;let l=this.visitStyle(s,i);l.isEmptyStep=a,r=l}return i.currentAnimateTimings=null,{type:oe.Animate,timings:n,style:r,options:null}}visitStyle(e,i){let n=this._makeStyleAst(e,i);return this._validateStyleAst(n,i),n}_makeStyleAst(e,i){let n=[],r=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of r)typeof a=="string"?a===Xn?n.push(a):i.errors.push(s5(a)):n.push(new Map(Object.entries(a)));let o=!1,s=null;return n.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(tS)>=0){o=!0;break}}}),{type:oe.Style,styles:n,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,i){let n=i.currentAnimateTimings,r=i.currentTime,o=i.currentTime;n&&o>0&&(o-=n.duration+n.delay),e.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let c=i.collectedStyles.get(i.currentQuerySelector),d=c.get(l),u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(i.errors.push(a5(l,d.startTime,d.endTime,o,r)),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:r}),i.options&&P5(a,i.options,i.errors)})})}visitKeyframes(e,i){let n={type:oe.Keyframes,styles:[],options:null};if(!i.currentAnimateTimings)return i.errors.push(l5()),n;let r=1,o=0,s=[],a=!1,l=!1,c=0,d=e.steps.map(M=>{let L=this._makeStyleAst(M,i),me=L.offset!=null?L.offset:K5(L.styles),W=0;return me!=null&&(o++,W=L.offset=me),l=l||W<0||W>1,a=a||W<c,c=W,s.push(W),L});l&&i.errors.push(c5()),a&&i.errors.push(d5());let u=e.steps.length,h=0;o>0&&o<u?i.errors.push(u5()):o==0&&(h=r/(u-1));let m=u-1,v=i.currentTime,_=i.currentAnimateTimings,I=_.duration;return d.forEach((M,L)=>{let me=h>0?L==m?1:h*L:s[L],W=me*I;i.currentTime=v+_.delay+W,_.duration=W,this._validateStyleAst(M,i),M.offset=me,n.styles.push(M)}),n}visitReference(e,i){return{type:oe.Reference,animation:sn(this,uc(e.animation),i),options:Mo(e.options)}}visitAnimateChild(e,i){return i.depCount++,{type:oe.AnimateChild,options:Mo(e.options)}}visitAnimateRef(e,i){return{type:oe.AnimateRef,animation:this.visitReference(e.animation,i),options:Mo(e.options)}}visitQuery(e,i){let n=i.currentQuerySelector,r=e.options||{};i.queryCount++,i.currentQuery=e;let[o,s]=G5(e.selector);i.currentQuerySelector=n.length?n+" "+o:o,an(i.collectedStyles,i.currentQuerySelector,new Map);let a=sn(this,uc(e.animation),i);return i.currentQuery=null,i.currentQuerySelector=n,{type:oe.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:Mo(e.options)}}visitStagger(e,i){i.currentQuery||i.errors.push(f5());let n=e.timings==="full"?{duration:0,delay:0,easing:"full"}:yh(e.timings,i.errors,!0);return{type:oe.Stagger,animation:sn(this,uc(e.animation),i),timings:n,options:null}}};Ub=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};mc=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,i){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...i)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Y5=1,Z5=":enter",$5=new RegExp(Z5,"g"),X5=":leave",J5=new RegExp(X5,"g");Hb=class{buildKeyframes(e,i,n,r,o,s,a,l,c,d=[]){c=c||new mc;let u=new zb(e,i,c,r,o,d,[]);u.options=l;let h=l.delay?Ni(l.delay):0;u.currentTimeline.delayNextStep(h),u.currentTimeline.setStyles([s],null,u.errors,l),sn(this,n,u);let m=u.timelines.filter(v=>v.containsAnimation());if(m.length&&a.size){let v;for(let _=m.length-1;_>=0;_--){let I=m[_];if(I.element===i){v=I;break}}v&&!v.allowOnlyTimelineStyles()&&v.setStyles([a],null,u.errors,l)}return m.length?m.map(v=>v.buildKeyframes()):[rA(i,[],[],[],0,h,"",!1)]}visitTrigger(e,i){}visitState(e,i){}visitTransition(e,i){}visitAnimateChild(e,i){let n=i.subInstructions.get(i.element);if(n){let r=i.createSubContext(e.options),o=i.currentTimeline.currentTime,s=this._visitSubInstructions(n,r,r.options);o!=s&&i.transformIntoNewTimeline(s)}i.previousNode=e}visitAnimateRef(e,i){let n=i.createSubContext(e.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],i,n),this.visitReference(e.animation,n),i.transformIntoNewTimeline(n.currentTimeline.currentTime),i.previousNode=e}_applyAnimationRefDelays(e,i,n){for(let r of e){let o=r?.delay;if(o){let s=typeof o=="number"?o:Ni(hc(o,r?.params??{},i.errors));n.delayNextStep(s)}}}_visitSubInstructions(e,i,n){let o=i.currentTimeline.currentTime,s=n.duration!=null?Ni(n.duration):null,a=n.delay!=null?Ni(n.delay):null;return s!==0&&e.forEach(l=>{let c=i.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(e,i){i.updateOptions(e.options,!0),sn(this,e.animation,i),i.previousNode=e}visitSequence(e,i){let n=i.subContextCount,r=i,o=e.options;if(o&&(o.params||o.delay)&&(r=i.createSubContext(o),r.transformIntoNewTimeline(),o.delay!=null)){r.previousNode.type==oe.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=_h);let s=Ni(o.delay);r.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>sn(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),i.previousNode=e}visitGroup(e,i){let n=[],r=i.currentTimeline.currentTime,o=e.options&&e.options.delay?Ni(e.options.delay):0;e.steps.forEach(s=>{let a=i.createSubContext(e.options);o&&a.delayNextStep(o),sn(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),n.push(a.currentTimeline)}),n.forEach(s=>i.currentTimeline.mergeTimelineCollectedStyles(s)),i.transformIntoNewTimeline(r),i.previousNode=e}_visitTiming(e,i){if(e.dynamic){let n=e.strValue,r=i.params?hc(n,i.params,i.errors):n;return yh(r,i.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,i){let n=i.currentAnimateTimings=this._visitTiming(e.timings,i),r=i.currentTimeline;n.delay&&(i.incrementTime(n.delay),r.snapshotCurrentStyles());let o=e.style;o.type==oe.Keyframes?this.visitKeyframes(o,i):(i.incrementTime(n.duration),this.visitStyle(o,i),r.applyStylesToKeyframe()),i.currentAnimateTimings=null,i.previousNode=e}visitStyle(e,i){let n=i.currentTimeline,r=i.currentAnimateTimings;!r&&n.hasCurrentStyleProperties()&&n.forwardFrame();let o=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(o):n.setStyles(e.styles,o,i.errors,i.options),i.previousNode=e}visitKeyframes(e,i){let n=i.currentAnimateTimings,r=i.currentTimeline.duration,o=n.duration,a=i.createSubContext().currentTimeline;a.easing=n.easing,e.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*o),a.setStyles(l.styles,l.easing,i.errors,i.options),a.applyStylesToKeyframe()}),i.currentTimeline.mergeTimelineCollectedStyles(a),i.transformIntoNewTimeline(r+o),i.previousNode=e}visitQuery(e,i){let n=i.currentTimeline.currentTime,r=e.options||{},o=r.delay?Ni(r.delay):0;o&&(i.previousNode.type===oe.Style||n==0&&i.currentTimeline.hasCurrentStyleProperties())&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=_h);let s=n,a=i.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,i.errors);i.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{i.currentQueryIndex=d;let u=i.createSubContext(e.options,c);o&&u.delayNextStep(o),c===i.element&&(l=u.currentTimeline),sn(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let h=u.currentTimeline.currentTime;s=Math.max(s,h)}),i.currentQueryIndex=0,i.currentQueryTotal=0,i.transformIntoNewTimeline(s),l&&(i.currentTimeline.mergeTimelineCollectedStyles(l),i.currentTimeline.snapshotCurrentStyles()),i.previousNode=e}visitStagger(e,i){let n=i.parentContext,r=i.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(i.currentQueryTotal-1),l=s*i.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=n.currentStaggerTime;break}let d=i.currentTimeline;l&&d.delayNextStep(l);let u=d.currentTime;sn(this,e.animation,i),i.previousNode=e,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)}},_h={},zb=class t{constructor(e,i,n,r,o,s,a,l){this._driver=e,this.element=i,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=_h,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new xh(this._driver,i,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,i){if(!e)return;let n=e,r=this.options;n.duration!=null&&(r.duration=Ni(n.duration)),n.delay!=null&&(r.delay=Ni(n.delay));let o=n.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!i||!s.hasOwnProperty(a))&&(s[a]=hc(o[a],s,this.errors))})}}_copyOptions(){let e={};if(this.options){let i=this.options.params;if(i){let n=e.params={};Object.keys(i).forEach(r=>{n[r]=i[r]})}}return e}createSubContext(e=null,i,n){let r=i||this.element,o=new t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=_h,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,i,n){let r={duration:i??e.duration,delay:this.currentTimeline.currentTime+(n??0)+e.delay,easing:""},o=new Wb(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,i,n,r,o,s){let a=[];if(r&&a.push(this.element),e.length>0){e=e.replace($5,"."+this._enterClassName),e=e.replace(J5,"."+this._leaveClassName);let l=n!=1,c=this._driver.query(this.element,e,l);n!==0&&(c=n<0?c.slice(c.length+n,c.length):c.slice(0,n)),a.push(...c)}return!o&&a.length==0&&s.push(h5(i)),a}},xh=class t{constructor(e,i,n,r){this._driver=e,this.element=i,this.startTime=n,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(i),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(i,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let i=this._keyframes.size===1&&this._pendingStyles.size;this.duration||i?(this.forwardTime(this.currentTime+e),i&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,i){return this.applyStylesToKeyframe(),new t(this._driver,e,i||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+=Y5,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,i){this._localTimelineStyles.set(e,i),this._globalTimelineStyles.set(e,i),this._styleSummary.set(e,{time:this.currentTime,value:i})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[i,n]of this._globalTimelineStyles)this._backFill.set(i,n||Xn),this._currentKeyframe.set(i,Xn);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,i,n,r){i&&this._previousKeyframe.set("easing",i);let o=r&&r.params||{},s=eH(e,this._globalTimelineStyles);for(let[a,l]of s){let c=hc(l,o,n);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Xn),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,i)=>{this._currentKeyframe.set(i,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,i)=>{this._currentKeyframe.has(i)||this._currentKeyframe.set(i,e)}))}snapshotCurrentStyles(){for(let[e,i]of this._localTimelineStyles)this._pendingStyles.set(e,i),this._updateStyle(e,i)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let i in this._currentKeyframe)e.push(i);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((i,n)=>{let r=this._styleSummary.get(n);(!r||i.time>r.time)&&this._updateStyle(n,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,i=new Set,n=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===Ef?e.add(u):d===Xn&&i.add(u)}),n||c.set("offset",l/this.duration),r.push(c)});let o=[...e.values()],s=[...i.values()];if(n){let a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return rA(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}},Wb=class extends xh{constructor(e,i,n,r,o,s,a=!1){super(e,i,s.delay),this.keyframes=n,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 e=this.keyframes,{delay:i,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&i){let o=[],s=n+i,a=i/s,l=new Map(e[0]);l.set("offset",0),o.push(l);let c=new Map(e[0]);c.set("offset",WM(a)),o.push(c);let d=e.length-1;for(let u=1;u<=d;u++){let h=new Map(e[u]),m=h.get("offset"),v=i+m*n;h.set("offset",WM(v/s)),o.push(h)}n=s,i=0,r="",e=o}return rA(this.element,e,this.preStyleProps,this.postStyleProps,n,i,r,!0)}};Rb={},Ch=class{constructor(e,i,n){this._triggerName=e,this.ast=i,this._stateStyles=n}match(e,i,n,r){return tH(this.ast.matchers,e,i,n,r)}buildStyles(e,i,n){let r=this._stateStyles.get("*");return e!==void 0&&(r=this._stateStyles.get(e?.toString())||r),r?r.buildStyles(i,n):new Map}build(e,i,n,r,o,s,a,l,c,d){let u=[],h=this.ast.options&&this.ast.options.params||Rb,m=a&&a.params||Rb,v=this.buildStyles(n,m,u),_=l&&l.params||Rb,I=this.buildStyles(r,_,u),M=new Set,L=new Map,me=new Map,W=r==="void",$e={params:aS(_,h),delay:this.ast.options?.delay},We=d?[]:sS(e,i,this.ast.animation,o,s,v,I,$e,c,u),Ge=0;return We.forEach(ft=>{Ge=Math.max(ft.duration+ft.delay,Ge)}),u.length?GM(i,this._triggerName,n,r,W,v,I,[],[],L,me,Ge,u):(We.forEach(ft=>{let _n=ft.element,xn=an(L,_n,new Set);ft.preStyleProps.forEach(Mr=>xn.add(Mr));let vc=an(me,_n,new Set);ft.postStyleProps.forEach(Mr=>vc.add(Mr)),_n!==i&&M.add(_n)}),GM(i,this._triggerName,n,r,W,v,I,We,[...M.values()],L,me,Ge))}};Gb=class{constructor(e,i,n){this.styles=e,this.defaultParams=i,this.normalizer=n}buildStyles(e,i){let n=new Map,r=aS(e,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=hc(s,r,i));let l=this.normalizer.normalizePropertyName(a,i);s=this.normalizer.normalizeStyleValue(a,l,s,i),n.set(a,s)})}),n}};Qb=class{constructor(e,i,n){this.name=e,this.ast=i,this._normalizer=n,this.transitionFactories=[],this.states=new Map,i.states.forEach(r=>{let o=r.options&&r.options.params||{};this.states.set(r.name,new Gb(r.style,o,n))}),QM(this.states,"true","1"),QM(this.states,"false","0"),i.transitions.forEach(r=>{this.transitionFactories.push(new Ch(e,r,this.states))}),this.fallbackTransition=iH(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,i,n,r){return this.transitionFactories.find(s=>s.match(e,i,n,r))||null}matchStyles(e,i,n){return this.fallbackTransition.buildStyles(e,i,n)}};rH=new mc,Kb=class{constructor(e,i,n){this.bodyNode=e,this._driver=i,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,i){let n=[],r=[],o=oS(this._driver,i,n,r);if(n.length)throw y5(n);r.length&&void 0,this._animations.set(e,o)}_buildPlayer(e,i,n){let r=e.element,o=XM(this._normalizer,e.keyframes,i,n);return this._driver.animate(r,o,e.duration,e.delay,e.easing,[],!0)}create(e,i,n={}){let r=[],o=this._animations.get(e),s,a=new Map;if(o?(s=sS(this._driver,i,o,nS,Pb,new Map,new Map,n,rH,r),s.forEach(d=>{let u=an(a,d.element,new Map);d.postStyleProps.forEach(h=>u.set(h,null))})):(r.push(b5()),s=[]),r.length)throw A5(r);a.forEach((d,u)=>{d.forEach((h,m)=>{d.set(m,this._driver.computeStyle(u,m,Xn))})});let l=s.map(d=>{let u=a.get(d.element);return this._buildPlayer(d,new Map,u)}),c=Ir(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let i=this._getPlayer(e);i.destroy(),this._playersById.delete(e);let n=this.players.indexOf(i);n>=0&&this.players.splice(n,1)}_getPlayer(e){let i=this._playersById.get(e);if(!i)throw _5(e);return i}listen(e,i,n,r){let o=Jb(i,"","","");return Xb(this._getPlayer(e),n,o,r),()=>{}}command(e,i,n,r){if(n=="register"){this.register(e,r[0]);return}if(n=="create"){let s=r[0]||{};this.create(e,i,s);return}let o=this._getPlayer(e);switch(n){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(e);break}}},KM="ng-animate-queued",oH=".ng-animate-queued",Fb="ng-animate-disabled",sH=".ng-animate-disabled",aH="ng-star-inserted",lH=".ng-star-inserted",cH=[],lS={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},dH={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Nn="__ng_removed",pc=class{get params(){return this.options.params}constructor(e,i=""){this.namespaceId=i;let n=e&&e.hasOwnProperty("value"),r=n?e.value:e;if(this.value=fH(r),n){let o=e,{value:s}=o,a=Th(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let i=e.params;if(i){let n=this.options.params;Object.keys(i).forEach(r=>{n[r]==null&&(n[r]=i[r])})}}},fc="void",kb=new pc(fc),qb=class{constructor(e,i,n){this.id=e,this.hostElement=i,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,An(i,this._hostClassName)}listen(e,i,n,r){if(!this._triggers.has(i))throw x5(n,i);if(n==null||n.length==0)throw C5(i);if(!hH(n))throw w5(n,i);let o=an(this._elementListeners,e,[]),s={name:i,phase:n,callback:r};o.push(s);let a=an(this._engine.statesByElement,e,new Map);return a.has(i)||(An(e,fh),An(e,fh+"-"+i),a.set(i,kb)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(i)||a.delete(i)})}}register(e,i){return this._triggers.has(e)?!1:(this._triggers.set(e,i),!0)}_getTrigger(e){let i=this._triggers.get(e);if(!i)throw E5(e);return i}trigger(e,i,n,r=!0){let o=this._getTrigger(i),s=new gc(this.id,i,e),a=this._engine.statesByElement.get(e);a||(An(e,fh),An(e,fh+"-"+i),this._engine.statesByElement.set(e,a=new Map));let l=a.get(i),c=new pc(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(i,c),l||(l=kb),!(c.value===fc)&&l.value===c.value){if(!gH(l.params,c.params)){let _=[],I=o.matchStyles(l.value,l.params,_),M=o.matchStyles(c.value,c.params,_);_.length?this._engine.reportError(_):this._engine.afterFlush(()=>{So(e,I),ri(e,M)})}return}let h=an(this._engine.playersByElement,e,[]);h.forEach(_=>{_.namespaceId==this.id&&_.triggerName==i&&_.queued&&_.destroy()});let m=o.matchTransition(l.value,c.value,e,c.params),v=!1;if(!m){if(!r)return;m=o.fallbackTransition,v=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:m,fromState:l,toState:c,player:s,isFallbackTransition:v}),v||(An(e,KM),s.onStart(()=>{sa(e,KM)})),s.onDone(()=>{let _=this.players.indexOf(s);_>=0&&this.players.splice(_,1);let I=this._engine.playersByElement.get(e);if(I){let M=I.indexOf(s);M>=0&&I.splice(M,1)}}),this.players.push(s),h.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(i=>i.delete(e)),this._elementListeners.forEach((i,n)=>{this._elementListeners.set(n,i.filter(r=>r.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let i=this._engine.playersByElement.get(e);i&&(i.forEach(n=>n.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,i){let n=this._engine.driver.query(e,vh,!0);n.forEach(r=>{if(r[Nn])return;let o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,i,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(e,i,n,r){let o=this._engine.statesByElement.get(e),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(e,c,fc,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,i,s),n&&Ir(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let i=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(i&&n){let r=new Set;i.forEach(o=>{let s=o.name;if(r.has(s))return;r.add(s);let l=this._triggers.get(s).fallbackTransition,c=n.get(s)||kb,d=new pc(fc),u=new gc(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(e,i){let n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,i),this.triggerLeaveAnimation(e,i,!0))return;let r=!1;if(n.totalAnimations){let o=n.players.length?n.playersByQueriedElement.get(e):[];if(o&&o.length)r=!0;else{let s=e;for(;s=s.parentNode;)if(n.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)n.markElementAsRemoved(this.id,e,!1,i);else{let o=e[Nn];(!o||o===lS)&&(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,i))}}insertNode(e,i){An(e,this._hostClassName)}drainQueuedTransitions(e){let i=[];return this._queue.forEach(n=>{let r=n.player;if(r.destroyed)return;let o=n.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==n.triggerName){let l=Jb(o,n.triggerName,n.fromState.value,n.toState.value);l._data=e,Xb(n.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):i.push(n)}),this._queue=[],i.sort((n,r)=>{let o=n.transition.ast.depCount,s=r.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(n.element,r.element)?1:-1})}destroy(e){this.players.forEach(i=>i.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Yb=class{_onRemovalComplete(e,i){this.onRemovalComplete(e,i)}constructor(e,i,n,r){this.bodyNode=e,this.driver=i,this._normalizer=n,this.scheduler=r,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=(o,s)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(i=>{i.players.forEach(n=>{n.queued&&e.push(n)})}),e}createNamespace(e,i){let n=new qb(e,i,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,i)?this._balanceNamespaceList(n,i):(this.newHostElements.set(i,n),this.collectEnterElement(i)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,i){let n=this._namespaceList,r=this.namespacesByHostElement;if(n.length-1>=0){let s=!1,a=this.driver.getParentElement(i);for(;a;){let l=r.get(a);if(l){let c=n.indexOf(l);n.splice(c+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||n.unshift(e)}else n.push(e);return r.set(i,e),e}register(e,i){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,i)),n}registerTrigger(e,i,n){let r=this._namespaceLookup[e];r&&r.register(i,n)&&this.totalAnimations++}destroy(e,i){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let n=this._fetchNamespace(e);this.namespacesByHostElement.delete(n.hostElement);let r=this._namespaceList.indexOf(n);r>=0&&this._namespaceList.splice(r,1),n.destroy(i),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let i=new Set,n=this.statesByElement.get(e);if(n){for(let r of n.values())if(r.namespaceId){let o=this._fetchNamespace(r.namespaceId);o&&i.add(o)}}return i}trigger(e,i,n,r){if(ph(i)){let o=this._fetchNamespace(e);if(o)return o.trigger(i,n,r),!0}return!1}insertNode(e,i,n,r){if(!ph(i))return;let o=i[Nn];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(i);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){let s=this._fetchNamespace(e);s&&s.insertNode(i,n)}r&&this.collectEnterElement(i)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,i){i?this.disabledNodes.has(e)||(this.disabledNodes.add(e),An(e,Fb)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),sa(e,Fb))}removeNode(e,i,n){if(ph(i)){this.scheduler?.notify();let r=e?this._fetchNamespace(e):null;r?r.removeNode(i,n):this.markElementAsRemoved(e,i,!1,n);let o=this.namespacesByHostElement.get(i);o&&o.id!==e&&o.removeNode(i,n)}else this._onRemovalComplete(i,n)}markElementAsRemoved(e,i,n,r,o){this.collectedLeaveElements.push(i),i[Nn]={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,i,n,r,o){return ph(i)?this._fetchNamespace(e).listen(i,n,r,o):()=>{}}_buildInstruction(e,i,n,r,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,i,o)}destroyInnerAnimations(e){let i=this.driver.query(e,vh,!0);i.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(i=this.driver.query(e,Nb,!0),i.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(e){let i=this.playersByElement.get(e);i&&i.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(e){let i=this.playersByQueriedElement.get(e);i&&i.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Ir(this.players).onDone(()=>e());e()})}processLeaveNode(e){let i=e[Nn];if(i&&i.setForRemoval){if(e[Nn]=lS,i.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(i.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,i.setForRemoval)}e.classList?.contains(Fb)&&this.markElementAsDisabled(e,!1),this.driver.query(e,sH,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let i=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,r)=>this._balanceNamespaceList(n,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++){let r=this.collectedEnterElements[n];An(r,aH)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let n=[];try{i=this._flushAnimations(n,e)}finally{for(let r=0;r<n.length;r++)n[r]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++){let r=this.collectedLeaveElements[n];this.processLeaveNode(r)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(n=>n()),this._flushFns=[],this._whenQuietFns.length){let n=this._whenQuietFns;this._whenQuietFns=[],i.length?Ir(i).onDone(()=>{n.forEach(r=>r())}):n.forEach(r=>r())}}reportError(e){throw D5(e)}_flushAnimations(e,i){let n=new mc,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(H=>{d.add(H);let Q=this.driver.query(H,oH,!0);for(let Z=0;Z<Q.length;Z++)d.add(Q[Z])});let u=this.bodyNode,h=Array.from(this.statesByElement.keys()),m=ZM(h,this.collectedEnterElements),v=new Map,_=0;m.forEach((H,Q)=>{let Z=nS+_++;v.set(Q,Z),H.forEach(Se=>An(Se,Z))});let I=[],M=new Set,L=new Set;for(let H=0;H<this.collectedLeaveElements.length;H++){let Q=this.collectedLeaveElements[H],Z=Q[Nn];Z&&Z.setForRemoval&&(I.push(Q),M.add(Q),Z.hasAnimation?this.driver.query(Q,lH,!0).forEach(Se=>M.add(Se)):L.add(Q))}let me=new Map,W=ZM(h,Array.from(M));W.forEach((H,Q)=>{let Z=Pb+_++;me.set(Q,Z),H.forEach(Se=>An(Se,Z))}),e.push(()=>{m.forEach((H,Q)=>{let Z=v.get(Q);H.forEach(Se=>sa(Se,Z))}),W.forEach((H,Q)=>{let Z=me.get(Q);H.forEach(Se=>sa(Se,Z))}),I.forEach(H=>{this.processLeaveNode(H)})});let $e=[],We=[];for(let H=this._namespaceList.length-1;H>=0;H--)this._namespaceList[H].drainQueuedTransitions(i).forEach(Z=>{let Se=Z.player,yt=Z.element;if($e.push(Se),this.collectedEnterElements.length){let Mt=yt[Nn];if(Mt&&Mt.setForMove){if(Mt.previousTriggersValues&&Mt.previousTriggersValues.has(Z.triggerName)){let Sr=Mt.previousTriggersValues.get(Z.triggerName),ln=this.statesByElement.get(Z.element);if(ln&&ln.has(Z.triggerName)){let yc=ln.get(Z.triggerName);yc.value=Sr,ln.set(Z.triggerName,yc)}}Se.destroy();return}}let jn=!u||!this.driver.containsElement(u,yt),Yt=me.get(yt),ji=v.get(yt),Je=this._buildInstruction(Z,n,ji,Yt,jn);if(Je.errors&&Je.errors.length){We.push(Je);return}if(jn){Se.onStart(()=>So(yt,Je.fromStyles)),Se.onDestroy(()=>ri(yt,Je.toStyles)),r.push(Se);return}if(Z.isFallbackTransition){Se.onStart(()=>So(yt,Je.fromStyles)),Se.onDestroy(()=>ri(yt,Je.toStyles)),r.push(Se);return}let dA=[];Je.timelines.forEach(Mt=>{Mt.stretchStartingKeyframe=!0,this.disabledNodes.has(Mt.element)||dA.push(Mt)}),Je.timelines=dA,n.append(yt,Je.timelines);let wS={instruction:Je,player:Se,element:yt};s.push(wS),Je.queriedElements.forEach(Mt=>an(a,Mt,[]).push(Se)),Je.preStyleProps.forEach((Mt,Sr)=>{if(Mt.size){let ln=l.get(Sr);ln||l.set(Sr,ln=new Set),Mt.forEach((yc,Sh)=>ln.add(Sh))}}),Je.postStyleProps.forEach((Mt,Sr)=>{let ln=c.get(Sr);ln||c.set(Sr,ln=new Set),Mt.forEach((yc,Sh)=>ln.add(Sh))})});if(We.length){let H=[];We.forEach(Q=>{H.push(I5(Q.triggerName,Q.errors))}),$e.forEach(Q=>Q.destroy()),this.reportError(H)}let Ge=new Map,ft=new Map;s.forEach(H=>{let Q=H.element;n.has(Q)&&(ft.set(Q,Q),this._beforeAnimationBuild(H.player.namespaceId,H.instruction,Ge))}),r.forEach(H=>{let Q=H.element;this._getPreviousPlayers(Q,!1,H.namespaceId,H.triggerName,null).forEach(Se=>{an(Ge,Q,[]).push(Se),Se.destroy()})});let _n=I.filter(H=>$M(H,l,c)),xn=new Map;YM(xn,this.driver,L,c,Xn).forEach(H=>{$M(H,l,c)&&_n.push(H)});let Mr=new Map;m.forEach((H,Q)=>{YM(Mr,this.driver,new Set(H),l,Ef)}),_n.forEach(H=>{let Q=xn.get(H),Z=Mr.get(H);xn.set(H,new Map([...Q?.entries()??[],...Z?.entries()??[]]))});let Mh=[],lA=[],cA={};s.forEach(H=>{let{element:Q,player:Z,instruction:Se}=H;if(n.has(Q)){if(d.has(Q)){Z.onDestroy(()=>ri(Q,Se.toStyles)),Z.disabled=!0,Z.overrideTotalTime(Se.totalTime),r.push(Z);return}let yt=cA;if(ft.size>1){let Yt=Q,ji=[];for(;Yt=Yt.parentNode;){let Je=ft.get(Yt);if(Je){yt=Je;break}ji.push(Yt)}ji.forEach(Je=>ft.set(Je,yt))}let jn=this._buildAnimation(Z.namespaceId,Se,Ge,o,Mr,xn);if(Z.setRealPlayer(jn),yt===cA)Mh.push(Z);else{let Yt=this.playersByElement.get(yt);Yt&&Yt.length&&(Z.parentPlayer=Ir(Yt)),r.push(Z)}}else So(Q,Se.fromStyles),Z.onDestroy(()=>ri(Q,Se.toStyles)),lA.push(Z),d.has(Q)&&r.push(Z)}),lA.forEach(H=>{let Q=o.get(H.element);if(Q&&Q.length){let Z=Ir(Q);H.setRealPlayer(Z)}}),r.forEach(H=>{H.parentPlayer?H.syncPlayerEvents(H.parentPlayer):H.destroy()});for(let H=0;H<I.length;H++){let Q=I[H],Z=Q[Nn];if(sa(Q,Pb),Z&&Z.hasAnimation)continue;let Se=[];if(a.size){let jn=a.get(Q);jn&&jn.length&&Se.push(...jn);let Yt=this.driver.query(Q,Nb,!0);for(let ji=0;ji<Yt.length;ji++){let Je=a.get(Yt[ji]);Je&&Je.length&&Se.push(...Je)}}let yt=Se.filter(jn=>!jn.destroyed);yt.length?mH(this,Q,yt):this.processLeaveNode(Q)}return I.length=0,Mh.forEach(H=>{this.players.push(H),H.onDone(()=>{H.destroy();let Q=this.players.indexOf(H);this.players.splice(Q,1)}),H.play()}),Mh}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,i,n,r,o){let s=[];if(i){let a=this.playersByQueriedElement.get(e);a&&(s=a)}else{let a=this.playersByElement.get(e);if(a){let l=!o||o==fc;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(n||r)&&(s=s.filter(a=>!(n&&n!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(e,i,n){let r=i.triggerName,o=i.element,s=i.isRemovalTransition?void 0:e,a=i.isRemovalTransition?void 0:r;for(let l of i.timelines){let c=l.element,d=c!==o,u=an(n,c,[]);this._getPreviousPlayers(c,d,s,a,i.toState).forEach(m=>{let v=m.getRealPlayer();v.beforeDestroy&&v.beforeDestroy(),m.destroy(),u.push(m)})}So(o,i.fromStyles)}_buildAnimation(e,i,n,r,o,s){let a=i.triggerName,l=i.element,c=[],d=new Set,u=new Set,h=i.timelines.map(v=>{let _=v.element;d.add(_);let I=_[Nn];if(I&&I.removedBeforeQueried)return new gr(v.duration,v.delay);let M=_!==l,L=pH((n.get(_)||cH).map(Ge=>Ge.getRealPlayer())).filter(Ge=>{let ft=Ge;return ft.element?ft.element===_:!1}),me=o.get(_),W=s.get(_),$e=XM(this._normalizer,v.keyframes,me,W),We=this._buildPlayer(v,$e,L);if(v.subTimeline&&r&&u.add(_),M){let Ge=new gc(e,a,_);Ge.setRealPlayer(We),c.push(Ge)}return We});c.forEach(v=>{an(this.playersByQueriedElement,v.element,[]).push(v),v.onDone(()=>uH(this.playersByQueriedElement,v.element,v))}),d.forEach(v=>An(v,UM));let m=Ir(h);return m.onDestroy(()=>{d.forEach(v=>sa(v,UM)),ri(l,i.toStyles)}),u.forEach(v=>{an(r,v,[]).push(m)}),m}_buildPlayer(e,i,n){return i.length>0?this.driver.animate(e.element,i,e.duration,e.delay,e.easing,n):new gr(e.duration,e.delay)}},gc=class{constructor(e,i,n){this.namespaceId=e,this.triggerName=i,this.element=n,this._player=new gr,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((i,n)=>{i.forEach(r=>Xb(e,n,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let i=this._player;i.triggerCallback&&e.onStart(()=>i.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,i){an(this._queuedCallbacks,e,[]).push(i)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let i=this._player;i.triggerCallback&&i.triggerCallback(e)}};la=class{constructor(e,i,n,r){this._driver=i,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(o,s)=>{},this._transitionEngine=new Yb(e.body,i,n,r),this._timelineEngine=new Kb(e.body,i,n),this._transitionEngine.onRemovalComplete=(o,s)=>this.onRemovalComplete(o,s)}registerTrigger(e,i,n,r,o){let s=e+"-"+r,a=this._triggerCache[s];if(!a){let l=[],c=[],d=oS(this._driver,o,l,c);if(l.length)throw g5(r,l);c.length&&void 0,a=nH(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(i,r,a)}register(e,i){this._transitionEngine.register(e,i)}destroy(e,i){this._transitionEngine.destroy(e,i)}onInsert(e,i,n,r){this._transitionEngine.insertNode(e,i,n,r)}onRemove(e,i,n){this._transitionEngine.removeNode(e,i,n)}disableAnimations(e,i){this._transitionEngine.markElementAsDisabled(e,i)}process(e,i,n,r){if(n.charAt(0)=="@"){let[o,s]=VM(n),a=r;this._timelineEngine.command(o,i,s,a)}else this._transitionEngine.trigger(e,i,n,r)}listen(e,i,n,r,o){if(n.charAt(0)=="@"){let[s,a]=VM(n);return this._timelineEngine.listen(s,i,a,o)}return this._transitionEngine.listen(e,i,n,r,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};aa=class aa{constructor(e,i,n){this._element=e,this._startStyles=i,this._endStyles=n,this._state=0;let r=aa.initialStylesByElement.get(e);r||aa.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&ri(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ri(this._element,this._initialStyles),this._endStyles&&(ri(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(aa.initialStylesByElement.delete(this._element),this._startStyles&&(So(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(So(this._element,this._endStyles),this._endStyles=null),ri(this._element,this._initialStyles),this._state=3)}};aa.initialStylesByElement=new WeakMap;Zb=aa;wh=class{constructor(e,i,n,r){this.element=e,this.keyframes=i,this.options=n,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=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let i=()=>this._onFinish();this.domPlayer.addEventListener("finish",i),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",i)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let i=[];return e.forEach(n=>{i.push(Object.fromEntries(n))}),i}_triggerWebAnimation(e,i,n){return e.animate(this._convertKeyframesToObject(i),n)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,r)=>{r!=="offset"&&e.set(r,this._finished?n:iA(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){let i=e==="start"?this._onStartFns:this._onDoneFns;i.forEach(n=>n()),i.length=0}},Eh=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,i){return!1}containsElement(e,i){return JM(e,i)}getParentElement(e){return eA(e)}query(e,i,n){return eS(e,i,n)}computeStyle(e,i,n){return iA(e,i)}animate(e,i,n,r,o,s=[]){let a=r==0?"both":"forwards",l={duration:n,delay:r,fill:a};o&&(l.easing=o);let c=new Map,d=s.filter(m=>m instanceof wh);j5(n,r)&&d.forEach(m=>{m.currentSnapshot.forEach((v,_)=>c.set(_,v))});let u=L5(i).map(m=>new Map(m));u=V5(e,u,c);let h=vH(e,u);return new wh(e,u,l,h)}},gh="@",dS="@.disabled",Dh=class{constructor(e,i,n,r){this.namespaceId=e,this.delegate=i,this.engine=n,this._onDestroy=r,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,i){return this.delegate.createElement(e,i)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,i){this.delegate.appendChild(e,i),this.engine.onInsert(this.namespaceId,i,e,!1)}insertBefore(e,i,n,r=!0){this.delegate.insertBefore(e,i,n),this.engine.onInsert(this.namespaceId,i,e,r)}removeChild(e,i,n){this.engine.onRemove(this.namespaceId,i,this.delegate)}selectRootElement(e,i){return this.delegate.selectRootElement(e,i)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,i,n,r){this.delegate.setAttribute(e,i,n,r)}removeAttribute(e,i,n){this.delegate.removeAttribute(e,i,n)}addClass(e,i){this.delegate.addClass(e,i)}removeClass(e,i){this.delegate.removeClass(e,i)}setStyle(e,i,n,r){this.delegate.setStyle(e,i,n,r)}removeStyle(e,i,n){this.delegate.removeStyle(e,i,n)}setProperty(e,i,n){i.charAt(0)==gh&&i==dS?this.disableAnimations(e,!!n):this.delegate.setProperty(e,i,n)}setValue(e,i){this.delegate.setValue(e,i)}listen(e,i,n){return this.delegate.listen(e,i,n)}disableAnimations(e,i){this.engine.disableAnimations(e,i)}},$b=class extends Dh{constructor(e,i,n,r,o){super(i,n,r,o),this.factory=e,this.namespaceId=i}setProperty(e,i,n){i.charAt(0)==gh?i.charAt(1)=="."&&i==dS?(n=n===void 0?!0:!!n,this.disableAnimations(e,n)):this.engine.process(this.namespaceId,e,i.slice(1),n):this.delegate.setProperty(e,i,n)}listen(e,i,n){if(i.charAt(0)==gh){let r=bH(e),o=i.slice(1),s="";return o.charAt(0)!=gh&&([o,s]=AH(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,n,a)})}return this.delegate.listen(e,i,n)}};Ih=class{constructor(e,i,n){this.delegate=e,this.engine=i,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,i.onRemovalComplete=(r,o)=>{let s=o?.parentNode(r);s&&o.removeChild(s,r)}}createRenderer(e,i){let n="",r=this.delegate.createRenderer(e,i);if(!e||!i?.data?.animation){let c=this._rendererCache,d=c.get(r);if(!d){let u=()=>c.delete(r);d=new Dh(n,r,this.engine,u),c.set(r,d)}return d}let o=i.id,s=i.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,e,c.name,c)};return i.data.animation.forEach(a),new $b(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,n){if(e>=0&&e<this._microtaskId){this._zone.run(()=>i(n));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([i,n])}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 CH(){return new bh}function wH(t,e,i){return new Ih(t,e,i)}function fS(){return nr("NgEagerAnimations"),[...EH]}var xH,uS,EH,bte,hS=g(()=>{"use strict";O();O();As();sA();sA();Ie();xH=(()=>{let e=class e extends la{constructor(n,r,o){super(n,r,o,y(ss,{optional:!0}))}ngOnDestroy(){this.flush()}};e.\u0275fac=function(r){return new(r||e)(p(U),p(To),p(Oo))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})();uS=[{provide:Oo,useFactory:CH},{provide:la,useClass:xH},{provide:eo,useFactory:wH,deps:[ku,la,F]}],EH=[{provide:To,useFactory:()=>new Eh},{provide:lt,useValue:"BrowserAnimations"},...uS],bte=[{provide:To,useClass:tA},{provide:lt,useValue:"NoopAnimations"},...uS]});var mS,pS=g(()=>{"use strict";dc();mS=()=>({provide:cc,useFactory:()=>({xApiKey:"",appId:"",supportEmail:"",maxCharLength:1e3,serviceUrl:"",subscriptionUrl:""})})});var gS,vS=g(()=>{"use strict";dc();gS=()=>({provide:lc,useFactory:()=>({apiUrl:""})})});var yS,bS=g(()=>{"use strict";ju();yS=()=>({provide:ws,useValue:{}})});var AS,_S=g(()=>{"use strict";O();ju();Ke();AS=(t,e)=>{let i=y(ws),n=window;if(i.skipAuthUrls?.find(r=>t.url.includes(r)))return e(t);if(n.getTildeWebComponentAuthToken){let r=n.getTildeWebComponentAuthToken;return ke(r()).pipe(Ve(o=>{let s=t.clone({setHeaders:{Authorization:`Bearer ${o}`}});return e(s)}))}if(i.xApiKey){let r=t.clone({setHeaders:{"X-Api-Key":`${i.xApiKey}`}});return e(r)}return e(t)}});var aA,xS=g(()=>{"use strict";Ya();O();hS();uo();pS();vS();bS();_S();aA={providers:[Mw(Sw([AS])),fS(),eg(lr.forRoot()),mS(),gS(),yS()]}});var DH=MS(CS=>{aw();As();LM();Sb();NM();xS();Ey();Ro(CS,null,function*(){let t=yield jw(aA),e=Qg(Nf,{injector:t.injector}),i=Qg(uh,{injector:t.injector});customElements.define("tilde-text-to-speech",e),customElements.define("tilde-llm",i)});PM.production||Nw(kM,aA).catch(t=>console.error(t))});export default DH();
58
+ 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",CREATE:"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>"},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>."}}}}});var uh,Tb=g(()=>{"use strict";O();dc();Cv();OM();O();dc();uh=(()=>{var e,i,n,Sb,o,RM,a,FM;let c=class c extends Vu{constructor(){super(TM);et(this,n);et(this,o);et(this,a);et(this,e,void 0);et(this,i,void 0);Zt(this,e,y(cc)),Zt(this,i,y(lc)),this.supportEmail="support@tilde.com",this.quotaServiceUrl="https://services.tilde.com/service/quota/usage"}ngOnInit(){super.ngOnInit(),Nt(this,n,Sb).call(this)}ngOnChanges(){super.ngOnChanges(),Nt(this,n,Sb).call(this)}};e=new WeakMap,i=new WeakMap,n=new WeakSet,Sb=function(){Nt(this,o,RM).call(this),Nt(this,a,FM).call(this)},o=new WeakSet,RM=function(){this.serviceUrl&&(Ke(this,e).serviceUrl=this.serviceUrl),this.subscriptionUrl&&(Ke(this,e).subscriptionUrl=this.subscriptionUrl),this.supportEmail&&(Ke(this,e).supportEmail=this.supportEmail),this.appId&&(Ke(this,e).appId=this.appId),this.maxCharLength&&(Ke(this,e).maxCharLength=this.maxCharLength)},a=new WeakSet,FM=function(){Ke(this,i).apiUrl=this.quotaServiceUrl},c.\u0275fac=function(m){return new(m||c)},c.\u0275cmp=ce({type:c,selectors:[["app-llm"]],inputs:{serviceUrl:"serviceUrl",subscriptionUrl:"subscriptionUrl",supportEmail:"supportEmail",appId:"appId",maxCharLength:"maxCharLength",text:"text",language:"language",quotaServiceUrl:"quotaServiceUrl"},standalone:!0,features:[Ce,He,Ee],decls:1,vars:2,consts:[[3,"language","text"]],template:function(m,v){m&1&&ne(0,"lib-llm",0),m&2&&D("language",v.language)("text",v.text)},dependencies:[SM,MM]});let t=c;return t})()});var QU,qU,YU,ZU,kM,LM=g(()=>{"use strict";Ie();Ey();Tb();O();QU=()=>({voice:"sandra4",apiVersion:0,apiUrl:"https://runa.tilde.lv/client/say"}),qU=()=>({voice:"lv-LV-general",apiVersion:1,apiUrl:"https://services.tilde.com/service/tts"}),YU=(t,e)=>[t,e],ZU=()=>["https://runa.tilde.lv/client/say"],kM=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=ce({type:e,selectors:[["app-root"]],standalone:!0,features:[_t([]),Ee],decls:2,vars:8,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."],["xApiKey","f9e79feb-997c-4f85-bd9d-d0c9a626c8a0",3,"voices","skipAuthUrls"]],template:function(r,o){r&1&&ne(0,"app-llm",0)(1,"app-text-to-speech",1),r&2&&(x(),D("voices",Ga(4,YU,gu(2,QU),gu(3,qU)))("skipAuthUrls",gu(7,ZU)))},dependencies:[vt,Nf,uh],encapsulation:2});let t=e;return t})()});var PM,NM=g(()=>{"use strict";PM={production:!0}});function jM(t){return new T(3e3,!1)}function $U(){return new T(3100,!1)}function XU(){return new T(3101,!1)}function JU(t){return new T(3001,!1)}function e5(t){return new T(3003,!1)}function t5(t){return new T(3004,!1)}function n5(t,e){return new T(3005,!1)}function i5(){return new T(3006,!1)}function r5(){return new T(3007,!1)}function o5(t,e){return new T(3008,!1)}function s5(t){return new T(3002,!1)}function a5(t,e,i,n,r){return new T(3010,!1)}function l5(){return new T(3011,!1)}function c5(){return new T(3012,!1)}function d5(){return new T(3200,!1)}function u5(){return new T(3202,!1)}function f5(){return new T(3013,!1)}function h5(t){return new T(3014,!1)}function m5(t){return new T(3015,!1)}function p5(t){return new T(3016,!1)}function g5(t,e){return new T(3404,!1)}function v5(t){return new T(3502,!1)}function y5(t){return new T(3503,!1)}function b5(){return new T(3300,!1)}function A5(t){return new T(3504,!1)}function _5(t){return new T(3301,!1)}function x5(t,e){return new T(3302,!1)}function C5(t){return new T(3303,!1)}function w5(t,e){return new T(3400,!1)}function E5(t){return new T(3401,!1)}function D5(t){return new T(3402,!1)}function I5(t,e){return new T(3505,!1)}function Ir(t){switch(t.length){case 0:return new gr;case 1:return t[0];default:return new Cl(t)}}function XM(t,e,i=new Map,n=new Map){let r=[],o=[],s=-1,a=null;if(e.forEach(l=>{let c=l.get("offset"),d=c==s,u=d&&a||new Map;l.forEach((h,m)=>{let v=m,_=h;if(m!=="offset")switch(v=t.normalizePropertyName(v,r),_){case Ef:_=i.get(m);break;case Xn:_=n.get(m);break;default:_=t.normalizeStyleValue(m,v,_,r);break}u.set(v,_)}),d||o.push(u),a=u,s=c}),r.length)throw v5(r);return o}function Jb(t,e,i,n){switch(e){case"start":t.onStart(()=>n(i&&Ob(i,"start",t)));break;case"done":t.onDone(()=>n(i&&Ob(i,"done",t)));break;case"destroy":t.onDestroy(()=>n(i&&Ob(i,"destroy",t)));break}}function Ob(t,e,i){let n=i.totalTime,r=!!i.disabled,o=eA(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,n??t.totalTime,r),s=t._data;return s!=null&&(o._data=s),o}function eA(t,e,i,n,r="",o=0,s){return{element:t,triggerName:e,fromState:i,toState:n,phaseName:r,totalTime:o,disabled:!!s}}function an(t,e,i){let n=t.get(e);return n||t.set(e,n=i),n}function VM(t){let e=t.indexOf(":"),i=t.substring(1,e),n=t.slice(e+1);return[i,n]}function tA(t){let e=t.parentNode||t.host||null;return e===M5?null:e}function S5(t){return t.substring(1,6)=="ebkit"}function T5(t){Io||(Io=O5()||{},BM=Io.style?"WebkitAppearance"in Io.style:!1);let e=!0;return Io.style&&!S5(t)&&(e=t in Io.style,!e&&BM&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Io.style)),e}function O5(){return typeof document<"u"?document.body:null}function JM(t,e){for(;e;){if(e===t)return!0;e=tA(e)}return!1}function eS(t,e,i){if(i)return Array.from(t.querySelectorAll(e));let n=t.querySelector(e);return n?[n]:[]}function Ni(t){if(typeof t=="number")return t;let e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Vb(parseFloat(e[1]),e[2])}function Vb(t,e){switch(e){case"s":return t*R5;default:return t}}function yh(t,e,i){return t.hasOwnProperty("duration")?t:k5(t,e,i)}function k5(t,e,i){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,r,o=0,s="";if(typeof t=="string"){let a=t.match(n);if(a===null)return e.push(jM(t)),{duration:0,delay:0,easing:""};r=Vb(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(o=Vb(parseFloat(l),a[4]));let c=a[5];c&&(s=c)}else r=t;if(!i){let a=!1,l=e.length;r<0&&(e.push($U()),a=!0),o<0&&(e.push(XU()),a=!0),a&&e.splice(l,0,jM(t))}return{duration:r,delay:o,easing:s}}function L5(t){return t.length?t[0]instanceof Map?t:t.map(e=>new Map(Object.entries(e))):[]}function ri(t,e,i){e.forEach((n,r)=>{let o=iA(r);i&&!i.has(r)&&i.set(r,t.style[o]),t.style[o]=n})}function So(t,e){e.forEach((i,n)=>{let r=iA(n);t.style[r]=""})}function uc(t){return Array.isArray(t)?t.length==1?t[0]:AD(t):t}function P5(t,e,i){let n=e.params||{},r=iS(t);r.length&&r.forEach(o=>{n.hasOwnProperty(o)||i.push(JU(o))})}function iS(t){let e=[];if(typeof t=="string"){let i;for(;i=Bb.exec(t);)e.push(i[1]);Bb.lastIndex=0}return e}function hc(t,e,i){let n=`${t}`,r=n.replace(Bb,(o,s)=>{let a=e[s];return a==null&&(i.push(e5(s)),a=""),a.toString()});return r==n?t:r}function iA(t){return t.replace(N5,(...e)=>e[1].toUpperCase())}function j5(t,e){return t===0||e===0}function V5(t,e,i){if(i.size&&e.length){let n=e[0],r=[];if(i.forEach((o,s)=>{n.has(s)||r.push(s),n.set(s,o)}),r.length)for(let o=1;o<e.length;o++){let s=e[o];r.forEach(a=>s.set(a,rA(t,a)))}}return e}function sn(t,e,i){switch(e.type){case oe.Trigger:return t.visitTrigger(e,i);case oe.State:return t.visitState(e,i);case oe.Transition:return t.visitTransition(e,i);case oe.Sequence:return t.visitSequence(e,i);case oe.Group:return t.visitGroup(e,i);case oe.Animate:return t.visitAnimate(e,i);case oe.Keyframes:return t.visitKeyframes(e,i);case oe.Style:return t.visitStyle(e,i);case oe.Reference:return t.visitReference(e,i);case oe.AnimateChild:return t.visitAnimateChild(e,i);case oe.AnimateRef:return t.visitAnimateRef(e,i);case oe.Query:return t.visitQuery(e,i);case oe.Stagger:return t.visitStagger(e,i);default:throw t5(e.type)}}function rA(t,e){return window.getComputedStyle(t)[e]}function U5(t,e){let i=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(n=>H5(n,i,e)):i.push(t),i}function H5(t,e,i){if(t[0]==":"){let l=z5(t,i);if(typeof l=="function"){e.push(l);return}t=l}let n=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return i.push(m5(t)),e;let r=n[1],o=n[2],s=n[3];e.push(HM(r,s));let a=r==Ah&&s==Ah;o[0]=="<"&&!a&&e.push(HM(s,r))}function z5(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(i,n)=>parseFloat(n)>parseFloat(i);case":decrement":return(i,n)=>parseFloat(n)<parseFloat(i);default:return e.push(p5(t)),"* => *"}}function HM(t,e){let i=hh.has(t)||mh.has(t),n=hh.has(e)||mh.has(e);return(r,o)=>{let s=t==Ah||t==r,a=e==Ah||e==o;return!s&&i&&typeof r=="boolean"&&(s=r?hh.has(t):mh.has(t)),!a&&n&&typeof o=="boolean"&&(a=o?hh.has(e):mh.has(e)),s&&a}}function oS(t,e,i,n){return new Ub(t).build(e,i,n)}function G5(t){let e=!!t.split(/\s*,\s*/).find(i=>i==rS);return e&&(t=t.replace(W5,"")),t=t.replace(/@\*/g,vh).replace(/@\w+/g,i=>vh+"-"+i.slice(1)).replace(/:animating/g,jb),[t,e]}function K5(t){return t?A({},t):null}function Q5(t){if(typeof t=="string")return null;let e=null;if(Array.isArray(t))t.forEach(i=>{if(i instanceof Map&&i.has("offset")){let n=i;e=parseFloat(n.get("offset")),n.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let i=t;e=parseFloat(i.get("offset")),i.delete("offset")}return e}function q5(t,e){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=yh(t,e).duration;return Rb(o,0,"")}let i=t;if(i.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=Rb(0,0,"");return o.dynamic=!0,o.strValue=i,o}let r=yh(i,e);return Rb(r.duration,r.delay,r.easing)}function Mo(t){return t?(t=A({},t),t.params&&(t.params=K5(t.params))):t={},t}function Rb(t,e,i){return{duration:t,delay:e,easing:i}}function oA(t,e,i,n,r,o,s=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:i,postStyleProps:n,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}function sS(t,e,i,n,r,o=new Map,s=new Map,a,l,c=[]){return new zb().buildKeyframes(t,e,i,n,r,o,s,a,l,c)}function WM(t,e=3){let i=Math.pow(10,e-1);return Math.round(t*i)/i}function eH(t,e){let i=new Map,n;return t.forEach(r=>{if(r==="*"){n??=e.keys();for(let o of n)i.set(o,Xn)}else for(let[o,s]of r)i.set(o,s)}),i}function GM(t,e,i,n,r,o,s,a,l,c,d,u,h){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:i,fromStyles:o,toState:n,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:h}}function tH(t,e,i,n,r){return t.some(o=>o(e,i,n,r))}function aS(t,e){let i=A({},e);return Object.entries(t).forEach(([n,r])=>{r!=null&&(i[n]=r)}),i}function nH(t,e,i){return new Qb(t,e,i)}function iH(t,e,i){let n=[(s,a)=>!0],r={type:oe.Sequence,steps:[],options:null},o={type:oe.Transition,animation:r,matchers:n,options:null,queryCount:0,depCount:0};return new Ch(t,o,e)}function KM(t,e,i){t.has(e)?t.has(i)||t.set(i,t.get(e)):t.has(i)&&t.set(e,t.get(i))}function uH(t,e,i){let n=t.get(e);if(n){if(n.length){let r=n.indexOf(i);n.splice(r,1)}n.length==0&&t.delete(e)}return n}function fH(t){return t??null}function ph(t){return t&&t.nodeType===1}function hH(t){return t=="start"||t=="done"}function qM(t,e){let i=t.style.display;return t.style.display=e??"none",i}function YM(t,e,i,n,r){let o=[];i.forEach(l=>o.push(qM(l)));let s=[];n.forEach((l,c)=>{let d=new Map;l.forEach(u=>{let h=e.computeStyle(c,u,r);d.set(u,h),(!h||h.length==0)&&(c[Nn]=dH,s.push(c))}),t.set(c,d)});let a=0;return i.forEach(l=>qM(l,o[a++])),s}function ZM(t,e){let i=new Map;if(t.forEach(a=>i.set(a,[])),e.length==0)return i;let n=1,r=new Set(e),o=new Map;function s(a){if(!a)return n;let l=o.get(a);if(l)return l;let c=a.parentNode;return i.has(c)?l=c:r.has(c)?l=n:l=s(c),o.set(a,l),l}return e.forEach(a=>{let l=s(a);l!==n&&i.get(l).push(a)}),i}function An(t,e){t.classList?.add(e)}function sa(t,e){t.classList?.remove(e)}function mH(t,e,i){Ir(i).onDone(()=>t.processLeaveNode(e))}function pH(t){let e=[];return cS(t,e),e}function cS(t,e){for(let i=0;i<t.length;i++){let n=t[i];n instanceof Cl?cS(n.players,e):e.push(n)}}function gH(t,e){let i=Object.keys(t),n=Object.keys(e);if(i.length!=n.length)return!1;for(let r=0;r<i.length;r++){let o=i[r];if(!e.hasOwnProperty(o)||t[o]!==e[o])return!1}return!0}function $M(t,e,i){let n=i.get(t);if(!n)return!1;let r=e.get(t);return r?n.forEach(o=>r.add(o)):e.set(t,n),i.delete(t),!0}function vH(t,e){let i=null,n=null;return Array.isArray(e)&&e.length?(i=Pb(e[0]),e.length>1&&(n=Pb(e[e.length-1]))):e instanceof Map&&(i=Pb(e)),i||n?new $b(t,i,n):null}function Pb(t){let e=null;return t.forEach((i,n)=>{yH(n)&&(e=e||new Map,e.set(n,i))}),e}function yH(t){return t==="display"||t==="position"}function bH(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function AH(t){let e=t.indexOf("."),i=t.substring(0,e),n=t.slice(e+1);return[i,n]}var M5,Io,BM,nA,sA,To,Oo,R5,tS,F5,nS,Nb,fh,vh,UM,jb,Bb,N5,B5,bh,Ah,hh,mh,rS,W5,zM,Ub,Hb,mc,Y5,Z5,$5,X5,J5,zb,_h,Wb,xh,Gb,Fb,Ch,Kb,Qb,rH,qb,QM,oH,kb,sH,aH,lH,cH,lS,dH,Nn,pc,fc,Lb,Yb,Zb,gc,la,aa,$b,wh,Eh,gh,dS,Dh,Xb,Ih,aA=g(()=>{"use strict";wl();O();O();M5=typeof document>"u"?null:document.documentElement;Io=null,BM=!1;nA=(()=>{let e=class e{validateStyleProperty(n){return T5(n)}matchesElement(n,r){return!1}containsElement(n,r){return JM(n,r)}getParentElement(n){return tA(n)}query(n,r,o){return eS(n,r,o)}computeStyle(n,r,o){return o||""}animate(n,r,o,s,a,l=[],c){return new gr(o,s)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})(),sA=class sA{};sA.NOOP=new nA;To=sA,Oo=class{},R5=1e3,tS="{{",F5="}}",nS="ng-enter",Nb="ng-leave",fh="ng-trigger",vh=".ng-trigger",UM="ng-animating",jb=".ng-animating";Bb=new RegExp(`${tS}\\s*(.+?)\\s*${F5}`,"g");N5=/-+([a-z0-9])/g;B5=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"]),bh=class extends Oo{normalizePropertyName(e,i){return iA(e)}normalizeStyleValue(e,i,n,r){let o="",s=n.toString().trim();if(B5.has(i)&&n!==0&&n!=="0")if(typeof n=="number")o="px";else{let a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&r.push(n5(e,n))}return s+o}},Ah="*";hh=new Set(["true","1"]),mh=new Set(["false","0"]);rS=":self",W5=new RegExp(`s*${rS}s*,?`,"g");zM="",Ub=class{constructor(e){this._driver=e}build(e,i,n){let r=new Hb(i);return this._resetContextStyleTimingState(r),sn(this,uc(e),r)}_resetContextStyleTimingState(e){e.currentQuerySelector=zM,e.collectedStyles=new Map,e.collectedStyles.set(zM,new Map),e.currentTime=0}visitTrigger(e,i){let n=i.queryCount=0,r=i.depCount=0,o=[],s=[];return e.name.charAt(0)=="@"&&i.errors.push(i5()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(i),a.type==oe.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,i))}),l.name=c}else if(a.type==oe.Transition){let l=this.visitTransition(a,i);n+=l.queryCount,r+=l.depCount,s.push(l)}else i.errors.push(r5())}),{type:oe.Trigger,name:e.name,states:o,transitions:s,queryCount:n,depCount:r,options:null}}visitState(e,i){let n=this.visitStyle(e.styles,i),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){let o=new Set,s=r||{};n.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{iS(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&i.errors.push(o5(e.name,[...o.values()]))}return{type:oe.State,name:e.name,style:n,options:r?{params:r}:null}}visitTransition(e,i){i.queryCount=0,i.depCount=0;let n=sn(this,uc(e.animation),i),r=U5(e.expr,i.errors);return{type:oe.Transition,matchers:r,animation:n,queryCount:i.queryCount,depCount:i.depCount,options:Mo(e.options)}}visitSequence(e,i){return{type:oe.Sequence,steps:e.steps.map(n=>sn(this,n,i)),options:Mo(e.options)}}visitGroup(e,i){let n=i.currentTime,r=0,o=e.steps.map(s=>{i.currentTime=n;let a=sn(this,s,i);return r=Math.max(r,i.currentTime),a});return i.currentTime=r,{type:oe.Group,steps:o,options:Mo(e.options)}}visitAnimate(e,i){let n=q5(e.timings,i.errors);i.currentAnimateTimings=n;let r,o=e.styles?e.styles:Pt({});if(o.type==oe.Keyframes)r=this.visitKeyframes(o,i);else{let s=e.styles,a=!1;if(!s){a=!0;let c={};n.easing&&(c.easing=n.easing),s=Pt(c)}i.currentTime+=n.duration+n.delay;let l=this.visitStyle(s,i);l.isEmptyStep=a,r=l}return i.currentAnimateTimings=null,{type:oe.Animate,timings:n,style:r,options:null}}visitStyle(e,i){let n=this._makeStyleAst(e,i);return this._validateStyleAst(n,i),n}_makeStyleAst(e,i){let n=[],r=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of r)typeof a=="string"?a===Xn?n.push(a):i.errors.push(s5(a)):n.push(new Map(Object.entries(a)));let o=!1,s=null;return n.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(tS)>=0){o=!0;break}}}),{type:oe.Style,styles:n,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,i){let n=i.currentAnimateTimings,r=i.currentTime,o=i.currentTime;n&&o>0&&(o-=n.duration+n.delay),e.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let c=i.collectedStyles.get(i.currentQuerySelector),d=c.get(l),u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(i.errors.push(a5(l,d.startTime,d.endTime,o,r)),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:r}),i.options&&P5(a,i.options,i.errors)})})}visitKeyframes(e,i){let n={type:oe.Keyframes,styles:[],options:null};if(!i.currentAnimateTimings)return i.errors.push(l5()),n;let r=1,o=0,s=[],a=!1,l=!1,c=0,d=e.steps.map(M=>{let L=this._makeStyleAst(M,i),me=L.offset!=null?L.offset:Q5(L.styles),W=0;return me!=null&&(o++,W=L.offset=me),l=l||W<0||W>1,a=a||W<c,c=W,s.push(W),L});l&&i.errors.push(c5()),a&&i.errors.push(d5());let u=e.steps.length,h=0;o>0&&o<u?i.errors.push(u5()):o==0&&(h=r/(u-1));let m=u-1,v=i.currentTime,_=i.currentAnimateTimings,I=_.duration;return d.forEach((M,L)=>{let me=h>0?L==m?1:h*L:s[L],W=me*I;i.currentTime=v+_.delay+W,_.duration=W,this._validateStyleAst(M,i),M.offset=me,n.styles.push(M)}),n}visitReference(e,i){return{type:oe.Reference,animation:sn(this,uc(e.animation),i),options:Mo(e.options)}}visitAnimateChild(e,i){return i.depCount++,{type:oe.AnimateChild,options:Mo(e.options)}}visitAnimateRef(e,i){return{type:oe.AnimateRef,animation:this.visitReference(e.animation,i),options:Mo(e.options)}}visitQuery(e,i){let n=i.currentQuerySelector,r=e.options||{};i.queryCount++,i.currentQuery=e;let[o,s]=G5(e.selector);i.currentQuerySelector=n.length?n+" "+o:o,an(i.collectedStyles,i.currentQuerySelector,new Map);let a=sn(this,uc(e.animation),i);return i.currentQuery=null,i.currentQuerySelector=n,{type:oe.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:Mo(e.options)}}visitStagger(e,i){i.currentQuery||i.errors.push(f5());let n=e.timings==="full"?{duration:0,delay:0,easing:"full"}:yh(e.timings,i.errors,!0);return{type:oe.Stagger,animation:sn(this,uc(e.animation),i),timings:n,options:null}}};Hb=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};mc=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,i){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...i)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Y5=1,Z5=":enter",$5=new RegExp(Z5,"g"),X5=":leave",J5=new RegExp(X5,"g");zb=class{buildKeyframes(e,i,n,r,o,s,a,l,c,d=[]){c=c||new mc;let u=new Wb(e,i,c,r,o,d,[]);u.options=l;let h=l.delay?Ni(l.delay):0;u.currentTimeline.delayNextStep(h),u.currentTimeline.setStyles([s],null,u.errors,l),sn(this,n,u);let m=u.timelines.filter(v=>v.containsAnimation());if(m.length&&a.size){let v;for(let _=m.length-1;_>=0;_--){let I=m[_];if(I.element===i){v=I;break}}v&&!v.allowOnlyTimelineStyles()&&v.setStyles([a],null,u.errors,l)}return m.length?m.map(v=>v.buildKeyframes()):[oA(i,[],[],[],0,h,"",!1)]}visitTrigger(e,i){}visitState(e,i){}visitTransition(e,i){}visitAnimateChild(e,i){let n=i.subInstructions.get(i.element);if(n){let r=i.createSubContext(e.options),o=i.currentTimeline.currentTime,s=this._visitSubInstructions(n,r,r.options);o!=s&&i.transformIntoNewTimeline(s)}i.previousNode=e}visitAnimateRef(e,i){let n=i.createSubContext(e.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],i,n),this.visitReference(e.animation,n),i.transformIntoNewTimeline(n.currentTimeline.currentTime),i.previousNode=e}_applyAnimationRefDelays(e,i,n){for(let r of e){let o=r?.delay;if(o){let s=typeof o=="number"?o:Ni(hc(o,r?.params??{},i.errors));n.delayNextStep(s)}}}_visitSubInstructions(e,i,n){let o=i.currentTimeline.currentTime,s=n.duration!=null?Ni(n.duration):null,a=n.delay!=null?Ni(n.delay):null;return s!==0&&e.forEach(l=>{let c=i.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(e,i){i.updateOptions(e.options,!0),sn(this,e.animation,i),i.previousNode=e}visitSequence(e,i){let n=i.subContextCount,r=i,o=e.options;if(o&&(o.params||o.delay)&&(r=i.createSubContext(o),r.transformIntoNewTimeline(),o.delay!=null)){r.previousNode.type==oe.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=_h);let s=Ni(o.delay);r.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>sn(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),i.previousNode=e}visitGroup(e,i){let n=[],r=i.currentTimeline.currentTime,o=e.options&&e.options.delay?Ni(e.options.delay):0;e.steps.forEach(s=>{let a=i.createSubContext(e.options);o&&a.delayNextStep(o),sn(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),n.push(a.currentTimeline)}),n.forEach(s=>i.currentTimeline.mergeTimelineCollectedStyles(s)),i.transformIntoNewTimeline(r),i.previousNode=e}_visitTiming(e,i){if(e.dynamic){let n=e.strValue,r=i.params?hc(n,i.params,i.errors):n;return yh(r,i.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,i){let n=i.currentAnimateTimings=this._visitTiming(e.timings,i),r=i.currentTimeline;n.delay&&(i.incrementTime(n.delay),r.snapshotCurrentStyles());let o=e.style;o.type==oe.Keyframes?this.visitKeyframes(o,i):(i.incrementTime(n.duration),this.visitStyle(o,i),r.applyStylesToKeyframe()),i.currentAnimateTimings=null,i.previousNode=e}visitStyle(e,i){let n=i.currentTimeline,r=i.currentAnimateTimings;!r&&n.hasCurrentStyleProperties()&&n.forwardFrame();let o=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(o):n.setStyles(e.styles,o,i.errors,i.options),i.previousNode=e}visitKeyframes(e,i){let n=i.currentAnimateTimings,r=i.currentTimeline.duration,o=n.duration,a=i.createSubContext().currentTimeline;a.easing=n.easing,e.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*o),a.setStyles(l.styles,l.easing,i.errors,i.options),a.applyStylesToKeyframe()}),i.currentTimeline.mergeTimelineCollectedStyles(a),i.transformIntoNewTimeline(r+o),i.previousNode=e}visitQuery(e,i){let n=i.currentTimeline.currentTime,r=e.options||{},o=r.delay?Ni(r.delay):0;o&&(i.previousNode.type===oe.Style||n==0&&i.currentTimeline.hasCurrentStyleProperties())&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=_h);let s=n,a=i.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,i.errors);i.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{i.currentQueryIndex=d;let u=i.createSubContext(e.options,c);o&&u.delayNextStep(o),c===i.element&&(l=u.currentTimeline),sn(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let h=u.currentTimeline.currentTime;s=Math.max(s,h)}),i.currentQueryIndex=0,i.currentQueryTotal=0,i.transformIntoNewTimeline(s),l&&(i.currentTimeline.mergeTimelineCollectedStyles(l),i.currentTimeline.snapshotCurrentStyles()),i.previousNode=e}visitStagger(e,i){let n=i.parentContext,r=i.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(i.currentQueryTotal-1),l=s*i.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=n.currentStaggerTime;break}let d=i.currentTimeline;l&&d.delayNextStep(l);let u=d.currentTime;sn(this,e.animation,i),i.previousNode=e,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)}},_h={},Wb=class t{constructor(e,i,n,r,o,s,a,l){this._driver=e,this.element=i,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=_h,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new xh(this._driver,i,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,i){if(!e)return;let n=e,r=this.options;n.duration!=null&&(r.duration=Ni(n.duration)),n.delay!=null&&(r.delay=Ni(n.delay));let o=n.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!i||!s.hasOwnProperty(a))&&(s[a]=hc(o[a],s,this.errors))})}}_copyOptions(){let e={};if(this.options){let i=this.options.params;if(i){let n=e.params={};Object.keys(i).forEach(r=>{n[r]=i[r]})}}return e}createSubContext(e=null,i,n){let r=i||this.element,o=new t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=_h,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,i,n){let r={duration:i??e.duration,delay:this.currentTimeline.currentTime+(n??0)+e.delay,easing:""},o=new Gb(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,i,n,r,o,s){let a=[];if(r&&a.push(this.element),e.length>0){e=e.replace($5,"."+this._enterClassName),e=e.replace(J5,"."+this._leaveClassName);let l=n!=1,c=this._driver.query(this.element,e,l);n!==0&&(c=n<0?c.slice(c.length+n,c.length):c.slice(0,n)),a.push(...c)}return!o&&a.length==0&&s.push(h5(i)),a}},xh=class t{constructor(e,i,n,r){this._driver=e,this.element=i,this.startTime=n,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(i),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(i,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let i=this._keyframes.size===1&&this._pendingStyles.size;this.duration||i?(this.forwardTime(this.currentTime+e),i&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,i){return this.applyStylesToKeyframe(),new t(this._driver,e,i||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+=Y5,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,i){this._localTimelineStyles.set(e,i),this._globalTimelineStyles.set(e,i),this._styleSummary.set(e,{time:this.currentTime,value:i})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[i,n]of this._globalTimelineStyles)this._backFill.set(i,n||Xn),this._currentKeyframe.set(i,Xn);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,i,n,r){i&&this._previousKeyframe.set("easing",i);let o=r&&r.params||{},s=eH(e,this._globalTimelineStyles);for(let[a,l]of s){let c=hc(l,o,n);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Xn),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,i)=>{this._currentKeyframe.set(i,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,i)=>{this._currentKeyframe.has(i)||this._currentKeyframe.set(i,e)}))}snapshotCurrentStyles(){for(let[e,i]of this._localTimelineStyles)this._pendingStyles.set(e,i),this._updateStyle(e,i)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let i in this._currentKeyframe)e.push(i);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((i,n)=>{let r=this._styleSummary.get(n);(!r||i.time>r.time)&&this._updateStyle(n,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,i=new Set,n=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===Ef?e.add(u):d===Xn&&i.add(u)}),n||c.set("offset",l/this.duration),r.push(c)});let o=[...e.values()],s=[...i.values()];if(n){let a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return oA(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}},Gb=class extends xh{constructor(e,i,n,r,o,s,a=!1){super(e,i,s.delay),this.keyframes=n,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 e=this.keyframes,{delay:i,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&i){let o=[],s=n+i,a=i/s,l=new Map(e[0]);l.set("offset",0),o.push(l);let c=new Map(e[0]);c.set("offset",WM(a)),o.push(c);let d=e.length-1;for(let u=1;u<=d;u++){let h=new Map(e[u]),m=h.get("offset"),v=i+m*n;h.set("offset",WM(v/s)),o.push(h)}n=s,i=0,r="",e=o}return oA(this.element,e,this.preStyleProps,this.postStyleProps,n,i,r,!0)}};Fb={},Ch=class{constructor(e,i,n){this._triggerName=e,this.ast=i,this._stateStyles=n}match(e,i,n,r){return tH(this.ast.matchers,e,i,n,r)}buildStyles(e,i,n){let r=this._stateStyles.get("*");return e!==void 0&&(r=this._stateStyles.get(e?.toString())||r),r?r.buildStyles(i,n):new Map}build(e,i,n,r,o,s,a,l,c,d){let u=[],h=this.ast.options&&this.ast.options.params||Fb,m=a&&a.params||Fb,v=this.buildStyles(n,m,u),_=l&&l.params||Fb,I=this.buildStyles(r,_,u),M=new Set,L=new Map,me=new Map,W=r==="void",$e={params:aS(_,h),delay:this.ast.options?.delay},We=d?[]:sS(e,i,this.ast.animation,o,s,v,I,$e,c,u),Ge=0;return We.forEach(ft=>{Ge=Math.max(ft.duration+ft.delay,Ge)}),u.length?GM(i,this._triggerName,n,r,W,v,I,[],[],L,me,Ge,u):(We.forEach(ft=>{let _n=ft.element,xn=an(L,_n,new Set);ft.preStyleProps.forEach(Mr=>xn.add(Mr));let vc=an(me,_n,new Set);ft.postStyleProps.forEach(Mr=>vc.add(Mr)),_n!==i&&M.add(_n)}),GM(i,this._triggerName,n,r,W,v,I,We,[...M.values()],L,me,Ge))}};Kb=class{constructor(e,i,n){this.styles=e,this.defaultParams=i,this.normalizer=n}buildStyles(e,i){let n=new Map,r=aS(e,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=hc(s,r,i));let l=this.normalizer.normalizePropertyName(a,i);s=this.normalizer.normalizeStyleValue(a,l,s,i),n.set(a,s)})}),n}};Qb=class{constructor(e,i,n){this.name=e,this.ast=i,this._normalizer=n,this.transitionFactories=[],this.states=new Map,i.states.forEach(r=>{let o=r.options&&r.options.params||{};this.states.set(r.name,new Kb(r.style,o,n))}),KM(this.states,"true","1"),KM(this.states,"false","0"),i.transitions.forEach(r=>{this.transitionFactories.push(new Ch(e,r,this.states))}),this.fallbackTransition=iH(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,i,n,r){return this.transitionFactories.find(s=>s.match(e,i,n,r))||null}matchStyles(e,i,n){return this.fallbackTransition.buildStyles(e,i,n)}};rH=new mc,qb=class{constructor(e,i,n){this.bodyNode=e,this._driver=i,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,i){let n=[],r=[],o=oS(this._driver,i,n,r);if(n.length)throw y5(n);r.length&&void 0,this._animations.set(e,o)}_buildPlayer(e,i,n){let r=e.element,o=XM(this._normalizer,e.keyframes,i,n);return this._driver.animate(r,o,e.duration,e.delay,e.easing,[],!0)}create(e,i,n={}){let r=[],o=this._animations.get(e),s,a=new Map;if(o?(s=sS(this._driver,i,o,nS,Nb,new Map,new Map,n,rH,r),s.forEach(d=>{let u=an(a,d.element,new Map);d.postStyleProps.forEach(h=>u.set(h,null))})):(r.push(b5()),s=[]),r.length)throw A5(r);a.forEach((d,u)=>{d.forEach((h,m)=>{d.set(m,this._driver.computeStyle(u,m,Xn))})});let l=s.map(d=>{let u=a.get(d.element);return this._buildPlayer(d,new Map,u)}),c=Ir(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let i=this._getPlayer(e);i.destroy(),this._playersById.delete(e);let n=this.players.indexOf(i);n>=0&&this.players.splice(n,1)}_getPlayer(e){let i=this._playersById.get(e);if(!i)throw _5(e);return i}listen(e,i,n,r){let o=eA(i,"","","");return Jb(this._getPlayer(e),n,o,r),()=>{}}command(e,i,n,r){if(n=="register"){this.register(e,r[0]);return}if(n=="create"){let s=r[0]||{};this.create(e,i,s);return}let o=this._getPlayer(e);switch(n){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(e);break}}},QM="ng-animate-queued",oH=".ng-animate-queued",kb="ng-animate-disabled",sH=".ng-animate-disabled",aH="ng-star-inserted",lH=".ng-star-inserted",cH=[],lS={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},dH={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Nn="__ng_removed",pc=class{get params(){return this.options.params}constructor(e,i=""){this.namespaceId=i;let n=e&&e.hasOwnProperty("value"),r=n?e.value:e;if(this.value=fH(r),n){let o=e,{value:s}=o,a=Th(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let i=e.params;if(i){let n=this.options.params;Object.keys(i).forEach(r=>{n[r]==null&&(n[r]=i[r])})}}},fc="void",Lb=new pc(fc),Yb=class{constructor(e,i,n){this.id=e,this.hostElement=i,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,An(i,this._hostClassName)}listen(e,i,n,r){if(!this._triggers.has(i))throw x5(n,i);if(n==null||n.length==0)throw C5(i);if(!hH(n))throw w5(n,i);let o=an(this._elementListeners,e,[]),s={name:i,phase:n,callback:r};o.push(s);let a=an(this._engine.statesByElement,e,new Map);return a.has(i)||(An(e,fh),An(e,fh+"-"+i),a.set(i,Lb)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(i)||a.delete(i)})}}register(e,i){return this._triggers.has(e)?!1:(this._triggers.set(e,i),!0)}_getTrigger(e){let i=this._triggers.get(e);if(!i)throw E5(e);return i}trigger(e,i,n,r=!0){let o=this._getTrigger(i),s=new gc(this.id,i,e),a=this._engine.statesByElement.get(e);a||(An(e,fh),An(e,fh+"-"+i),this._engine.statesByElement.set(e,a=new Map));let l=a.get(i),c=new pc(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(i,c),l||(l=Lb),!(c.value===fc)&&l.value===c.value){if(!gH(l.params,c.params)){let _=[],I=o.matchStyles(l.value,l.params,_),M=o.matchStyles(c.value,c.params,_);_.length?this._engine.reportError(_):this._engine.afterFlush(()=>{So(e,I),ri(e,M)})}return}let h=an(this._engine.playersByElement,e,[]);h.forEach(_=>{_.namespaceId==this.id&&_.triggerName==i&&_.queued&&_.destroy()});let m=o.matchTransition(l.value,c.value,e,c.params),v=!1;if(!m){if(!r)return;m=o.fallbackTransition,v=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:m,fromState:l,toState:c,player:s,isFallbackTransition:v}),v||(An(e,QM),s.onStart(()=>{sa(e,QM)})),s.onDone(()=>{let _=this.players.indexOf(s);_>=0&&this.players.splice(_,1);let I=this._engine.playersByElement.get(e);if(I){let M=I.indexOf(s);M>=0&&I.splice(M,1)}}),this.players.push(s),h.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(i=>i.delete(e)),this._elementListeners.forEach((i,n)=>{this._elementListeners.set(n,i.filter(r=>r.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let i=this._engine.playersByElement.get(e);i&&(i.forEach(n=>n.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,i){let n=this._engine.driver.query(e,vh,!0);n.forEach(r=>{if(r[Nn])return;let o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,i,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(e,i,n,r){let o=this._engine.statesByElement.get(e),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(e,c,fc,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,i,s),n&&Ir(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let i=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(i&&n){let r=new Set;i.forEach(o=>{let s=o.name;if(r.has(s))return;r.add(s);let l=this._triggers.get(s).fallbackTransition,c=n.get(s)||Lb,d=new pc(fc),u=new gc(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(e,i){let n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,i),this.triggerLeaveAnimation(e,i,!0))return;let r=!1;if(n.totalAnimations){let o=n.players.length?n.playersByQueriedElement.get(e):[];if(o&&o.length)r=!0;else{let s=e;for(;s=s.parentNode;)if(n.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)n.markElementAsRemoved(this.id,e,!1,i);else{let o=e[Nn];(!o||o===lS)&&(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,i))}}insertNode(e,i){An(e,this._hostClassName)}drainQueuedTransitions(e){let i=[];return this._queue.forEach(n=>{let r=n.player;if(r.destroyed)return;let o=n.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==n.triggerName){let l=eA(o,n.triggerName,n.fromState.value,n.toState.value);l._data=e,Jb(n.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):i.push(n)}),this._queue=[],i.sort((n,r)=>{let o=n.transition.ast.depCount,s=r.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(n.element,r.element)?1:-1})}destroy(e){this.players.forEach(i=>i.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Zb=class{_onRemovalComplete(e,i){this.onRemovalComplete(e,i)}constructor(e,i,n,r){this.bodyNode=e,this.driver=i,this._normalizer=n,this.scheduler=r,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=(o,s)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(i=>{i.players.forEach(n=>{n.queued&&e.push(n)})}),e}createNamespace(e,i){let n=new Yb(e,i,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,i)?this._balanceNamespaceList(n,i):(this.newHostElements.set(i,n),this.collectEnterElement(i)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,i){let n=this._namespaceList,r=this.namespacesByHostElement;if(n.length-1>=0){let s=!1,a=this.driver.getParentElement(i);for(;a;){let l=r.get(a);if(l){let c=n.indexOf(l);n.splice(c+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||n.unshift(e)}else n.push(e);return r.set(i,e),e}register(e,i){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,i)),n}registerTrigger(e,i,n){let r=this._namespaceLookup[e];r&&r.register(i,n)&&this.totalAnimations++}destroy(e,i){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let n=this._fetchNamespace(e);this.namespacesByHostElement.delete(n.hostElement);let r=this._namespaceList.indexOf(n);r>=0&&this._namespaceList.splice(r,1),n.destroy(i),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let i=new Set,n=this.statesByElement.get(e);if(n){for(let r of n.values())if(r.namespaceId){let o=this._fetchNamespace(r.namespaceId);o&&i.add(o)}}return i}trigger(e,i,n,r){if(ph(i)){let o=this._fetchNamespace(e);if(o)return o.trigger(i,n,r),!0}return!1}insertNode(e,i,n,r){if(!ph(i))return;let o=i[Nn];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(i);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){let s=this._fetchNamespace(e);s&&s.insertNode(i,n)}r&&this.collectEnterElement(i)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,i){i?this.disabledNodes.has(e)||(this.disabledNodes.add(e),An(e,kb)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),sa(e,kb))}removeNode(e,i,n){if(ph(i)){this.scheduler?.notify();let r=e?this._fetchNamespace(e):null;r?r.removeNode(i,n):this.markElementAsRemoved(e,i,!1,n);let o=this.namespacesByHostElement.get(i);o&&o.id!==e&&o.removeNode(i,n)}else this._onRemovalComplete(i,n)}markElementAsRemoved(e,i,n,r,o){this.collectedLeaveElements.push(i),i[Nn]={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,i,n,r,o){return ph(i)?this._fetchNamespace(e).listen(i,n,r,o):()=>{}}_buildInstruction(e,i,n,r,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,i,o)}destroyInnerAnimations(e){let i=this.driver.query(e,vh,!0);i.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(i=this.driver.query(e,jb,!0),i.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(e){let i=this.playersByElement.get(e);i&&i.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(e){let i=this.playersByQueriedElement.get(e);i&&i.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Ir(this.players).onDone(()=>e());e()})}processLeaveNode(e){let i=e[Nn];if(i&&i.setForRemoval){if(e[Nn]=lS,i.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(i.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,i.setForRemoval)}e.classList?.contains(kb)&&this.markElementAsDisabled(e,!1),this.driver.query(e,sH,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let i=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,r)=>this._balanceNamespaceList(n,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++){let r=this.collectedEnterElements[n];An(r,aH)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let n=[];try{i=this._flushAnimations(n,e)}finally{for(let r=0;r<n.length;r++)n[r]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++){let r=this.collectedLeaveElements[n];this.processLeaveNode(r)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(n=>n()),this._flushFns=[],this._whenQuietFns.length){let n=this._whenQuietFns;this._whenQuietFns=[],i.length?Ir(i).onDone(()=>{n.forEach(r=>r())}):n.forEach(r=>r())}}reportError(e){throw D5(e)}_flushAnimations(e,i){let n=new mc,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(H=>{d.add(H);let K=this.driver.query(H,oH,!0);for(let Z=0;Z<K.length;Z++)d.add(K[Z])});let u=this.bodyNode,h=Array.from(this.statesByElement.keys()),m=ZM(h,this.collectedEnterElements),v=new Map,_=0;m.forEach((H,K)=>{let Z=nS+_++;v.set(K,Z),H.forEach(Se=>An(Se,Z))});let I=[],M=new Set,L=new Set;for(let H=0;H<this.collectedLeaveElements.length;H++){let K=this.collectedLeaveElements[H],Z=K[Nn];Z&&Z.setForRemoval&&(I.push(K),M.add(K),Z.hasAnimation?this.driver.query(K,lH,!0).forEach(Se=>M.add(Se)):L.add(K))}let me=new Map,W=ZM(h,Array.from(M));W.forEach((H,K)=>{let Z=Nb+_++;me.set(K,Z),H.forEach(Se=>An(Se,Z))}),e.push(()=>{m.forEach((H,K)=>{let Z=v.get(K);H.forEach(Se=>sa(Se,Z))}),W.forEach((H,K)=>{let Z=me.get(K);H.forEach(Se=>sa(Se,Z))}),I.forEach(H=>{this.processLeaveNode(H)})});let $e=[],We=[];for(let H=this._namespaceList.length-1;H>=0;H--)this._namespaceList[H].drainQueuedTransitions(i).forEach(Z=>{let Se=Z.player,yt=Z.element;if($e.push(Se),this.collectedEnterElements.length){let Mt=yt[Nn];if(Mt&&Mt.setForMove){if(Mt.previousTriggersValues&&Mt.previousTriggersValues.has(Z.triggerName)){let Sr=Mt.previousTriggersValues.get(Z.triggerName),ln=this.statesByElement.get(Z.element);if(ln&&ln.has(Z.triggerName)){let yc=ln.get(Z.triggerName);yc.value=Sr,ln.set(Z.triggerName,yc)}}Se.destroy();return}}let jn=!u||!this.driver.containsElement(u,yt),Yt=me.get(yt),ji=v.get(yt),Je=this._buildInstruction(Z,n,ji,Yt,jn);if(Je.errors&&Je.errors.length){We.push(Je);return}if(jn){Se.onStart(()=>So(yt,Je.fromStyles)),Se.onDestroy(()=>ri(yt,Je.toStyles)),r.push(Se);return}if(Z.isFallbackTransition){Se.onStart(()=>So(yt,Je.fromStyles)),Se.onDestroy(()=>ri(yt,Je.toStyles)),r.push(Se);return}let uA=[];Je.timelines.forEach(Mt=>{Mt.stretchStartingKeyframe=!0,this.disabledNodes.has(Mt.element)||uA.push(Mt)}),Je.timelines=uA,n.append(yt,Je.timelines);let wS={instruction:Je,player:Se,element:yt};s.push(wS),Je.queriedElements.forEach(Mt=>an(a,Mt,[]).push(Se)),Je.preStyleProps.forEach((Mt,Sr)=>{if(Mt.size){let ln=l.get(Sr);ln||l.set(Sr,ln=new Set),Mt.forEach((yc,Sh)=>ln.add(Sh))}}),Je.postStyleProps.forEach((Mt,Sr)=>{let ln=c.get(Sr);ln||c.set(Sr,ln=new Set),Mt.forEach((yc,Sh)=>ln.add(Sh))})});if(We.length){let H=[];We.forEach(K=>{H.push(I5(K.triggerName,K.errors))}),$e.forEach(K=>K.destroy()),this.reportError(H)}let Ge=new Map,ft=new Map;s.forEach(H=>{let K=H.element;n.has(K)&&(ft.set(K,K),this._beforeAnimationBuild(H.player.namespaceId,H.instruction,Ge))}),r.forEach(H=>{let K=H.element;this._getPreviousPlayers(K,!1,H.namespaceId,H.triggerName,null).forEach(Se=>{an(Ge,K,[]).push(Se),Se.destroy()})});let _n=I.filter(H=>$M(H,l,c)),xn=new Map;YM(xn,this.driver,L,c,Xn).forEach(H=>{$M(H,l,c)&&_n.push(H)});let Mr=new Map;m.forEach((H,K)=>{YM(Mr,this.driver,new Set(H),l,Ef)}),_n.forEach(H=>{let K=xn.get(H),Z=Mr.get(H);xn.set(H,new Map([...K?.entries()??[],...Z?.entries()??[]]))});let Mh=[],cA=[],dA={};s.forEach(H=>{let{element:K,player:Z,instruction:Se}=H;if(n.has(K)){if(d.has(K)){Z.onDestroy(()=>ri(K,Se.toStyles)),Z.disabled=!0,Z.overrideTotalTime(Se.totalTime),r.push(Z);return}let yt=dA;if(ft.size>1){let Yt=K,ji=[];for(;Yt=Yt.parentNode;){let Je=ft.get(Yt);if(Je){yt=Je;break}ji.push(Yt)}ji.forEach(Je=>ft.set(Je,yt))}let jn=this._buildAnimation(Z.namespaceId,Se,Ge,o,Mr,xn);if(Z.setRealPlayer(jn),yt===dA)Mh.push(Z);else{let Yt=this.playersByElement.get(yt);Yt&&Yt.length&&(Z.parentPlayer=Ir(Yt)),r.push(Z)}}else So(K,Se.fromStyles),Z.onDestroy(()=>ri(K,Se.toStyles)),cA.push(Z),d.has(K)&&r.push(Z)}),cA.forEach(H=>{let K=o.get(H.element);if(K&&K.length){let Z=Ir(K);H.setRealPlayer(Z)}}),r.forEach(H=>{H.parentPlayer?H.syncPlayerEvents(H.parentPlayer):H.destroy()});for(let H=0;H<I.length;H++){let K=I[H],Z=K[Nn];if(sa(K,Nb),Z&&Z.hasAnimation)continue;let Se=[];if(a.size){let jn=a.get(K);jn&&jn.length&&Se.push(...jn);let Yt=this.driver.query(K,jb,!0);for(let ji=0;ji<Yt.length;ji++){let Je=a.get(Yt[ji]);Je&&Je.length&&Se.push(...Je)}}let yt=Se.filter(jn=>!jn.destroyed);yt.length?mH(this,K,yt):this.processLeaveNode(K)}return I.length=0,Mh.forEach(H=>{this.players.push(H),H.onDone(()=>{H.destroy();let K=this.players.indexOf(H);this.players.splice(K,1)}),H.play()}),Mh}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,i,n,r,o){let s=[];if(i){let a=this.playersByQueriedElement.get(e);a&&(s=a)}else{let a=this.playersByElement.get(e);if(a){let l=!o||o==fc;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(n||r)&&(s=s.filter(a=>!(n&&n!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(e,i,n){let r=i.triggerName,o=i.element,s=i.isRemovalTransition?void 0:e,a=i.isRemovalTransition?void 0:r;for(let l of i.timelines){let c=l.element,d=c!==o,u=an(n,c,[]);this._getPreviousPlayers(c,d,s,a,i.toState).forEach(m=>{let v=m.getRealPlayer();v.beforeDestroy&&v.beforeDestroy(),m.destroy(),u.push(m)})}So(o,i.fromStyles)}_buildAnimation(e,i,n,r,o,s){let a=i.triggerName,l=i.element,c=[],d=new Set,u=new Set,h=i.timelines.map(v=>{let _=v.element;d.add(_);let I=_[Nn];if(I&&I.removedBeforeQueried)return new gr(v.duration,v.delay);let M=_!==l,L=pH((n.get(_)||cH).map(Ge=>Ge.getRealPlayer())).filter(Ge=>{let ft=Ge;return ft.element?ft.element===_:!1}),me=o.get(_),W=s.get(_),$e=XM(this._normalizer,v.keyframes,me,W),We=this._buildPlayer(v,$e,L);if(v.subTimeline&&r&&u.add(_),M){let Ge=new gc(e,a,_);Ge.setRealPlayer(We),c.push(Ge)}return We});c.forEach(v=>{an(this.playersByQueriedElement,v.element,[]).push(v),v.onDone(()=>uH(this.playersByQueriedElement,v.element,v))}),d.forEach(v=>An(v,UM));let m=Ir(h);return m.onDestroy(()=>{d.forEach(v=>sa(v,UM)),ri(l,i.toStyles)}),u.forEach(v=>{an(r,v,[]).push(m)}),m}_buildPlayer(e,i,n){return i.length>0?this.driver.animate(e.element,i,e.duration,e.delay,e.easing,n):new gr(e.duration,e.delay)}},gc=class{constructor(e,i,n){this.namespaceId=e,this.triggerName=i,this.element=n,this._player=new gr,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((i,n)=>{i.forEach(r=>Jb(e,n,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let i=this._player;i.triggerCallback&&e.onStart(()=>i.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,i){an(this._queuedCallbacks,e,[]).push(i)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let i=this._player;i.triggerCallback&&i.triggerCallback(e)}};la=class{constructor(e,i,n,r){this._driver=i,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(o,s)=>{},this._transitionEngine=new Zb(e.body,i,n,r),this._timelineEngine=new qb(e.body,i,n),this._transitionEngine.onRemovalComplete=(o,s)=>this.onRemovalComplete(o,s)}registerTrigger(e,i,n,r,o){let s=e+"-"+r,a=this._triggerCache[s];if(!a){let l=[],c=[],d=oS(this._driver,o,l,c);if(l.length)throw g5(r,l);c.length&&void 0,a=nH(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(i,r,a)}register(e,i){this._transitionEngine.register(e,i)}destroy(e,i){this._transitionEngine.destroy(e,i)}onInsert(e,i,n,r){this._transitionEngine.insertNode(e,i,n,r)}onRemove(e,i,n){this._transitionEngine.removeNode(e,i,n)}disableAnimations(e,i){this._transitionEngine.markElementAsDisabled(e,i)}process(e,i,n,r){if(n.charAt(0)=="@"){let[o,s]=VM(n),a=r;this._timelineEngine.command(o,i,s,a)}else this._transitionEngine.trigger(e,i,n,r)}listen(e,i,n,r,o){if(n.charAt(0)=="@"){let[s,a]=VM(n);return this._timelineEngine.listen(s,i,a,o)}return this._transitionEngine.listen(e,i,n,r,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};aa=class aa{constructor(e,i,n){this._element=e,this._startStyles=i,this._endStyles=n,this._state=0;let r=aa.initialStylesByElement.get(e);r||aa.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&ri(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ri(this._element,this._initialStyles),this._endStyles&&(ri(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(aa.initialStylesByElement.delete(this._element),this._startStyles&&(So(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(So(this._element,this._endStyles),this._endStyles=null),ri(this._element,this._initialStyles),this._state=3)}};aa.initialStylesByElement=new WeakMap;$b=aa;wh=class{constructor(e,i,n,r){this.element=e,this.keyframes=i,this.options=n,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=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let i=()=>this._onFinish();this.domPlayer.addEventListener("finish",i),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",i)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let i=[];return e.forEach(n=>{i.push(Object.fromEntries(n))}),i}_triggerWebAnimation(e,i,n){return e.animate(this._convertKeyframesToObject(i),n)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,r)=>{r!=="offset"&&e.set(r,this._finished?n:rA(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){let i=e==="start"?this._onStartFns:this._onDoneFns;i.forEach(n=>n()),i.length=0}},Eh=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,i){return!1}containsElement(e,i){return JM(e,i)}getParentElement(e){return tA(e)}query(e,i,n){return eS(e,i,n)}computeStyle(e,i,n){return rA(e,i)}animate(e,i,n,r,o,s=[]){let a=r==0?"both":"forwards",l={duration:n,delay:r,fill:a};o&&(l.easing=o);let c=new Map,d=s.filter(m=>m instanceof wh);j5(n,r)&&d.forEach(m=>{m.currentSnapshot.forEach((v,_)=>c.set(_,v))});let u=L5(i).map(m=>new Map(m));u=V5(e,u,c);let h=vH(e,u);return new wh(e,u,l,h)}},gh="@",dS="@.disabled",Dh=class{constructor(e,i,n,r){this.namespaceId=e,this.delegate=i,this.engine=n,this._onDestroy=r,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,i){return this.delegate.createElement(e,i)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,i){this.delegate.appendChild(e,i),this.engine.onInsert(this.namespaceId,i,e,!1)}insertBefore(e,i,n,r=!0){this.delegate.insertBefore(e,i,n),this.engine.onInsert(this.namespaceId,i,e,r)}removeChild(e,i,n){this.engine.onRemove(this.namespaceId,i,this.delegate)}selectRootElement(e,i){return this.delegate.selectRootElement(e,i)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,i,n,r){this.delegate.setAttribute(e,i,n,r)}removeAttribute(e,i,n){this.delegate.removeAttribute(e,i,n)}addClass(e,i){this.delegate.addClass(e,i)}removeClass(e,i){this.delegate.removeClass(e,i)}setStyle(e,i,n,r){this.delegate.setStyle(e,i,n,r)}removeStyle(e,i,n){this.delegate.removeStyle(e,i,n)}setProperty(e,i,n){i.charAt(0)==gh&&i==dS?this.disableAnimations(e,!!n):this.delegate.setProperty(e,i,n)}setValue(e,i){this.delegate.setValue(e,i)}listen(e,i,n){return this.delegate.listen(e,i,n)}disableAnimations(e,i){this.engine.disableAnimations(e,i)}},Xb=class extends Dh{constructor(e,i,n,r,o){super(i,n,r,o),this.factory=e,this.namespaceId=i}setProperty(e,i,n){i.charAt(0)==gh?i.charAt(1)=="."&&i==dS?(n=n===void 0?!0:!!n,this.disableAnimations(e,n)):this.engine.process(this.namespaceId,e,i.slice(1),n):this.delegate.setProperty(e,i,n)}listen(e,i,n){if(i.charAt(0)==gh){let r=bH(e),o=i.slice(1),s="";return o.charAt(0)!=gh&&([o,s]=AH(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,n,a)})}return this.delegate.listen(e,i,n)}};Ih=class{constructor(e,i,n){this.delegate=e,this.engine=i,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,i.onRemovalComplete=(r,o)=>{let s=o?.parentNode(r);s&&o.removeChild(s,r)}}createRenderer(e,i){let n="",r=this.delegate.createRenderer(e,i);if(!e||!i?.data?.animation){let c=this._rendererCache,d=c.get(r);if(!d){let u=()=>c.delete(r);d=new Dh(n,r,this.engine,u),c.set(r,d)}return d}let o=i.id,s=i.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,e,c.name,c)};return i.data.animation.forEach(a),new Xb(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,n){if(e>=0&&e<this._microtaskId){this._zone.run(()=>i(n));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([i,n])}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 CH(){return new bh}function wH(t,e,i){return new Ih(t,e,i)}function fS(){return nr("NgEagerAnimations"),[...EH]}var xH,uS,EH,bte,hS=g(()=>{"use strict";O();O();As();aA();aA();Ie();xH=(()=>{let e=class e extends la{constructor(n,r,o){super(n,r,o,y(ss,{optional:!0}))}ngOnDestroy(){this.flush()}};e.\u0275fac=function(r){return new(r||e)(p(U),p(To),p(Oo))},e.\u0275prov=b({token:e,factory:e.\u0275fac});let t=e;return t})();uS=[{provide:Oo,useFactory:CH},{provide:la,useClass:xH},{provide:eo,useFactory:wH,deps:[ku,la,F]}],EH=[{provide:To,useFactory:()=>new Eh},{provide:lt,useValue:"BrowserAnimations"},...uS],bte=[{provide:To,useClass:nA},{provide:lt,useValue:"NoopAnimations"},...uS]});var mS,pS=g(()=>{"use strict";dc();mS=()=>({provide:cc,useFactory:()=>({xApiKey:"",appId:"",supportEmail:"",maxCharLength:1e3,serviceUrl:"",subscriptionUrl:""})})});var gS,vS=g(()=>{"use strict";dc();gS=()=>({provide:lc,useFactory:()=>({apiUrl:""})})});var yS,bS=g(()=>{"use strict";ju();yS=()=>({provide:ws,useValue:{}})});var AS,_S=g(()=>{"use strict";O();ju();Qe();AS=(t,e)=>{let i=y(ws),n=window;if(i.skipAuthUrls?.find(r=>t.url.includes(r)))return e(t);if(n.getTildeWebComponentAuthToken){let r=n.getTildeWebComponentAuthToken;return ke(r()).pipe(Ve(o=>{let s=t.clone({setHeaders:{Authorization:`Bearer ${o}`}});return e(s)}))}if(i.xApiKey){let r=t.clone({setHeaders:{"X-Api-Key":`${i.xApiKey}`}});return e(r)}return e(t)}});var lA,xS=g(()=>{"use strict";Ya();O();hS();uo();pS();vS();bS();_S();lA={providers:[Sw(Tw([AS])),fS(),eg(lr.forRoot()),mS(),gS(),yS()]}});var DH=MS(CS=>{lw();As();LM();Tb();NM();xS();Ey();Ro(CS,null,function*(){let t=yield Vw(lA),e=Kg(Nf,{injector:t.injector}),i=Kg(uh,{injector:t.injector});customElements.define("tilde-text-to-speech",e),customElements.define("tilde-llm",i)});PM.production||jw(kM,lA).catch(t=>console.error(t))});export default DH();